----- Original Message -----
From: "Jonas Tehler" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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


Reply via email to