2013年4月29日月曜日

Apache Wave が動いた。build.xml と build-macros.xml の javac にオプションを追加。

$ diff -u build.xml.org build.xml
--- build.xml.org 2013-04-29 16:31:44.243224609 +0900
+++ build.xml 2013-04-29 16:59:53.131056431 +0900
@@ -152,7 +152,7 @@
       unless="skip.dist-pst" description="Builds the PST tool">
     <delete dir="${build.dir}/pst"/>
     <mkdir dir="${build.dir}/pst"/>
-    <javac srcdir="${src.dir}" destdir="${build.dir}/pst" includes="org/waveprotocol/pst/**/*">
+    <javac fork="yes" executable="/usr/lib/jvm/java-1.6.0/bin/javac" bootclasspath="/usr/lib/jvm/java-1.6.0/jre/lib/rt.jar" target="1.6" source="1.6" srcdir="${src.dir}" destdir="${build.dir}/pst" includes="org/waveprotocol/pst/**/*">
       <classpath>
         <path refid="libpath"/>
         <path location="${build.proto.dir}/"/>
@@ -210,7 +210,7 @@
       go and delete those overzealously compiled files, because they will be
       compiled again later.
     -->    
-    <javac srcdir="${gen.dir}/messages"
+    <javac fork="yes" executable="/usr/lib/jvm/java-1.6.0/bin/javac" bootclasspath="/usr/lib/jvm/java-1.6.0/jre/lib/rt.jar" target="1.6" source="1.6" srcdir="${gen.dir}/messages"
            destdir="${build.messages.dir}"
            sourcepath="${src.dir}">
       <classpath>

0 件のコメント:

コメントを投稿