ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan Novick" <>
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}"/>

The error message I get is: 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.

View raw message