ant targets not listed [message #201122] |
Sat, 16 April 2005 17:05  |
Eclipse User |
|
|
|
Originally posted by: peter.neubuer.se
Hi,
I'm running 3.1M6 and have a bild.xml that looks like :
<?xml version="1.0" encoding="UTF-8" ?>
<project name="dpml-composition" default="default" basedir="."
xmlns:transit="antlib:net.dpml.transit">
<transit:import uri="artifact:template:dpml/magic/reactor"/>
</project>
E.g. all targets are imported from the reactor URI. This works from
command line and ant -projecthelp gives me
Main targets:
build Build all sub-project sources.
clean Clean all projects with the reactor scope.
default Invoke the default target in all sub-projects.
install Build and install all sub-project artifacts.
package Prepare the sub-project artifacts.
prepare Prepare all sub-project sources.
test Invoke tests on all sub-projects.
Default target: default
I have added the libs to the Eclipse "Ant Home Entries" and can run the
default target by right clicking on a build file ant choosing the first
option.
However, the other option does not show me any available targets. I guess
that's because ant is never really consulted like the -projecthelp.
Same thing in the ant editor. the imported targets are not shown and
errors are displayed if I referr to them.
Is this a bug in the GUI layer or the core ant support? And is there any
planned support for namespaces and other dynamic stuff?
Thanks
/peter
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06607 seconds