You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2011/01/21 11:10:06 UTC

svn commit: r1061716 - in /incubator/opennlp/trunk: opennlp-distr/src/main/assembly/bin.xml opennlp-tools/bin/opennlp opennlp-tools/bin/opennlp.bat

Author: joern
Date: Fri Jan 21 10:10:06 2011
New Revision: 1061716

URL: http://svn.apache.org/viewvc?rev=1061716&view=rev
Log:
OPENNLP-19 Modified shell scripts and include them again in the binary distribution, the script have accidentally been removed in one of the last commits

Modified:
    incubator/opennlp/trunk/opennlp-distr/src/main/assembly/bin.xml
    incubator/opennlp/trunk/opennlp-tools/bin/opennlp
    incubator/opennlp/trunk/opennlp-tools/bin/opennlp.bat

Modified: incubator/opennlp/trunk/opennlp-distr/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-distr/src/main/assembly/bin.xml?rev=1061716&r1=1061715&r2=1061716&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-distr/src/main/assembly/bin.xml (original)
+++ incubator/opennlp/trunk/opennlp-distr/src/main/assembly/bin.xml Fri Jan 21 10:10:06 2011
@@ -25,6 +25,10 @@
     <format>tar.gz</format>
     <format>zip</format>
   </formats>
+  
+    <includeBaseDirectory>true</includeBaseDirectory>
+	<baseDirectory>/apache-opennlp</baseDirectory>
+  
 	<dependencySets>
 		<dependencySet>
 			<includes>
@@ -49,6 +53,13 @@
 	    </fileSet>
 		
 		<fileSet>
+			<directory>../opennlp-tools/bin</directory>
+			<fileMode>755</fileMode>
+			<directoryMode>755</directoryMode>
+			<outputDirectory>bin</outputDirectory>
+		</fileSet>
+		
+		<fileSet>
 			<directory>../opennlp-docs/target/docbkx/html</directory>
 			<fileMode>644</fileMode>
 			<directoryMode>755</directoryMode>

Modified: incubator/opennlp/trunk/opennlp-tools/bin/opennlp
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/bin/opennlp?rev=1061716&r1=1061715&r2=1061716&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-tools/bin/opennlp (original)
+++ incubator/opennlp/trunk/opennlp-tools/bin/opennlp Fri Jan 21 10:10:06 2011
@@ -28,4 +28,4 @@ fi
 # Might fail if $0 is a link
 OPENNLP_HOME=`dirname "$0"`/..
 
-$JAVACMD -Xmx1024m -jar $OPENNLP_HOME/opennlp-tools-*.jar $@
+$JAVACMD -Xmx1024m -jar $OPENNLP_HOME/lib/opennlp-tools-*.jar $@

Modified: incubator/opennlp/trunk/opennlp-tools/bin/opennlp.bat
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-tools/bin/opennlp.bat?rev=1061716&r1=1061715&r2=1061716&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-tools/bin/opennlp.bat (original)
+++ incubator/opennlp/trunk/opennlp-tools/bin/opennlp.bat Fri Jan 21 10:10:06 2011
@@ -21,4 +21,4 @@ REM # TODO: this section needs some work
 IF "%JAVA_CMD%" == "" SET JAVA_CMD=java
 IF "%OPENNLP_HOME%" == "" SET OPENNLP_HOME=.
 
-%JAVA_CMD% -Xmx4096m -jar %OPENNLP_HOME%\opennlp-tools-*.jar %*
+%JAVA_CMD% -Xmx4096m -jar %OPENNLP_HOME%\lib\opennlp-tools-*.jar %*