That code is legal. It looks to me like some compiler option is not set correctly. Try -source 1.6?
On 2012-09-05, at 8:51 AM, Ângelo Andrade Cirino wrote: > Hi, > > In face of the problems I am having with Eclipse and the whole > WO/WOLips/Wonder environment, I decided to reinstall again. I'm strictly > following the instructions in the wiki, but am having trouble. Following the > instructions to build wonder with ant in this page: > > http://wiki.wocommunity.org/display/documentation/Building+and+Installing+a+Framework+with+Ant > > I am given compile errors: > > global.dummy: > [wocompile] Compiling 93 source files to /Users/aacirino/Roots/classes/ERRest > [wocompile] warning: [options] bootstrap class path not set in conjunction > with -source 1.5 > [wocompile] > /Users/aacirino/WO/WonderSource/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteController.java:1778: > error: _route has private access in ERXRouteController > [wocompile] controller._route = _route; > [wocompile] ^ > [wocompile] > /Users/aacirino/WO/WonderSource/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteController.java:1779: > error: _editingContext has private access in ERXRouteController > [wocompile] controller._editingContext = _editingContext; > [wocompile] ^ > [wocompile] > /Users/aacirino/WO/WonderSource/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteController.java:1780: > error: _routeKeys has private access in ERXRouteController > [wocompile] controller._routeKeys = _routeKeys; > [wocompile] ^ > [wocompile] > /Users/aacirino/WO/WonderSource/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteController.java:1781: > error: _objects has private access in ERXRouteController > [wocompile] controller._objects = _objects; > [wocompile] ^ > [wocompile] > /Users/aacirino/WO/WonderSource/Frameworks/EOF/ERRest/Sources/er/rest/routes/ERXRouteController.java:1782: > error: _options has private access in ERXRouteController > [wocompile] controller._options = _options; > [wocompile] ^ > [wocompile] Note: Some input files use or override a deprecated API. > [wocompile] Note: Recompile with -Xlint:deprecation for details. > [wocompile] Note: Some input files use unchecked or unsafe operations. > [wocompile] Note: Recompile with -Xlint:unchecked for details. > [wocompile] 5 errors > [wocompile] 1 warning > > I used git to clone the latest wonder source. > > Angelo > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net > > This email sent to [email protected] -- 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/gvc/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: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
