You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jk...@apache.org on 2011/10/18 04:07:05 UTC
svn commit: r1185459 - in
/incubator/opennlp/trunk/opennlp-distr/src/main/bin: opennlp opennlp.bat
Author: jkosin
Date: Tue Oct 18 02:07:04 2011
New Revision: 1185459
URL: http://svn.apache.org/viewvc?rev=1185459&view=rev
Log:
OPENNLP-329: Placed warning (note) on keeping any output absent from script files
Modified:
incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp
incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat
Modified: incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp?rev=1185459&r1=1185458&r2=1185459&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp (original)
+++ incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp Tue Oct 18 02:07:04 2011
@@ -17,6 +17,10 @@
# specific language governing permissions and limitations
# under the License.
+# Note: Do not output anything in this script file, any output
+# may be inadvertantly placed in any output files if
+# output redirection is used.
+
if [ -z "$JAVACMD" ] ; then
if [ -n "$JAVA_HOME" ] ; then
JAVACMD="$JAVA_HOME/bin/java"
Modified: incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat
URL: http://svn.apache.org/viewvc/incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat?rev=1185459&r1=1185458&r2=1185459&view=diff
==============================================================================
--- incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat (original)
+++ incubator/opennlp/trunk/opennlp-distr/src/main/bin/opennlp.bat Tue Oct 18 02:07:04 2011
@@ -17,6 +17,10 @@ REM # KIND, either express or implied.
REM # specific language governing permissions and limitations
REM # under the License.
+REM # Note: Do not output anything in this script file, any output
+REM # may be inadvertantly placed in any output files if
+REM # output redirection is used.
+
IF "%JAVA_CMD%" == "" (
IF "%JAVA_HOME%" == "" (
SET JAVA_CMD=java