• 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: Problem building Project Wonder from source
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem building Project Wonder from source


  • Subject: Re: Problem building Project Wonder from source
  • From: Ramsey Gurley <email@hidden>
  • Date: Mon, 27 Oct 2008 13:41:50 -0400

If you're building wonder on 5.4 you should use

ant -Dwonder.patch 54 frameworks

Wonder currently defaults to WO 5.3

On Oct 27, 2008, at 12:11 PM, Saad Laassel wrote:

I am trying to build project wonder from source for the first time, on 10.5 running WO 5.4 and I keep on getting the error below every time I try to build the frameworks. Any help would be greatly appreciated.


******* build.properties *******
wo.dir.root=/
wo.woroot=/
wo.dir.user.home.library.frameworks=/Users/Saad/Library/Frameworks
wo.dir.local=/
wo.wosystemroot=/System
wo.dir.library=/System/Library
wo.dir.user.home.library=/Users/Saad/Library
wo.dir.local.library=/Library
wo.dir.library.frameworks=/System/Library/Frameworks
wo.dir.local.library.frameworks=/Library/Frameworks
wo.wolocalroot=/
wo.dir.system=/System
wo.dir.reference.api=/Developer/ADC Reference Library/ documentation/WebObjects/Reference/API/




******* The exception I am getting *******


global.compile: [echo] Frameworks/Core/WOOgnl/Sources

WOOgnl53.pre:
[copy] Copying 6 files to /Users/Saad/Code/WonderLatest/wonder/ trunk/Wonder/Frameworks/Core/WOOgnl/Sources
[wocompile] Compiling 22 source files to /Users/Saad/Roots/classes/ WOOgnl
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/compatibility/ WOMiddleManDeclarationFormatException.java:3: cannot find symbol
[wocompile] symbol : class WODeclarationFormatException
[wocompile] location: package com.webobjects.appserver._private
[wocompile] import com.webobjects.appserver._private.WODeclarationFormatException;
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/compatibility/ WOMiddleManDeclarationFormatException.java:5: cannot find symbol
[wocompile] symbol: class WODeclarationFormatException
[wocompile] public class WOMiddleManDeclarationFormatException extends WODeclarationFormatException {
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHTMLWebObjectTag.java:126: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] public WOElement dynamicElement(NSDictionary nsdictionary, NSArray nsarray) throws WOMiddleManDeclarationFormatException, ClassNotFoundException {
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHTMLWebObjectTag.java:156: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] private static WOElement _elementWithDeclaration(WODeclaration wodeclaration, String s, WOElement woelement, NSArray nsarray) throws ClassNotFoundException, WOMiddleManDeclarationFormatException {
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHTMLWebObjectTag.java:202: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] throw new WOMiddleManDeclarationFormatException("<WOHTMLWebObjectTag> declaration object for dynamic element (or component) named " + s + "has no class name.");
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHTMLWebObjectTag.java:206: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] throw new WOMiddleManDeclarationFormatException("<WOHTMLTemplateParser> no declaration for dynamic element (or component) named " + s);
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionDeclarationParser.java:39: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] public static NSMutableDictionary declarationsWithString(String declarationStr) throws WOMiddleManDeclarationFormatException {
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionDeclarationParser.java:49: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] public NSMutableDictionary parseDeclarations(String declarationStr) throws WOMiddleManDeclarationFormatException {
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionDeclarationParser.java:153: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] private NSMutableDictionary parseDeclarationsWithoutComments(String declarationWithoutComment) throws WOMiddleManDeclarationFormatException {
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionDeclarationParser.java:164: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] throw new WOMiddleManDeclarationFormatException ("<WOHelperFunctionDeclarationParser> Missing ':' for declaration: \n" + declarationHeader + " " + declarationBody);
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionDeclarationParser.java:168: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] throw new WOMiddleManDeclarationFormatException ("<WOHelperFunctionDeclarationParser> Missing tag name for declaration:\n" + declarationHeader + " " + declarationBody);
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionDeclarationParser.java:171: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] throw new WOMiddleManDeclarationFormatException ("<WOHelperFunctionDeclarationParser> Duplicate tag name '" + tagName + "' in declaration:\n" + declarationBody);
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionDeclarationParser.java:175: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] throw new WOMiddleManDeclarationFormatException ("<WOHelperFunctionDeclarationParser> Missing element name for declaration:\n" + declarationHeader + " " + declarationBody);
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionDeclarationParser.java:185: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] private NSMutableDictionary _associationsForDictionaryString(String declarationHeader, String declarationBody) throws WOMiddleManDeclarationFormatException {
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionDeclarationParser.java:189: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] throw new WOMiddleManDeclarationFormatException ("<WOHelperFunctionDeclarationParser> Internal inconsistency : invalid dictionary for declaration:\n" + declarationHeader + " " + declarationBody);
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionDeclarationParser.java:206: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] throw new WOMiddleManDeclarationFormatException ("<WOHelperFunctionDeclarationParser> Invalid line. No equal in line: \n" + binding + "\nfor declaration:\n" + declarationHeader + " " + declarationBody);
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionDeclarationParser.java:210: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] throw new WOMiddleManDeclarationFormatException ("<WOHelperFunctionDeclarationParser> Missing binding in line:\n" + binding + "\nfor declaration:\n" + declarationHeader + " " + declarationBody);
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionDeclarationParser.java:214: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] throw new WOMiddleManDeclarationFormatException ("<WOHelperFunctionDeclarationParser> Missing value in line:\n" + binding + "\nfor declaration:\n" + declarationHeader + " " + declarationBody);
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionHTMLParser.java:49: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] public void parseHTML() throws WOMiddleManHTMLFormatException, WOMiddleManDeclarationFormatException, ClassNotFoundException {
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionHTMLParser.java:244: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] private void endOfWebObjectTag(String token) throws WOMiddleManDeclarationFormatException, WOMiddleManHTMLFormatException, ClassNotFoundException {
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionHTMLParser.java:274: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] private void didParseClosingWebObjectTag() throws WOMiddleManDeclarationFormatException, WOMiddleManHTMLFormatException, ClassNotFoundException, ClassNotFoundException {
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionHTMLParserDelegate.java:10: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] public void didParseClosingWebObjectTag(String content, WOHelperFunctionHTMLParser htmlParser) throws WOMiddleManDeclarationFormatException, WOMiddleManHTMLFormatException, ClassNotFoundException;
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/compatibility/ WOMiddleManParser.java:19: parse() in ognl.helperfunction.compatibility.WOMiddleManParser cannot override parse() in com.webobjects.appserver._private.WOParser; overridden method does not throw ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] public abstract WOElement parse() throws WOMiddleManDeclarationFormatException, WOMiddleManHTMLFormatException, ClassNotFoundException;
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/compatibility/ WOMiddleManParser.java:11: cannot find symbol
[wocompile] symbol : constructor WOParser (java.lang.String,java.lang.String,com.webobjects.foundation.NSArray)
[wocompile] location: class com.webobjects.appserver._private.WOParser
[wocompile] super(HTMLString, declarationString, languages);
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/compatibility/ WOMiddleManParser.java:16: cannot find symbol
[wocompile] symbol : constructor WOParser (java.lang.String,java.lang.String,com.webobjects.foundation.NSArray)
[wocompile] location: class com.webobjects.appserver._private.WOParser
[wocompile] super(htmlString, declarationString, languages);
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/compatibility/ WOMiddleManParser.java:19: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] public abstract WOElement parse() throws WOMiddleManDeclarationFormatException, WOMiddleManHTMLFormatException, ClassNotFoundException;
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ _WOHelperFunctionHTMLTemplateParser.java:339: parse() in ognl.helperfunction._WOHelperFunctionHTMLTemplateParser cannot override parse() in com.webobjects.appserver._private.WOParser; overridden method does not throw ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] public WOElement parse() throws WOMiddleManDeclarationFormatException, WOMiddleManHTMLFormatException, ClassNotFoundException {
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ _WOHelperFunctionHTMLTemplateParser.java:295: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] public void didParseClosingWebObjectTag(String s, WOHelperFunctionHTMLParser htmlParser) throws WOMiddleManDeclarationFormatException, WOMiddleManHTMLFormatException, ClassNotFoundException {
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ _WOHelperFunctionHTMLTemplateParser.java:319: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] private void parseDeclarations() throws WOMiddleManDeclarationFormatException {
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ _WOHelperFunctionHTMLTemplateParser.java:325: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] private WOElement parseHTML() throws WOMiddleManHTMLFormatException, WOMiddleManDeclarationFormatException, ClassNotFoundException {
[wocompile ] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ _WOHelperFunctionHTMLTemplateParser.java:339: incompatible types
[wocompile] found : ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] required: java.lang.Throwable
[wocompile] public WOElement parse() throws WOMiddleManDeclarationFormatException, WOMiddleManHTMLFormatException, ClassNotFoundException {
[wocompile] ^
[wocompile] /Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/ Frameworks/Core/WOOgnl/Sources/ognl/helperfunction/ WOHelperFunctionHTMLTemplateParser.java:5: parse() in ognl.helperfunction._WOHelperFunctionHTMLTemplateParser cannot override parse() in com.webobjects.appserver._private.WOParser; overridden method does not throw ognl .helperfunction.compatibility.WOMiddleManDeclarationFormatException
[wocompile] public class WOHelperFunctionHTMLTemplateParser extends _WOHelperFunctionHTMLTemplateParser {
[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] 32 errors


BUILD FAILED
/Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/build.xml:12: The following error occurred while executing this line:
/Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/Build/build/ build.xml:791: The following error occurred while executing this line:
/Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/Build/build/ build.xml:785: The following error occurred while executing this line:
/Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/Build/build/ build.xml:65: The following error occurred while executing this line:
/Users/Saad/Code/WonderLatest/wonder/trunk/Wonder/Build/build/ generic.xml:292: Compile failed; see the compiler error output for details.




Thanks,

Saad

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
@mac.com


This email sent to email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • [RESOLVED] Problem building Project Wonder from source
      • From: Saad Laassel <email@hidden>
References: 
 >Problem building Project Wonder from source (From: Saad Laassel <email@hidden>)

  • Prev by Date: Problem building Project Wonder from source
  • Next by Date: Session timeout notifications
  • Previous by thread: Problem building Project Wonder from source
  • Next by thread: [RESOLVED] Problem building Project Wonder from source
  • Index(es):
    • Date
    • Thread