ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nico Seessle" <Nico.Sees...@epost.de>
Subject Re: Dynamic targets?
Date Wed, 01 Nov 2000 09:48:17 GMT
----- Original Message -----
From: "Jonas Tehler" <jegt@bozoka.com>
To: <ant-dev@jakarta.apache.org>
Sent: Wednesday, November 01, 2000 10:35 AM
Subject: Dynamic targets?


>
> There is one thing I'm really missing in Ant. Dynamic targets. If I for
> example where to run ant from the command line like this:
>
> ant com.foo.bar
>
> If there is no com.foo.bar-target this will fail. I would like it to
> pass com.foo.bar to some 'dynamic' target where I can do whatever I want
> with it (for example replacing the dots with path delimiters and build
> that dir). This would make the size of the build files smaller and open
> up for all kinds of nice dynamic stuff.
>

What target should ant select? Random? Default-Target?
To what should the argument you provide be assigned?
Why can't you use -DusePackage=com.foo.bar and do whatever you want with it
in the default-target?

Nico



Mime
View raw message