Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jboss variable in xml - like ${my.ip}

 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

i want to have variable in jboss xml files.
i want to have variable like ${port} that i can configure in some file or in the run script and jboss will replace them with the given value.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by avihai marchiano:
and jboss will replace them with the given value.


As far as i know, JBoss will not replace these user defined properties, except for JBoss specific properties which are mentioned here
 
avihai marchiano
Ranch Hand
Posts: 342
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
Disappointing to know this.
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jaikiran Pai:

As far as i know, JBoss will not replace these user defined properties


Looks like this is possible, see this
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic