aspose file tools*
The moose likes JBoss/WildFly and the fly likes don't want to rename </param-name> in web.xml everytime I rename .war file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "don Watch "don New topic
Author

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

Lourens Oberholzer
Greenhorn

Joined: Aug 01, 2013
Posts: 1
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
Marshal

Joined: Jul 20, 2005
Posts: 10288
    
168

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?

[My Blog] [JavaRanch Journal]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: don't want to rename </param-name> in web.xml everytime I rename .war file