You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by Thorsten Scherler <th...@apache.org> on 2007/01/17 00:30:52 UTC

Java version for solr development (was Re: Update Plugins)

On Tue, 2007-01-16 at 15:49 -0500, Yonik Seeley wrote:
> On 1/16/07, J.J. Larrea <jj...@panix.com> wrote:
> > - Revise the XML-based update code (broken out of SolrCore into a RequestHandler) to use all the above.
> 
> +++1, that's been needed forever.
> If one has the time, I'd also advocate moving to StAX (via woodstox
> for Java5, but it's built into Java6).

I was up to have a look on this. Seeing this comment makes me think.

I am on 1.5 ATM and using 
|-- stax-1.2.0-dev.jar
`-- stax-utils.jar

Two more dependencies. Setting min version 
 <!-- Java Version we are compatible with -->
  <property name="java.compat.version" value="1.6" />
would get rid of this.

Should I use 1.6 for a patch or above mentioned libs?

wdyt?

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)




Re: Java version for solr development (was Re: Update Plugins)

Posted by Walter Underwood <wu...@netflix.com>.
On 1/16/07 8:03 PM, "Yonik Seeley" <yo...@apache.org> wrote:

> I think it's a bit soon to move to 1.6 - I don't know how many
> platforms it's available for yet.

It is still in "early release" from IBM for their PowerPC
servers, so requiring 1.6 would be a serious problem for us.

wunder
-- 
Walter Underwood
Search Guru, Netflix



Re: Java version for solr development (was Re: Update Plugins)

Posted by Yonik Seeley <yo...@apache.org>.
On 1/16/07, Thorsten Scherler <th...@apache.org> wrote:
> I am on 1.5 ATM and using
> |-- stax-1.2.0-dev.jar
> `-- stax-utils.jar

I don't know where those jars are from, but I guess one would need the
stax API jar, and the implementation (woodstox I would think) jar.
That's two jars instead of one, but they could go away with a move to Java6.
The API is likely to have a much longer lifetime too.

> Two more dependencies. Setting min version
>  <!-- Java Version we are compatible with -->
>   <property name="java.compat.version" value="1.6" />
> would get rid of this.
>
> Should I use 1.6 for a patch or above mentioned libs?

I think it's a bit soon to move to 1.6 - I don't know how many
platforms it's available for yet.

-Yonik

Re: Java version for solr development (was Re: Update Plugins)

Posted by Bill Au <bi...@gmail.com>.
I also think it is too early to move to 1.6.  Only Sun has released their
1.6 JVM.

Bill


On 1/17/07, Bertrand Delacretaz <bd...@apache.org> wrote:
>
> On 1/17/07, Thorsten Scherler <th...@apache.org> wrote:
>
> > ...Should I use 1.6 for a patch or above mentioned libs?...
>
> IMHO moving to 1.6 is way too soon, and if it's only to save two jars
> it's not worth it.
>
> -Bertrand
>

Re: Java version for solr development (was Re: Update Plugins)

Posted by Bertrand Delacretaz <bd...@apache.org>.
On 1/17/07, Thorsten Scherler <th...@apache.org> wrote:

> ...Should I use 1.6 for a patch or above mentioned libs?...

IMHO moving to 1.6 is way too soon, and if it's only to save two jars
it's not worth it.

-Bertrand