Re: Another cRazY problem
Re: Another cRazY problem
- Subject: Re: Another cRazY problem
- From: Kieran Kelleher <email@hidden>
- Date: Mon, 24 Nov 2008 09:05:23 -0500
http://webobjects.mdimension.com/wolips/EOGenerator/Velocity EOGenerator Templates/
On Nov 23, 2008, at 8:42 PM, Jeff Schmitz wrote:
What I just figured out is that I needed to update my WonderEntity
templates used by the EOGenerator. I just changed the includes of
the er.extensions packages to add the eof part, but now I'm
wondering if I need to download a new version of these templates?
If so, where can they be found?
Thanks,
Jeff
On Nov 23, 2008, at 7:26 PM, Chuck Hill wrote:
On Nov 23, 2008, at 5:16 PM, Jeff Schmitz wrote:
Hello,
I just downloaded the latest Wonder 5.4 frameworks (not the
jars), installed them by copying them to my /Library/Frameworks
folder and now my project, which was fine before, says it can't
find any of the ERX classes. e.g. the package pasted below says
er.extensions.ERXGenericRecord cannot be resolved. What's weirder
is I can navigate to ERXGenericRecord from the line with an error
on it using Cmd-Click, and it shows up fine, with no errors.
Using Time Machine I went back to the previously installed
frameworks and everything was fine again. Any ideas??
package com.netbracketsfw.model;
import com.netbracketsfw.core.EOCopyable;
import com.webobjects.eocontrol.EOEnterpriseObject;
import com.webobjects.foundation.NSDictionary;
import com.webobjects.foundation.NSMutableDictionary;
import er.extensions.ERXGenericRecord;
Now in package er.extensions.eof;
You had an oooooooold version of Wonder. Install it again, select
the sources directory in Eclipse and Source - Organize Imports.
Chuck
public class NetBracketsGenericRecord extends ERXGenericRecord
implements EOCopyable {
public EOEnterpriseObject copy(NSMutableDictionary copiedObjects) {
return EOCopyable.DefaultImplementation.copy(copiedObjects,
this);
}
public EOEnterpriseObject copy() {
return copy(new NSMutableDictionary());
}
// Subclasses can override this to copy via a different mechanism.
// This can be anything from EOCopyable.Utility.referenceCopy(this)
// to a fully customized copy.
public EOEnterpriseObject duplicate(NSMutableDictionary
copiedObjects) {
return EOCopyable.Utility.deepCopy(copiedObjects, this);
}
}
_______________________________________________
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
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their
overall knowledge of WebObjects or who are trying to solve specific
problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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