prepare:
classes: [javac17] Compiling 141 source files to /home/anon/workspace/ofbiz/framework/entity/build/classes [javac17] warning: [options] bootstrap class path not set in conjunction with -source 1.7 [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/GenericDelegator.java:1415: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated [javac17] public int storeAll(List<GenericValue> values, boolean doCacheClear, boolean createDummyFks) throws GenericEntityException { [javac17] ^ [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1340: error: variable operator might not have been initialized [javac17] throw new IllegalArgumentException("[" + this.viewEntityCondition.modelViewEntity.getEntityName() + "]: Could not find an entity operator for the name: " + this.operator); [javac17] ^ [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:329: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated [javac17] delegator.storeAll(valuesToWrite, doCacheClear, createDummyFks); [javac17] ^ [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:379: warning: [deprecation] Configuration() in Configuration has been deprecated [javac17] Configuration config = new Configuration(); [javac17] ^ [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:498: warning: [deprecation] removeAll(List<? extends GenericEntity>,boolean) in Delegator has been deprecated [javac17] delegator.removeAll(valuesToDelete, doCacheClear); [javac17] ^ [javac17] Note: Some input files use unchecked or unsafe operations. [javac17] Note: Recompile with -Xlint:unchecked for details. [javac17] 1 error [javac17] 4 warnings BUILD FAILED /home/anon/workspace/ofbiz/build.xml:421: The following error occurred while executing this line: /home/anon/workspace/ofbiz/build.xml:438: The following error occurred while executing this line: /home/anon/workspace/ofbiz/macros.xml:39: The following error occurred while executing this line: /home/anon/workspace/ofbiz/common.xml:91: Compile failed; see the compiler error output for details. |
Fixed in rev 1655795. Thanks!
Adrian Crum Sandglass Software www.sandglass-software.com On 1/29/2015 9:53 AM, Christian Carlow wrote: > prepare: > > classes: > [javac17] Compiling 141 source files > to /home/anon/workspace/ofbiz/framework/entity/build/classes > [javac17] warning: [options] bootstrap class path not set in > conjunction with -source 1.7 > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/GenericDelegator.java:1415: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated > [javac17] public int storeAll(List<GenericValue> values, boolean > doCacheClear, boolean createDummyFks) throws GenericEntityException { > [javac17] ^ > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1340: error: variable operator might not have been initialized > [javac17] throw new IllegalArgumentException("[" + > this.viewEntityCondition.modelViewEntity.getEntityName() + "]: Could not > find an entity operator for the name: " + this.operator); > [javac17] > ^ > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:329: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated > [javac17] delegator.storeAll(valuesToWrite, doCacheClear, > createDummyFks); > [javac17] ^ > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:379: warning: [deprecation] Configuration() in Configuration has been deprecated > [javac17] Configuration config = new > Configuration(); > [javac17] ^ > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:498: warning: [deprecation] removeAll(List<? extends GenericEntity>,boolean) in Delegator has been deprecated > [javac17] > delegator.removeAll(valuesToDelete, doCacheClear); > [javac17] ^ > [javac17] Note: Some input files use unchecked or unsafe operations. > [javac17] Note: Recompile with -Xlint:unchecked for details. > [javac17] 1 error > [javac17] 4 warnings > > BUILD FAILED > /home/anon/workspace/ofbiz/build.xml:421: The following error occurred > while executing this line: > /home/anon/workspace/ofbiz/build.xml:438: The following error occurred > while executing this line: > /home/anon/workspace/ofbiz/macros.xml:39: The following error occurred > while executing this line: > /home/anon/workspace/ofbiz/common.xml:91: Compile failed; see the > compiler error output for details. > |
In reply to this post by Christian Carlow-OFBizzer
Build worked after reverting to Oracle's jdk 1.7
On Thu, 2015-01-29 at 11:53 -0600, Christian Carlow wrote: > prepare: > > classes: > [javac17] Compiling 141 source files > to /home/anon/workspace/ofbiz/framework/entity/build/classes > [javac17] warning: [options] bootstrap class path not set in > conjunction with -source 1.7 > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/GenericDelegator.java:1415: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated > [javac17] public int storeAll(List<GenericValue> values, boolean > doCacheClear, boolean createDummyFks) throws GenericEntityException { > [javac17] ^ > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1340: error: variable operator might not have been initialized > [javac17] throw new IllegalArgumentException("[" + > this.viewEntityCondition.modelViewEntity.getEntityName() + "]: Could not > find an entity operator for the name: " + this.operator); > [javac17] > ^ > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:329: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated > [javac17] delegator.storeAll(valuesToWrite, doCacheClear, > createDummyFks); > [javac17] ^ > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:379: warning: [deprecation] Configuration() in Configuration has been deprecated > [javac17] Configuration config = new > Configuration(); > [javac17] ^ > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:498: warning: [deprecation] removeAll(List<? extends GenericEntity>,boolean) in Delegator has been deprecated > [javac17] > delegator.removeAll(valuesToDelete, doCacheClear); > [javac17] ^ > [javac17] Note: Some input files use unchecked or unsafe operations. > [javac17] Note: Recompile with -Xlint:unchecked for details. > [javac17] 1 error > [javac17] 4 warnings > > BUILD FAILED > /home/anon/workspace/ofbiz/build.xml:421: The following error occurred > while executing this line: > /home/anon/workspace/ofbiz/build.xml:438: The following error occurred > while executing this line: > /home/anon/workspace/ofbiz/macros.xml:39: The following error occurred > while executing this line: > /home/anon/workspace/ofbiz/common.xml:91: Compile failed; see the > compiler error output for details. > |
In reply to this post by Adrian Crum-3
Awesome. Thanks Adrian.
On Thu, 2015-01-29 at 10:48 -0800, Adrian Crum wrote: > Fixed in rev 1655795. Thanks! > > Adrian Crum > Sandglass Software > www.sandglass-software.com > > On 1/29/2015 9:53 AM, Christian Carlow wrote: > > prepare: > > > > classes: > > [javac17] Compiling 141 source files > > to /home/anon/workspace/ofbiz/framework/entity/build/classes > > [javac17] warning: [options] bootstrap class path not set in > > conjunction with -source 1.7 > > > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/GenericDelegator.java:1415: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated > > [javac17] public int storeAll(List<GenericValue> values, boolean > > doCacheClear, boolean createDummyFks) throws GenericEntityException { > > [javac17] ^ > > > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/model/ModelViewEntity.java:1340: error: variable operator might not have been initialized > > [javac17] throw new IllegalArgumentException("[" + > > this.viewEntityCondition.modelViewEntity.getEntityName() + "]: Could not > > find an entity operator for the name: " + this.operator); > > [javac17] > > ^ > > > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:329: warning: [deprecation] storeAll(List<GenericValue>,boolean,boolean) in Delegator has been deprecated > > [javac17] delegator.storeAll(valuesToWrite, doCacheClear, > > createDummyFks); > > [javac17] ^ > > > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:379: warning: [deprecation] Configuration() in Configuration has been deprecated > > [javac17] Configuration config = new > > Configuration(); > > [javac17] ^ > > > > [javac17] /home/anon/workspace/ofbiz/framework/entity/src/org/ofbiz/entity/util/EntitySaxReader.java:498: warning: [deprecation] removeAll(List<? extends GenericEntity>,boolean) in Delegator has been deprecated > > [javac17] > > delegator.removeAll(valuesToDelete, doCacheClear); > > [javac17] ^ > > [javac17] Note: Some input files use unchecked or unsafe operations. > > [javac17] Note: Recompile with -Xlint:unchecked for details. > > [javac17] 1 error > > [javac17] 4 warnings > > > > BUILD FAILED > > /home/anon/workspace/ofbiz/build.xml:421: The following error occurred > > while executing this line: > > /home/anon/workspace/ofbiz/build.xml:438: The following error occurred > > while executing this line: > > /home/anon/workspace/ofbiz/macros.xml:39: The following error occurred > > while executing this line: > > /home/anon/workspace/ofbiz/common.xml:91: Compile failed; see the > > compiler error output for details. > > |
Free forum by Nabble | Edit this page |