Re: Practical Webobjects Utilities Framework
Re: Practical Webobjects Utilities Framework
- Subject: Re: Practical Webobjects Utilities Framework
- From: Chuck Hill <email@hidden>
- Date: Fri, 4 Jul 2008 20:22:10 -0700
On Jul 4, 2008, at 9:21 AM, Jeff Schmitz wrote:
A related question, in the EOCopyable Utility innerclass code, the
first line (line 613) of deepCopyRelatedObjects is a debug statement:
copyLogger.debug("Shallow copying relationships for " +
globalIDForObject(source));
Why does this say "Shallow copying"? Is that a typo? From what I
can tell, it actually deep copy's by default? Just want to make
sure I fully understand things.
Cut and paste foolishness. Should say Deep copying...
Chuck
On Jul 4, 2008, at 10:57 AM, Jeff Schmitz wrote:
On page 250 of Practical Webobjects, it shows an example of using
the EOCopyable interface's default implementation inner class.
Shouldn't the example class (CopyableGenericRecord) implement the
EOCopyable interface? The listing doesn't show this, and if you
try to use it as shown, a class cast exception occurs because down
in the DefaultImplementaiton inner class the source
EOEnterpriseObject is casted to an EOCopyable object.
Jeff
On Jun 23, 2008, at 5:43 PM, David Avendasora wrote:
That's what I did for the EOCopyable stuff too. It works great.
Let me know if you have any issues getting it working.
I know that the Wonder team is working on incorporating the same
functionality too, but I don't know when it will be released.
Dave
On Jun 23, 2008, at 5:59 PM, Jeff Schmitz wrote:
They are in packages form. I only need a couple of the files
(the EOCopyable stuff), so I think I'm going to just add the
source to my project and use them from there.
Thanks,
Jeff
On Jun 21, 2008, at 8:14 PM, Greg Hulands wrote:
Do you see the source in packages form or just folders?
If it is jut folders, then you'll need to modify the java build
path and add the folder as a source folder.
greg
On 21/06/2008, at 6:43 AM, Jeff Schmitz wrote:
Hello,
I've tried to import the practical webobjects utilities
framework project per instructions of pgs 335-336 of the book,
but when I use the WOLips Ant Tools->Install command on the
build file to install it, I get the following warning:
Warning: skipping jar archive /Library/Frameworks/
PracticalUtilities.framework/Resources/Java/
practicalutilities.jar because no files were included.
when I look at the practicalutilites.jar produced, it seems to
be an empty jar (it's 4kb in size). Any ideas? I can see all
the source files in the WOLips project within the src project
folder.
Thanks,
Jeff
_______________________________________________
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
--
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