[weld-commits] Weld SVN: r6666 - archetypes/javaee6-webapp/trunk.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Fri Jul 16 19:00:44 EDT 2010
Author: dan.j.allen
Date: 2010-07-16 19:00:44 -0400 (Fri, 16 Jul 2010)
New Revision: 6666
Modified:
archetypes/javaee6-webapp/trunk/build.sh
Log:
don't allow sun-web.xml to end up in archetype
Modified: archetypes/javaee6-webapp/trunk/build.sh
===================================================================
--- archetypes/javaee6-webapp/trunk/build.sh 2010-07-16 23:00:23 UTC (rev 6665)
+++ archetypes/javaee6-webapp/trunk/build.sh 2010-07-16 23:00:44 UTC (rev 6666)
@@ -25,6 +25,8 @@
sed -i 's;
;;' $ARCHETYPE_RESOURCES_DIR/readme.txt
sed -i 's;<name>jboss-javaee6-webapp-src</name>;<name>${name}</name>;' $ARCHETYPE_RESOURCES_DIR/pom.xml
+# remove local file that NetBeans add to source project
+rm -f $ARCHETYPE_RESOURCES_DIR/src/main/webapp/WEB-INF/sun-web.xml
# could set the release version at this point, if specified
if [ ! -z $1 ] && [ "$1" = "install" ]; then
echo Installing archetype...
More information about the weld-commits
mailing list