I dont want to change solr just extend it, but it would be nice to have the source code on the project so that I can debug it in Netbeans. Do I need to include jetty too? By the way (this is a little off-topic sorry) do you know any site that explains how maven works in a straight-forward way? All this magic is a little confusing sometimes...
Regards Bruno On Fri, Aug 23, 2013 at 5:46 PM, Brendan Grainger < brendan.grain...@gmail.com> wrote: > You want to change the solr source code itself or you want to create your > own Tokenizers and things? If the later why not just set up solr as a > dependency in your pom.xml like so: > > <dependency> > > <groupId>org.apache.lucene</groupId> > > <artifactId>lucene-test-framework</artifactId> > > <scope>test</scope> > > <version>${solr.version}</version> > > </dependency> > > > <dependency> > > <groupId>org.apache.solr</groupId> > > <artifactId>solr-test-framework</artifactId> > > <scope>test</scope> > > <version>${solr.version}</version> > > </dependency> > > > <dependency> > > <groupId>org.apache.lucene</groupId> > > <artifactId>lucene-core</artifactId> > > <version>${solr.version}</version> > > </dependency> > > > <dependency> > > <groupId>org.apache.lucene</groupId> > > <artifactId>lucene-facet</artifactId> > > <version>${solr.version}</version> > > </dependency> > > > <dependency> > > <groupId>org.apache.solr</groupId> > > <artifactId>solr</artifactId> > > <version>${solr.version}</version> > > <type>war</type> > > </dependency> > > > <dependency> > > <groupId>org.apache.solr</groupId> > > <artifactId>solr-core</artifactId> > > <version>${solr.version}</version> > > </dependency> > > <dependency> > > <groupId>org.apache.solr</groupId> > > <artifactId>solr-solrj</artifactId> > > <version>${solr.version}</version> > > </dependency> > > > <dependency> > > <groupId>org.apache.solr</groupId> > > <artifactId>solr-langid</artifactId> > > <version>${solr.version}</version> > > </dependency> > > <dependency> > > <groupId>log4j</groupId> > > <artifactId>log4j</artifactId> > > <version>1.2.16</version> > > </dependency> > > <dependency> > > <groupId>commons-cli</groupId> > > <artifactId>commons-cli</artifactId> > > <version>1.2</version> > > </dependency> > > > <dependency> > > <groupId>javax.servlet</groupId> > > <artifactId>servlet-api</artifactId> > > <version>2.5</version> > > </dependency> > > > On Fri, Aug 23, 2013 at 12:24 PM, Bruno René Santos <brunor...@gmail.com > >wrote: > > > Hello all, > > > > I am building Solr's source code through maven in order to develop on top > > of it on Netbeans (As no ant task was made to Netbeans... not cool!). > > > > Three doubts about that: > > > > 1. How can I execute the solr server? > > 2. How can i debug the solr server? > > 3. If I create new packages (RequestHandlers, TOkenizers, etc) where can > I > > put them so that the compilation process will view the new files? > > > > Regards > > Bruno Santos > > > > -- > > Bruno René Santos > > Lisboa - Portugal > > > > > > -- > Brendan Grainger > www.kuripai.com > -- Bruno René Santos Lisboa - Portugal