• 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: Eclipse, WOLips and getting the Web Resources right
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Eclipse, WOLips and getting the Web Resources right


  • Subject: Re: Eclipse, WOLips and getting the Web Resources right
  • From: Henrique Prange <email@hidden>
  • Date: Fri, 12 Jan 2007 10:18:02 -0200
  • Organization: Moleque de Idéias

Hi Michael,

Which build style are you using? Ant or incremental?

I'm using a very similar directory structure as you are. When I use the ant build style, resources are copied with the full path:

dist/Project.woa/Contents/WebServerResources/src/main/webserver-resources/example.gif

So, my application doesn't find any resources. With the incremental build style, everything works fine:

build/Project.woa/Contents/WebServerResources/example.gif

Cheers,

Henrique

Michael Bøcker-Larsen wrote:
Hi Lachlan (and others)

On Jan 12, 2007, at 12:46 AM, Lachlan Deck wrote:

Hi Michael,

On 12/01/2007, at 2:46 AM, Michael Bøcker-Larsen wrote:

I am using Eclipse/WOLips to make a WO application (migrating from XCode) and I am having problems making the application access the web resources even-though I have marked them as such.

I use the default build.xml

This is my project file structure:

workspace/Project/src/main/java - java file structure
workspace/Project/src/main/resources - resource files
workspace/Project/src/main/webresources - here my webresources reside

The default structure of a WOLips WOApplication: workspace/Project/src (or Sources) workspace/Project/Libraries workspace/Project/Resources workspace/Project/Components workspace/Project/WebServerResources

Try creating a blank project in WOLips and observe the file structure. The ant build file relies on these unless you've changed it.
I can try and do that, but what difference does that make. From what I can see the project is build correctly. What relevance does the default paths have for the final build?

The web resources are there alright (in the build, and where they are supposed to be). That is what puzzles me.

Is there any way to look for or change WOLips default paths. I have also considered changing the default build path ./dist/ but when trying to run my application from Eclipse I'm prompted with: './dist/ does not exists', or something like that.


<...>
What could be going wrong?

Coming from XCode I'm used to getting two woa-folders ready to be deployed on the application server and the web server. Using Eclipse/WOLips I only get the one. Is this the intention of the default build.xml?

The default build file is not set up for split builds

Thanks for your answers,

  Michael



with regards, --

Lachlan Deck





_______________________________________________ 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


--

\o/ Henrique Prange, Moleque de Idéias Educação e Tecnologia Ltda
 |  Phone: 55-21-2710-0178 E-mail: email@hidden
/ \ http://www.moleque.com.br
_______________________________________________
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: Eclipse, WOLips and getting the Web Resources right
      • From: Michael Bøcker-Larsen <email@hidden>
References: 
 >Eclipse, WOLips and getting the Web Resources right (From: Michael Bøcker-Larsen <email@hidden>)
 >Re: Eclipse, WOLips and getting the Web Resources right (From: Lachlan Deck <email@hidden>)
 >Re: Eclipse, WOLips and getting the Web Resources right (From: Michael Bøcker-Larsen <email@hidden>)

  • Prev by Date: UK WebObjects Advanced Development course
  • Next by Date: Servlets and FrontBase
  • Previous by thread: Re: Eclipse, WOLips and getting the Web Resources right
  • Next by thread: Re: Eclipse, WOLips and getting the Web Resources right
  • Index(es):
    • Date
    • Thread