ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Novick" <iva...@abac.com>
Subject calling dos start
Date Fri, 18 May 2001 04:30:10 GMT
Hi all,

I would like to write some code in an ant file to run the following command
on dos

start java ${serverclass}

This was my attempt:

<target name="server">
      <exec dir="${src}" executable="start">
           <arg value="java ${serverclass}"/>
      </exec>
</target>

The error message I get is:

java.io.IOException: Create process: start "java HelloServer" error=2

Does any one know how to write code to execute the command above?  Thank you
for any input or ideas.
Ivan


Mime
View raw message