[
https://issues.apache.org/jira/browse/OFBIZ-5683?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061941#comment-14061941
]
Jacques Le Roux commented on OFBIZ-5683:
----------------------------------------
I don't agree Pierre, I remember a time when I often ran build from
applications. It was then a matter of time. Nowadays it's less a problem, but
still...
BTW I ran it here under Eclipse w/o issues
Buildfile: C:\GitHub\ofbiz\applications\party\build.xml
init:
prepare:
classes:
[javac17] Compiling 1 source file to
C:\GitHub\ofbiz\applications\party\build\classes
jar:
[jar] Building jar:
C:\GitHub\ofbiz\applications\party\build\lib\ofbiz-party.jar
BUILD SUCCESSFUL
Total time: 1 second
Same from cmd line
C:\GitHub\ofbiz\applications\party>ant
Buildfile: C:\GitHub\ofbiz\applications\party\build.xml
init:
prepare:
classes:
[javac17] Compiling 1 source file to
C:\GitHub\ofbiz\applications\party\build\classes
jar:
[jar] Building jar:
C:\GitHub\ofbiz\applications\party\build\lib\ofbiz-party.jar
BUILD SUCCESSFUL
Total time: 1 second
C:\GitHub\ofbiz\applications\party>
So this seems to be an issue between the chair and the keyboard... Rather to
be closed as can't reproduce
> 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)