You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by le...@apache.org on 2003/06/10 20:19:48 UTC
cvs commit: avalon/buildsystem maven.xml
leosimons 2003/06/10 11:19:48
Modified: buildsystem maven.xml
Log:
fixing gump descriptor generation (I hope)
Revision Changes Path
1.2 +13 -13 avalon/buildsystem/maven.xml
Index: maven.xml
===================================================================
RCS file: /home/cvs/avalon/buildsystem/maven.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- maven.xml 9 Jun 2003 15:26:24 -0000 1.1
+++ maven.xml 10 Jun 2003 18:19:48 -0000 1.2
@@ -232,13 +232,13 @@
After creating this descriptor, you still need to reference it from
the gump module descriptor at
- gump-integration/project/avalon-excalibur.xml
+ gump-integration/project/avalon.xml
One way to do this is to autogenerate the file based on the
contents of the 'gump-integration/project' directory:
- cd ~/cvs/avalon-excalibur/
- maven avalon:write-gump-module.xml
+ cd ~/cvs/avalon/buildsystem
+ maven avalon:seed-gump-module
Note this won't work if the file mentioned above already exists.
@@ -603,35 +603,35 @@
</ant:echo>
</goal>
- <goal name="avalon:write-gump-module.xml"
+ <goal name="avalon:seed-gump-module"
description="creates a gump-module.xml referencing all gump-project.xml files">
<attainGoal name="avalon:header"/>
<mkdir dir="gump-integration"/>
<mkdir dir="gump-integration/project"/>
- <!-- create avalon-excalibur.xml -->
- <ant:available file="gump-integration/project/avalon-excalibur.xml"
+ <!-- create avalon.xml -->
+ <ant:available file="gump-integration/project/avalon.xml"
property="gumpmodule.exists"/>
<j:set var="gmexists" value="${gumpmodule.exists}"/>
- <j:if test="${gmexists}"><ant:echo>Warning: gump-integration/project/avalon-excalibur.xml already exists!</ant:echo></j:if>
+ <j:if test="${gmexists}"><ant:echo>Warning: gump-integration/project/avalon.xml already exists!</ant:echo></j:if>
<j:if test="${not gmexists}">
<ant:fileScanner var="projectfiles">
<ant:fileset dir="gump-integration/project/">
<ant:patternset>
<ant:include name="*.xml"/>
- <ant:exclude name="avalon-excalibur.xml"/>
+ <ant:exclude name="avalon.xml"/>
</ant:patternset>
</ant:fileset>
</ant:fileScanner>
- <j:file name="gump-integration/project/avalon-excalibur.xml">
+ <j:file name="gump-integration/project/avalon.xml">
<j:whitespace xmlns="dummy">
-<module name="avalon-excalibur">
- <url href="http://avalon.apache.org/excalibur/"/>
+<module name="avalon">
+ <url href="http://avalon.apache.org/"/>
<description>
- Avalon's repository of reusable components.
+ Avalon's main repository.
</description>
<cvs repository="avalon"/>
@@ -666,7 +666,7 @@
<attainGoal name="avalon:header"/>
<attainGoal name="avalon:write-gump-projects"/>
- <attainGoal name="avalon:write-gump-module.xml"/>
+ <attainGoal name="avalon:seed-gump-module"/>
</goal>
</project>
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org