Building plugin headlessly w/o Eclipse IDE installed

View: New views
3 Messages — Rating Filter:   Alert me  

Building plugin headlessly w/o Eclipse IDE installed

by Setya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

As an attempt to implement CI we plan to move plugins build process to separate machine and suck all the Java source codes from SVN, at first we thought that we didn't need Eclipse IDE installed on the build machine, but then we realized that the build process was launched by Equinox launcher and AntRunner which were obtained from Eclipse installation. We tried to grab the necessary jars to launch the build with no luck since apparently they have tight coupling to Eclipse IDE.

Has anybody tried this before ?

Any help would be greatly appreciated.

Regards

Setya

Re: Building plugin headlessly w/o Eclipse IDE installed

by glenn2041 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I haven't tried it, but what about storing your target version of Eclipse in SVN, then that along with your code can be checked out for a build.

Re: Building plugin headlessly w/o Eclipse IDE installed

by Setya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I've played around a little bit to extract the necessary plugins to perform headless plugin build and here they are:

org.apache.ant_1.7.0.v200803061910
org.eclipse.pde.build_3.4.0.v20080604
com.ibm.icu_3.8.1.v20080530.jar
org.eclipse.ant.core_3.2.0.v20080529.jar
org.eclipse.core.boot_3.1.100.v20080218.jar
org.eclipse.core.commands_3.4.0.I20080509-2000.jar
org.eclipse.core.contenttype_3.3.0.v20080604-1400.jar
org.eclipse.core.expressions_3.4.0.v20080603-2000.jar
org.eclipse.core.filebuffers_3.4.0.v20080603-2000.jar
org.eclipse.core.filesystem_1.2.0.v20080604-1400.jar
org.eclipse.core.jobs_3.4.0.v20080512.jar
org.eclipse.core.net_1.1.0.I20080604.jar
org.eclipse.core.resources_3.4.0.v20080604-1400.jar
org.eclipse.core.runtime_3.4.0.v20080512.jar
org.eclipse.core.variables_3.2.100.v20080529-1300.jar
org.eclipse.equinox.app_1.1.0.v20080421-2006.jar
org.eclipse.equinox.common_3.4.0.v20080421-2006.jar
org.eclipse.equinox.launcher_1.0.100.v20080509-1800.jar
org.eclipse.equinox.preferences_3.2.200.v20080421-2006.jar
org.eclipse.equinox.registry_3.4.0.v20080516-0950.jar
org.eclipse.equinox.security_1.0.0.v20080512-1800.jar
org.eclipse.equinox.simpleconfigurator_1.0.0.v20080604.jar
org.eclipse.jdt.core_3.4.0.v_874.jar
org.eclipse.osgi_3.4.0.v20080605-1900.jar
org.eclipse.text_3.4.0.v20080605-1800.jar
org.eclipse.update.configurator_3.2.200.v20080417.jar
org.eclipse.update.core_3.2.200.v20080515.jar

Additionally, in your configuration folder, you should copy the following from your Eclipse installation configuration folder:

- org.eclipse.equinox.simpleconfigurator
- config.ini

Fail to do so will cause the build to fail.

And yes, I've stored the above plugins in SVN to be check out on build time.

Regards,

Setya