RE: OPENNLP current patch compiling problem for 4.x branch

2013-05-28 Thread Patrick Mi
Thanks Steve, that worked for branch_4x 

-Original Message-
From: Steve Rowe [mailto:sar...@gmail.com] 
Sent: Friday, 24 May 2013 3:19 a.m.
To: solr-user@lucene.apache.org
Subject: Re: OPENNLP current patch compiling problem for 4.x branch

Hi Patrick,

I think you should check out and apply the patch to branch_4x, rather than
the lucene_solr_4_3_0 tag:

http://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x

Steve

On May 23, 2013, at 2:08 AM, Patrick Mi patrick...@touchpointgroup.com
wrote:

 Hi,
 
 I checked out from here
 http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_3_0 and
 downloaded the latest patch LUCENE-2899-current.patch.
 
 Applied the patch ok but when I did 'ant compile' I got the following
error:
 
 
 ==
[javac]

/home/lucene_solr_4_3_0/lucene/analysis/opennlp/src/java/org/apache/lucene/a
 nalysis/opennlp/FilterPayloadsFilter.java:43: error
 r: cannot find symbol
[javac] super(Version.LUCENE_44, input);
[javac]  ^
[javac]   symbol:   variable LUCENE_44
[javac]   location: class Version
[javac] 1 error
 ==
 
 Compiled it on trunk without problem.
 
 Is this patch supposed to work for 4.X?
 
 Regards,
 Patrick 
 



OPENNLP current patch compiling problem for 4.x branch

2013-05-23 Thread Patrick Mi
Hi,

I checked out from here
http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_3_0 and
downloaded the latest patch LUCENE-2899-current.patch.

Applied the patch ok but when I did 'ant compile' I got the following error:


==
[javac]
/home/lucene_solr_4_3_0/lucene/analysis/opennlp/src/java/org/apache/lucene/a
nalysis/opennlp/FilterPayloadsFilter.java:43: error
r: cannot find symbol
[javac] super(Version.LUCENE_44, input);
[javac]  ^
[javac]   symbol:   variable LUCENE_44
[javac]   location: class Version
[javac] 1 error
==

Compiled it on trunk without problem.

Is this patch supposed to work for 4.X?

Regards,
Patrick 



Re: OPENNLP current patch compiling problem for 4.x branch

2013-05-23 Thread Erick Erickson
by definition, there is no LUCENE_44 constant in a 4.3
distro! Just change it to LUCENE_43 (or whatever you find
in the Version class that suits your needs) or try this on a
4.x checkout.

Best
Erick

On Thu, May 23, 2013 at 2:08 AM, Patrick Mi
patrick...@touchpointgroup.com wrote:
 Hi,

 I checked out from here
 http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_3_0 and
 downloaded the latest patch LUCENE-2899-current.patch.

 Applied the patch ok but when I did 'ant compile' I got the following error:


 ==
 [javac]
 /home/lucene_solr_4_3_0/lucene/analysis/opennlp/src/java/org/apache/lucene/a
 nalysis/opennlp/FilterPayloadsFilter.java:43: error
 r: cannot find symbol
 [javac] super(Version.LUCENE_44, input);
 [javac]  ^
 [javac]   symbol:   variable LUCENE_44
 [javac]   location: class Version
 [javac] 1 error
 ==

 Compiled it on trunk without problem.

 Is this patch supposed to work for 4.X?

 Regards,
 Patrick



Re: OPENNLP current patch compiling problem for 4.x branch

2013-05-23 Thread Steve Rowe
Hi Patrick,

I think you should check out and apply the patch to branch_4x, rather than the 
lucene_solr_4_3_0 tag:

http://svn.apache.org/repos/asf/lucene/dev/branches/branch_4x

Steve

On May 23, 2013, at 2:08 AM, Patrick Mi patrick...@touchpointgroup.com wrote:

 Hi,
 
 I checked out from here
 http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_3_0 and
 downloaded the latest patch LUCENE-2899-current.patch.
 
 Applied the patch ok but when I did 'ant compile' I got the following error:
 
 
 ==
[javac]
 /home/lucene_solr_4_3_0/lucene/analysis/opennlp/src/java/org/apache/lucene/a
 nalysis/opennlp/FilterPayloadsFilter.java:43: error
 r: cannot find symbol
[javac] super(Version.LUCENE_44, input);
[javac]  ^
[javac]   symbol:   variable LUCENE_44
[javac]   location: class Version
[javac] 1 error
 ==
 
 Compiled it on trunk without problem.
 
 Is this patch supposed to work for 4.X?
 
 Regards,
 Patrick