Re: now trying to deploy, get an immediate error, probably a missing resource(s)?
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: Baiss Eric Magnusson <email@hidden>
- Date: Mon, 2 Nov 2009 18:55:25 -0800
Now I'm back at the WOMLTemplateParserException and failing on the
development machine!
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.
detailMessage:
Open quote is expected for attribute "name" associated with an
element type "webobject".
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" />
and in the .wod:
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.
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.
When I right-click on <TimeZone_js.txt> I can:
<Include as Resource> or
<Include as WebServerResource>
what does WOLips do with these choices.
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
_______________________________________________
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