• 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: now trying to deploy, get an immediate error, probably a missing resource(s)?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: now trying to deploy, get an immediate error, probably a missing resource(s)?


  • Subject: Re: now trying to deploy, get an immediate error, probably a missing resource(s)?
  • From: Chuck Hill <email@hidden>
  • Date: Mon, 2 Nov 2009 19:05:13 -0800


On Nov 2, 2009, at 6:55 PM, Baiss Eric Magnusson wrote:

Now I'm back at the WOMLTemplateParserException and failing on the development machine!

At least you are having fun! :-P


Progress (albeit the failure backing up is a strange way to solve problems), thank you anyway, I know that the code is more in sync.

Not sure what you are referring to.


detailMessage:
Open quote is expected for attribute "name" associated with an element type "webobject".

Do you have a stack trace for that? Are you using the WO 5.4 parser? I've never seen that message before. Either this is a "feature" of the 5.4 parser, or the wrong parsing class is getting loaded.



I now know the line of code in the HTML file that is failing, it's in the <head> block, another missing file when needed?
in the HTML:
<webobject name="TimeZoneJS" />


That line does not seem to match the error message above: there ARE quotes around the name value.


and in the .wod:

That error has nothing to do with the contents of the wod file.


TimeZoneJS: WOJavaScript {
	scriptFile = "/tyf/jsScripts/TimeZone_js.txt";
}

I've tried putting </tyf/jsScripts/TimeZone_js.txt> in both the <Resources> and WebServerResources folder of the Eclipse project. I tried changing the above to:
scriptSource = "/tyf/jsScripts/TimeZone_js.txt";


I've tried to put <TimeZone_js.txt> in every folder known to me in WebServerResources and Resources with no success.

The javascript .txt, .plist and .xml files are currently in Resources.

None of those are related to this error message.


How does WebServerResources differ from Resources in the overall scheme of things, aren't they both totally client side needed resources? Except I see the model is usually in the Resources folder, along with all the javascript, sml, and plist files.

Resources are used by the application and access from Java code. WebServerResources are used / served by Apache and accessed by HTML.



When I right-click on <TimeZone_js.txt> I can:
	<Include as Resource> or
	<Include as WebServerResource>
what does WOLips do with these choices.

Depends on whether you want to access this from your Java code or from HTML.



Chuck


On Nov 2, 2009, at 10:58 AM, Chuck Hill wrote:

On Nov 2, 2009, at 10:29 AM, Baiss Eric Magnusson wrote:

Still having a problem with the WebServerResources folder of the Eclipse project.

When I run in development mode, given the following line of html code.
<link href="/tyf/styleSheet/tyf_base.css" rel="stylesheet" type="text/css" />


The WOA will look for the style sheet <tyf_base.css> in
</Library/WebServer/Documents/tyf/styleSheet/>, ala Apache.

Yes.

I cannot make an alias to the folder <tyf/styleSheet> inside the LWD and put it into the WebServerResources folder of the Eclipse project and have the WOA find it, so what is the purpose of that folder?

You have that backwards. You would

cd /Library/WebServer/Documents
ln -s /path/to/your/WSR/tyf  tyf

---- Baiss Eric Magnusson http://www.CascadeWebDesign.com




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


  • Follow-Ups:
    • Re: now trying to deploy, get an immediate error, probably a missing resource(s)?
      • From: Baiss Eric Magnusson <email@hidden>
References: 
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Baiss Eric Magnusson <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Chuck Hill <email@hidden>)
 >Re: now trying to deploy, get an immediate error, probably a missing resource(s)? (From: Baiss Eric Magnusson <email@hidden>)

  • Prev by Date: Re: now trying to deploy, get an immediate error, probably a missing resource(s)?
  • Next by Date: Re: Working with Multiple Models
  • Previous by thread: Re: now trying to deploy, get an immediate error, probably a missing resource(s)?
  • Next by thread: Re: now trying to deploy, get an immediate error, probably a missing resource(s)?
  • Index(es):
    • Date
    • Thread