Re: Xcode 1.5 Release Notes D2W
Re: Xcode 1.5 Release Notes D2W
- Subject: Re: Xcode 1.5 Release Notes D2W
- From: Andres Toussaint <email@hidden>
- Date: Thu, 3 Feb 2005 11:26:02 -0500
First, make sure that you have created a "Direct to Web Application" project. because it seems that your project does not have the proper WOComponents for a Direct to Web App.
You should have in your project at least three WOComponents:
- Main.wo
-MenuHeader.wo
- PageWrapper.wo
Also, you should have an EOModel and at least the following java classes:
-Application.java
-Session.java
-DirectAction.java
-Main.java
-MenuHeader.java
-PageWrapper.java
If you cannot find these items in your groups and files tab, then you did not create a "Direct to Web Application" project.
You use the WOApplication, when you want to use WO without the Direct to Web functionality. I am using WOApplications to deliver SVG content from a DB, so i do not need any user interaction with my data, and thus no need for D2W.
You may say that the WOApplciation simply gives you the generic cocoon, and the various other options simply "pre-fill" your cocoon with basic templates for the functionality requested.
Andres.
On Feb 2, 2005, at 5:41 PM, email@hidden wrote:
Okay, I can get right to where you're referring, however I'm not seeing MenuHeader.java nor PageWrapper.java in that listing. It is nowhere in that file listing. The only files under Build Phases -> Bundle Resources are:
Main.api
Main.wo
WOAfile.icns
Properties
There are no other files listed. I tried to attach a screenshot, however the list did not like it (was about 4k shy of getting it down to the right size) so I'm just listing the files above.
It appears that something is quite wrong, where can I go from here?
Thanks,
-George
On Feb 2, 2005, at 4:04 PM, Andres Toussaint wrote:
After you create your D2W project in xCode, open the contents of the "Targets" group (a red bullseye).
Double click the "Application Server" target.
Select "Build Phases". In the right hand you will see the build phases, indicated by "Sources", "Bundle resources", etc..
Drag the MenuHeader.java and PageWrapper.java from the Bundle Resources to the Sources.
That is all.
Andres.
On Feb 2, 2005, at 3:52 PM, email@hidden wrote:
I am having the expected build error in Xcode 1.5 with WO projects and D2W, however I am not following the item in the Release Notes properly:
◦ For Direct To Web projects: When creating a new Direct To Web project, you'll notice that the MenuHeader.java and PageWrapper.java source files are not correctly added to the Application Servers target and are in the Bundle Resources build phase and not in the Sources build phase. After creating a new project, open the Application Servers target in the Groups & Files view and drag the MenuHeader.java and PageWrapper.java source files from the Bundle Resources build phase to Sources build phase.
You will have to forgive me as I am rather new to both Xcode and WO as I'm not following exactly what they're saying here. I've drilled down to each item of the project "Groups & Files" folders and cannot find the MenuHeader.java nor PageWrapper.java anywhere. I do not find these files when I go to the folder at the terminal and enter `find . | grep PageWrapper` either so it appears that it is nowhere to be found in the project folder.
Now, if I update my `locate` database and search my entire system I'm finding:
/Developer/Examples/JavaWebObjects/SchoolToolsClient/ToolsPageWrapper.java
/System/Library/Frameworks/JavaDirectToWeb.framework/Resources/BASPageWrapper.java
/System/Library/Frameworks/JavaDirectToWeb.framework/Resources/NEUPageWrapper.java
/System/Library/Frameworks/JavaDirectToWeb.framework/Resources/WOLPageWrapper.java
/System/Library/PrivateFrameworks/JavaWebObjectsProjectTypes.framework/Versions/A/Resources/English.lproj/PureDirectToWebTemplate/PageWrapper.java
AND
/System/Library/Frameworks/JavaDirectToWeb.framework/Resources/BASMenuHeader.java
/System/Library/Frameworks/JavaDirectToWeb.framework/Resources/NEUMenuHeader.java
/System/Library/Frameworks/JavaDirectToWeb.framework/Resources/WOLMenuHeader.java
What am I to do? _______________________________________________
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 _______________________________________________
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 _______________________________________________
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
_______________________________________________
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