ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jeff.ranc...@softechnics.com (Jeffery B. Rancier)
Subject Re: antRunAsync and getting a background process to run indefinitely
Date Thu, 24 Apr 2003 16:44:45 GMT
Melissa Hao <melissa.hao@oracle.com> writes:

>> > I am running ant from inside emacs.  After the compilation
>> > process terminates, the java process terminates.  When I run ant
>> > outside of emacs, it works (ie the java process continues after
>> > the ant process terminates).  So my question is really an emacs
>> > question.  Does anyone happen to know how to get around this?
>> > (I've spent some time looking at this and I can't figure it
>> > out... I need something like emacsRunAsync  :)

I'm assuming you are trying to run a Java application, and it's
terminating?  I do this from within Emacs, with jde-ant-build command,
and a sample run task looks like:

,----
|     <target name="run" depends="compile"
|             description="Executes the project main class">
| 
|         <java classname="${project.execute.classname}"
|             dir="${build.classes}"
|             fork="yes">
|             <jvmarg line="-Xbootclasspath/p:lib\jdk118_classes.zip"/>
|             <classpath refid="classpath"/>
|             <arg line="-h anArg -p 7777 -d"/>
|         </java>
| 
|     </target>
`----

Is that what you're looking for?

-- 
Thanks,
Jeff
,----
| Jeffery B. Rancier
| 
| Softechnics
| a METTLER TOLEDO company
`----


Mime
View raw message