Include a custom build in eclipse compilation suite [message #312117] |
Wed, 31 January 2007 09:43 |
Eclipse User |
|
|
|
Originally posted by: alexandre-michael.neubert.edifixio.com
Hello everybody,
I want to include a custom build in the eclipse compilation suite. My
eclipse is 3.2 with wtp plug-in version 1.5.
I configured an ejb project to include a custom ant launcher; therefore I
created a basic ant file which simply creates a directory toto in the ejb
project. Then I included this build in the Preference-->Builder section of
the project and configured it to be launched when building manually and
automatically.
This works fine when eclipse is launched normally, but as soon as I try to
reproduce it in headless mode, the custom ant build file seems not to be
executed (although the logs say that it is executed)
The command I use is the following to compile this workspace:
set ECLIPSE_HOME=D:\eclipse set WORKSPACE=D:\workspace
java -cp %ECLIPSE_HOME%/startup.jar org.eclipse.core.launcher.Main
-noupdate -application org.eclipse.jdt.apt.core.aptBuild -data %WORKSPACE%
The logs i get are:
Building workspace
Building: /EJBTest1
Invoking Java Builder on /EJBTest1.
Cleaning output folder for EJBTest1
Build done
Invoking Faceted Project Validation Builder on /EJBTest1.
Invoking Validation on /EJBTest1.
Invoking Integrated External Tool Builder on /EJBTest1.
Running New_Builder...
But the toto directory is never created ...
Did I miss a configuration to make this work? Is this principle even
possible (to include a custom build in headless compilation)?
Regards,
Alexandre
|
|
|
Powered by
FUDForum. Page generated in 0.02591 seconds