agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] build broken in CVS
8+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] build broken in CVS
@ 2010-11-11 16:37  
  0 siblings, 1 reply; 8+ messages in thread

From:  @ 2010-11-11 16:37 UTC (permalink / raw)

Is it just me, or is the build broken in CVS? ?I don't know why the -source and -target are set to 1.4 when we were moving everything to 1.6 and JDBC4. ?Is there some configuration I need to fix to get this building?
nathan at neso ~/cvs/org.postgresql.pljava $ makemake[1]: Entering directory `/home/nathan/cvs/org.postgresql.pljava/build/classes/pljava'javac -source 1.4 -target 1.4 -d . <java sources>/home/nathan/cvs/org.postgresql.pljava/src/java/pljava/org/postgresql/pljava/jdbc/SPIStatement.java:422: generics are not supported in -source 1.4(use -source 5 or higher to enable generics)?? ? ? ?public boolean isWrapperFor(Class<?> iface)?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^/home/nathan/cvs/org.postgresql.pljava/src/java/pljava/org/postgresql/pljava/jdbc/SPIConnection.java:943: generics are not supported in -source 1.4(use -source 5 or higher to enable generics)?? ? ? ?public boolean isWrapperFor(Class<?> iface)?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^/home/nathan/cvs/org.postgresql.pljava/src/java/pljava/org/postgresql/pljava/jdbc/AbstractResultSet.java:690: generics are not supported in -source 1.4(use -source 5
 or higher to enable generics)?? ? ? ?public boolean isWrapperFor(Class<?> iface)?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ^3 errorsmake[1]: *** [.timestamp] Error 1make[1]: Leaving directory `/home/nathan/cvs/org.postgresql.pljava/build/classes/pljava'make: *** [pljava_all] Error 2



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pgfoundry.org/pipermail/pljava-dev/attachments/20101111/7536adce/attachment.html;



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* [Pljava-dev] build broken in CVS
@ 2010-11-11 18:03  
  parent: 
  0 siblings, 1 reply; 8+ messages in thread

From:  @ 2010-11-11 18:03 UTC (permalink / raw)



On Thu, 11 Nov 2010, Nathan Egge wrote:

> Is it just me, or is the build broken in CVS? ?I don't know why the -source
> and -target are set to 1.4 when we were moving everything to 1.6 and JDBC4.
> ?Is there some configuration I need to fix to get this building?

CVS is pretty busted at the moment.  You can edit src/java/Makefile.global 
to get rid of the -source and -target options, but it still won't build. 
Apparently the approach taken to getting pljava to JDBC4 has been to fix a 
file at a time.  This is a poor approach because the time between the 
first file change and the last one means that it can't be built with 
either a new or old JDK.  This switch really needs to happen in a single 
commit, not over the course of many.  I'll let Johann comment, but perhaps 
it would be best to revert until full support is available.

Kris Jurka



^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* [Pljava-dev] build broken in CVS
@ 2010-11-11 20:08  
  parent: 
  0 siblings, 1 reply; 8+ messages in thread

From:  @ 2010-11-11 20:08 UTC (permalink / raw)

On Thu, Nov 11, 2010 at 6:03 PM, Kris Jurka <books at ejurka.com> wrote:
>
>
> On Thu, 11 Nov 2010, Nathan Egge wrote:
>
>> Is it just me, or is the build broken in CVS? ?I don't know why the
>> -source
>> and -target are set to 1.4 when we were moving everything to 1.6 and
>> JDBC4.
>> ?Is there some configuration I need to fix to get this building?
>
> CVS is pretty busted at the moment. ?You can edit src/java/Makefile.global
> to get rid of the -source and -target options, but it still won't build.
> Apparently the approach taken to getting pljava to JDBC4 has been to fix a
> file at a time. ?This is a poor approach because the time between the first
> file change and the last one means that it can't be built with either a new
> or old JDK. ?This switch really needs to happen in a single commit, not over
> the course of many. ?I'll let Johann comment, but perhaps it would be best
> to revert until full support is available.

Yes, that's my fault.  I wasn't thinking, sorry about that.  It's
probably simplest to revert all files that don't compile with Java 1.4
and 1.5.  IIRC they are not that many.

If no one has stepped up and done that, I'll try and take a look later
this evening.


Johann




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* [Pljava-dev] build broken in CVS
@ 2010-11-12 01:35  
  parent: 
  0 siblings, 1 reply; 8+ messages in thread

From:  @ 2010-11-12 01:35 UTC (permalink / raw)

On Thu, Nov 11, 2010 at 8:08 PM, Johann 'Myrkraverk' Oskarsson
<johann at myrkraverk.com> wrote:
> On Thu, Nov 11, 2010 at 6:03 PM, Kris Jurka <books at ejurka.com> wrote:

> If no one has stepped up and done that, I'll try and take a look later
> this evening.

It's too late for me to take a look now.  I'll do that in the morning.


Johann




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* [Pljava-dev] build broken in CVS
@ 2010-11-14 00:18  
  parent: 
  0 siblings, 1 reply; 8+ messages in thread

From:  @ 2010-11-14 00:18 UTC (permalink / raw)

Dear pljava members,

Sorry about the delay, HEAD should now work as expected and compile
with Java 1.4.

Please let me know if there are further issues.


Enjoy,

Johann




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* [Pljava-dev] build broken in CVS
@ 2010-11-14 00:25  
  parent: 
  0 siblings, 1 reply; 8+ messages in thread

From:  @ 2010-11-14 00:25 UTC (permalink / raw)

On Sun, Nov 14, 2010 at 12:18 AM, Johann 'Myrkraverk' Oskarsson
<johann at myrkraverk.com> wrote:
> Dear pljava members,
>
> Sorry about the delay, HEAD should now work as expected and compile
> with Java 1.4.

Furthermore, my Java 6 changes are now in a branch called java6.


Johann




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* [Pljava-dev] build broken in CVS
@ 2010-11-15 15:57  
  parent: 
  0 siblings, 1 reply; 8+ messages in thread

From:  @ 2010-11-15 15:57 UTC (permalink / raw)

On Sunday, November 14, 2010 01:25:18 am Johann 'Myrkraverk' Oskarsson's cat 
walking on the keyboard wrote:

> Furthermore, my Java 6 changes are now in a branch called java6.

Thanks for your efforts.
I'm curious if there is a roadmap published, maybe I can find some time to help 
coding.

Luca




^ permalink  raw  reply  [nested|flat] 8+ messages in thread

* [Pljava-dev] build broken in CVS
@ 2010-11-15 16:39  
  parent: 
  0 siblings, 0 replies; 8+ messages in thread

From:  @ 2010-11-15 16:39 UTC (permalink / raw)

On Mon, Nov 15, 2010 at 3:57 PM, Luca Ferrari <fluca1978 at infinito.it> wrote:
> On Sunday, November 14, 2010 01:25:18 am Johann 'Myrkraverk' Oskarsson's cat
> walking on the keyboard wrote:
>
>> Furthermore, my Java 6 changes are now in a branch called java6.
>
> Thanks for your efforts.
> I'm curious if there is a roadmap published, maybe I can find some time to help
> coding.

At the moment, there isn't one, really.  I had a plan that
unfortunately didn't work out.  I'm still just taking it one file at
time to make it compile with Java 6.

You can try checking out the java6 tag and see if you can get one file
to compile without errors.  I'll try to do one today, if I can.


Johann




^ permalink  raw  reply  [nested|flat] 8+ messages in thread


end of thread, other threads:[~2010-11-15 16:39 UTC | newest]

Thread overview: 8+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2010-11-11 16:37 [Pljava-dev] build broken in CVS 
2010-11-11 18:03 ` 
2010-11-11 20:08   ` 
2010-11-12 01:35     ` 
2010-11-14 00:18       ` 
2010-11-14 00:25         ` 
2010-11-15 15:57           ` 
2010-11-15 16:39             ` 

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox