ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andy Kriger <andy.kri...@gmail.com>
Subject Re: How can I execute Ant targets from within a Java program?
Date Sun, 23 Jan 2005 23:27:24 GMT
Of course, always break it down.

Without the import statement, my code does work - I can get
information about targets. When I try to execute a target however (a
simple echo task), I don't see the output.

So 2 questions now:
1) How do I execute a target?
2) How do I process a build script that imports other Ant scripts?

On Sun, 23 Jan 2005 21:16:30 +0100, Maik Dobryn <maik@dobryn.de> wrote:
> Andy,
> 
> what if You try to keep the buildfile as simple as possible? Then, step by
> step You add more complexity like imports etc.
> 
> Maik
> 
> 
> On Sunday 23 January 2005 20:51, Andy Kriger wrote:
> > <project name="myProject" default="default" basedir=".">
> > ...
> > </project>
> >
> > The project does have an import element . But the code does not even
> > seem to be reaching that, being thrown off by the description element
> > (the first element under project).
> >
> 
> --
> 
>   Maik  D o b r y n
> ____________________________________________
> 
>   Email : maik@dobryn.de 
> ____________________________________________
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org 
> For additional commands, e-mail: user-help@ant.apache.org 
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message