Re: using maven to deploy solr on tomcat

2013-04-17 Thread Adeel Qureshi
okay this looks promising. I will give it a try and let you know how it goes. Thanks On Wed, Apr 17, 2013 at 9:19 AM, jnduan wrote: > hi Adeel, > I have use solr with maven since 2011,and my dependency is not solr but > solr-core and some other dependencies . > therefore,my project structure is

Re: using maven to deploy solr on tomcat

2013-04-17 Thread jnduan
hi Adeel, I have use solr with maven since 2011,and my dependency is not solr but solr-core and some other dependencies . therefore,my project structure is just like unpack the solr.war file with out the dir 'WEB-INF/lib'. So I can write some code work with solr ,e.g. a listener set up system p

Re: using maven to deploy solr on tomcat

2013-04-16 Thread Shawn Heisey
On 4/16/2013 8:47 AM, Adeel Qureshi wrote: the problem is i need to deploy it on servers where i dont know what the absolute path will be .. basically my goal is to load solr with a different set of configuration files based on the environment its in. Is there a a better different way to do this

Re: using maven to deploy solr on tomcat

2013-04-16 Thread Adeel Qureshi
the problem is i need to deploy it on servers where i dont know what the absolute path will be .. basically my goal is to load solr with a different set of configuration files based on the environment its in. Is there a a better different way to do this On Mon, Apr 15, 2013 at 11:29 PM, Shawn Hei

Re: using maven to deploy solr on tomcat

2013-04-15 Thread Shawn Heisey
On 4/15/2013 2:33 PM, Adeel Qureshi wrote: > value="src/main/resources/solr-dev"/> > > but this leads to absolute path of > > INFO: Using JNDI solr.home: src/main/resources/solr-dev > INFO: looking for solr.xml: > C:\springsource\sts-2.8.1.RELEASE\src\main\resources\solr-dev\solr.xml If you use