• 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: need to add dir to classpath
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need to add dir to classpath


  • Subject: Re: need to add dir to classpath
  • From: Patrick Robinson <email@hidden>
  • Date: Wed, 13 Jan 2010 17:24:13 -0500

It looks to me like the <otherclasspath ... /> nested element of <woapplication /> might be persuaded to add the right thing to the various *ClassPath.txt files, but I haven't stumbled across the right incantation, yet.

<otherclasspath dir="Resources/Keystore" /> causes the following to be added to the top of (e.g.) MacOSClassPath.txt:
HOMEROOT/workspace/MyProject/Resources/Keystores/


But I think what we want there is (as Kieran suggested earlier):
APPROOT/Resources/Keystores/

Is that doable?

- Patrick


On Jan 13, 2010, at 11:56 AM, Mike Schrag wrote:

This actually isn't a directory dep .. it's really "Adding a non- Java jar resource" or something like that, but yeah, probably someone should put this info somewhere.

On Jan 13, 2010, at 11:55 AM, Ray Kiddy wrote:


On Jan 13, 2010, at 8:41 AM, Patrick Robinson wrote:

Ah! That works in Eclipse (it causes the .keystore file to be copied to build/app.woa/Contents/Resources/Java/), but it doesn't work for deployment. Do I need to add something to build.xml to make it do the same thing there?



Looking at the front page of the WOLips wiki, I see we have:

http://wiki.objectstyle.org/confluence/display/WOL/Add+a+Jar +Dependency
http://wiki.objectstyle.org/confluence/display/WOL/Add+a+Framework +Dependency


I cannot find any others. Does there need to be another page on "Add a Directory Dependency"? Is this written up anywhere on the wiki already? Should some of these pages be consolidated?

cheers - ray


On Jan 13, 2010, at 11:11 AM, Mike Schrag wrote:

you need to put it in your source folder and add the file extension to the classes.include.patternset ...

On Jan 13, 2010, at 11:01 AM, Elizabeth Lynch wrote:

Hi Patrick

How about right-clicking it and trying WOLips Tools->Include as Resource?

Liz

On 13 Jan 2010, at 14:30, Patrick Robinson wrote:

No, that didn't work... it just gets ignored. Thanks for the suggestion, though; it sounded promising! I thought it might result in the file's being put into Contents/Resources/Java/, which *is* in the classpath.

- Patrick


On Jan 13, 2010, at 6:17 AM, David Avendasora wrote:

Hi Patrick,

This is just a stab-in-the-dark, but can't you just drop it into the Sources directory?

Dave

On Jan 12, 2010, at 11:20 PM, Patrick Robinson wrote:

I need to use a java library that expects to find my java keystore file (which would normally be specified by the javax.net.ssl.keyStore system property) in a directory on the classpath.

How do I do that? Is there a way to create a dir (perhaps under Resources), and tell the build system to include it in the classpath?

- Patrick

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


This email sent to email@hidden



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


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:
40plsys.co.uk


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:
40mdimension.com


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:
40ganymede.org


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:
40mdimension.com


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

_______________________________________________ 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
  • Follow-Ups:
    • SOLVED: Re: need to add dir to classpath
      • From: Patrick Robinson <email@hidden>
References: 
 >need to add dir to classpath (From: Patrick Robinson <email@hidden>)
 >Re: need to add dir to classpath (From: David Avendasora <email@hidden>)
 >Re: need to add dir to classpath (From: Patrick Robinson <email@hidden>)
 >Re: need to add dir to classpath (From: Elizabeth Lynch <email@hidden>)
 >Re: need to add dir to classpath (From: Mike Schrag <email@hidden>)
 >Re: need to add dir to classpath (From: Patrick Robinson <email@hidden>)
 >Re: need to add dir to classpath (From: Ray Kiddy <email@hidden>)
 >Re: need to add dir to classpath (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: Objects don't get initialized sometimes
  • Next by Date: Modeling an optional to-one relationship
  • Previous by thread: Re: need to add dir to classpath
  • Next by thread: SOLVED: Re: need to add dir to classpath
  • Index(es):
    • Date
    • Thread