Ed Burns wrote:
>>>>>> On Tue, 07 Mar 2006 13:27:14 -0800, Ryan Lubke <Ryan.Lubke_at_Sun.COM> said:
>>>>>>
>
> RL> See attached files....
> RL> Wasn't having much luck obtaining htmlunit via
> RL> the Maven 2.0 Antlib, so rolled our own simple
> RL> dependency management.
>
>
> RL> SECTION: Modified Files
> RL> ----------------------------
> RL> M build.properties.glassfish
> RL> M build.properties.template
> RL> - add http.proxy.{port,host} properties
> RL> - remove references to dependencies
> RL> we only care about the dependency.base.dir
> RL> property
>
> RL> M common/ant/common.xml
> RL> - import dependencies.xml
>
> RL> M jsf-api/build.xml
> RL> M jsf-demo/build.xml
> RL> M jsf-ri/build.xml
> RL> - call the update target before anything else.
>
>
> RL> A common/ant/dependencies.xml
> RL> - if a required dependency doesn't exist,
> RL> download and install it.
>
> This is a home-grown solution, right? I thought Ant had something more
> professional for this sort of thing, no?
>
I think Ant 1.7 will have such a thing.
> If not, what you've done is fine and better than nothing, but I'd rather
> not have to use <get> with a URI. I want to use a system that knows
> about artifactId and groupId.
>
Understand, it's brittle, but it is better than nothing.
> Ed
>
>