Hello,
I'm having a little trouble with the java task. If I have a target like
below it doesn't work:
86 <target name="run_http">
87 <java classname="com.sun.jini.tool.ClassServer"
88 fork="no"
89 jvmargs=""
90 classpath="lib/jini1_0_1/lib/tools.jar"
91 args="-dir ${codebase.dir} -port ${codebase.port}"/>
92 </target>
[EMAIL PROTECTED] swooshmail]$ ./bin/build run_http
Buildfile: etc/build.xml
Project base dir set to: /home/miallen/NYU/vjkproj/swooshmail
Executing Target: run_http
BUILD FATAL ERROR
etc/build.xml:91: Could not find com.sun.jini.tool.ClassServer. Make sure
you have it in your classpath
[EMAIL PROTECTED] swooshmail]$ ls lib/jini1_0_1/lib/
jini-core.jar jini-examples.jar mahalo-dl.jar reggie-dl.jar
sun-util.jar
jini-examples-dl.jar jini-ext.jar mahalo.jar reggie.jar
tools.jar
[EMAIL PROTECTED] swooshmail]$ echo $CLASSPATH
/usr/local/javalibs/classes111.zip
But if I change fork="yes" then it does work. So I gather the classpath
attribute really has no effect if fork="no" just like the jvm and jvmargs
attributes ehh?
Thanks,
Michael B. Allen
[EMAIL PROTECTED]
http://jcifs.samba.org - MS Windows File and Print Sharing API in 100% Java