• 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: Reference Lib JARs Not Recognized
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reference Lib JARs Not Recognized


  • Subject: Re: Reference Lib JARs Not Recognized
  • From: David Avendasora <email@hidden>
  • Date: Fri, 6 Mar 2009 10:04:14 -0600

Hi Drew,

You are _really_ doing things the hard way. Adding Frameworks to your projects is much, much easier than adding individual .jars to your project's Libraries folder.

1) Download the latest Wonder Frameworks, unzip the archive and add all the FrameworkName.framework directories to your /Library/ Frameworks directory.

2) In Eclipse, right-click on your project, Select Build Path -> Configure Build Path...

3) Click on the Libraries tab

4) On the right side, click "Add Libraries..."

5) Select "WebObjects Frameworks", click Next

6) Go through the list and select the Frameworks you need

7) Click Finish

8) Click Okay

All those frameworks have now been added to your project and you don't have to add individual .jar files as they are included in the Frameworks you just linked.

The only thing I ever actually add to my Project's "Libraries" folder (then add to my build path so they show up under "Referenced Libraries") are stand-alone .jars for libraries *other than* WebObjects/WOnder frameworks.

I hope this helps!

Dave


On Mar 2, 2009, at 5:25 PM, Drew Thoeni wrote:

Screen shots. Good idea.

You can see in this screen shot ERExtensions.jar is in the "Referenced Libraries" having gotten there by me 1) putting the JAR in the file system folder "Libraries" and then adding it to the Java Build Path using project properties and selecting "Add JARs" and picking this JAR from the project's "Libraries" folder.

Interestingly, the imports in other classes for org.jfree are working fine and I assume are referencing the JARs in the "Referenced Libraries" folder.

Thanks again,

Drew


<pastedGraphic.tiff> On Mar 2, 2009, at 2:51 PM, Chuck Hill wrote:


On Mar 1, 2009, at 3:46 PM, Drew Thoeni wrote:

Checked that and it seems OK. Your earlier post on that was helpful as com.webobjects was not being resolved. Adding the properties file corrected that issue.

In this case, my project actually shows the JAR as part of the Referenced Libraries,

Not sure what you are referring to there.


if I remove it, it shows back up in "Libraries" as part of the project.

On the Build Path tab of the Properties?


It is, in fact in the Libraries folder and its behavior is as expected. But, the classes are still not resolved.

Maybe some screen shots of what you have setup might help. If they are in the Libraries folder of the same project it should not be a path issue.



Chuck

On Mar 1, 2009, at 2:45 PM, Chuck Hill wrote:

Check the contents of

~/Library/Application\ Support/WOLips/wolips.properties


On Mar 1, 2009, at 7:53 AM, Drew Thoeni wrote:

I just did the big upgrade from Eclipse 3.3 to the 3.4.2 with WOLips installed fresh.

I added the WO frameworks (as com.webobjects) was not resolved but am still having difficulties getting JARs in my Referenced Libraries to resolve.

Example:

I have ERExtensions.jar in Referenced Libraries but "import er.extensions.localization.ERXLocalizer;" is not resolved. This strikes me as a path problem, but project properties point to the correct location.

Any help is appreciated.

Best,

Drew
_______________________________________________
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


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects










-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________ 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:
    • Re: Reference Lib JARs Not Recognized
      • From: Drew Thoeni <email@hidden>
References: 
 >Reference Lib JARs Not Recognized (From: Drew Thoeni <email@hidden>)
 >Re: Reference Lib JARs Not Recognized (From: Chuck Hill <email@hidden>)
 >Re: Reference Lib JARs Not Recognized (From: Drew Thoeni <email@hidden>)
 >Re: Reference Lib JARs Not Recognized (From: Chuck Hill <email@hidden>)
 >Re: Reference Lib JARs Not Recognized (From: Drew Thoeni <email@hidden>)

  • Prev by Date: Re: Owns Destination & Deny
  • Next by Date: escaping in HTML
  • Previous by thread: Re: Reference Lib JARs Not Recognized - Solved
  • Next by thread: Re: Reference Lib JARs Not Recognized
  • Index(es):
    • Date
    • Thread