On Sat, Feb 14, 2009 at 8:26 AM, ant elder <[email protected]> wrote:
> > > On Fri, Feb 13, 2009 at 5:20 PM, Raymond Feng <[email protected]> wrote: > >> It seems that java.home property is not propagated from maven into ant. >> Can you try to add a line before the <ant ...> in the pom.xml? >> >> <configuration> >> <tasks> >> <property name="java.home" >> value="${java.home}"/> >> <ant antfile="./build.xml" /> >> </tasks> >> </configuration> >> >> > It wasn't that clear where that should go but i've tried a few places and > it doesn't seem to make any difference. I was wrong earlier when i said i > could get past this by fiddling with JAVA_HOME that doesn't work, i can get > it to work when building within the itest/distribution/binding-ws-calculator > module, but building from higher up binding-ws-calculator always fails. > > FYI this appears to be fixed for me by moving up to Maven 2.0.9. Has anyone using Maven 2.0.7 or 2.0.8 not being seeing this problem? If not then I guess we need to say 2.0.9 is our Maven requirement. ...ant
