ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: [OT] getting name of launch jar
Date Thu, 05 Dec 2002 22:28:17 GMT

----- 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>


Mime
View raw message