[ioke-scm] [ioke~main:5653332f] Force compilation using UTF-8 compilation - and make sure file.encoding i

  • From: olabini@kenai.com
  • To: commits@ioke.kenai.com
  • Subject: [ioke-scm] [ioke~main:5653332f] Force compilation using UTF-8 compilation - and make sure file.encoding i
  • Date: Mon, 11 Jan 2010 11:24:23 +0000

Project:    ioke
Repository: main
Revision:   5653332f86d140506ca781bf4bbe8c66c8b76d38
Author:     olabini
Date:       2010-01-11 11:24:04 UTC
Link:       

Log Message:
------------
Force compilation using UTF-8 compilation - and make sure file.encoding is 
always set to UTF-8 too


Revisions:
----------
5653332f86d140506ca781bf4bbe8c66c8b76d38


Modified Paths:
---------------
bin/ioke
build.xml


Diffs:
------
diff --git a/bin/ioke b/bin/ioke
index 06987ed..c97681e 100755
--- a/bin/ioke
+++ b/bin/ioke
@@ -179,9 +179,10 @@ if $cygwin; then
   fi
 fi
 
-if [ "$IOKE_JRUBY" != "" ]; then
+if [ "$VERIFY_IOKE" != "" ]; then
   $JAVA_CMD $PROFILE_ARGS $JAVA_OPTS "${java_args[@]}" -classpath 
"$IOKE_CP$CP_DELIMETER$CP$CP_DELIMETER$CLASSPATH" \
     "-Dioke.home=$IOKE_HOME" \
+    "-Dfile.encoding=UTF-8" \
     "-Dioke.lib=$IOKE_HOME/lib" -Dioke.script=ioke \
     ioke.lang.Main $IOKE_OPTS "$@"
 
@@ -192,6 +193,7 @@ if [ "$IOKE_JRUBY" != "" ]; then
 else
   exec "$JAVA_CMD" $JAVA_OPTS "${java_args[@]}" -Xbootclasspath/a:"$IOKE_CP" 
-classpath "$CP$CP_DELIMETER$CLASSPATH" \
     "-Dioke.home=$IOKE_HOME" \
+    "-Dfile.encoding=UTF-8" \
     "-Dioke.lib=$IOKE_HOME/lib" -Dioke.script=ioke \
     ioke.lang.Main $IOKE_OPTS "$@"
 fi
diff --git a/build.xml b/build.xml
index 09bf176..b0c5a4a 100644
--- a/build.xml
+++ b/build.xml
@@ -35,7 +35,7 @@
     <filter token="VERSION_RUNTIME" value="0.4.1-SNAPSHOT"/>
     <filter token="VERSION_STRING" value="Ioke P ikj 0.4.1-SNAPSHOT"/>
 
-    <javac destdir="${classes.dir}" debug="true" source="${javac.version}" 
target="${javac.version}">
+    <javac destdir="${classes.dir}" debug="true" source="${javac.version}" 
target="${javac.version}" encoding="UTF-8">
       <classpath refid="build.classpath"/>
       <src path="${src.dir}"/>
       <include name="**/*.java"/>




[ioke-scm] [ioke~main:5653332f] Force compilation using UTF-8 compilation - and make sure file.encoding i

olabini 01/11/2010
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close