Wei Zhang created OFBIZ-6533:
--------------------------------

             Summary: Compiling errors
                 Key: OFBIZ-6533
                 URL: https://issues.apache.org/jira/browse/OFBIZ-6533
             Project: OFBiz
          Issue Type: Bug
          Components: framework
    Affects Versions: Trunk
            Reporter: Wei Zhang


classes:
  [javac17] Compiling 144 source files to 
D:\ofbiz-clean\framework\entity\build\classes
  [javac17] 
D:\ofbiz-clean\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] 
D:\ofbiz-clean\framework\entity\src\org\ofbiz\entity\GenericDelegator.java:426: 
error: method getEntityNamesByGroup in class ModelGroupReader cannot be applied 
to given types;
  [javac17]         Set<String> entityNameSet = 
getModelGroupReader().getEntityNamesByGroup(groupName);
  [javac17]                                                          ^
  [javac17]   required: String,String
  [javac17]   found: String
  [javac17]   reason: actual and formal argument lists differ in length
  [javac17] 
D:\ofbiz-clean\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] 
D:\ofbiz-clean\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] 
D:\ofbiz-clean\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
D:\ofbiz-clean\build.xml:421: The following error occurred while executing this 
line:
D:\ofbiz-clean\build.xml:438: The following error occurred while executing this 
line:
D:\ofbiz-clean\macros.xml:39: The following error occurred while executing this 
line:
D:\ofbiz-clean\common.xml:91: Compile failed; see the compiler error output for 
details.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to