dev@javaserverfaces.java.net

Re: [REVIEW] Basic dependency management

From: Ed Burns <ed.burns_at_sun.com>
Date: Wed, 8 Mar 2006 13:49:04 -0800

>>>>> 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?

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.

Ed

-- 
| ed.burns_at_sun.com  | {home: 407 869 9587, office: 408 884 9519 OR x31640}
| homepage:         | http://purl.oclc.org/NET/edburns/
| aim: edburns0sunw | iim: ed.burns_at_sun.com
| 47 Business Days until JavaOne SF 2006