Sandro/All,
I see the output that troubles you,
[echo] Java environment: home at
'/home/greg/Programming/Java/jdk1.7.0x64/jre', version 1.7.0_07
but JAVA_HOME = /home/greg/Programming/Java/jdk1.7.0x64
In fact, the onlly env variable I had pointing to the JRE is JRE_HOME, and I
pointed that to JAVA_HOME with no effect.
I'm not a whiz with XML files and don't understand how ${java.home} is set.
Apparently you thought it came from JAVA_HOME, but that doesn't seem to be
true for me. I've been through the other .xml files that I think have anything
to do with the build process, and I can't find the source of the incorrect
setting.
My OS is Linux, by the way. I'll keep fiddling with it, trying to get
java.home set correctly, and will let you know if I make progress.
Thanks for your help so far.
On Friday, September 14, 2012 03:13:00 PM Roger L. Whitcomb wrote:
> Hi Sandro,
> The Hudson build has a similar java setting:
> [echo] Java environment: home at
> '/zonestorage/hudson_solaris/home/hudson/tools/java/jdk1.7.0/jre',
> version 1.7.0
>
> ~Roger
>
>
> -----Original Message-----
> From: Sandro Martini [mailto:[email protected]]
> Sent: Friday, September 14, 2012 12:51 AM
> To: [email protected]
> Subject: Re: Help with Pivot 2.1 build error
>
> Hi all,
>
> > Sandro could probably tell us more, but if you poke around the
>
> "build.xml", where is it expecting the "plugin.jar" will be located?
> plugin.jar is one of standard jars inside jre/lib , and should already
> be in classpath.
>
> For example, in eclipse there is a small manual step to do to have Pivot
> sources build, see here:
> https://cwiki.apache.org/PIVOT/platform-developer-info.html
>
>
> Uh now I see the problem, you have this:
> [echo] Java environment: home at
> '/home/greg/Programming/Java/jdk1.7.0x64/jre', version 1.7.0_07
>
> but as JAVA_HOME you should have the root folder of the jdk, so this:
> /home/greg/Programming/Java/jdk1.7.0x64
>
>
> Sorry, what is your platform: Mac or Linux ?
> (probably I should add the OS name in build info, could be useful :-) )
>
>
> Tell us if you have other problems ...
>
> Bye,
> Sandro