This week's book giveaway is in the Jython/Python forum.
We're giving away four copies of Murach's Python Programming and have Michael Urban and Joel Murach on-line!
See this thread for details.
Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

don't want to rename </param-name> in web.xml everytime I rename .war file  RSS feed

 
Lourens Oberholzer
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use JBoss to deploy a few wars.

When we go to testing we rename the war files and even use some on Oracle and MSSQL so we use the database name in the war filename too.

Are there any way I can use something likeroot.war or *.war to automatic use the war name without opening the web.xml and renamaming the newly named war in <param-name>...</param-name>

Thanks
 
Jaikiran Pai
Sheriff
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lourens, welcome to JavaRanch.

Why do you need the war filename in the web.xml? How are you using that later on?

Which exact version of JBoss is this?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!