Hi Stefan,

Thanks, my eclipse is now perfectly configured.
It makes it very easy for amateurs like me!

For other amateurs the steps are:
1. checkout the sources:
    *svn checkout
https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_1/*
2. the root folder (lucene_solr_3_1 in this example) contains a special
build.xml to create project settings for either eclipse or IntelliJ
IDEA. (it is not the build.xml in the solr subfolder that compiles
tomcat/jetty)
   run:  *ant eclipse*
3. Create a new Eclipse Java project, we need to specify an external folder.
    GALILEO: "Create project from existing source"
    HELIOS: Unclick "Use Default Location"
    *Select the root svn folder *(lucene_solr_3_1)
    Click finish and you should have solr configured in eclipse!

Regards
Ericz

On Tue, Apr 5, 2011 at 11:34 PM, Stefan Matheis <
matheis.ste...@googlemail.com> wrote:

> Eric,
>
> have a look at Line #67 in build.xml :)
> <target name="eclipse" description="Setup Eclipse configuration -- Only
> available with SVN checkout">
>
> Regards
> Stefan
>
> Am 06.04.2011 00:28, schrieb Eric Grobler:
>
>  Hi Robert,
>>
>> Thanks for the fast response!
>>
>> I used
>> https://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_3_1/
>> but did not find 'ant eclipse'.
>>
>> However setting my projects Resouce encoding to UTF-8 worked.
>>
>> Thanks for your help and have a nice day :-)
>>
>> Regards
>> Ericz
>>
>> On Tue, Apr 5, 2011 at 11:14 PM, Robert Muir<rcm...@gmail.com>  wrote:
>>
>>  in eclipse you need to set your project's character encoding to UTF-8.
>>>
>>> if you are checking out the source code from svn, you can run 'ant
>>> eclipse'
>>> from the top level, and then hit refresh on your project. it will set
>>> your
>>> encoding and your classpath up.
>>>
>>> On Tue, Apr 5, 2011 at 6:10 PM, Eric Grobler<impalah...@googlemail.com
>>>
>>>> wrote:
>>>>
>>>
>>>  Hi Everyone,
>>>>
>>>> Some language specific classes like GermanLightStemmer has invalid
>>>> character
>>>> compiler errors for code like:
>>>>      switch(s[i]) {
>>>>        case 'ä':
>>>>        case 'Ã ':
>>>>        case 'á':
>>>> in Eclipse with JDK 1.6
>>>>
>>>> How do I get rid of these errors?
>>>> Thanks&  Regards
>>>>
>>>> Ericz
>>>>
>>>>
>>>
>>

Reply via email to