• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Wonder into WO 5.3 Xcode Project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wonder into WO 5.3 Xcode Project


  • Subject: Re: Wonder into WO 5.3 Xcode Project
  • From: Lachlan Deck <email@hidden>
  • Date: Tue, 30 Dec 2008 20:39:09 +1100

Hi Ute,

On 30/12/2008, at 7:50 PM, ute Hoffmann wrote:

Hi Lachlan,
thank you very much for your help!

No problems.

Am 30.12.2008 um 09:17 schrieb Lachlan Deck:

On 29/12/2008, at 7:31 PM, ute Hoffmann wrote:

Hallo,
I would like to integrate wonder into one of my projects.

I work with Java 1.4, Xcode and WO 5.3. I do not work with eclipse.

You'll be limiting your possible mailing list replies there ;-)

Yes, but I still like WOBuilder and dislike writing my html and my wod's by hand in a text editor-like environment.
That will slow me down, I fear. But I will try it out someday soon and perhaps I will come to wolips at last.

Understood. But it's still worth keeping this on the list...

I did (except of the Propertyfiles) all steps in the wiki with a new project, but cannot even build it. It cannot recognize
the ERX... 's and fails there.

Have you - installed the Wonder frameworks into /Library/Frameworks?

Yes

- added those frameworks (ERExtensions, ERJars, ERPrototypes, WOExtensions) to your Xcode project (choosing the 'Application Server' target)?

Target: yes. Not all of them. Only the one put as minimal requirement in the wiki.

Which wiki tutorial in particular? Url?

The three required Frameworks are linked in. I even removed the Origial WebObjects WOExtensions framework from
the project to make sure that is not the problem.


What I cannot do ist this:
Add minimal content to Properties file. To get minimal content, create a temporary empty project using the WOnderApplication WOLips project template and copy/paste the contents from that template's Properties file.


I have no version of WOLips running or even set up.

1) Does not having changed the properties File lead to "cannot resolve Symbol" errors with e.g. ERXApplication, ERXDirectAction, ERXSession ...
2) Which Version of Wonder is for me, I copied the Frameworks from the last build for 1.4, WO 5.3 Version into my frameworks folder,
its Wonder-4.0.0.601-Frameworks-53

In theory Wonder 4.x is 1.4 friendly. In practice I found there was one thing in ERXApplication that I had to fix. I can't recall right now what that was.


Are you seriously restricted to Java 1.4? WO5.3.3 will run just fine under 1.5.

Will my Apps and Frameworks too?

Yes. Anything compiled against Java 1.4 will run on 1.5.

If I change to Java 1.5 I have to
a) do a lot of testing and recompile all frameworks and all Applications under 1.5 (smallest hurdle, I think, probably they will
just work and compile).

Well I can't offer you any guarantees of course but lots of us have been running WO5.3.3 + other 1.4 compiled frameworks against 1.5 for a long time now. Running older stuff is not the problem to be concerned with - it's when referring to a more recent api that's available on your dev machine but not in deployment that is much more a concern. Hence...


Then update the production servers to 1.5,

Why not change your production servers as a first step? Your 1.4 apps/ frameworks will continue to work but you'll open up the possibility of using more recent stuff in future.


then sync the frameworks and all apps to the deployment machines and restart all Applications. Sounds like a nights work to me. Cannot be done during daytime as a certain downtime is to be

There's no need to do it all in one night. i.e., no need to recompile your apps. Just upgrade Java, restart your apps and you're done. Then you can upgrade your apps when needed.


expected...

Well, if I need that for wonder I will consider it... But I'm not sure I'm under WO5.3.3 - I'm under the last 5.3 release compatible with XCode.

WO5.3.3 was the very last 5.3.x available. If you've not got it, you'll want it rather than something earlier. But this is the least of your concerns.


3) Can someone with a running WOLips Version please send me the minimal properties I need to include into my properties File.

For my Wonder 4 stuff, I've got the following

er.extensions.ERXApplication.defaultRequestHandlerKey=wa
er.extensions.ERXApplication.useEditingContextUnlocker=true
er.extensions.ERXEC.defaultAutomaticLockUnlock=true
er.extensions.ERXEC.useSharedEditingContext=false
er.extensions.ERXEC.defaultCoalesceAutoLocks=true
er.extensions.ERXNSLogLog4jBridge=DEBUG

ognl.active = true
ognl.helperFunctions=true
ognl.inlineBindings=true
ognl.parseStandardTags=true


Do I need to activate ognl I I don't use it or do I need it for URL rewriting?

You don't need it. You should only turn it on if you've included the WOOgnl framework on the classpath.


with regards,
--

Lachlan Deck

_______________________________________________
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


References: 
 >Wonder into WO 5.3 Xcode Project (From: ute Hoffmann <email@hidden>)
 >Re: Wonder into WO 5.3 Xcode Project (From: Lachlan Deck <email@hidden>)

  • Prev by Date: Re: Recording and looking up dates, when day-wide precision is required
  • Next by Date: Re: Recording and looking up dates, when day-wide precision is required
  • Previous by thread: Re: Wonder into WO 5.3 Xcode Project
  • Next by thread: Re: Wonder into WO 5.3 Xcode Project
  • Index(es):
    • Date
    • Thread