Return-Path: Delivered-To: apmail-jakarta-avalon-cvs-archive@apache.org Received: (qmail 51568 invoked from network); 1 Apr 2002 07:35:54 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 1 Apr 2002 07:35:54 -0000 Received: (qmail 13568 invoked by uid 97); 1 Apr 2002 07:36:03 -0000 Delivered-To: qmlist-jakarta-archive-avalon-cvs@jakarta.apache.org Received: (qmail 13551 invoked by uid 97); 1 Apr 2002 07:36:03 -0000 Mailing-List: contact avalon-cvs-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Avalon CVS List" Reply-To: "Avalon Developers List" Delivered-To: mailing list avalon-cvs@jakarta.apache.org Received: (qmail 13540 invoked by uid 97); 1 Apr 2002 07:36:02 -0000 Date: 1 Apr 2002 07:35:50 -0000 Message-ID: <20020401073550.75216.qmail@icarus.apache.org> From: jefft@apache.org To: jakarta-avalon-excalibur-cvs@apache.org Subject: cvs commit: jakarta-avalon-excalibur/instrument-manager build.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N jefft 02/03/31 23:35:50 Modified: . Tag: depchecking depchecker.xml all Tag: depchecking build.xml command Tag: depchecking build.xml event Tag: depchecking build.xml instrument-client Tag: depchecking build.xml instrument-manager Tag: depchecking build.xml Log: Wohoo.. support for HTTP retrieval of missing jars. Revision Changes Path No revision No revision 1.1.2.2 +90 -36 jakarta-avalon-excalibur/depchecker.xml Index: depchecker.xml =================================================================== RCS file: /home/cvs/jakarta-avalon-excalibur/depchecker.xml,v retrieving revision 1.1.2.1 retrieving revision 1.1.2.2 diff -u -r1.1.2.1 -r1.1.2.2 --- depchecker.xml 1 Apr 2002 05:57:08 -0000 1.1.2.1 +++ depchecker.xml 1 Apr 2002 07:35:50 -0000 1.1.2.2 @@ -1,45 +1,58 @@ +============================================================ + Dependency updater + Version 2.3 + Jeff Turner + +This Ant script provides "functions" to check if +dependencies are present, and take appropriate action if +they are not. "Appropriate action" may be: + +- Print an error message +- Build the project, if local +- Retrieve the jar dependency via HTTP GET +To use it, type 'ant -f depchecker.xml' +============================================================--> - + @@ -54,23 +67,53 @@ For example: - + - - + + + - + + That will check if $${excalibur-concurrent.jar} points to a jar, and + if it doesn't, build the $${proj.home} project in order to generate + the jar + + or: + + + + + + + + That will check if $${lib.repo}/commons-io.jar exists, and if not, + download it from $${url} + + The properties are as follows: + For checkRequiredFile: name: Name of the jar. Eg 'avalon-collections.jar' path: - Path to named jar. Eg ${avalon-collections.jar} - dependency (optional): - Path to local project which builds the jar. Only set if - the jar could be local, eg another component. - target (optional): + Path to named jar. Eg $${avalon-collections.jar} + + proj.home (optional): + Path to local project which builds the jar. Only set if the jar + could be local, eg another component. + proj.target (optional) [dist.lite]: Ant script target to run in local project to build the jar + + url (optional): + URL to retrieve jar if not present on the local filesystem + + For checkRequiredClass: + name: + Name of jar in which the class usually resides + class: + Name of class to check for + classpath: + String classpath (; or : separated) to search for $${class} in ======================================================= ]]> @@ -90,8 +133,8 @@ - - + + + + - + - + - - + + - + + + Retrieved ${path} + + + +----------------------------------------------------------------+ | FILE NOT FOUND: | @@ -170,7 +224,7 @@ +-----------------------------------------------------------------+ | | | The dependency-checking system tried to build the project: | - | ${dependency} + | ${proj.home} | which should have provided the property: | | ${name} = ${path} | However, after the build, no such file exists. | No revision No revision 1.122.2.2 +4 -4 jakarta-avalon-excalibur/all/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-avalon-excalibur/all/build.xml,v retrieving revision 1.122.2.1 retrieving revision 1.122.2.2 diff -u -r1.122.2.1 -r1.122.2.2 --- build.xml 1 Apr 2002 05:46:10 -0000 1.122.2.1 +++ build.xml 1 Apr 2002 07:35:50 -0000 1.122.2.2 @@ -156,23 +156,23 @@ - + - + - + No revision No revision 1.5.2.2 +8 -8 jakarta-avalon-excalibur/command/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-avalon-excalibur/command/build.xml,v retrieving revision 1.5.2.1 retrieving revision 1.5.2.2 diff -u -r1.5.2.1 -r1.5.2.2 --- build.xml 1 Apr 2002 05:46:12 -0000 1.5.2.1 +++ build.xml 1 Apr 2002 07:35:50 -0000 1.5.2.2 @@ -36,34 +36,34 @@ - + - + - + - + - - + + - - + + No revision No revision 1.7.2.2 +2 -2 jakarta-avalon-excalibur/event/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-avalon-excalibur/event/build.xml,v retrieving revision 1.7.2.1 retrieving revision 1.7.2.2 diff -u -r1.7.2.1 -r1.7.2.2 --- build.xml 1 Apr 2002 05:46:12 -0000 1.7.2.1 +++ build.xml 1 Apr 2002 07:35:50 -0000 1.7.2.2 @@ -29,12 +29,12 @@ - + - + No revision No revision 1.9.2.2 +2 -2 jakarta-avalon-excalibur/instrument-client/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-avalon-excalibur/instrument-client/build.xml,v retrieving revision 1.9.2.1 retrieving revision 1.9.2.2 diff -u -r1.9.2.1 -r1.9.2.2 --- build.xml 1 Apr 2002 05:46:12 -0000 1.9.2.1 +++ build.xml 1 Apr 2002 07:35:50 -0000 1.9.2.2 @@ -39,12 +39,12 @@ - + - + No revision No revision 1.10.2.2 +7 -7 jakarta-avalon-excalibur/instrument-manager/build.xml Index: build.xml =================================================================== RCS file: /home/cvs/jakarta-avalon-excalibur/instrument-manager/build.xml,v retrieving revision 1.10.2.1 retrieving revision 1.10.2.2 diff -u -r1.10.2.1 -r1.10.2.2 --- build.xml 1 Apr 2002 05:46:12 -0000 1.10.2.1 +++ build.xml 1 Apr 2002 07:35:50 -0000 1.10.2.2 @@ -35,29 +35,29 @@ - + - + - + - - + + - - + + -- To unsubscribe, e-mail: For additional commands, e-mail: