You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ah...@apache.org on 2008/12/19 00:43:44 UTC

svn commit: r727856 - in /maven/sandbox/trunk/reports: maven-plugins-fixed.sh maven-plugins.sh maven.sh reports.sh

Author: aheritier
Date: Thu Dec 18 15:43:44 2008
New Revision: 727856

URL: http://svn.apache.org/viewvc?rev=727856&view=rev
Log:
Generate all reports in one script

Added:
    maven/sandbox/trunk/reports/reports.sh   (with props)
Removed:
    maven/sandbox/trunk/reports/maven-plugins-fixed.sh
    maven/sandbox/trunk/reports/maven-plugins.sh
    maven/sandbox/trunk/reports/maven.sh

Added: maven/sandbox/trunk/reports/reports.sh
URL: http://svn.apache.org/viewvc/maven/sandbox/trunk/reports/reports.sh?rev=727856&view=auto
==============================================================================
--- maven/sandbox/trunk/reports/reports.sh (added)
+++ maven/sandbox/trunk/reports/reports.sh Thu Dec 18 15:43:44 2008
@@ -0,0 +1,35 @@
+#!/bin/sh
+
+if [ $JAVA_HOME ]
+then
+    echo "The script will use \$JAVA_HOME = $JAVA_HOME"
+else
+    echo "\$JAVA_HOME must be defined to launch the script."
+    exit 1
+fi
+
+if [ $# -ne 1 ]
+then
+    echo "Usage - $0 output-directory"
+    exit 1
+fi
+
+if [ -d $1 ]
+then
+    export OUTPUTDIR=$1
+else
+    echo "Sorry, $1 directory does not exist"
+fi
+
+export JAVA_CMD=$JAVA_HOME/bin/java
+export JAVA_OPTS="-ms32m -mx256m"
+export CMD="$JAVA_CMD $JAVA_OPTS -jar swizzle-jirareport-1.2.3-SNAPSHOT-dep.jar"
+
+$CMD maven.vm -DentityExpansionLimit=500000 > $OUTPUTDIR/maven-votes.txt
+$CMD maven-html.vm -DentityExpansionLimit=500000 > $OUTPUTDIR/maven-votes.html
+$CMD maven-plugins.vm > $OUTPUTDIR/plugin-votes.txt
+$CMD maven-plugins-html.vm > $OUTPUTDIR/plugin-votes.html
+$CMD maven-plugins-fixed.vm > $OUTPUTDIR/maven-plugins-fixed.txt
+$CMD maven-plugins-fixed-html.vm > $OUTPUTDIR/maven-plugins-fixed.html
+
+exit 0
\ No newline at end of file

Propchange: maven/sandbox/trunk/reports/reports.sh
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: maven/sandbox/trunk/reports/reports.sh
------------------------------------------------------------------------------
    svn:executable = *

Propchange: maven/sandbox/trunk/reports/reports.sh
------------------------------------------------------------------------------
    svn:keywords = Author Date Id Revision