Simple... :-) rssh wrote: > It's very simple ;) > > 1. download > 2. start ant > 'ant' > (it will automatically fetch all dependencies and start build) > 3. clean all > 'ant clean' > 4. to change target JDK, set "target" attribute of javac in "build" ant > target. (consult with javac ant task documentation if needed).
I've downloaded xwiki-plugin-sql-src-1.4.tar.gz <http://xwikisql.googlecode.com/files/xwiki-plugin-sql-src-1.4.tar.gz>, extracted it, changed build.xml by adding target="1.5" to ... ***** <target name="build" depends="retrieve-libs"> <javac srcdir="src/main/java" includes="**/*.java" deprecation="on" debug="${debug}" target="1.5"> <classpath refid="std.build.path" /> </javac> <jar basedir="src/main/java" includes="**/*.class" destfile="target/xwiki-plugin-sql-${version}.jar" index="true"> <include name="build"/> <manifest> <attribute name="Build-By" value="${user-name}"/> </manifest> </jar> </target> ***** and... ***** <target name="build-tests" depends="build,retrieve-test-libs"> <javac srcdir="src/test/java" includes="**/*.java" deprecation="on" debug="${debug}" target="1.5"> <classpath refid="test.std.build.path" /> </javac> </target> ***** Then, started ant. And build failed recording the following messages: ***** sh-3.2# ant Buildfile: build.xml download-ivy: [get] Getting: http://repo1.maven.org/maven2/org/apache/ivy/ivy/2.0.0-beta2/ivy-2.0.0-beta2.jar [get] To: /var/root/.ivy/jars/ivy.jar [get] Not modified - so not downloaded declare-ivy: init-ivy: No ivy:settings found for the default reference 'ivy.instance'. A default instance will be used [null] :: Ivy 2.0.0-beta2 - 20080225093827 :: http://ant.apache.org/ivy/ :: [null] :: loading settings :: file = /Users/rrodriguez/Downloads/xwiki-plugin-sql-src-1.4/ivysettings.xml [null] DEPRECATED: 'checkUpToDate' is deprecated, use '[EMAIL PROTECTED]' instead (file:/Users/rrodriguez/Downloads/xwiki-plugin-sql-src-1.4/ivysettings.xml) BUILD FAILED /Users/rrodriguez/Downloads/xwiki-plugin-sql-src-1.4/build.xml:39: java.lang.NoClassDefFoundError: com/jcraft/jsch/JSchException Total time: 1 second sh-3.2# ***** Please, does this any sense for your? What I am doing wrong? Thank you so much for your help, Ricardo -- Ricardo Rodri'guez Your EPEC Network ICT Team _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users