[weld-commits] Weld SVN: r6989 - archetypes/javaee6-webapp/trunk.
weld-commits at lists.jboss.org
weld-commits at lists.jboss.org
Thu Aug 19 17:40:04 EDT 2010
Author: dan.j.allen
Date: 2010-08-19 17:40:04 -0400 (Thu, 19 Aug 2010)
New Revision: 6989
Modified:
archetypes/javaee6-webapp/trunk/build.sh
Log:
create transient readme.html
Modified: archetypes/javaee6-webapp/trunk/build.sh
===================================================================
--- archetypes/javaee6-webapp/trunk/build.sh 2010-08-19 21:39:35 UTC (rev 6988)
+++ archetypes/javaee6-webapp/trunk/build.sh 2010-08-19 21:40:04 UTC (rev 6989)
@@ -13,6 +13,7 @@
ARCHETYPE_RESOURCES_DIR=$ARCHETYPE_DIR/src/main/resources/archetype-resources
echo Generating archetype from project into $ARCHETYPE_BUILD_DIR...
+txt2html -pb 1 -p 2 -mh readme.txt > readme.html
mvn clean archetype:create-from-project -Darchetype.properties=archetype.properties
echo Relocating generated archetype project to $ARCHETYPE_DIR...
rsync -az --exclude `basename $0` --exclude archetype-pom.xml --exclude eclipse-dot-files $ARCHETYPE_BUILD_DIR/src $ARCHETYPE_DIR/
@@ -29,6 +30,7 @@
sed -i 's;eclipse-dot-files/\?;;' $ARCHETYPE_DIR/src/main/resources/META-INF/maven/archetype-metadata.xml
# remove local file that NetBeans add to source project
rm -f $ARCHETYPE_RESOURCES_DIR/src/main/webapp/WEB-INF/sun-web.xml
+rm -f readme.html
# 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