Sounds like your ant installation is messed up.  I don't what it is supposed
to look like, but here is what I have:

john$ which ant
/usr/bin/ant
john$ ls -l /usr/bin/ant
lrwxr-xr-x  1 root  wheel  22 Feb 17 16:01 /usr/bin/ant ->
/usr/share/ant/bin/ant
john$ ls -l /usr/share/ant
lrwxr-xr-x  1 root  wheel  14 Feb 17 16:01 /usr/share/ant -> java/ant-1.8.1
john$ ls -l /usr/share/java/ant-1.8.1/
total 16
-rw-r--r--   1 root  wheel  15289 Sep 21 16:10 LICENSE.txt
-rw-r--r--   1 root  wheel    218 Sep 21 16:10 NOTICE.txt
drwxr-xr-x   8 root  wheel    272 Sep 21 16:10 bin
drwxr-xr-x  15 root  wheel    510 Sep 21 16:10 etc
drwxr-xr-x  36 root  wheel   1224 Sep 21 16:10 lib
john$ ls -l /usr/share/java/ant-1.8.1/lib/
total 4112
-rw-r--r--  1 root  wheel      151 Sep 21 16:10 README
-rw-r--r--  1 root  wheel     5758 Sep 21 16:10 ant-antlr.jar
-rw-r--r--  1 root  wheel     3068 Sep 21 16:10 ant-antlr.pom
-rw-r--r--  1 root  wheel     2808 Sep 21 16:10 ant-apache-bcel.pom
-rw-r--r--  1 root  wheel     3025 Sep 21 16:10 ant-apache-bsf.pom
-rw-r--r--  1 root  wheel     2732 Sep 21 16:10 ant-apache-log4j.pom
-rw-r--r--  1 root  wheel     2809 Sep 21 16:10 ant-apache-oro.pom
-rw-r--r--  1 root  wheel     2738 Sep 21 16:10 ant-apache-regexp.pom
-rw-r--r--  1 root  wheel     2740 Sep 21 16:10 ant-apache-resolver.pom
-rw-r--r--  1 root  wheel     3852 Sep 21 16:10 ant-apache-xalan2.pom
-rw-r--r--  1 root  wheel     2835 Sep 21 16:10 ant-commons-logging.pom
-rw-r--r--  1 root  wheel     2969 Sep 21 16:10 ant-commons-net.pom
-rw-r--r--  1 root  wheel    22282 Sep 21 16:10 ant-jai.jar
-rw-r--r--  1 root  wheel     3259 Sep 21 16:10 ant-jai.pom
-rw-r--r--  1 root  wheel     3094 Sep 21 16:10 ant-javamail.pom
-rw-r--r--  1 root  wheel     2896 Sep 21 16:10 ant-jdepend.pom
-rw-r--r--  1 root  wheel     6747 Sep 21 16:10 ant-jmf.jar
-rw-r--r--  1 root  wheel     2890 Sep 21 16:10 ant-jmf.pom
-rw-r--r--  1 root  wheel     2840 Sep 21 16:10 ant-jsch.pom
-rw-r--r--  1 root  wheel    97583 Sep 21 16:10 ant-junit.jar
-rw-r--r--  1 root  wheel     3662 Sep 21 16:10 ant-junit.pom
-rw-r--r--  1 root  wheel    12312 Sep 21 16:10 ant-launcher.jar
-rw-r--r--  1 root  wheel     2326 Sep 21 16:10 ant-launcher.pom
-rw-r--r--  1 root  wheel     2883 Sep 21 16:10 ant-netrexx.pom
-rw-r--r--  1 root  wheel   409067 Sep 21 16:10 ant-nodeps.jar
-rw-r--r--  1 root  wheel     4723 Sep 21 16:10 ant-nodeps.pom
-rw-r--r--  1 root  wheel     4173 Sep 21 16:10 ant-parent.pom
-rw-r--r--  1 root  wheel     7565 Sep 21 16:10 ant-swing.jar
-rw-r--r--  1 root  wheel     2643 Sep 21 16:10 ant-swing.pom
-rw-r--r--  1 root  wheel    15199 Sep 21 16:10 ant-testutil.jar
-rw-r--r--  1 root  wheel     2944 Sep 21 16:10 ant-testutil.pom
-rw-r--r--  1 root  wheel  1516775 Sep 21 16:10 ant.jar
-rw-r--r--  1 root  wheel     8589 Sep 21 16:10 ant.pom
-rw-r--r--  1 root  wheel     2316 Sep 21 16:10 libraries.properties

On Wed, Mar 9, 2011 at 7:46 AM, Alexander Spohr <[email protected]> wrote:

> Hi list,
>
> after the March 8th 2011 Java update (javac 1.6.0_24) I can not compile
> using ant any more:
>
> BUILD FAILED
> build.xml:204: taskdef A class needed by class
> org.objectstyle.woproject.ant.WOCompile cannot be found:
> org/apache/tools/ant/taskdefs/Javac
>
> At first we thought it was the missing woproject.jar but it looks like
> woproject.jar is existent but t can not find a Javac class that has been
> available before.
>
> Any help?
>
>        atze
>
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/johnthuss%40gmail.com
>
> This email sent to [email protected]
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to