You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gus Heck (JIRA)" <ji...@apache.org> on 2018/03/16 18:21:00 UTC

[jira] [Comment Edited] (SOLR-12059) Unable to rename solr.xml

    [ https://issues.apache.org/jira/browse/SOLR-12059?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16402302#comment-16402302 ] 

Gus Heck edited comment on SOLR-12059 at 3/16/18 6:20 PM:
----------------------------------------------------------

I suspect the OP's goal is probably to make it possible to tell by inspection what version is presently deployed (and did it get properly updated during deploy etc). However I might suggest adding an xml comment in the file with that info (either via the build, or perhaps something from [http://svnbook.red-bean.com/en/1.7/svn.advanced.props.special.keywords.html] would be sufficient)...  rather than renaming the file itself. 

Edit: Ah I missed one of the comments above, rollback is a goal too. In which case Dave Smiley's suggestion seems best. 


was (Author: gus_heck):
I suspect the OP's goal is probably to make it possible to tell by inspection what version is presently deployed (and did it get properly updated during deploy etc). However I might suggest adding an xml comment in the file with that info (either via the build, or perhaps something from [http://svnbook.red-bean.com/en/1.7/svn.advanced.props.special.keywords.html] would be sufficient)...  rather than renaming the file itself. 

> Unable to rename solr.xml
> -------------------------
>
>                 Key: SOLR-12059
>                 URL: https://issues.apache.org/jira/browse/SOLR-12059
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>    Affects Versions: 6.5.1
>         Environment: Renaming of solr,xml in the $SOLR_HOME directory
>            Reporter: Edwin Yeo Zheng Lin
>            Priority: Major
>
> I am able to rename the flie names like solrconfig.xml and solr.log to custom names like myconfig.xml and my.log quite seamlessly. 
> However, I am not able to rename the same for solr.xml. Understand that the solr.xml is hard-coded at the SolrXmlConfig.java. Meaning it requires a re-compile of the Jar file in order to rename it.
> Since we can rename files like solrconfig.xml from the properties files, so we should do the same for solr.xml?
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org