How are you guys solving the problem with managing all of your configuration
difference between development and production.

For example when deploying to production I need to change the
data-config.xml (DataImportHandler) database settings. I also have some ant
scripts to start/stop tomcat as well as symlinking a context docBase. 

I was wondering if there were some way to interpolate variables in the
configuration files... similar to how you can in ant files... for example

  <dataSource type="JdbcDataSource"
              driver="com.mysql.jdbc.Driver"
              url="jdbc:mysql://${db.host}/${db.name}"
              batchsize="-1"
              readOnly="true"
              user="${db.user}"
              password="${db.password}"/>

Same question goes for all other Solr.xml files.. can I insert custom
variables?

-- 
View this message in context: 
http://old.nabble.com/Managing-configuration-files-Environment-variables-tp27892349p27892349.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to