* [EMAIL PROTECTED] <[EMAIL PROTECTED]> [Mar 27 9:59am]: > I am new to Ant and am trying to run it on Linux w/ the Blackdown > port(1.2.2). The blackdown port does not define the class > sun.tools.javac.Main, so Ant will not compile java files. Has > anyone encountered this problem? As a fix I am thinking of writing > a new task that will generate a makefile for the compile and > execute the makefile if the class sun.tools.javac.Main is not > found. Any suggestions/fixes?
I've got the blackdown jdk1.2 working fine with ant. The class you mention I find in ./lib/tools.jar under the blackdown jdk dir. The ant script in the ./bin/ dir of the ant distribution then includes tools.jar in the classpath if you have $JAVA_HOME set. Padraic
