Creating an Empty Project File
Contents
[
Hide
Show
]Aspose.Tasks - Creating an Empty Project File
To create an Empty Project File using Aspose.Tasks Java for Ruby, simply invoke CreateEmptyProject module. Here you can see example code.
1project = Rjb::import('com.aspose.tasks.Project').new
2
3project_stream = Rjb::import('java.io.FileOutputStream').new("Project1.xml")
4
5project.save(project_stream, Rjb::import('com.aspose.tasks.SaveFileFormat').XML)
6
7project_stream.close()
8
9puts "Created project Successfully."
Download Running Code
Download Creating an Empty Project File (Aspose.Tasks) from any of the below mentioned social coding sites: