ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mailing <>
Subject Classpath problem of running java task
Date Thu, 12 Jul 2001 08:14:14 GMT
I would like to use ant to start a java server, but it complain
classpath not find:


/home/cvs/project/uml_editor/bin/build.xml:59: Could not find
editor.uml.remote.remoteImpl. Make sure you have it in your classpath

The command to start server is:
java -cp ${bin.dir} -Djava.rmi.server.codebase=http://[host]/~cvs/uml_editor/${policy.dir}/policy

Then I write the ant target as:
  <target name="startrm">
    <java classname="editor.uml.remote.remoteImpl" >
      <classpath path="${bin.dir}"/>
      <sysproperty key="java.rmi.server.codebase" value="http://[host]/~cvs/uml_editor/"/>
      <sysproperty key="" value="${policy.dir}/policy"/>

According to, I
should set the classpath correctly, but why I can't run my server?

Carfield Yim, visit my homepage at http://[host]

View raw message