Re: Localhost name and other uses

2002-12-13 Thread George Spalding
> - Original Message - > From: "Vilya Harvey" <[EMAIL PROTECTED]> > To: "Ant Users List" <[EMAIL PROTECTED]> > Sent: Thursday, December 12, 2002 08:37 > Subject: Re: Localhost name > > > > Where I work, we couldn't find a way to

Re: Localhost name

2002-12-12 Thread Ken Gentle
This little trick, which I seem to remember stealing from Steve and Erik, seems to work well for Windoze and Solaris... Ken At 11:03 AM 12/12/2002 -0500, you wrote: Is there a way, in Ant, without specifying some startup variable or hard coding a property, to get th

Re: Localhost name

2002-12-12 Thread Steve Loughran
t;[EMAIL PROTECTED]> To: "Ant Users List" <[EMAIL PROTECTED]> Sent: Thursday, December 12, 2002 08:37 Subject: Re: Localhost name > Where I work, we couldn't find a way to do this. So we implemented our own > task to do it for us. The implementation itself was trivial (ju

RE: Localhost name

2002-12-12 Thread Benoit Voisin
Use , Benoit -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED]] Sent: 12. december 2002 17:45 To: Ant Users List Subject: Re: Localhost name How about for Linux: OK, now you tell me how I can echo the content of a classpath I just compiled, for debug purposes

Re: Localhost name

2002-12-12 Thread Michael Kuß
Vilya Harvey wrote: Where I work, we couldn't find a way to do this. So we implemented our own task to do it for us. The implementation itself was trivial (just call InetAddress.getLocalHost().getHostName() in the execute() method and store it in a user-specified property), but I can see about mak

Re: Localhost name

2002-12-12 Thread Adam Hardy
How about for Linux: OK, now you tell me how I can echo the content of a classpath I just compiled, for debug purposes? Thanks Adam Luis Andrei Cobo wrote: Is there a way, in Ant, without specifying some startup variable or hard coding a property, to get the machine name for localho

RE: Localhost name

2002-12-12 Thread Dominique Devienne
nguage="javascript"><![CDATA[ hostname = java.net.InetAddress.getLocalHost().getHostName(); self.getProject().setNewProperty("hostname", hostname); ]]> P:\org_apache\antx> -Original Message----- From: Vilya Harvey [mailto:[EMAIL PROTECTED]] Sent: T

Re: Localhost name

2002-12-12 Thread Vilya Harvey
ssage - From: "Luis Andrei Cobo" <[EMAIL PROTECTED]> To: "Ant Users List (E-mail)" <[EMAIL PROTECTED]> Sent: Thursday, December 12, 2002 4:03 PM Subject: Localhost name > Is there a way, in Ant, without specifying some startup variable or hard > coding a prop

Localhost name

2002-12-12 Thread Luis Andrei Cobo
Is there a way, in Ant, without specifying some startup variable or hard coding a property, to get the machine name for localhost that the buld script is running on? Luis Andrei Cobo [EMAIL PROTECTED] (201) 794-2862 Cubby 3330 -- To unsubscribe, e-mail: For additio