Task executing bath file not ending

"Quince, Devin" <[email protected]> Thu, 26 Jan 2012 12:30:49 -0700
Newsgroups gmane.comp.windows.dotnet.nant.user
Message-ID <[email protected]>
I have a build script that calls several batch files without issue, but when I try and execute a batch file that calls another one in a task, the window running the task never returns to an active command prompt. The task is as follows
  <target name="QA-Install">
        <exec workingdir="c:\DLS\" basedir="c:\DLS\" program="ChainInstalls.bat" >
      </exec>
  </target>
And the batch file that is being called by chaininstalls.bat file is this
cd c:\DLS

java -Dfelix.config.properties=file:conf/config.properties -Dtroppus.http.jetty.resource.base="c:/DLS" -Dlogback.configurationFile="c:/DLS/conf/logback.xml" -Dlogback.logfile.path="%APPDATA%/Troppus Software/Digital LifeSupport" -Dtroppus.oesis.config.path="c:/DLS/OesisSupport_3_5/bin/release" -Dcom.jacob.autogc=true -jar bin/felix.jar "%APPDATA%/Troppus Software/Digital LifeSupport/felixcache"

The java command executes and runs as expected, but the window executing the task just sits at this and never comes back unless I do a control C in that window in which I get the command prompt back and java continues to run.

QA-Install:

     [exec] c:\DLS>start /min cmd /c "c:\DLS\Run-Felix.bat"

BUILD SUCCEEDED

Total time: 4.1 seconds.

Any ideas on how to get this task to return back to the script, so I can execute the next task?
Thanks,
Devin

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d

_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users