Re: Using Eclipse to build for install

Kevin Windham <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel
Message-ID <[email protected]>
On Apr 20, 2008, at 6:55 PM, Kevin Windham wrote:

> I have my app all sorted under Eclipse now, and everything seems  
> spiffy. It took me a little while to figure out but after some  
> searching I discovered the Ant Install in the contextual menu. It  
> seems though, that the build script, or perhaps the one that found  
> it's way into my project, doesn't account for the permissions of  
> the /Library/WebObjects/Application directory and can't actually  
> write the finished product there. I also can't seem to find any  
> documentation on this process.
>
> Under XCode you could just run the build script from the command  
> line with sudo. Is there a similar procedure for this with WOLips,  
> or is something not right with my install/build script.
>
> Thanks,
> Kevin
>
> P.S. Any links to docs on WOLips would be greatly appreciated. I  
> still feel pretty much lost in the new environment.

It took me a while, but I finally found what I was looking for.  
Basically, the default ant install will only work if you fiddle with  
the permissions since it tries to install directly into the /Library/ 
WebObjects/Application directory. You can do an ant build on the  
build.xml file in the project and that will install into a dist  
directory inside the project's directory in your workspace.

<http://wiki.objectstyle.org/confluence/display/WOL/Deploy+a+WO+Application 
 >

Is it just me, or is google becoming less and less helpful. Maybe my  
search mojo is weak, or maybe WebObjects is becoming more popular and  
there are just too many other entries crowding the results. :-)

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