Re: [fedora-java] Eclipse 3.2M5 and ant.java.version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Haley wrote:
> Gary Benson writes:
> > Andrew Haley wrote:
> > > Andrew Overholt writes:
> > > > So with a simple test.xml [2], we get:
> > > > 
> > > >      [echo] java.version is 1.5
> > > > 
> > > > Is there a way we can get around this without patching ant
> > > > or removing the 1.5 class library stuff from libgcj?
> > > 
> > > Suggest we patch ant to use System.getProperty("java.version")
> > > and push that patch upstream.
> > 
> > Presumably there's a reason they don't already do this.
> 
> I looked at the history of that file, and they have never done this.
> There's no explanation as to why.

The version detection was moved from org.apache.tools.ant.Project,
where it has been since the initial CVS import over six years ago.
I guess the reason for it is lost in the mists of time...

Cheers,
Gary


[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux