How to use war file name as Application Context path?

Answered

Hi Guys,

 

I'm new to Intellij. Can you please help me with this issue.

 

Issue:

I'm using Tomcat, deploying multiple modules. (each module has a WAR)

In eclipse, when i add a module, the context path will be set to the WAR file name.

But this is not happening with the Intellij. I need to provide the context path in the Application Context. I dont want to do this all the time.

 

I want the Application Context to set to the WAR file name by default.

 

Example:

WAR file name = "sample-1.0.2.WAR"

Application Context by default = "/sample-1.0.2"

 

Thanks.

2 comments
Comment actions Permalink

It's not possible at the moment, but we plan to add this feature in 2016.3 version. Please track the progress at https://youtrack.jetbrains.com/issue/IDEA-120242.

1

Please sign in to leave a comment.