Pass ${settings.localRepository} as a param to your Ant mojo. Then unzip
the file(s) you need from the plugin jar (e.g.
${settings.localRepository}/com/xyz/foo-m2-plugin/1.0/foo-m2-plugin-1.0.
jar) to a temp dir. Ugly, I know, but it works  :-)

| -----Original Message-----
| From: SlinnHawkins, Jon (ELS) [mailto:[EMAIL PROTECTED] 
| Sent: Thursday, October 26, 2006 8:49 AM
| To: [email protected]
| Subject: Ant Mojo Resources
| 
| Hi All, 
|  
| I have created an Ant based plugin that need to call a windows batch
| file.  The batch file is in the plugin projects resources folder and
| thus in the plugin jar.  How can I access this resource path/ 
| batch file
| using the <exec> ant task ?
|  
| Thanks
| 
| Jon
| 

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

Reply via email to