Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » eclipse.incrementalBuild does nothing in headless build
eclipse.incrementalBuild does nothing in headless build [message #522019] Fri, 19 March 2010 12:02
Eclipse UserFriend
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.
Previous Topic:Open Java Editor in RCP
Next Topic:Not able to install developer tools in eclipse
Goto Forum:
  


Current Time: Wed Mar 26 01:53:23 EDT 2025

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

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

Back to the top