You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Eric Grobler <im...@googlemail.com> on 2011/02/01 23:59:29 UTC

Solr and Eclipse

Hi

I am a newbie and I am trying to run solr in eclipse.

>From this url
http://wiki.apache.org/solr/HowToContribute#Development_Environment_Tips
there is a subclipse example:

I use Team -> Share Project and this url:
  http://svn.apache.org/repos/asf/lucene/dev/trunk

but I get a "access forbidden for unknown reason error"

I assume using readonly http I do not need credentials?

Also, would it make more sense to rather checkout the project with
the command-line svn and in Eclipse use
"Create project from existing source"?


Thanks
Ericz

Re: Solr and Eclipse

Posted by Erlend Garåsen <e....@usit.uio.no>.
Try to run the "svn co" command by using the console (in case you're 
running a UNIX-like OS). Add the following files for Solr (.project and 
.classpath) into your the solr folder:
http://markmail.org/message/yb5qgeamosvdscao

Then do an "import as an existing project" in Eclipse, and you're done.

Erlend

On 01.02.11 23.59, Eric Grobler wrote:
> Hi
>
> I am a newbie and I am trying to run solr in eclipse.
>
>  From this url
> http://wiki.apache.org/solr/HowToContribute#Development_Environment_Tips
> there is a subclipse example:
>
> I use Team ->  Share Project and this url:
>    http://svn.apache.org/repos/asf/lucene/dev/trunk
>
> but I get a "access forbidden for unknown reason error"
>
> I assume using readonly http I do not need credentials?
>
> Also, would it make more sense to rather checkout the project with
> the command-line svn and in Eclipse use
> "Create project from existing source"?
>
>
> Thanks
> Ericz
>


-- 
Erlend Garåsen
Center for Information Technology Services
University of Oslo
P.O. Box 1086 Blindern, N-0317 OSLO, Norway
Ph: (+47) 22840193, Fax: (+47) 22852970, Mobile: (+47) 91380968, VIP: 31050

Re: Solr and Eclipse

Posted by Eric Grobler <im...@googlemail.com>.
> I only use eclipse as a fancy text editor!
Eclipse will feed insulted :-)

I will just try to create hot keys to start/stop jetty manually.
Thanks for your feedback

Regards
Ericz


On Wed, Feb 2, 2011 at 4:26 PM, Robert Muir <rc...@gmail.com> wrote:

> On Wed, Feb 2, 2011 at 11:15 AM, Eric Grobler <im...@googlemail.com>
> wrote:
> >> I always use New...Other...SVN...Checkout Projects from SVN
> >
> > And how do run in eclipse jetty in the example folder?
> >
>
> you can always go to the commandline and use the usual techniques,
> e.g. ant run-example, or java -jar start.jar from the example
> folder... this is what i do, sorry I don't have a better suggestion, I
> only use eclipse as a fancy text editor!
>

Re: Solr and Eclipse

Posted by Robert Muir <rc...@gmail.com>.
On Wed, Feb 2, 2011 at 11:15 AM, Eric Grobler <im...@googlemail.com> wrote:
>> I always use New...Other...SVN...Checkout Projects from SVN
>
> And how do run in eclipse jetty in the example folder?
>

you can always go to the commandline and use the usual techniques,
e.g. ant run-example, or java -jar start.jar from the example
folder... this is what i do, sorry I don't have a better suggestion, I
only use eclipse as a fancy text editor!

Re: Solr and Eclipse

Posted by Eric Grobler <im...@googlemail.com>.
> I always use New...Other...SVN...Checkout Projects from SVN

And how do run in eclipse jetty in the example folder?

Thanks for your help
Ericz


On Wed, Feb 2, 2011 at 12:43 PM, Robert Muir <rc...@gmail.com> wrote:

> On Tue, Feb 1, 2011 at 5:59 PM, Eric Grobler <im...@googlemail.com>
> wrote:
> > Hi
> >
> > I am a newbie and I am trying to run solr in eclipse.
> >
> > From this url
> > http://wiki.apache.org/solr/HowToContribute#Development_Environment_Tips
> > there is a subclipse example:
> >
> > I use Team -> Share Project and this url:
> >  http://svn.apache.org/repos/asf/lucene/dev/trunk
> >
> > but I get a "access forbidden for unknown reason error"
> >
> > I assume using readonly http I do not need credentials?
> >
> > Also, would it make more sense to rather checkout the project with
> > the command-line svn and in Eclipse use
> > "Create project from existing source"?
> >
>
> I always use New...Other...SVN...Checkout Projects from SVN
>

Re: Solr and Eclipse

Posted by Eric Grobler <im...@googlemail.com>.
> I always use New...Other...SVN...Checkout Projects from SVN

Thanks, that seemed to work perfectly :-)

On Wed, Feb 2, 2011 at 12:43 PM, Robert Muir <rc...@gmail.com> wrote:

> On Tue, Feb 1, 2011 at 5:59 PM, Eric Grobler <im...@googlemail.com>
> wrote:
> > Hi
> >
> > I am a newbie and I am trying to run solr in eclipse.
> >
> > From this url
> > http://wiki.apache.org/solr/HowToContribute#Development_Environment_Tips
> > there is a subclipse example:
> >
> > I use Team -> Share Project and this url:
> >  http://svn.apache.org/repos/asf/lucene/dev/trunk
> >
> > but I get a "access forbidden for unknown reason error"
> >
> > I assume using readonly http I do not need credentials?
> >
> > Also, would it make more sense to rather checkout the project with
> > the command-line svn and in Eclipse use
> > "Create project from existing source"?
> >
>
> I always use New...Other...SVN...Checkout Projects from SVN
>

Re: Solr and Eclipse

Posted by Robert Muir <rc...@gmail.com>.
On Tue, Feb 1, 2011 at 5:59 PM, Eric Grobler <im...@googlemail.com> wrote:
> Hi
>
> I am a newbie and I am trying to run solr in eclipse.
>
> From this url
> http://wiki.apache.org/solr/HowToContribute#Development_Environment_Tips
> there is a subclipse example:
>
> I use Team -> Share Project and this url:
>  http://svn.apache.org/repos/asf/lucene/dev/trunk
>
> but I get a "access forbidden for unknown reason error"
>
> I assume using readonly http I do not need credentials?
>
> Also, would it make more sense to rather checkout the project with
> the command-line svn and in Eclipse use
> "Create project from existing source"?
>

I always use New...Other...SVN...Checkout Projects from SVN