• 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: Small Hiccups
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Small Hiccups


  • Subject: Re: Small Hiccups
  • From: Chuck Hill <email@hidden>
  • Date: Wed, 13 May 2009 19:27:36 -0700


On May 13, 2009, at 7:25 PM, Galen Rhodes wrote:

Yup! That was it. Funny, I hardly ever look in /Library/Java/ Extensions

Somehow, at some point, several XML related JARs (xalan, xerces, etc.) were installed into /Library/Java/Extensions and they were conflicting. I removed them and now everything works fine.

Nice! Looking in there is a good thing to remember as jars seem to migrate there in times of desperation, lurking to afflict you later.



Chuck


On May 13, 2009, at 10:13 PM, Chuck Hill wrote:

Might be a conflict with some other Eclipse plugin you have installed, or you might have jars in /Library/Java/Extensions. Any jars other than JDBC drivers are highly suspect.


Chuck



On May 13, 2009, at 6:41 PM, Galen Rhodes wrote:


I looked in the console after I tried to save the API file and saw the following stack trace. It looks like I might have an outdated version of xalan?


5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse !ENTRY org.eclipse.ui 4
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse 4 2009-05-13 21:26:47.040
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse !MESSAGE Save Failed
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse !ENTRY org.eclipse.ui 2 0 2009-05-13 21:26:47.041
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse !MESSAGE Save Failed
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse !STACK 0
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse java.lang.RuntimeException: Failed to save .api file.


Blah, blah, blah....

5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse Caused by: org.objectstyle.wolips.bindings.api.ApiModelException: Failed to save API file /Users/grhodes/EclipseProjects/WingsOfLightning/ Components/Main.api.
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse at org .objectstyle .wolips.bindings.api.ApiModel.saveChanges(ApiModel.java:305)
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse at org .objectstyle .wolips.bindings.api.ApiModel.saveChanges(ApiModel.java:273)
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse at org .objectstyle .wolips.apieditor.editor.ApiEditor.doSave(ApiEditor.java:120)
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse ... 62 more
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse Caused by: java.lang.IllegalArgumentException: Not supported: indent-number
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse at org .apache .xalan .processor .TransformerFactoryImpl.setAttribute(TransformerFactoryImpl.java: 574)
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse at org .objectstyle .wolips.bindings.api.ApiModel.saveChanges(ApiModel.java:295)
5/13/09 9:26:47 PM [0x0-0x3c03c].org.eclipse.eclipse ... 64 more


On May 13, 2009, at 7:28 PM, Galen Rhodes wrote:

Opps Sorry, tried to redirect that email to my other account and it CC'd the list too. Oh well.



On May 13, 2009, at 6:07 AM, David Avendasora wrote:


On May 12, 2009, at 10:52 PM, Galen Rhodes wrote:

OK, I was brave and upgraded Eclipse from 3.3 to 3.4.2 (WOLips 3.4.5744)

Excellent. The newest WOLips is a huge improvement over the older versions.


and I ran into a couple of hiccups that maybe someone can help me with. The second one might have existed before and I just never noticed before now.

How did you migrate to the new version of WOLips? There were some substantial changes to the way it manages class paths and other things. There is a blog post on the recommended way of bringing projects forward to the newest version here: http://wolips.blogspot.com/2008/09/its-alive.html under the heading "Conversion"

I followed these very instructions.


1. When I alter the API for a page and then hit save I get "Save Failed: org.objectstyle.wolips.bindings.api.ApiModelException" with the details saying "Failed to save API file...". Afterwards the API file is empty. Any ideas?

Sorry, I can't really help with this one.

Bummer. This error is very annoying.


2. I have a subfolder under WebServerResources and the ant build properly copies this folder and it's contents to the dist directory. However, the incremental build is flattening that folder under the build folder so that the application can't find the resources (because the application is looking for "WebServerResources/wol/tickmark.png" but the incremental build has put it in "WebServerResources/tickmark.png"). Any idea how to get the incremental build to stop doing this?

What does the woproject/wsresources.include.patternset file look like? I have simply "WebServerResources/*" and I don't get any flattening.


If you can't see the woproject directory in your project folder, then it is being filtered out by Eclipse. You can either go to the finder and open it, or change Eclipse's filter settings (http://wiki.objectstyle.org/confluence/display/WOL/WOLips-Eclipse+beginner+mistakes+and+questions#WOLips-Eclipsebeginnermistakesandquestions-Whydon'tIseeallmyfiles? under the headding "Why don't I see all my files?").

I'll check this out and see what it says. Thanks.



I hope this helps.

Dave


-- Galen Rhodes 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

_______________________________________________ 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

Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/




-- Chuck Hill Senior Consultant / VP Development

Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/

_______________________________________________
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: 
 >Small Hiccups (From: Galen Rhodes <email@hidden>)
 >Re: Small Hiccups (From: David Avendasora <email@hidden>)
 >Re: Small Hiccups (From: Galen Rhodes <email@hidden>)
 >Re: Small Hiccups (From: Galen Rhodes <email@hidden>)
 >Re: Small Hiccups (From: Chuck Hill <email@hidden>)
 >Re: Small Hiccups (From: Galen Rhodes <email@hidden>)

  • Prev by Date: Re: Small Hiccups
  • Next by Date: Wonder Validity or Custom Validation
  • Previous by thread: Re: Small Hiccups
  • Next by thread: Unexpected EOF behaviour with raw row fetches... explanation anyone?
  • Index(es):
    • Date
    • Thread