Re: Building for Deployment under Eclipse and WOLips

Jonas Meyer <[email protected]>
Newsgroups gmane.comp.web.webobjects.admin
Message-ID <[email protected]>
On Feb 10, 2004, at 6:46 PM, Chuck Hill wrote:

> Jonas Meyer wrote:
>> 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).

It was.  Thanks for this info.

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

K.  I put it in "/Library/WebObjects/Applications/".  It seems happy 
there.

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

I needed to add the mysql-connector-j reference to both of those files 
and restart the instance.  Now it is working fine.

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

What sort of things will live in there?  Static links to images and 
stuff?  I was under the impression that all my html lived in there and 
got magically combined with the WO tags to make the app, but that 
appears to not be the case.  As you theorized, I 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.

Good enough to get me up and running.  Thanks!

Jonas Meyer
Institute for Security Technology Studies
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.