hi,

i have the following in my build file:

  <path id="classpath">
    <pathelement location="${root}/Samples/docs/ejbGreeting/Greeting.jar"/>
    <pathelement
location="${root}/Samples/docs/loanCalculator/ejb/loanCalculatorBean.jar"/>
    <pathelement location="${root}/Samples/docs/ejb-employee"/>
    <pathelement location="${root}/Samples/docs/ejb-employee/Employee.jar"/>
  </path>

  <target name="execute" depends="init">
    <echo message="Large classpath:  ${CLASSPATH}"/>
    <java classname="SaApi.SaAppServController" fork="yes">
      <classpath>
        <path refid="classpath"/>
      </classpath>
      <arg line="-port 20000"/>
    </java>
    <exec executable="notepad">
    </exec>
  </target>

this seems to call the application with the right classpath, but doesn't
appear to actually do the fork -- notepad doesn't come up until AFTER the
java shuts down. . .

am i doing something wrong?  thank you all in advance!

-- 
Salman Halim
Advisory Software Engineer, HP Bluestone
Quidquid latine dictum sit, altum viditur.

Reply via email to