Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

First Wonder Project Instructions



Thanks all for helping me figure this out.

New D2W Project w/Wonder
Mac OS X Server 10.3.5, X-Code 1.5 and wonder 2.0

Machine set-up
-Go to http://sourceforge.net/projects/wonder/
-Go to Files menu
-Download Wonder 2.0 >>Wonder-2.0.zip and >>Wonder-src-2.0.zip
-From Wonder-2/Frameworks/ move ERDirectToWeb.framework, ERExtensions.framework, and ERJars.framework to /Library/Frameworks.
-Optionally you can move the rest of them as well. The ERMiniUglyLook.framework and ERNeutralLook.framework are for changing the look of D2W projects so move those as well if you want to give them a try.


To start a New Project
-In X-Code go to files>New Project>Direct to Web Application>next>Name your project>next(x4)
-hit Add and find ERDirectToWeb.framework, ERExtensions.framework, and ERJars.framework and click them all while holding command. Add ERMiniUglyLook.framework and/or ERNeutralLook.framework if you are giving them a try. Also select PostgresqlPlugIn.framework if using Postgres. Hit next.
-select your eomodel.
-next>next>next and go to your Application.java file. Add "import er.extensions.*;" to import statements and change both WOApplication references to ERXApplication.
-Go to your Session.java file. Add "import er.extensions.*;" to import statements and change WOSession reference to ERXSession.
-Go to your Application.java file. Add "import er.extensions.*;" to import statements and change WODirectAction reference to ERXDirectAction.
-Go to Wonder>Frameworks>ERExtensions>Documentation and open SampleApplicationProperties. Copy contents and go back to your project.
-Open Resources folder and edit Properties file. Replace its contents with your clipboard.
X-Code 1.5 only: -Open Targets folder, Application Server folder and Bundle Resources folder under that, then select MenuHeader.java and PageWrapper.java by holding down the Command key. Move them to the folder directly above Bundle Resources called Sources. And...


KaPOW!! It works!!

justin tocci
fort wayne, in


ps When I first got into the assistant it didn't let me select a task or entity in expert mode. When I selected BASListPage in the Generation tab I was then able to. YMMV.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.