Add support for headless build and export of Titan Java projects
Submitted by Kristof Szabados
Link to original bug (#569457)
Description
Currently it is possible to perform some general operations of the Titan plugins from command line, via headless operations. This includes:
- clearing workspaces
- importing projects from .prj and .tpd files
- invoking the build command of projects
- exporting Titanium code smell information of projects, into excel and CSV files (and the data for SonarQube).
- exporting Titanium metric measurements of projects.
- exporting project structures as detected by Titanium, into .dot and .net formats.
With compiling via Java code now being supported and becoming evermore feature rich, the need for 1 more headless action is growing. Exporting the built code into a jar file.
Currently we are able to invoke the build process from headless mode. But when the build process is over, we are left with .class files in the working directory of the project. To be more useful, we would need to have .jar files for execution.
Eclipse already offers a feature to export the resources (of a Java project) into a jar file as a wizard on the user interface. This new headless application would need to invoke that functionality programmatically.
Version: 7.1.0