aspose file tools
The moose likes JBoss and the fly likes jboss variable in xml - like ${my.ip} Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » JBoss
Reply Bookmark "jboss variable in xml - like ${my.ip}" Watch "jboss variable in xml - like ${my.ip}" New topic
Author

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

avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
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

Joined: Jul 20, 2005
Posts: 8145
    
  52

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


[My Blog] [JavaRanch Journal]
avihai marchiano
Ranch Hand

Joined: Jan 10, 2007
Posts: 342
Thank you.
Disappointing to know this.
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 8145
    
  52

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jboss variable in xml - like ${my.ip}
 
Similar Threads
JMS ConnectionFactory configurations in JBoss AS 5.1.0
Generate the xml descriptors for CMP Deployment
authentication in jboss
Session Bean Reading an XML File
How to remove jboss default home ?