[Scons-users] JDK 1.7 support?

Peter Steele pwsteele at gmail.com
Thu Sep 6 13:35:29 EDT 2012


I'll at least file a bug, but when I get a window in my dev time I'll check
out the source as well. We're considering moving our ant scripts over to
scons and this was the first problem I encountered. Hopefully it will be the
last as well.



Peter



From: scons-users-bounces at scons.org [mailto:scons-users-bounces at scons.org]
On Behalf Of William Deegan
Sent: Thursday, September 06, 2012 9:18 AM
To: SCons users mailing list
Subject: Re: [Scons-users] JDK 1.7 support?



Peter,



On Sep 6, 2012, at 6:53 AM, Peter Steele <pwsteele at gmail.com> wrote:





I just tried to build our Java project with scons and it complained that JDK
1.7 isn't supported. Is this for real or is this "user error"? My SConscript
looks like this:



import os



TOT = os.environ["TOT"]



env = Environment(

JAVACLASSPATH = [

.

],

JAVAVERSION = "1.7"

)



env.Java('bin', 'src')



The error I got was:



NotImplementedError: Java version 1.7 not supported:



Please file a bug (or even better a fix) at scons.tigris.org. We'll try to
get some support in the next release.



It may be as simple as just adding the version string into the list of
supported versions which is in the following file:



<https://bitbucket.org/scons/scons/history/src/engine/SCons/Tool/JavaCommon.
py> SCons/Tool/JavaCommon.py




I believe we actually have a patch in the queue which may resolve this.

You also could try downloading a package from.

https://bitbucket.org/dirkbaechle/scons/changesets/tip/branch(%22default%22)




-Bill

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://four.pairlist.net/pipermail/scons-users/attachments/20120906/093cc44b/attachment.html>


More information about the Scons-users mailing list