A refinement of the 1st question - I figured out that I needed to add a BuildLogger and that displayed the output of my echo task. If a target has dependencies, do I have to call them manually before I call the execute method? It does not appear that execute executes the dependencies automatically.
thx for your help so far andy On Sun, 23 Jan 2005 18:27:24 -0500, Andy Kriger <[EMAIL PROTECTED]> wrote: > 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 <[EMAIL PROTECTED]> 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 : [EMAIL PROTECTED] > > ____________________________________________ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
