From: Jim U. <jim...@ne...> - 2001-09-04 14:49:03
|
I don't know why, but a reboot of my confuser fixed the problem. I am now (for the time being) able to build using Antfarm. Jim -----Original Message----- From: jed...@li... [mailto:jed...@li...]On Behalf Of Joe Polanik Sent: Tuesday, September 04, 2001 9:39 AM To: jed...@li... Subject: RE: [ jEdit-users ] Antfarm with optional tasks At 07:24 AM 9/4/01 -0500, you wrote: >I copied optional.jar to my jEdit jars directory and that did the trick. >However, now when Antfarm runs javac, the compiler can't find ANY of the >packages/classes I import. Needless to say, if I run Ant from the command >line, it fines them just fine (they're all in my classpath). Now what do I >do? It seems to me jEdit is not passing the CLASSPATH to Ant correctly. Where are you defining the classpath used when you run from the command line and when you use AntFarm? Say I'm compiling a project that requires the mysql driver. Even if JEdit knows where the mysql driver is located when using the SQL plugin, antFarm doesn't know where it is. So I have to tell it, but I've not had any trouble compiling when I added the path to the driver in any of the following ways: 1. Adding it to the system classpath (On NT: My computer | properties | environment) 2. Adding it to the classpath in the jEdit launcher 3. Adding it to the build file with a classpath statement <target name="mkBiblio" depends="init"> <javac srcdir="${src}" destdir="${classes}" includes="**/*.java"> <classpath path="${mysql.driver}/mysql.jar"/> </javac> </target> -- ----------------------------------------------- jEdit Users' List jEd...@li... https://lists.sourceforge.net/lists/listinfo/jedit-users |