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 protected]
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
>> 
>> This email sent to [email protected]
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/rob.urquhart%40sfu.ca
> 
> This email sent to [email protected]

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





 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to