Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » ant targets not listed
ant targets not listed [message #201122] Sat, 16 April 2005 17:05 Go to next message
Eclipse UserFriend
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
Re: ant targets not listed [message #201131 is a reply to message #201122] Sat, 16 April 2005 20:58 Go to previous messageGo to next message
Eclipse UserFriend
This is a bug / missing functionality in the Ant UI model.

Could you please take the time to log a bug report against platform ant and
I will see what I can do.

Thanks in advance
Darins

"Peter Neubauer" <peter@neubuer.se> wrote in message
news:pan.2005.04.16.21.05.28.892723@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
Re: ant targets not listed [message #201139 is a reply to message #201131] Sun, 17 April 2005 05:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: peter.neubuer.se

Darins,
thanks for the reply, bug filed under #91674

Please keep me posted on that (if not the bug sends out notifications?

/peter
Re: ant targets not listed [message #201204 is a reply to message #201139] Sun, 17 April 2005 11:45 Go to previous message
Eclipse UserFriend
The bug report will happily send you email as I investigate/comment within

Thanks
Darins

"Peter Neubauer" <peter@neubuer.se> wrote in message
news:pan.2005.04.17.09.36.41.977484@neubuer.se...
> Darins,
> thanks for the reply, bug filed under #91674
>
> Please keep me posted on that (if not the bug sends out notifications?
>
> /peter
Previous Topic:Dynamic Help
Next Topic:Ant does not work anymore, Mac OS 10.3.9
Goto Forum:
  


Current Time: Thu May 01 15:17:07 EDT 2025

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

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

Back to the top