ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <DDevie...@lgc.com>
Subject RE: [OT] getting name of launch jar
Date Thu, 05 Dec 2002 22:40:03 GMT
I learned it from you, so for me it's your trick ;-)

Nice of you to give credit where it's due of course. --DD

-----Original Message-----
From: Steve Loughran [mailto:steve_l@iseran.com] 
Sent: Thursday, December 05, 2002 4:28 PM
To: Ant Users List
Subject: Re: [OT] getting name of launch jar


----- Original Message -----
From: "Dominique Devienne" <DDevienne@lgc.com>
To: "'Ant Users List'" <ant-user@jakarta.apache.org>
Sent: Thursday, December 05, 2002 2:13 PM
Subject: RE: [OT] getting name of launch jar


> I believe Java puts the path of that JAR in the java.class.path Java
System
> Property. Or use Steve's L. trick of doing
> someClass.getProtectionDomain().getCodeSource().getLocation().

not mine, dims of the Axis project. Kind of slick though.


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message