[VOTE] Require Java 5 (or later) compiler to build Derby

2007-09-26 Thread Rick Hillegas
Please vote on whether we should require that developers use a Java 5 (or later) compiler in order to build Derby. This means that the shell window running the build should have its JAVA_HOME pointed at a Java 5 or later jdk and the corresponding javac should be what's visible on PATH. The prac

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-09-26 Thread Knut Anders Hatlen
Rick Hillegas <[EMAIL PROTECTED]> writes: > Please vote on whether we should require that developers use a Java 5 > (or later) compiler in order to build Derby. +1 -- Knut Anders

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-09-26 Thread Rick Hillegas
+1 Rick Hillegas wrote: Please vote on whether we should require that developers use a Java 5 (or later) compiler in order to build Derby. This means that the shell window running the build should have its JAVA_HOME pointed at a Java 5 or later jdk and the corresponding javac should be what's

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-09-26 Thread Mike Matrigali
If I only have jdk1.5 environment will the build succeed, and if so will it identify if I have somehow used a jdk1.5 specific library function in a "non-optional" part of the code? How is optional vs. non-optional code specified? Is this an ant xml file property in the directory for the code?

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-09-26 Thread David Van Couvering
+1 On 9/26/07, Rick Hillegas <[EMAIL PROTECTED]> wrote: > +1 > > Rick Hillegas wrote: > > Please vote on whether we should require that developers use a Java 5 > > (or later) compiler in order to build Derby. This means that the shell > > window running the build should have its JAVA_HOME pointed

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-09-26 Thread Rick Hillegas
Mike Matrigali wrote: If I only have jdk1.5 environment will the build succeed, and if so will it identify if I have somehow used a jdk1.5 specific library function in a "non-optional" part of the code? Hi Mike, You will still need jdk 1.4 and you will still need to set j14lib in your ant.prop

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-09-26 Thread Andrew McIntyre
On 9/26/07, Rick Hillegas <[EMAIL PROTECTED]> wrote: > Mike Matrigali wrote: > > If I only have jdk1.5 environment will the build succeed, and if so will > > it identify if I have somehow used a jdk1.5 specific library function in > > a "non-optional" part of the code? > Hi Mike, > > You will still

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-09-26 Thread Rick Hillegas
Andrew McIntyre wrote: On 9/26/07, Rick Hillegas <[EMAIL PROTECTED]> wrote: Mike Matrigali wrote: If I only have jdk1.5 environment will the build succeed, and if so will it identify if I have somehow used a jdk1.5 specific library function in a "non-optional" part of the code?

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-09-26 Thread Dag H. Wanvik
+1 Dag

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-10-02 Thread Dyre . Tjeldvoll
Rick Hillegas <[EMAIL PROTECTED]> writes: > Please vote on whether we should require that developers use a Java 5 > (or later) compiler in order to build Derby. This means that the shell > window running the build should have its JAVA_HOME pointed at a Java 5 > or later jdk and the corresponding j

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-10-03 Thread Daniel John Debrunner
Rick Hillegas <[EMAIL PROTECTED]> writes: Please vote on whether we should require that developers use a Java 5 (or later) compiler in order to build Derby. This means that the shell window running the build should have its JAVA_HOME pointed at a Java 5 or later jdk and the corresponding javac s

[RESULT] [VOTE] Require Java 5 (or later) compiler to build Derby

2007-10-03 Thread Rick Hillegas
The polls have closed. The developer community has approved requiring that developers use a Java 5 or later compiler in order to build Derby. +1 votes: Knut Anders Hatlen Rick Hillegas David Van Couvering Dag Wanvik Dyre Tjeldvoll Dan Debrunner No other votes were cast. Regards, -Rick Rick

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-10-04 Thread Thomas Nielsen
Daniel John Debrunner wrote: Seems that it might be possible with this to start using some 1.5 language constructs in Derby's code: those that compile down to standard byte code. This would be by using -source 1.5 -target 1.4 in the build.xml files. Be *very* careful about what 1.5 language f

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-10-04 Thread Bryan Pendleton
Seems that it might be possible with this to start using some 1.5 language constructs in Derby's code: those that compile down to standard byte code. This would be by using -source 1.5 -target 1.4 in the build.xml files. Be *very* careful about what 1.5 language features you start using in yo

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-10-04 Thread Daniel John Debrunner
Thomas Nielsen wrote: Daniel John Debrunner wrote: Seems that it might be possible with this to start using some 1.5 language constructs in Derby's code: those that compile down to standard byte code. This would be by using -source 1.5 -target 1.4 in the build.xml files. Be *very* careful ab

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-10-04 Thread Daniel John Debrunner
Daniel John Debrunner wrote: Thomas Nielsen wrote: Daniel John Debrunner wrote: Seems that it might be possible with this to start using some 1.5 language constructs in Derby's code: those that compile down to standard byte code. This would be by using -source 1.5 -target 1.4 in the build.xml

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-10-10 Thread Dag H. Wanvik
Daniel John Debrunner <[EMAIL PROTECTED]> writes: > Never mind: > >> $JAVA_HOME/bin/javac -target 1.4 -source 1.5 > javac: source release 1.5 requires target release 1.5 It seems -target jsr14 is not officially supported for the Sun JDK, at least it is not listed in the javac documentation as a

Re: [VOTE] Require Java 5 (or later) compiler to build Derby

2007-10-10 Thread Thomas Nielsen
Dag H. Wanvik wrote: It seems -target jsr14 is not officially supported for the Sun JDK, at least it is not listed in the javac documentation as a valid target: http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html#options True. From what I can tell -target jsr14 was introduced dur