Hopefully the attachment will get through. --DD

-----Original Message-----
From: Kashyap Parikh [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 18, 2002 1:44 PM
To: 'Ant Users List'
Subject: RE: starting rmiregistry in Ant

DD
I saw your following message:
-->
Look in the archives (wherever they are) for posts with the subject "RE:
Running <exec> tasks asynchronously on UNIX also on Windows?" for a patch to
ANT that supports it already. It just extends <exec> with a new attribute.
--DD
<--

Bur couldn't find the patch to Ant. Do you know where it is? 

Thanks
Kashyap

-----Original Message-----
From: Dominique Devienne [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 2:29 PM
To: 'Ant Users List'
Subject: RE: starting rmiregistry in Ant


Diane,

Do you know of the similar Windows turn-around alluded to in the message?

Do you know if the <exec> modification proposed a few weeks ago to allow to
"start and forget" an external process made it to 1.5a (soon to be beta ;-),
and if not why?

Thanks, --DD

-----Original Message-----
From: Diane Holt [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, April 18, 2002 1:21 PM
To: Ant Users List
Subject: Re: starting rmiregistry in Ant

--- Kashyap Parikh <[EMAIL PROTECTED]> wrote:
> I need to start rmiregistry (under <java_home>/bin/rmiregistry.exe)
> inside my ant script.

See:
  http://marc.theaimsgroup.com/?l=ant-user&m=100621497023872&w=2

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

--- Begin Message ---
The bug wasn't logged as an 'async' issue. In any event, it is bug 5907.

Here are the 3 new files. Replace (or backup) your original files and
recompile Ant (they go in <src>/main/org/apache/tools/ant/taskdefs. You now
have a new parameter in your <exec> task called "waitfor". If waitfor="true"
then the <exec> task blocks (current behavior). If waitfor="false" the
<exec> tasks runs asynchronously (i.e. fire and forget). Default behavior is
waitfor="true".

Let me know if you have any q's.

Regards,

Charles

> -----Original Message-----
> From: Dominique Devienne [mailto:[EMAIL PROTECTED]]
> Sent: Monday, March 04, 2002 3:20 PM
> To: 'Charles Hudak'
> Cc: 'Ant Users List'
> Subject: RE: Running <exec> tasks asynchronously on UNIX also on
> Windows?
> 
> 
> I've just search Apache's Bugzilla, and couldn't find the fix that you
> posted (not that it's not there necessarily, I just didn't 
> find it!). I
> tried the async and exec keywords. Could you give me the bug 
> number and a
> URL to the bug database you're talking about? Or include the 
> files directly
> in your response? (this must not be that big). Thanks, --DD
> 
> PS: If not in a future release, this functionality should be 
> in the ANT FAQ
> IMHO.
> 
>  -----Original Message-----
> From:         Charles Hudak [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, March 04, 2002 11:08 AM
> To:   'Ant Users List'
> Subject:      RE: Running <exec> tasks asynchronously on UNIX also on
> Windows?
> 
> I've posted a fix (someone did it on my behalf) to the bug 
> database for this
> issue that allows you to launch the <exec> task asynchronously (i.e.
> fire-and-forget). You can either cut and paste the solution 
> from there or I
> can send you the files. Obviously this functionality needs to 
> be included in
> a future release as there have been MANY requests for it.
> 
> Charles
> 
> > -----Original Message-----
> > From: Otto Perdeck [mailto:[EMAIL PROTECTED]]
> > Sent: Monday, March 04, 2002 8:01 AM
> > To: Ant Users List; [EMAIL PROTECTED]
> > Subject: Re: Running <exec> tasks asynchronously on UNIX also on
> > Windows?
> > 
> > 
> > > I dont have any scripts that launch tasks asynchronously. 
> Did I say
> > > something that implied that ?
> > >
> > > Bill.
> > 
> > Yes, you did so. Unless I mentioned the wrong Bill of course 
> > But anyway, I
> > already solved it, and also found the Windows workaround. If 
> > anyone else
> > needs it: search for "async" in the archives.
> > 
> > Following is part of a posting "Running <exec> tasks 
> > asynchronously on UNIX,
> > Bill Burton":
> > 
> > <start citation>
> > 
> > For some time, there have been requests for the ability to 
> > run executables
> > within the <exec> task without waiting for them to complete.  
> > Ant doesn't
> > yet support this but there is are workarounds both for UNIX 
> > and Windows.
> > 
> > ....
> > 
> > Below is a workaround for UNIX.  There is also a workaround 
> > for Windows in
> > the e-mail archives.  If people can't find it, I can re-post 
> > something.
> > 
> > ....
> > 
> > -Bill
> > 
> > 
> > 
> > > ----- Original Message -----
> > > From: "Otto Perdeck" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Cc: "Ant Users List" <[EMAIL PROTECTED]>
> > > Sent: Sunday, March 03, 2002 1:36 PM
> > > Subject: Running <exec> tasks asynchronously on UNIX also 
> > on Windows?
> > >
> > >
> > > Hi Bill,
> > >
> > > Do you still have a similar script to launch a task 
> > asynchronously on
> > > Windows too? If you have, could you please re-post it? I 
> > can't find it in
> > > the archives.
> > >
> > > Thanks
> > >
> > > Otto Perdeck
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:   
> > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail: 
> > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> > 
> > 
> > --
> > To unsubscribe, e-mail:   
> > <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail: 
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> --
> To unsubscribe, e-mail:   
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>


Attachment: Execute.java
Description: Binary data

Attachment: ExecTask.java
Description: Binary data

Attachment: PumpStreamHandler.java
Description: Binary data

--- End Message ---
--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to