You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brett Porter <br...@gmail.com> on 2004/12/17 22:25:56 UTC

Re: Need help with plugin: how to put a dependency jar file into a property.

I'm guessing you already figured it out by the questions about
getDependencyPath?

loop through deps, grab those with ishield property set, concat onto a
string which is passed as an <arg to your <exec.

- Brett


On Fri, 17 Dec 2004 12:39:22 -0500, Helck, Christopher <ch...@ebs.com> wrote:
> In an InstallShield plugin I'm writing I need to pass a jar file to an
> exec command line. The raw command looks something like:
> 
>     sab -cp:a UnixSymbolicLink-2004-dec-13.jar -build ....
> 
> I'd like the user of the plugin to specify the jar file as a depenency
> and as a property that is passed to the plugin. Something like:
> 
> File project.xml
> 
>    <dependency>
>       <groupId>InstallShield</groupId>
>       <artifactId>UnixSymbolicLink</artifactId>
>      <version>2004-dec-13</version>
>   </dependency>
> 
> File project.properties
> 
>    maven.ishield.custom.classpath = somefunction('InstallShield',
> 'UnixSymbolicLinlk)
> 
> Finally I'd hand install the jar file into my repository.
> 
> So, the question is can this be done and how?
> 
> Thanks,
> C. Helck
> 
> The information contained in this e-mail is confidential. This e-mail is intended only for the stated addressee.  If you are not an addressee, you must not disclose, copy, circulate or in any other way use or rely on the information contained in this e-mail. if you have received this e-mail in error, please inform us immediately and delete it and all copies from your system.
> 
> EBS Dealing Resources International Limited. Registered address: 10 Paternoster Square, London EC4M 7DY, United Kingdom. Registered number 2669861.
> 
> EBS Dealing Resources, Inc, registered in Delaware. Address: 535 Madison Avenue, 24th Floor, New York, NY 10022, USA, and One upper Pond road, Building F - Floor 3, Parsippany, NJ 07054, USA.
> 
> EBS Dealing Resources Japan Limited, a Japanese Corporation. Address: Asteer Kayabacho Bldg, 6th Floor, 1-6-1, Shinkawa, Chuo-Ku,  Tokyo 104-0033, Japan.
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org