cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From reinh...@apache.org
Subject svn commit: r697672 - in /cocoon/cocoon3/trunk: cocoon-archetype-block/pom.xml cocoon-archetype-parent/pom.xml cocoon-archetype-sample/pom.xml cocoon-archetype-sample/sync.groovy cocoon-archetype-webapp/pom.xml parent/it.bat parent/pom.xml
Date Mon, 22 Sep 2008 06:41:34 GMT
Author: reinhard
Date: Sun Sep 21 23:41:34 2008
New Revision: 697672

URL: http://svn.apache.org/viewvc?rev=697672&view=rev
Log:
introduce an archetype profile; fix problems with paths in sync.groovy

Modified:
    cocoon/cocoon3/trunk/cocoon-archetype-block/pom.xml
    cocoon/cocoon3/trunk/cocoon-archetype-parent/pom.xml
    cocoon/cocoon3/trunk/cocoon-archetype-sample/pom.xml
    cocoon/cocoon3/trunk/cocoon-archetype-sample/sync.groovy
    cocoon/cocoon3/trunk/cocoon-archetype-webapp/pom.xml
    cocoon/cocoon3/trunk/parent/it.bat
    cocoon/cocoon3/trunk/parent/pom.xml

Modified: cocoon/cocoon3/trunk/cocoon-archetype-block/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-archetype-block/pom.xml?rev=697672&r1=697671&r2=697672&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-archetype-block/pom.xml (original)
+++ cocoon/cocoon3/trunk/cocoon-archetype-block/pom.xml Sun Sep 21 23:41:34 2008
@@ -32,5 +32,5 @@
   <groupId>org.apache.cocoon.archetype-block</groupId>
   <artifactId>cocoon-archetype-block</artifactId>
   <version>3.0.0-SNAPSHOT</version>
-  <name>Cocoon 3: Block Archetype</name>
+  <name>Cocoon 3: Block Archetype [arch]</name>
 </project>

Modified: cocoon/cocoon3/trunk/cocoon-archetype-parent/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-archetype-parent/pom.xml?rev=697672&r1=697671&r2=697672&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-archetype-parent/pom.xml (original)
+++ cocoon/cocoon3/trunk/cocoon-archetype-parent/pom.xml Sun Sep 21 23:41:34 2008
@@ -32,5 +32,5 @@
   <groupId>org.apache.cocoon.archetype-parent</groupId>
   <artifactId>cocoon-archetype-parent</artifactId>
   <version>3.0.0-SNAPSHOT</version>
-  <name>Cocoon 3: Parent Archetype</name>
+  <name>Cocoon 3: Parent Archetype [arch]</name>
 </project>

Modified: cocoon/cocoon3/trunk/cocoon-archetype-sample/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-archetype-sample/pom.xml?rev=697672&r1=697671&r2=697672&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-archetype-sample/pom.xml (original)
+++ cocoon/cocoon3/trunk/cocoon-archetype-sample/pom.xml Sun Sep 21 23:41:34 2008
@@ -31,7 +31,7 @@
   <groupId>org.apache.cocoon.archetype-sample</groupId>
   <artifactId>cocoon-archetype-sample</artifactId>
   <version>3.0.0-SNAPSHOT</version>  
-  <name>Cocoon 3: Sample Archetype</name>
+  <name>Cocoon 3: Sample Archetype [arch]</name>
   
   <build>
     <plugins>

Modified: cocoon/cocoon3/trunk/cocoon-archetype-sample/sync.groovy
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-archetype-sample/sync.groovy?rev=697672&r1=697671&r2=697672&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-archetype-sample/sync.groovy (original)
+++ cocoon/cocoon3/trunk/cocoon-archetype-sample/sync.groovy Sun Sep 21 23:41:34 2008
@@ -46,20 +46,20 @@
 new File(project.basedir, "./src/main/resources/META-INF/maven/archetype.xml").write(writable.toString());
 
 def ant = new AntBuilder();
-ant.delete(dir: "./src/main/resources/archetype-resources/src")
+ant.delete(dir: new File(project.basedir, "./src/main/resources/archetype-resources/src"))
 ant.delete(dir: "./src/main/resources/archetype-resources/rcl-config")
 
-ant.copy(todir: "./src/main/resources/archetype-resources/src") {
+ant.copy(todir: new File(project.basedir, "./src/main/resources/archetype-resources/src"))
{
     fileset(dir: "../cocoon-sample/src") {
         exclude(name: '**/.svn')
     }
 }
-ant.copy(todir: "./src/main/resources/archetype-resources/rcl-config") {
+ant.copy(todir: new File(project.basedir, "./src/main/resources/archetype-resources/rcl-config"))
{
     fileset(dir: "../cocoon-sample/rcl-config") {
         exclude(name: '**/.svn')
     }
 }
-ant.copy(todir: "./src/main/resources/archetype-resources") {
+ant.copy(todir: new File(project.basedir, "./src/main/resources/archetype-resources")) {
     fileset(dir: "../cocoon-sample") {
         include(name: 'rcl.properties')
     }

Modified: cocoon/cocoon3/trunk/cocoon-archetype-webapp/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-archetype-webapp/pom.xml?rev=697672&r1=697671&r2=697672&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-archetype-webapp/pom.xml (original)
+++ cocoon/cocoon3/trunk/cocoon-archetype-webapp/pom.xml Sun Sep 21 23:41:34 2008
@@ -32,5 +32,5 @@
   <groupId>org.apache.cocoon.archetype-webapp</groupId>
   <artifactId>cocoon-archetype-webapp</artifactId>
   <version>3.0.0-SNAPSHOT</version>
-  <name>Cocoon 3: Web Application Archetype</name>
+  <name>Cocoon 3: Web Application Archetype [arch]</name>
 </project>

Modified: cocoon/cocoon3/trunk/parent/it.bat
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/parent/it.bat?rev=697672&r1=697671&r2=697672&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/parent/it.bat (original)
+++ cocoon/cocoon3/trunk/parent/it.bat Sun Sep 21 23:41:34 2008
@@ -16,4 +16,4 @@
 REM  specific language governing permissions and limitations
 REM  under the License.
 REM mvn clean install -P it,skip-buildnumber,coocoon-subprojects-snapshots -Dhtmlunit.base-url=http://localhost:8888
-mvn clean install -P it -Dhtmlunit.base-url=http://localhost:8888
\ No newline at end of file
+mvn clean install -P it,archetypes -Dhtmlunit.base-url=http://localhost:8888
\ No newline at end of file

Modified: cocoon/cocoon3/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/parent/pom.xml?rev=697672&r1=697671&r2=697672&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/parent/pom.xml (original)
+++ cocoon/cocoon3/trunk/parent/pom.xml Sun Sep 21 23:41:34 2008
@@ -35,11 +35,7 @@
   <description>Cocoon 3 Parent POM module contains all basic configurations for the
Maven 2 based build system.</description>
   <inceptionYear>2008</inceptionYear>
 
-  <modules>
-    <module>../cocoon-archetype-block</module>
-    <module>../cocoon-archetype-parent</module>    
-    <module>../cocoon-archetype-sample</module>    
-    <module>../cocoon-archetype-webapp</module>    
+  <modules>  
     <module>../cocoon-controller</module>        
     <module>../cocoon-pipeline</module>
     <module>../cocoon-rest</module>
@@ -463,7 +459,22 @@
       </build>
     </profile>
     <profile>
+      <id>archetypes</id>
+      <modules>
+        <module>../cocoon-archetype-block</module>
+        <module>../cocoon-archetype-parent</module>    
+        <module>../cocoon-archetype-sample</module>    
+        <module>../cocoon-archetype-webapp</module>        
+      </modules>    
+    </profile>
+    <profile>
       <id>release</id>
+      <modules>
+        <module>../cocoon-archetype-block</module>
+        <module>../cocoon-archetype-parent</module>    
+        <module>../cocoon-archetype-sample</module>    
+        <module>../cocoon-archetype-webapp</module>        
+      </modules>
       <build>
         <resources>
           <resource>



Mime
View raw message