Author: dan.j.allen
Date: 2011-03-31 00:55:17 -0400 (Thu, 31 Mar 2011)
New Revision: 7215
Modified:
archetypes/javaee6-webapp/trunk/create-archetype.sh
Log:
exclude .svn from rsync copy
Modified: archetypes/javaee6-webapp/trunk/create-archetype.sh
===================================================================
--- archetypes/javaee6-webapp/trunk/create-archetype.sh 2011-03-31 04:53:14 UTC (rev
7214)
+++ archetypes/javaee6-webapp/trunk/create-archetype.sh 2011-03-31 04:55:17 UTC (rev
7215)
@@ -34,7 +34,7 @@
#sed -i
's;\(<jndi-name>\)[^<]\+\(</jndi-name>\);\1jdbc/${artifactId}\2;'
$ARCHETYPE_RESOURCES_DIR/src/main/resources-jbossas/default-ds.xml
#sed -i
's;\(<jta-data-source>\)[^<]\+\(</jta-data-source>\);\1jdbc/${artifactId}\2;'
$ARCHETYPE_RESOURCES_DIR/src/main/resources/META-INF/persistence.xml
#mv $ARCHETYPE_RESOURCES_DIR/src/main/resources-jbossas/default-ds.xml
$ARCHETYPE_RESOURCES_DIR/src/main/resources-jbossas/__artifactId__-ds.xml
-rsync -az eclipse-dot-files/ $ARCHETYPE_RESOURCES_DIR/
+rsync -az --exclude .svn eclipse-dot-files/ $ARCHETYPE_RESOURCES_DIR/
# fix the archetype plugin being an idiot
find $ARCHETYPE_RESOURCES_DIR -type f -exec sed -i
's;packageInPathFormat;package;g' {} \;
# remove local file that NetBeans add to source project