On Tue, 18 Nov 2003, Ali Khawaja <[EMAIL PROTECTED]> wrote:

> I have two tasks, e.g., A & B in my build.xml

You mean targets, not tasks, right?

> Is it not possible to run them both sequentially?

Plenty of ways to do so.

> Do I have to set the dependency in B on A and set the project
> default="B"?

No, you could also introduce a new target C like

<target name="C" depends="A,C"/>

and run that.

And finally you could simply pass A and B as names of the targets to
run on Ant's command line.

ant A B

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to