[ 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org