[ https://issues.apache.org/jira/browse/OFBIZ-5683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061914#comment-14061914 ]
Pierre Smits commented on OFBIZ-5683: ------------------------------------- Executing ant from the (sub-) folder of the component is not intended. It should be executed from the root folder of the OFBiz setup. I recommend to close this issue with resolution 'Not a problem'. > Error to run "ant" under OFBIZ_HOME/applications/party > ------------------------------------------------------ > > Key: OFBIZ-5683 > URL: https://issues.apache.org/jira/browse/OFBIZ-5683 > Project: OFBiz > Issue Type: Bug > Reporter: Wei Zhang > > Got error below when I run "ant" under OFBIZ_HOME/applications/party > D:\ofbiz-trunk-clean\applications\party>ant > Buildfile: D:\ofbiz-trunk-clean\applications\party\build.xml > BUILD FAILED > D:\ofbiz-trunk-clean\applications\party\build.xml:22: The following error > occurred while executing this line: > D:\ofbiz-trunk-clean\common.xml:22: The following error occurred while > executing this line: > D:\ofbiz-trunk-clean\macros.xml:31: Please upgrade java to at least 1.7 > but it works if I run 'ant' under OFBIZ_HOME > I have upgraded my JDK to 1.7 -- This message was sent by Atlassian JIRA (v6.2#6252)