> Is the classpath set up in the <java> Ant task?  It should look
> something like this:
>
> Near the top:
>     <property name="build" location="classes"/>
>
> In the compile_clojure task:
>     <java classname="clojure.lang.Compile"
>              classpath="${build}:${cljsrc}">
>         <sysproperty key="clojure.compile.path" value="${build}"/>
>         <arg value="clojure.core"/>
>         ...and so on...
>
> There have been so many patches on this, I'm not sure which one you
> have.
> -S

Yes, that's the build.xml I have. If I add

  err.println(System.getProperty("java.class.path"));

to clojure.lang.Compile, it gives me all of the Ant jars (included
below, but no need to scrutinize) but neither the $build or $cljsrc
directories set in build.xml.

Is there somewhere else to get a comprehensive list of the CLASSPATH?

Perry

----
java.class.path at time of clojure.lang.Compile's being called by Ant:

   /usr/share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-jai.jar:/
usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-junit.jar:/usr/
share/ant/lib/ant-launcher.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/
share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-testutil.jar:/usr/
share/ant/lib/ant-trax.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/
lib/xercesImpl.jar:/usr/share/ant/lib/xml-apis.jar



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to