You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Nicolas Malin (JIRA)" <ji...@apache.org> on 2015/06/26 09:09:05 UTC
[jira] [Resolved] (OFBIZ-6533) Compiling errors
[ https://issues.apache.org/jira/browse/OFBIZ-6533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nicolas Malin resolved OFBIZ-6533.
----------------------------------
Resolution: Fixed
Fix Version/s: Upcoming Branch
Thanks Wei Zhang, it's fixed on trunk revision 1687679
@Jacques, I fixed the compilation error but can you check if the correction is correct with your improvement OFBIZ-6532 ? I think yes but I prefer a confirmation ;)
> 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
> Assignee: Nicolas Malin
> Fix For: Upcoming Branch
>
>
> 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)