Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » integrate ant build into a headless product build
integrate ant build into a headless product build [message #4281] Wed, 28 May 2008 09:24
Andreas Pakulat is currently offline Andreas PakulatFriend
Messages: 127
Registered: July 2009
Senior Member
Hi,

I've got a plugin which wraps a plain-java library and the library is built
by an ant script (the script compiles the classes, runs junit tests,
creates coverage reports and a .jar file for the library currently). So
right now the "workflow" is to checkout my plugins for the product, then
run ant to build the library and the wrapping plugin just depends on
the .jar file from the library.

I'd like to change this so the headless build of the plugin also runs the
ant build and I can turn off the creation of the library .jar and instead
the plugin just uses the compiled classes directly. I was successful in
setting this up when working with the Eclipse IDE, by disabling the Java
Builder for that plugin and adding an ant-builder that calls the library's
ant buildfile.

However it seems this doesn't work when doing a headless build with
PDE.build. Is there a way to let PDE.build also run the library's ant
buildfile and then just assembling the plugin .jar out of the binary
folders?

Andreas
Previous Topic:plugin fragment extensions not loaded
Next Topic:integrate ant build into a headless product build
Goto Forum:
  


Current Time: Thu Mar 28 13:55:40 GMT 2024

Powered by FUDForum. Page generated in 0.06602 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top