[FOray-commit] SF.net SVN: foray: [8255] trunk/foray/scripts
Modular XSL-FO Implementation for Java.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2006-09-30 17:32:42
|
Revision: 8255
http://svn.sourceforge.net/foray/?rev=8255&view=rev
Author: victormote
Date: 2006-09-30 10:32:29 -0700 (Sat, 30 Sep 2006)
Log Message:
-----------
1. Add shell script for basic runnability test.
2. Clean up startup scripts to be used from the distribution instead of a repository sandbox.
3. Make all scripts executable.
Modified Paths:
--------------
trunk/foray/scripts/foray.bat
trunk/foray/scripts/foray.sh
Added Paths:
-----------
trunk/foray/scripts/foray-test.sh
Property Changed:
----------------
trunk/foray/scripts/foray-test.bat
trunk/foray/scripts/foray.bat
Property changes on: trunk/foray/scripts/foray-test.bat
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/foray/scripts/foray-test.sh
===================================================================
--- trunk/foray/scripts/foray-test.sh (rev 0)
+++ trunk/foray/scripts/foray-test.sh 2006-09-30 17:32:29 UTC (rev 8255)
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+# The purpose of this script is to run FOray on one file from the
+# distribution resources, just to ensure that it generally runs.
+
+./foray.sh -fo file:../resource/fo-examples/basic/minimal.fo -pdf minimal.pdf
\ No newline at end of file
Property changes on: trunk/foray/scripts/foray-test.sh
___________________________________________________________________
Name: svn:executable
+ *
Name: svn:keywords
+ "Author Id Rev Date URL"
Name: svn:eol-style
+ LF
Modified: trunk/foray/scripts/foray.bat
===================================================================
--- trunk/foray/scripts/foray.bat 2006-09-30 16:52:19 UTC (rev 8254)
+++ trunk/foray/scripts/foray.bat 2006-09-30 17:32:29 UTC (rev 8255)
@@ -1,21 +1,31 @@
echo off
-set FORAY_CP=%FORAY_HOME%\build\foray-0.2b1.jar
+rem The purpose of this script is to set the classpath needed to run FOray
+rem and to start it up.
+rem
+rem Note that this script is intended for use with FOray distributions. It will
+rem not work with a repository sandbox without modification unless the "foray"
+rem jar files are built and added to the lib directory.
-rem Add separate AXSL build in if it exists
-set FORAY_CP=%FORAY_CP%;%AXSL_HOME%\build\ant\axsl-0.2a.jar
+set FORAY_LIB=..\lib
-rem Add ICU4J in (not in lib yet)
-set FORAY_CP=%FORAY_CP%;D:\rsrc\icu4j\3_4_3\icu4j_3_4_3.jar
+set FORAY_CP=%FORAY_LIB%\avalon-framework-cvs-20020806.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\axsl-0.1.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\batik.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\commons-io-1.2.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\commons-logging.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\foray-0.2-all.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\foray-font-0.2-rsrc.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\foray-hyphen-r-0.2-rsrc.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\icu4j_3_4_3.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\servlet-2.2.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\stax-1.2.0_rc2-dev.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\stax-api-1.0.1.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\xalan-2.4.1.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\xml-apis-1.3.02.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\resolver.jar
+set FORAY_CP=%FORAY_CP%;%FORAY_LIB%\xercesImpl-2.7.1.jar
-rem Now add regular lib jar files
-set FORAY_CP=%FORAY_CP%;%FORAY_HOME%\lib\avalon-framework-cvs-20020806.jar
-set FORAY_CP=%FORAY_CP%;%FORAY_HOME%\lib\axsl-0.1.jar
-set FORAY_CP=%FORAY_CP%;%FORAY_HOME%\lib\batik.jar
-set FORAY_CP=%FORAY_CP%;%FORAY_HOME%\lib\commons-logging.jar
-set FORAY_CP=%FORAY_CP%;%FORAY_HOME%\lib\resolver.jar
-set FORAY_CP=%FORAY_CP%;%FORAY_HOME%\lib\xercesImpl-2.7.1.jar
-
java -Xmx256m -classpath "%FORAY_CP%" org.foray.app.FOray %1 %2 %3 %4 %5 %6 %7 %8 %9
set FORAY_CP=
Property changes on: trunk/foray/scripts/foray.bat
___________________________________________________________________
Name: svn:executable
+ *
Modified: trunk/foray/scripts/foray.sh
===================================================================
--- trunk/foray/scripts/foray.sh 2006-09-30 16:52:19 UTC (rev 8254)
+++ trunk/foray/scripts/foray.sh 2006-09-30 17:32:29 UTC (rev 8255)
@@ -1,6 +1,9 @@
-#! /bin/sh
+#!/bin/sh
#
# Shell script to run FOray.
+# Note that this script is intended for use with FOray distributions. It will
+# not work with a repository sandbox without modification unless the "foray"
+# jar files are built and added to the lib directory.
# Constants
FORAY_VERSION="0.2b1"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|