Re: SPI (jcr2spi) vs JDK 1.5

2006-10-09 Thread Nicolas
Thanks for your answer Julian. It explains really well the issue I encountered (I didn't dig it further as I explained since turning the support for 1.5 was working fine). BR Nico my blog! http://www.deviant-abstraction.net !!

Re: SPI (jcr2spi) vs JDK 1.5

2006-10-09 Thread Julian Reschke
Nicolas schrieb: Sorry, there is a misunderstanding. Of course, everybody (even me) know assertions were introduced in Java 1.4. That is not the issue. Actually, I forgot (and whas mislead by Eclipse). The issue is: JR doesn't build with Eclipse JDK 1.4 support enabled. You need to switch it

Re: SPI (jcr2spi) vs JDK 1.5

2006-10-09 Thread Nicolas
Sorry, there is a misunderstanding. Of course, everybody (even me) know assertions were introduced in Java 1.4. That is not the issue. The issue is: JR doesn't build with Eclipse JDK 1.4 support enabled. You need to switch it to 1.5. It seems related to assertion (which is strange since as you s

Re: SPI (jcr2spi) vs JDK 1.5

2006-10-09 Thread Tobias Bocanegra
no offense but imo java developers should know what features and language extensions were introduced in the respective jdk releases. also see: http://java.sun.com/j2se/1.5.0/docs/guide/language/ http://java.sun.com/j2se/1.4.2/docs/guide/lang/index.html btw: http://jackrabbit.apache.org/doc/build

Re: SPI (jcr2spi) vs JDK 1.5

2006-10-09 Thread Nicolas
Hi, About this issue, it is trivial, but each time I invite someone to try JR at my company, I got this question. It might be useful to write this info somewhere :) On 10/6/06, Julian Reschke <[EMAIL PROTECTED]> wrote: Tobias Bocanegra schrieb: > assertions were introduced in jdk1.4 > > http:/

Re: SPI (jcr2spi) vs JDK 1.5

2006-10-06 Thread Julian Reschke
Tobias Bocanegra schrieb: assertions were introduced in jdk1.4 http://java.sun.com/j2se/1.4.2/docs/guide/lang/assert.html Oh well :-( Obviously Eclipse was checking for 1.3 source compliance by default. Sorry for the embarrassing question. Best regards, Julian

Re: SPI (jcr2spi) vs JDK 1.5

2006-10-06 Thread Tobias Bocanegra
assertions were introduced in jdk1.4 http://java.sun.com/j2se/1.4.2/docs/guide/lang/assert.html On 10/6/06, Julian Reschke <[EMAIL PROTECTED]> wrote: Hi, I just noticed that parts of jcr2spi require JDK 1.5 (for "assert", such as in TransientRepository.java). This would be a problem for me in

SPI (jcr2spi) vs JDK 1.5

2006-10-06 Thread Julian Reschke
Hi, I just noticed that parts of jcr2spi require JDK 1.5 (for "assert", such as in TransientRepository.java). This would be a problem for me in practice, because (right now) the intended target platform for what I'm working on is JDK 1.4. So could we avoid these dependencies, or do I need t