On Oct 9, 2008, at 10:55 AM, Soles, James T (Terry) wrote:

I have done some looking around on the list archives and have been unsuccessful finding specifics on how to resolve this error when it is associated with WebObjects and building using ant.

I am moving from Java 1.4 to Java 1.5 and getting the “Enumeration cannot be resolved” error


Can you give an exact example of this (copy and paste the entire error or take a screen shot)? I don't recall this being a problem moving from 1.4 to 1.5. The Enumeration interface is in java.util, are you importing that package?


when I build a WOFramework through eclipse using ant. I have done some reading about the option of using source=”1.4” in the build file but since I don’t have a javac command in my build file I’m not sure where to put this option. My build file uses a taskdef of woframework. I’ve tried setting a property name of source with a value of 1.4 to the build file and adding a “javacSource = 1.4” value to the build.properties file with no success.

Any other suggestions?

Well, I think that setting source compatibility back to 1.4 is probably not the best solution.

Chuck


--
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to