[weld-commits] Weld SVN: r6531 - archetypes/branches/prototype.

weld-commits at lists.jboss.org weld-commits at lists.jboss.org
Sat Jun 19 02:43:52 EDT 2010


Author: dan.j.allen
Date: 2010-06-19 02:43:52 -0400 (Sat, 19 Jun 2010)
New Revision: 6531

Modified:
   archetypes/branches/prototype/build.sh
Log:
switch to rsync for copying over sources


Modified: archetypes/branches/prototype/build.sh
===================================================================
--- archetypes/branches/prototype/build.sh	2010-06-19 06:43:24 UTC (rev 6530)
+++ archetypes/branches/prototype/build.sh	2010-06-19 06:43:52 UTC (rev 6531)
@@ -6,15 +6,15 @@
 
 echo Generating archetype from project into $ARCHETYPE_BUILD_DIR...
 rm -Rf $ARCHETYPE_DIR/target
-svn rm $ARCHETYPE_DIR/src
+svn rm --force $ARCHETYPE_DIR/src
 mvn clean archetype:create-from-project -Darchetype.properties=archetype.properties
 echo Relocating generated archetype project to $ARCHETYPE_DIR...
-mv $ARCHETYPE_BUILD_DIR/src $ARCHETYPE_DIR/
+rsync -az --exclude generated-archetype --exclude `basename $0` --exclude archetype-pom.xml $ARCHETYPE_BUILD_DIR/src $ARCHETYPE_DIR/
 cp -f archetype-pom.xml $ARCHETYPE_DIR/pom.xml
 mvn -f $ARCHETYPE_DIR/pom.xml clean
 echo Patching generated archetype...
-rm -f $ARCHETYPE_RESOURCES_DIR/`basename $0`
-rm -f $ARCHETYPE_RESOURCES_DIR/archetype-pom.xml
+#rm -f $ARCHETYPE_RESOURCES_DIR/`basename $0`
+#rm -f $ARCHETYPE_RESOURCES_DIR/archetype-pom.xml
 # could also use col -b
 sed -i 's;
 ;;' $ARCHETYPE_RESOURCES_DIR/pom.xml



More information about the weld-commits mailing list