Over the past few days, I have been trying to test - build my eclipse plugin on a headless Debian virtual machine. The reason for the Debian headless virtual machine is that after installing the assembly, the assembly and UpdateSite will be hosted on the remote server. So far I have achieved:
- create the plugin itself ($ {Projectname} - $ {version} .jar)
- create function ($ {Prohjectname} _Feature _ $ {version} .jar)
- move the function and the plugin and the site.xml file to the $ {structured-folder} folder with. / features and. / plugins
In my development box with full-blown Ubuntu, I can run the following command in the CLI to build the required content.jar and artifacts.jar:
/usr/bin/eclipse -application org.eclipse.equinox.p2.publisher.FeaturesAndBundlesPublisher -metadaRepository file:${folder-to-repo} -artifactRepository file:${folder-to-repo} -source ${structured-folder} -publishArtifacts -compress
In my headless build, I tried to substitute "/ usr / bin / eclipse / with
java -jar ${path-to-eclipse/plugins}/org.eclipse.equinox.launcher_${version-string}.jar -initialize -application ...
But that does not give me any conclusion whatsoever. Then I tried to install eclipse, which did not produce any positive results, since running / usr / bin / eclipse requires GTK and X.
So my question is: What does the correct setup look like for creating and publishing eclipse plug-ins in headless muscle mode? What plugins do I need? What pieces of eclipse do I need to download and how do I start this process?
eclipse build p2 headless
Dodofxp
source share