• 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 Windows / WebServerReources
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOLips Windows / WebServerReources


  • Subject: Re: WOLips Windows / WebServerReources
  • From: "Mitchell Smith" <email@hidden>
  • Date: Fri, 27 Mar 2009 10:27:00 +1000

I find the easiest approach on Windows is to just put any resources in my projects WebServerResources folder and then use something like:
 
<wo:ERXStyleSheet filename = "css/main.css" />
 
when I run my project in direct connect mode all the resources just work.
 
Fortunately we don't have to deploy to Windows, but I imagine doing a split deployment with the appropriate Apache config would work the same as on any UNIX platform.
 
----- Original Message -----
From: Miguel Angel Torres Avila
To: Development WebObjects
Sent: Friday, March 27, 2009 10:00 AM
Subject: WOLips Windows / WebServerReources

Hi List,

I am evaluating Eclipse+WOLips on Windows and I have a problem.

To access my css and js files I generate tags like this:

<link href="" type="text/css" rel="stylesheet">

On mac, I copy my WebServerResources into /Library/WebServer/Documents/WebObjects/estevezB2B.woa/Contents/ and it works.

But on Windows I do not know where to put them.
I tried installing apache and copying them into apache-docs-rott/WebObjects/estevezB2B.woa/Contents/ but when I run the APP I get this error 


[2009-03-26 17:38:19 CST] <WorkerThread0> <com.webobjects.appserver._private.WOStaticResourceRequestHandler> Unable to get contents of file for uri.  file: \Library\WebServer\Documents\WebObjects\estevezB2B.woa/Contents/WebServerResources/CSS/estilo.css; uri: /WebObjects/estevezB2B.woa/Contents/WebServerResources/CSS/estilo.css

Is there a way to tell WOLips where to find the webServerDocsRoot on development?


Miguel


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your 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: WOLips Windows / WebServerReources
      • From: Miguel Angel Torres Avila <email@hidden>
References: 
 >WOLips Windows / WebServerReources (From: Miguel Angel Torres Avila <email@hidden>)

  • Prev by Date: WOLips Windows / WebServerReources
  • Next by Date: Re: WOLips Windows / WebServerReources
  • Previous by thread: WOLips Windows / WebServerReources
  • Next by thread: Re: WOLips Windows / WebServerReources
  • Index(es):
    • Date
    • Thread