Re: Building for Deployment under Eclipse and WOLips

Chuck Hill <[email protected]>
Newsgroups gmane.comp.web.webobjects.admin
Organization Global Village Consulting, Inc.
Message-ID <[email protected]>
Jonas Meyer wrote:

> I've designed and implemented version .5 of my new WO application.  I'm 
> running Eclipse and WOLips, due to extreme bugginess that I found in 
> Apple's XCode tool.  
 >
I wonder if that makes heXCode a cross between Extreme Sports and 
eXtreme Programming?  ;-)


> However, all the documentation I've found for how 
> to build my application for deployment says I use xcodebuild (actually 
> pbxbuild, but I figured that one out) to create separate web server 
> resources and application builds.  
I always manage my own web server resources (html, images mostly) so 
maybe I'm not the best person to ask...


> Of course, since I created my project 
> in eclipse, xcode cant make heads or tails of it.  The WOLips docs say 
> that I should use the ant "woapplication" task to do the appropriate 
> things, although in the "getting started" section, it says that my app 
> should be ready to deploy when I build it locally.  Is that true?  How 
> do I use ant to build for deployment?
> 
Should just be ready to go after building on Eclipse unless you 
manually added some dev only steps (I have, but I'm guessing you haven't).


> My app is running fine on my workstation (G4), but I want to move it to 
> our staging server (xserve G4 running panther).  
Same version of WO?


>I'm pretty sure that I 
> have wotaskd and monitor running and configured properly.  However, when 
> I copy my app (I3PKB.woa) to "/Library/WebServer/Documents/" directory 
 >
Nooooooo.  That is for public, static resources.  Put your app there 
and anyone can copy it.  Why make it easy for hackers?


> and point monitor at it, it cant start properly.  
My guess would be the classpath files.  Check out
I3PKB.woa/Contents/MacOS/MacOSXServerClassPath.txt
(or is it I3PKB.woa/Contents/MacOS/MacOSXClassPath.txt?)

And verify that all of the paths will resolve correctly.


> The webserverresources 
> directory is empty inside my .woa, so I'm getting the idea that it isnt 
> in fact built ready for deployment. 
Or you don't have any.

> Can anyone shed some light on this 
> issue?  What I'd really love is a pedantic, step-by-step set of 
> instructions to install WO deployment, build under eclipse and WOLips, 
> and copy and start my application, but any subset of that would be 
> wonderful.
> 
Minimal, but hope that helps.

Chuck

-- 

Chuck Hill                                 [email protected]
Global Village Consulting Inc.             http://www.global-village.net

It is a funny thing about life; if you refuse to accept
anything but the best, you very often get it."
   --  W. Somerset Maugham

<shamelessPlug>
   Practical WebObjects
   http://www.amazon.com/exec/obidos/tg/detail/-/1590592964
</shamelessPlug>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.