Re: [Spacewalk-devel] Java 6 or Java 5? for spacewalk

2008-10-14 Thread Jan Pazdziora
On Sun, Oct 12, 2008 at 09:23:50AM +0200, Jan Pazdziora wrote:
> On Sun, Oct 12, 2008 at 02:55:11AM -0400, Partha Aji wrote:
> >
> > Recently I caused a couple of compile errors on Spacewalk... Basically  
> > my eclipse project has the compiler setting = Java 6. As a side effect  
> > of this when I have a class implement an interface the @Override tag  
> > gets inserted automatically.. Now this is perfectly good for java 6 or  
> > open jdk, but java 5 it breaks :(. Considering that we are shipping our  
> > current jars using stuff compiled with open jdk, is there any point in  
> > ensuring compatibility with java 5?...
> 
> You want to be able to compile the thing with 1.5.0 and not rely
> on 1.6.0 because there is no s390x version of EPEL 5. If you mandate
> the use of 1.6.0, you will make it harder for Red Hat when they decide
> to build Satellite out of Spacewalk.

Milan now pointed out that Satellite will likely be able to use
1.6.0 from IBM. So unless you do something Open JDK-specific, you
should be safe with Java 6.

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Java 6 or Java 5? for spacewalk

2008-10-12 Thread Partha Aji

Thanks Jan :)... Changed my project settings to Java 5 :)

Jan Pazdziora wrote:

On Sun, Oct 12, 2008 at 02:55:11AM -0400, Partha Aji wrote:
Recently I caused a couple of compile errors on Spacewalk... Basically  
my eclipse project has the compiler setting = Java 6. As a side effect  
of this when I have a class implement an interface the @Override tag  
gets inserted automatically.. Now this is perfectly good for java 6 or  
open jdk, but java 5 it breaks :(. Considering that we are shipping our  
current jars using stuff compiled with open jdk, is there any point in  
ensuring compatibility with java 5?...


You want to be able to compile the thing with 1.5.0 and not rely
on 1.6.0 because there is no s390x version of EPEL 5. If you mandate
the use of 1.6.0, you will make it harder for Red Hat when they decide
to build Satellite out of Spacewalk.



___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Java 6 or Java 5? for spacewalk

2008-10-12 Thread Jesus M. Rodriguez
On Sun, Oct 12, 2008 at 2:55 AM, Partha Aji <[EMAIL PROTECTED]> wrote:
>
> Recently I caused a couple of compile errors on Spacewalk... Basically my
> eclipse project has the compiler setting = Java 6. As a side effect of this
> when I have a class implement an interface the @Override tag gets inserted
> automatically.. Now this is perfectly good for java 6 or open jdk, but java
> 5 it breaks :(. Considering that we are shipping our current jars using
> stuff compiled with open jdk, is there any point in ensuring compatibility
> with java 5?...
>

I say set it to Java 5.

jesus

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] Java 6 or Java 5? for spacewalk

2008-10-12 Thread Jan Pazdziora
On Sun, Oct 12, 2008 at 02:55:11AM -0400, Partha Aji wrote:
>
> Recently I caused a couple of compile errors on Spacewalk... Basically  
> my eclipse project has the compiler setting = Java 6. As a side effect  
> of this when I have a class implement an interface the @Override tag  
> gets inserted automatically.. Now this is perfectly good for java 6 or  
> open jdk, but java 5 it breaks :(. Considering that we are shipping our  
> current jars using stuff compiled with open jdk, is there any point in  
> ensuring compatibility with java 5?...

You want to be able to compile the thing with 1.5.0 and not rely
on 1.6.0 because there is no s390x version of EPEL 5. If you mandate
the use of 1.6.0, you will make it harder for Red Hat when they decide
to build Satellite out of Spacewalk.

-- 
Jan Pazdziora | adelton at #satellite*, #brno
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


[Spacewalk-devel] Java 6 or Java 5? for spacewalk

2008-10-11 Thread Partha Aji


Recently I caused a couple of compile errors on Spacewalk... Basically 
my eclipse project has the compiler setting = Java 6. As a side effect 
of this when I have a class implement an interface the @Override tag 
gets inserted automatically.. Now this is perfectly good for java 6 or 
open jdk, but java 5 it breaks :(. Considering that we are shipping our 
current jars using stuff compiled with open jdk, is there any point in 
ensuring compatibility with java 5?...



Partha

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel