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
|