Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript 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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!