eclipse.incrementalBuild does nothing in headless build [message #522019] |
Fri, 19 March 2010 12:02 |
Eclipse User |
|
|
|
In an Ant script, I use eclipse.incrementalBuild to create the .class
files I need to package a jar. It looks like this:
<eclipse.incrementalBuild project="${project}"
kind="clean" />
<eclipse.incrementalBuild project="${project}"
kind="full"
builder="org.eclipse.jdt.core.javabuilder"/>
This works well when the Ant file in run directly from Eclipse, but it
doesn't build anything if I run it headless with antRunner like this:
java -cp org.eclipse.equinox.launcher_<version>.jar
org.eclipse.equinox.launcher.Main -data path/to/workspace -application
org.eclipse.ant.core.antRunner -buildfile
path/to/workspace/<projectname>/build.xml
Could it be that the builder org.eclipse.jdt.core.javabuilder is not
found? Why don't I get any errors? What do I need to make it work?
TIA,
J.-P.
|
|
|
Powered by
FUDForum. Page generated in 0.03473 seconds