Hi,

the new json extension breaks the ant build. It misses the main extension's
classpath in the javac task in the "compile.extension" target.

I endose a patch that fixes it.

cheers

-- 
David Calavera
http://www.thinkincode.net
Index: build/build.xml
===================================================================
--- build/build.xml	(revisión: 579572)
+++ build/build.xml	(copia de trabajo)
@@ -705,7 +705,8 @@
     <echo>Compiling extension ${ext}...</echo>
     <mkdir dir="${extensions.work}/${ext}" />
     <mkdir dir="${extensions.work}/${ext}/META-INF" />
-    <javac srcdir="${extensions}/${ext}/src/main/java" destdir="${extensions.work}/${ext}" classpathref="jar.dependencies" classpath="${core.work};${parser.work};${client.work};${protocol.work}" debug="${debug}" />
+    <javac srcdir="${extensions}/${ext}/src/main/java" destdir="${extensions.work}/${ext}" 
+    	classpathref="jar.dependencies" classpath="${core.work};${parser.work};${client.work};${protocol.work};${extensions.work}/main" debug="${debug}" />
 
     <available file="${extensions}/${ext}/src/test/java" property="is.available.${ext}.test" />
     
@@ -862,4 +863,5 @@
       <arg line="-jar &quot;${extensions.jar.base}.${ext}.${version}.jar&quot; &quot;${retro_ext.jar}&quot;" />
     </java>
   </target>
+
 </project>

Reply via email to