• 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: wolips / webobjects build question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: wolips / webobjects build question


  • Subject: Re: wolips / webobjects build question
  • From: Fred Shurtleff <email@hidden>
  • Date: Tue, 11 Dec 2007 15:36:39 -0500

Kieran - Thanks for the screenshot/pointer and I thought for sure this was the problem; however even after un-checking a few of the Warn/Error settings(ie setting mine exactly like yours) - then quit/restart Eclipse, the error icons are *still* shown. When I start Eclipse and look at the Problems window it reports 4900+ Errors and 300+ Warnings, which is ridiculous!

What is odd is the errors all relate to basic methods in WO Foundation classes - eg 'The method objectForKey(Object) is undefined for the type NSDictionary', and I just don't see why Eclipse cannot recognize them.

Working with Eclipse is truly a 'love-hate' relationship - at least for me it is. :-(

Kieran Kelleher wrote:
Check validation settings:





.. and in the Problems View, use the little menu to filter only your own project too.....

On Dec 11, 2007, at 2:02 PM, Fred Shurtleff wrote:

Kieran, I understand what you mean - and ERExtensions is in the #1 position(by default I suppose) and javaWO frameworks follow. And these settings were set in the Wonder release - I only Imported it into Eclipse and did not make any changes.

That is why I am so confused! All those Red X errors are a pain to look at!

Kieran Kelleher wrote:
In Order and Export, move ERExtensions and any other workspace project references up above WO Frameworks library reference...


On Dec 11, 2007, at 11:03 AM, Fred Shurtleff wrote:

Re: kind of a similar problem, I was wondering if these settings could explain why I am getting many 'wavy red underlines with red x's) errors in my java files for very familiar methods belonging to WO classes. For example, my ERXArrayUtilities.java file in the ERExtensions project is littered with the following type errors:

The method objectAtIndex(int) is undefined for the type NSArray
The method addObject(Object) is undefined for the type NSMutableArray
The method objectForKey(Object) is undefined for the type NSDictionary

Yet this project does include the com.webobjects.foundation framework in its build path.

Can anyone see why I am getting these errors? What am I missing?

Kieran Kelleher wrote:
In the "Order and Export" tab of the framework's build path, turn on the checkboxes (meaning export) for the two jars. Then every project that references the framework will "see" the jars inside the framework.

For example

------------------------------------------------------------------------





On Dec 10, 2007, at 4:47 PM, Ricardo Parada wrote:


Hello WOLips experts,

I'm trying to figure out how to do the following.  Basically I have a webobjects framework that builds using ant.  The framework really has no code.  It just has two .jar files that are combined into one.  For example, the following ant snippet from the build.xml file does the work:

    <unjar src="" dest="${build.dir}" />
    <unjar src="" dest="${build.dir}" />
    <mkdir dir="Java" />
    <jar destfile="Java/foo.jar" basedir="${build.dir}" excludes="META-INF/SUN_MICR.*" />

This builds into a Foo.framework which contains foo.jar.  And foo.jar is basically foo1.jar and foo2.jar combined.
I then have other normal WebObjects frameworks that reference the Foo framework project.

I'm trying to convert this Foo framework project to build with Eclipse / WOLips standard build files and get away from using my custom build.xml file.

So using WOLips/Eclipse I created a WebObjects Framework project called Foo.  I then dragged and dropped the foo1.jar and foo2.jar into the Libraries folder under the Foo project in the Eclipse package explorer view.

The problem I have is that other frameworks that reference project Foo are still not able to import and use the classes in the Foo jars.

Any ideas or suggestions?

Thanks,
Ricardo J. Parada

_______________________________________________
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


-- 

MacOS: Tiger 10.4.11
Eclipse: 3.3.1.1
WOLips: 3.3.4705
WebObjects: 5.3.3


_______________________________________________
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



-- 

MacOS: Tiger 10.4.11
Eclipse: 3.3.1.1
WOLips: 3.3.4705
WebObjects: 5.3.3


_______________________________________________
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



--

MacOS: Tiger 10.4.11
Eclipse: 3.3.1.1
WOLips: 3.3.4705
WebObjects: 5.3.3
 _______________________________________________
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: wolips / webobjects build question
      • From: Mike Schrag <email@hidden>
References: 
 >wolips / webobjects build question (From: Ricardo Parada <email@hidden>)
 >Re: wolips / webobjects build question (From: Kieran Kelleher <email@hidden>)
 >Re: wolips / webobjects build question (From: Fred Shurtleff <email@hidden>)
 >Re: wolips / webobjects build question (From: Kieran Kelleher <email@hidden>)
 >Re: wolips / webobjects build question (From: Fred Shurtleff <email@hidden>)
 >Re: wolips / webobjects build question (From: Kieran Kelleher <email@hidden>)

  • Prev by Date: Re: EO Caching (2)
  • Next by Date: Re: wolips / webobjects build question
  • Previous by thread: Re: wolips / webobjects build question
  • Next by thread: Re: wolips / webobjects build question
  • Index(es):
    • Date
    • Thread