From: Erik J. <er...@ma...> - 2007-11-29 18:25:00
|
Hi. Today I installed Cambozola. Yesterday I installed Motion on my openSUSE 10.3. Below is what I got when I ran ant. What can I do ?. What do I need to install if it's this ?. Or can I just copy cambozola.jar from /cambozola/dist/ to the html folder ? /opt/cambozola-0.68 # ant Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-1.5.0-sun-1.5.0_update12/lib/tools.jar Buildfile: build.xml init: BUILD FAILED /opt/cambozola-0.68/build.xml:30: Problem: failed to create task or type propertyfile Cause: the class org.apache.tools.ant.taskdefs.optional.PropertyFile was not found. This looks like one of Ant's optional components. Action: Check that the appropriate optional JAR exists in -/usr/share/ant/lib -/root/.ant/lib -a directory added on the command line with the -lib argument Do not panic, this is a common problem. The commonest cause is a missing JAR. This is not a bug; it is a configuration problem Total time: 0 seconds lajka3:/opt/cambozola-0.68 # ls -l /usr/share/ant/lib/ total 0 lrwxrwxrwx 1 root root 24 Nov 29 16:22 ant-1.7.0.jar -> ../../java/ant-1.7.0.jar lrwxrwxrwx 1 root root 40 Nov 29 18:52 ant-apache-bcel-1.7.0.jar -> ../../java/ant/ant-apache-bcel-1.7.0.jar lrwxrwxrwx 1 root root 34 Nov 29 18:52 ant-apache-bcel.jar -> ../../java/ant/ant-apache-bcel.jar lrwxrwxrwx 1 root root 39 Nov 29 18:52 ant-apache-bsf-1.7.0.jar -> ../../java/ant/ant-apache-bsf-1.7.0.jar lrwxrwxrwx 1 root root 33 Nov 29 18:52 ant-apache-bsf.jar -> ../../java/ant/ant-apache-bsf.jar lrwxrwxrwx 1 root root 41 Nov 29 18:48 ant-apache-log4j-1.7.0.jar -> ../../java/ant/ant-apache-log4j-1.7.0.jar lrwxrwxrwx 1 root root 35 Nov 29 18:48 ant-apache-log4j.jar -> ../../java/ant/ant-apache-log4j.jar lrwxrwxrwx 1 root root 39 Nov 29 18:48 ant-apache-oro-1.7.0.jar -> ../../java/ant/ant-apache-oro-1.7.0.jar lrwxrwxrwx 1 root root 33 Nov 29 18:48 ant-apache-oro.jar -> ../../java/ant/ant-apache-oro.jar lrwxrwxrwx 1 root root 42 Nov 29 18:52 ant-apache-regexp-1.7.0.jar -> ../../java/ant/ant-apache-regexp-1.7.0.jar lrwxrwxrwx 1 root root 36 Nov 29 18:52 ant-apache-regexp.jar -> ../../java/ant/ant-apache-regexp.jar lrwxrwxrwx 1 root root 44 Nov 29 18:48 ant-apache-resolver-1.7.0.jar -> ../../java/ant/ant-apache-resolver-1.7.0.jar lrwxrwxrwx 1 root root 38 Nov 29 18:48 ant-apache-resolver.jar -> ../../java/ant/ant-apache-resolver.jar lrwxrwxrwx 1 root root 33 Nov 29 16:22 ant-launcher-1.7.0.jar -> ../../java/ant-launcher-1.7.0.jar lrwxrwxrwx 1 root root 27 Nov 29 16:22 ant-launcher.jar -> ../../java/ant-launcher.jar lrwxrwxrwx 1 root root 18 Nov 29 16:22 ant.jar -> ../../java/ant.jar lajka3:/opt/cambozola-0.68 # ls -l /root/.ant ls: cannot access /root/.ant: No such file or directory TIA /Erik |