Re: Help me get up to speed with PBX
Re: Help me get up to speed with PBX
- Subject: Re: Help me get up to speed with PBX
- From: Kaj Hejer <email@hidden>
- Date: Tue, 11 Nov 2003 21:32:29 +0100
At 14:37 -0500 11-11-03, email@hidden wrote:
But there are a few things I can't figure out:
You find some usefull info about using ProjectBuilder for doing WO stuff at
<url:http://developer.apple.com/documentation/WebObjects/PB_for_WO_Developers/index.html>
I include some direct links that might answer your questions bellow.
0. I _think_ I figured out the weird 'targets' thing. Tell me if I'm
right here: I generally
want everything to be in the "Application Server" target: This includes
.java files, as well as
the .html/.wod/.woo component resources. The exception is the "Web
Server Resources"
which I want to be in the "Web Server" target. I am NOT working with any
Java Client stuff,
so that's not a concern. Am I right about this? Are there any other
tricks?
Yes.
Is there any
general principle of these 'targets' that, if I understood, would help me
figure out which
target other mysterious things should be in? I don't really understand
what these 'targets'
do in general, if anyone could explain the general idea of what they
mean, it would be
helpful.
See
<url:http://developer.apple.com/documentation/WebObjects/PB_for_WO_Developers/WOinPB/chapter_1_section_4.html#//apple_ref/doc/uid/DontLinkBookID_494-DontLinkChapterID_1-CHDJFEBC>
1. In PBX, how do I include a third-party .jar file in my project? It
would be fine if the third-
party JAR was the _entirety_ of my WO (framework) project; that's how I
ended up getting
it to work on Windows, that would be fine.
See
<url:http://developer.apple.com/documentation/WebObjects/PB_for_WO_Developers/WOinPB/chapter_1_section_6.html#//apple_ref/doc/uid/DontLinkBookID_494-DontLinkChapterID_1-CHDGABAH>
2. How do I install a framework? I seem to recall that it required a
command line command
(which is kind of ridiculous; have they fixed this in XCode?). Can
someone tell me what this
command is?
The following is from
<url:http://developer.apple.com/techpubs/webobjects/ReleaseNotes/WO52RelNotes/Development_Tools2.html>
Radar #3063754
Deployment Installs from PB on Mac OS X are not supported.
Description:
WebObjects applications and frameworks cannot be installed from
within the Project Builder IDE.
Workaround:
To install for deployment always build from the command line with
both Deployment and WebServer build styles:
sudo pbxbuild install DSTROOT=/ -buildstyle Deployment
sudo pbxbuild install DSTROOT=/ -buildstyle WebServer
...or use ant and WOProject to build your apps. Then you can build
your apps on solaris, linix or almost whatever which has ant
installed :) See http://objectstyle.org/woproject/ant/index.html for
more info.
3. How do I build an _application_ (not framework) project from the
command line? I have
some deployment preparation shell scripts which, on windows, would just
do a 'make install',
whether on application or framework project. What's the equivelent for
both WO
applications and WO frameworks with PBX?
4. Once I've built things, probably from a shell script, where, in the
file system, do I find the
built products? The projectName.woa or projectName.framework
directories? My
deployment preparation shell script needs to package a bunch of these up
in a .zip for me,
but I'm not sure where to find them; I'm having trouble finding them, oddly.
See above.
btw1: the lines in your email are a bit to long
btw2: I'm using Eclipse and WOLips for all my WO stuff and are much more
happy now than when I was using ProjectBuilder :)
-Kaj :)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.