• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: otherclasspath option in maven?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: otherclasspath option in maven?


  • Subject: Re: otherclasspath option in maven?
  • From: Rob Urquhart <email@hidden>
  • Date: Wed, 24 Nov 2010 10:04:06 -0800

On Nov 24, 2010, at 6:46 AM, Henrique Prange wrote:

> Hi Rob,
>
> AFAIR, the current version of maven-wolifecycle-plugin doesn't support this feature. Could you please create an issue on WOProject Jira for this problem?

Done.

>
> Anyway, there is a workaround. You could create a module with this resource file (it can be a simple java project) and include this module as a dependency of the application. Not the best solution, but it can solve your problem.
>

Indeed! Thanks for the tip. I'm new to maven but it's starting to get clearer.

Rob

> Cheers,
>
> Henrique
>
> On 23/11/2010, at 21:02, Rob Urquhart wrote:
>
>> I'm using maven to build a Wonder app and I need to have a resource file (a keystore) end up in a directory on the classpath at runtime. In the ant build I could use the "otherclasspath" option of woapplication to add a Resources/Keystores folder to the classpath. Is there something equivalent for maven?
>> Or, is there a way to tell maven to include those files in the application jar? The "standard" way as described in the maven getting-started guide doesn't seem to work - the files are just included in Resources, but not in the jar.
>> Thanks for any help.
>>
>> Rob
>>
>> --
>> Rob Urquhart
>> IT Services
>> Simon Fraser University
>> 778-782-3650
>> email@hidden
>>
>>
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

--
Rob Urquhart
Institutional, Collaborative, and Academic Technologies (ICAT)
IT Services
Simon Fraser University
778-782-3650
email@hidden





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >otherclasspath option in maven? (From: Rob Urquhart <email@hidden>)
 >Re: otherclasspath option in maven? (From: Henrique Prange <email@hidden>)

  • Prev by Date: Re: Snow Leopard Deployment
  • Next by Date: Re: Snow Leopard Deployment
  • Previous by thread: Re: otherclasspath option in maven?
  • Next by thread: Safari can't open the page
  • Index(es):
    • Date
    • Thread