leosimons 2003/06/24 01:07:15
Modified: . gen.sh build.xml
Log:
need to generate perl scripts here
Revision Changes Path
1.41 +11 -1 jakarta-gump/gen.sh
Index: gen.sh
===================================================================
RCS file: /home/cvs/jakarta-gump/gen.sh,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- gen.sh 8 Feb 2003 20:16:17 -0000 1.40
+++ gen.sh 24 Jun 2003 08:07:15 -0000 1.41
@@ -16,7 +16,7 @@
CYGWIN*) cygwin=true ;;
*) cygwin=false ;;
esac
-
+
# For Cygwin, ensure paths are in UNIX format before anything is touched
if $cygwin ; then
export CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
@@ -156,6 +156,16 @@
echo Generate move script for cached files
test -n "$FAIL" || \
java org.apache.xalan.xslt.Process -text -in work/move.xml -xsl stylesheet/bash.xsl
-out work/move.sh || \
+export FAIL=1
+
+echo Generating publish script for javadocs
+test -n "$FAIL" || \
+java org.apache.xalan.xslt.Process -text -in work/merge.xml -xsl
stylesheet/pubdocs.xsl -out work/pubdoc.pl || \
+export FAIL=1
+
+echo Generating publish script for junit reports
+test -n "$FAIL" || \
+java org.apache.xalan.xslt.Process -text -in work/merge.xml -xsl
stylesheet/pubreport.xsl -out work/pubreport.pl || \
export FAIL=1
# **** publish ***
1.20 +7 -1 jakarta-gump/build.xml
Index: build.xml
===================================================================
RCS file: /home/cvs/jakarta-gump/build.xml,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- build.xml 1 Apr 2003 16:54:51 -0000 1.19
+++ build.xml 24 Jun 2003 08:07:15 -0000 1.20
@@ -160,7 +160,7 @@
<target name="scripts" depends="website"
description="Generate the update and build scripts">
- <style basedir="work" destdir="work" includes="*.site" excludes="xref.*"
+ <style basedir="work" destdir="work" includes="*.site" excludes="xref.*"
extension=".${extension}" style="stylesheet/${target}.xsl"/>
</target>
@@ -192,6 +192,12 @@
<target name="pubdocs" depends="gen">
<style in="work/merge.xml" out="work/pubdoc.pl"
style="stylesheet/pubdocs.xsl"/>
+ </target>
+
+ <!-- Generate publish instructions for the junit reports -->
+ <target name="pubreport" depends="gen">
+ <style in="work/merge.xml" out="work/pubreport.pl"
+ style="stylesheet/pubreport.xsl"/>
</target>
<!-- Produce the gump web site -->
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]