You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Peter Donald <do...@apache.org> on 2001/06/06 04:56:27 UTC
Re: build.exe for ANT
No one has commented on this yet. I would like to add it in if no one
objects? (Nice for win9x systems that don't have scripting power of NT or
the ability to set ENV vars without a reboot).
BTW I cross posted this to ant-dev as we should probably discuss this there ;)
At 09:52 AM 6/5/01 -0700, Michael Jennings wrote:
>Hi everyone,
>
>I've written a Windows executable called build.exe for launching ant.
>If you place build.exe in the $ANTHOME/bin directory, when launched
>it will automatically finds any currently installed JDK, adds tools.jar from
>$JDK/lib
>to the classpath along with all .jar files in $ANTHOME/lib then launch ant.
>
>By putting this executable in $ANTHOME/bin and adding $ANTHOME/bin to the
>classpath, I was able to run ant without setting any environment variables.
>
>If anyone wants to check it out, I've posted the source+binaries at:
>
>http://southgatesoftware.com/jakarta/ant/
>
>If anyone with the power wants to add this to the ant project itself, please
>do!
>
>-Mike Jennings
>
>
>
>
>----- Original Message -----
>From: "Michael Jennings" <so...@home.com>
>To: <an...@jakarta.apache.org>
>Sent: Wednesday, May 30, 2001 12:44 PM
>Subject: Re: antrun.exe
>
>
>> Should I just Email it to this mailing list? Or should I post it on the
>web
>> and Email the URL?
>> -Mike
>>
>> ----- Original Message -----
>> From: "jp Morgan" <jp...@yahoo.com>
>> To: <an...@jakarta.apache.org>
>> Sent: Tuesday, May 29, 2001 6:26 PM
>> Subject: Re: antrun.exe
>>
>>
>> > Please post, this can be useful
>> > --- Michael Jennings <so...@home.com>
>> > wrote:
>> > > Hi everyone,
>> > >
>> > > I've written a Windows executable called antrun.exe
>> > > for launching ant.
>> > > If you place antrun.exe in the $ANTHOME/bin
>> > > directory, when launched
>> > > it will automatically finds any currently installed
>> > > JDK, adds tools.jar from
>> > > $JDK/lib
>> > > to the classpath along with all .jar files in
>> > > $ANTHOME/lib then launch ant.
>> > >
>> > > By putting this executable in $ANTHOME/bin and
>> > > adding $ANTHOME/bin to the
>> > > classpath, I was able to run ant without setting any
>> > > environment variables.
>> > >
>> > > If anyone thinks this could be a useful addition to
>> > > the ANT project, let
>> > > me know and I'll post the code + exe.
>> > >
>> > > -Mike Jennings
>> > >
>> > > ______________________
>> > > Mike Jennings
>> > > Southgate Software Ltd.
>> > > 250-382-6851 (ph)
>> > > 250-382-6800 (fax)
>> > > southgate.software@home.com
>> > >
>> >
>> >
>> > __________________________________________________
>> > Do You Yahoo!?
>> > Get personalized email addresses from Yahoo! Mail - only $35
>> > a year! http://personal.mail.yahoo.com/
>>
>
>
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*
Re: build.exe for ANT
Posted by Alfonso Urdaneta <al...@malibunetworks.com>.
Peter Donald wrote:
>
> No one has commented on this yet. I would like to add it in if no one
> objects? (Nice for win9x systems that don't have scripting power of NT or
> the ability to set ENV vars without a reboot).
I think it is good. we develop on a mix of platforms here, and your
tool will probably help.
Alfonso.
--
---------------------------------o0o---------------------------------
Alfonso Urdaneta alfonso@malibunetworks.com
Malibu Networks, Inc. www.malibunetworks.com
1035 Suncast Lane Vox: 916.941.8772
Suite 130 Fax: 916.941.8850
El Dorado Hills, CA 95762
"Time flies like the wind, but fruit flies like bananas"
Re: build.exe for ANT
Posted by Nico Seessle <ni...@apache.org>.
----- Original Message -----
From: "Conor MacNeill" <co...@cortexebusiness.com.au>
To: <an...@jakarta.apache.org>
Sent: Wednesday, June 06, 2001 9:05 AM
Subject: RE: build.exe for ANT
> I presume you will build your own version of the exe before uploading that
> (presuming you will be putting the exe into CVS). I'm not sure we would
just
> upload any old exe. I had a quick look at the source and I think it needs
a
> bit of formatting.
>
Yes, and a little bit of "cleanup" - some "#include"'s end with a semicolon
and throw warnings.
The biggest problem I have is that it does not work for me, but that seems
to be a problem with JDK 1.4, but I will try to analyze that further...
Nico
RE: build.exe for ANT
Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
I presume you will build your own version of the exe before uploading that
(presuming you will be putting the exe into CVS). I'm not sure we would just
upload any old exe. I had a quick look at the source and I think it needs a
bit of formatting.
Conor
> -----Original Message-----
> From: Peter Donald [mailto:donaldp@apache.org]
> Sent: Wednesday, 6 June 2001 12:56 PM
> To: ant-user@jakarta.apache.org
> Cc: ant-dev@jakarta.apache.org
> Subject: Re: build.exe for ANT
>
>
> No one has commented on this yet. I would like to add it in if no one
> objects? (Nice for win9x systems that don't have scripting power of NT or
> the ability to set ENV vars without a reboot).
>
> BTW I cross posted this to ant-dev as we should probably discuss
> this there ;)
>
> At 09:52 AM 6/5/01 -0700, Michael Jennings wrote:
> >Hi everyone,
> >
> >I've written a Windows executable called build.exe for launching ant.
> >If you place build.exe in the $ANTHOME/bin directory, when launched
> >it will automatically finds any currently installed JDK, adds
> tools.jar from
> >$JDK/lib
> >to the classpath along with all .jar files in $ANTHOME/lib then
> launch ant.
> >
> >By putting this executable in $ANTHOME/bin and adding $ANTHOME/bin to the
> >classpath, I was able to run ant without setting any environment
> variables.
> >
> >If anyone wants to check it out, I've posted the source+binaries at:
> >
> >http://southgatesoftware.com/jakarta/ant/
> >
> >If anyone with the power wants to add this to the ant project
> itself, please
> >do!
> >
> >-Mike Jennings
> >
> >
> >
> >
> >----- Original Message -----
> >From: "Michael Jennings" <so...@home.com>
> >To: <an...@jakarta.apache.org>
> >Sent: Wednesday, May 30, 2001 12:44 PM
> >Subject: Re: antrun.exe
> >
> >
> >> Should I just Email it to this mailing list? Or should I post it on the
> >web
> >> and Email the URL?
> >> -Mike
> >>
> >> ----- Original Message -----
> >> From: "jp Morgan" <jp...@yahoo.com>
> >> To: <an...@jakarta.apache.org>
> >> Sent: Tuesday, May 29, 2001 6:26 PM
> >> Subject: Re: antrun.exe
> >>
> >>
> >> > Please post, this can be useful
> >> > --- Michael Jennings <so...@home.com>
> >> > wrote:
> >> > > Hi everyone,
> >> > >
> >> > > I've written a Windows executable called antrun.exe
> >> > > for launching ant.
> >> > > If you place antrun.exe in the $ANTHOME/bin
> >> > > directory, when launched
> >> > > it will automatically finds any currently installed
> >> > > JDK, adds tools.jar from
> >> > > $JDK/lib
> >> > > to the classpath along with all .jar files in
> >> > > $ANTHOME/lib then launch ant.
> >> > >
> >> > > By putting this executable in $ANTHOME/bin and
> >> > > adding $ANTHOME/bin to the
> >> > > classpath, I was able to run ant without setting any
> >> > > environment variables.
> >> > >
> >> > > If anyone thinks this could be a useful addition to
> >> > > the ANT project, let
> >> > > me know and I'll post the code + exe.
> >> > >
> >> > > -Mike Jennings
> >> > >
> >> > > ______________________
> >> > > Mike Jennings
> >> > > Southgate Software Ltd.
> >> > > 250-382-6851 (ph)
> >> > > 250-382-6800 (fax)
> >> > > southgate.software@home.com
> >> > >
> >> >
> >> >
> >> > __________________________________________________
> >> > Do You Yahoo!?
> >> > Get personalized email addresses from Yahoo! Mail - only $35
> >> > a year! http://personal.mail.yahoo.com/
> >>
> >
> >
> Cheers,
>
> Pete
>
> *-----------------------------------------------------*
> | "Faced with the choice between changing one's mind, |
> | and proving that there is no need to do so - almost |
> | everyone gets busy on the proof." |
> | - John Kenneth Galbraith |
> *-----------------------------------------------------*
>
>