Hi Devs,
This morning after the git repo was updated I tried to update our local copy of OFBiz but it would not compile. Our last good version was 1328829 and now the machine is updated to 1331137 version of trunk we get the following errors. Is there any chance that this can be fixed so that OFBiz once again works with OpenJDK? Thanks Sam prepare: [mkdir] Created dir: /home/ofbiz/ofbiz/framework/minilang/build/classes [mkdir] Created dir: /home/ofbiz/ofbiz/framework/minilang/build/lib classes: [javac16] Compiling 134 source files to /home/ofbiz/ofbiz/framework/minilang/build/classes [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:160: cannot find symbol [javac16] symbol : method getSimpleMethodToCall(<nulltype>) [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod [javac16] SimpleMethod calledMethod = csm.getSimpleMethodToCall(null); [javac16] ^ [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:162: cannot find symbol [javac16] symbol : method getMethodName() [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); [javac16] ^ [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:162: cannot find symbol [javac16] symbol : method getXmlResource() [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); [javac16] ^ [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:219: cannot find symbol [javac16] symbol : method getSimpleMethodToCall(java.lang.ClassLoader) [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod [javac16] SimpleMethod calledMethod = csm.getSimpleMethodToCall(methodOperations.getClass().getClassLoader()); [javac16] ^ [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:221: cannot find symbol [javac16] symbol : method getMethodName() [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); [javac16] ^ [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:221: cannot find symbol [javac16] symbol : method getXmlResource() [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); [javac16] ^ [javac16] 6 errors BUILD FAILED /home/ofbiz/ofbiz/build.xml:214: The following error occurred while executing this line: /home/ofbiz/ofbiz/framework/build.xml:148: The following error occurred while executing this line: /home/ofbiz/ofbiz/macros.xml:39: The following error occurred while executing this line: /home/ofbiz/ofbiz/common.xml:91: Compile failed; see the compiler error output for details. smime.p7s (6K) Download Attachment |
Sorry I should update after further testings even Oracle java on a mac wont compile OFBiz so its seems like a more general problem.
Thanks Sam On 27 Apr 2012, at 10:20, Sam Hamilton wrote: > Hi Devs, > > This morning after the git repo was updated I tried to update our local copy of OFBiz but it would not compile. > Our last good version was 1328829 and now the machine is updated to 1331137 version of trunk we get the following errors. > > Is there any chance that this can be fixed so that OFBiz once again works with OpenJDK? > > Thanks > Sam > > prepare: > [mkdir] Created dir: /home/ofbiz/ofbiz/framework/minilang/build/classes > [mkdir] Created dir: /home/ofbiz/ofbiz/framework/minilang/build/lib > > classes: > [javac16] Compiling 134 source files to /home/ofbiz/ofbiz/framework/minilang/build/classes > [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:160: cannot find symbol > [javac16] symbol : method getSimpleMethodToCall(<nulltype>) > [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod > [javac16] SimpleMethod calledMethod = csm.getSimpleMethodToCall(null); > [javac16] ^ > [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:162: cannot find symbol > [javac16] symbol : method getMethodName() > [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod > [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); > [javac16] ^ > [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:162: cannot find symbol > [javac16] symbol : method getXmlResource() > [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod > [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); > [javac16] ^ > [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:219: cannot find symbol > [javac16] symbol : method getSimpleMethodToCall(java.lang.ClassLoader) > [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod > [javac16] SimpleMethod calledMethod = csm.getSimpleMethodToCall(methodOperations.getClass().getClassLoader()); > [javac16] ^ > [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:221: cannot find symbol > [javac16] symbol : method getMethodName() > [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod > [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); > [javac16] ^ > [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:221: cannot find symbol > [javac16] symbol : method getXmlResource() > [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod > [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); > [javac16] ^ > [javac16] 6 errors > > BUILD FAILED > /home/ofbiz/ofbiz/build.xml:214: The following error occurred while executing this line: > /home/ofbiz/ofbiz/framework/build.xml:148: The following error occurred while executing this line: > /home/ofbiz/ofbiz/macros.xml:39: The following error occurred while executing this line: > /home/ofbiz/ofbiz/common.xml:91: Compile failed; see the compiler error output for details. smime.p7s (6K) Download Attachment |
In reply to this post by samhamilton
Fixed in rev 1331247.
-Adrian On 4/27/2012 3:20 AM, Sam Hamilton wrote: > Hi Devs, > > This morning after the git repo was updated I tried to update our local copy of OFBiz but it would not compile. > Our last good version was 1328829 and now the machine is updated to 1331137 version of trunk we get the following errors. > > Is there any chance that this can be fixed so that OFBiz once again works with OpenJDK? > > Thanks > Sam > > prepare: > [mkdir] Created dir: /home/ofbiz/ofbiz/framework/minilang/build/classes > [mkdir] Created dir: /home/ofbiz/ofbiz/framework/minilang/build/lib > > classes: > [javac16] Compiling 134 source files to /home/ofbiz/ofbiz/framework/minilang/build/classes > [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:160: cannot find symbol > [javac16] symbol : method getSimpleMethodToCall(<nulltype>) > [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod > [javac16] SimpleMethod calledMethod = csm.getSimpleMethodToCall(null); > [javac16] ^ > [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:162: cannot find symbol > [javac16] symbol : method getMethodName() > [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod > [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); > [javac16] ^ > [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:162: cannot find symbol > [javac16] symbol : method getXmlResource() > [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod > [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); > [javac16] ^ > [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:219: cannot find symbol > [javac16] symbol : method getSimpleMethodToCall(java.lang.ClassLoader) > [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod > [javac16] SimpleMethod calledMethod = csm.getSimpleMethodToCall(methodOperations.getClass().getClassLoader()); > [javac16] ^ > [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:221: cannot find symbol > [javac16] symbol : method getMethodName() > [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod > [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); > [javac16] ^ > [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:221: cannot find symbol > [javac16] symbol : method getXmlResource() > [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod > [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); > [javac16] ^ > [javac16] 6 errors > > BUILD FAILED > /home/ofbiz/ofbiz/build.xml:214: The following error occurred while executing this line: > /home/ofbiz/ofbiz/framework/build.xml:148: The following error occurred while executing this line: > /home/ofbiz/ofbiz/macros.xml:39: The following error occurred while executing this line: > /home/ofbiz/ofbiz/common.xml:91: Compile failed; see the compiler error output for details. |
Thanks Adrian for the quick fix
Sam On 27 Apr 2012, at 14:57, Adrian Crum wrote: > Fixed in rev 1331247. > > -Adrian > > On 4/27/2012 3:20 AM, Sam Hamilton wrote: >> Hi Devs, >> >> This morning after the git repo was updated I tried to update our local copy of OFBiz but it would not compile. >> Our last good version was 1328829 and now the machine is updated to 1331137 version of trunk we get the following errors. >> >> Is there any chance that this can be fixed so that OFBiz once again works with OpenJDK? >> >> Thanks >> Sam >> >> prepare: >> [mkdir] Created dir: /home/ofbiz/ofbiz/framework/minilang/build/classes >> [mkdir] Created dir: /home/ofbiz/ofbiz/framework/minilang/build/lib >> >> classes: >> [javac16] Compiling 134 source files to /home/ofbiz/ofbiz/framework/minilang/build/classes >> [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:160: cannot find symbol >> [javac16] symbol : method getSimpleMethodToCall(<nulltype>) >> [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod >> [javac16] SimpleMethod calledMethod = csm.getSimpleMethodToCall(null); >> [javac16] ^ >> [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:162: cannot find symbol >> [javac16] symbol : method getMethodName() >> [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod >> [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); >> [javac16] ^ >> [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:162: cannot find symbol >> [javac16] symbol : method getXmlResource() >> [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod >> [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); >> [javac16] ^ >> [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:219: cannot find symbol >> [javac16] symbol : method getSimpleMethodToCall(java.lang.ClassLoader) >> [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod >> [javac16] SimpleMethod calledMethod = csm.getSimpleMethodToCall(methodOperations.getClass().getClassLoader()); >> [javac16] ^ >> [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:221: cannot find symbol >> [javac16] symbol : method getMethodName() >> [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod >> [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); >> [javac16] ^ >> [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:221: cannot find symbol >> [javac16] symbol : method getXmlResource() >> [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod >> [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); >> [javac16] ^ >> [javac16] 6 errors >> >> BUILD FAILED >> /home/ofbiz/ofbiz/build.xml:214: The following error occurred while executing this line: >> /home/ofbiz/ofbiz/framework/build.xml:148: The following error occurred while executing this line: >> /home/ofbiz/ofbiz/macros.xml:39: The following error occurred while executing this line: >> /home/ofbiz/ofbiz/common.xml:91: Compile failed; see the compiler error output for details. smime.p7s (6K) Download Attachment |
I made two mistakes last night:
I ran ant clean-data instead of ant clean-all before running the tests, and I committed code right before I went to bed - so I wasn't aware that I caused a problem until this morning. -Adrian On 4/27/2012 8:00 AM, Sam Hamilton wrote: > Thanks Adrian for the quick fix > > Sam > On 27 Apr 2012, at 14:57, Adrian Crum wrote: > >> Fixed in rev 1331247. >> >> -Adrian >> >> On 4/27/2012 3:20 AM, Sam Hamilton wrote: >>> Hi Devs, >>> >>> This morning after the git repo was updated I tried to update our local copy of OFBiz but it would not compile. >>> Our last good version was 1328829 and now the machine is updated to 1331137 version of trunk we get the following errors. >>> >>> Is there any chance that this can be fixed so that OFBiz once again works with OpenJDK? >>> >>> Thanks >>> Sam >>> >>> prepare: >>> [mkdir] Created dir: /home/ofbiz/ofbiz/framework/minilang/build/classes >>> [mkdir] Created dir: /home/ofbiz/ofbiz/framework/minilang/build/lib >>> >>> classes: >>> [javac16] Compiling 134 source files to /home/ofbiz/ofbiz/framework/minilang/build/classes >>> [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:160: cannot find symbol >>> [javac16] symbol : method getSimpleMethodToCall(<nulltype>) >>> [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod >>> [javac16] SimpleMethod calledMethod = csm.getSimpleMethodToCall(null); >>> [javac16] ^ >>> [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:162: cannot find symbol >>> [javac16] symbol : method getMethodName() >>> [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod >>> [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); >>> [javac16] ^ >>> [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:162: cannot find symbol >>> [javac16] symbol : method getXmlResource() >>> [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod >>> [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); >>> [javac16] ^ >>> [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:219: cannot find symbol >>> [javac16] symbol : method getSimpleMethodToCall(java.lang.ClassLoader) >>> [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod >>> [javac16] SimpleMethod calledMethod = csm.getSimpleMethodToCall(methodOperations.getClass().getClassLoader()); >>> [javac16] ^ >>> [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:221: cannot find symbol >>> [javac16] symbol : method getMethodName() >>> [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod >>> [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); >>> [javac16] ^ >>> [javac16] /home/ofbiz/ofbiz/framework/minilang/src/org/ofbiz/minilang/SimpleMethod.java:221: cannot find symbol >>> [javac16] symbol : method getXmlResource() >>> [javac16] location: class org.ofbiz.minilang.method.callops.CallSimpleMethod >>> [javac16] Debug.logWarning("Could not find simple-method [" + csm.getMethodName() + "] in [" + csm.getXmlResource() + "] from the SimpleMethod [" + csm.getSimpleMethod().getMethodName() + "] in [" + csm.getSimpleMethod().getFromLocation() + "]", module); >>> [javac16] ^ >>> [javac16] 6 errors >>> >>> BUILD FAILED >>> /home/ofbiz/ofbiz/build.xml:214: The following error occurred while executing this line: >>> /home/ofbiz/ofbiz/framework/build.xml:148: The following error occurred while executing this line: >>> /home/ofbiz/ofbiz/macros.xml:39: The following error occurred while executing this line: >>> /home/ofbiz/ofbiz/common.xml:91: Compile failed; see the compiler error output for details. |
Free forum by Nabble | Edit this page |