ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen Breedveld" <j_breedv...@hotmail.com>
Subject can't get java task to work
Date Mon, 21 Aug 2000 10:51:54 GMT
Hi,

I can't seem to get the java task to work. When I run:

java -cp c:\chat\chat.jar rmibook.chat.ChatServerImpl

the server starts up

but not any of the following targets in my build file can start up my 
server.

<target name="runserver">
  <java classname="rmibook.chat.ChatServerImpl">
    <classpath location="c:\chat\chat.jar"/>
  </java>
</target>

<target name="runserver2">
  <java classname="rmibook.chat.ChatServerImpl">
    <!-- this is wrong -->
    <classpath path="c:\chat\chat.jar"/>
  </java>
</target>

<target name="runserver3">
  <java classname="rmibook.chat.ChatServerImpl" 
classpath="c:\chat\chat.jar"/>
</target>

Does anyone see what the problem is?

greetings jeroen
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com


Mime
View raw message