Have a way get webapp folder?

if  maven and gradle webapp project, it will define the webapp folder or use the default folder. 

Is there a way  get webapp folder path for IdeaIC edition? 

I only get source folder and classpath folder with moduleutil

0
4 comments

Zeng,

I'm sorry, but I don't understand your question. What have you tried, and what's your exact goal?

0

Jakub Chrzanowski,  for example as below, as module3 is a java web module, how can I the module3/src/main/webapp path in my plugin development?

e.g. 
├───myproject
│ ├───module1
│ │ ├───src
│ │ │ ├───main
│ │ │ │ ├───java
│ │ │ │ └───resources
│ │ │ └───test
│ │ │ └───java
│ ├───module2
│ │ ├───src
│ │ │ ├───main
│ │ │ │ ├───java
│ │ │ │ └───resources
│ │ │ └───test
│ │ │ └───java
│ └───module3
│ ├───src
│ │ ├───main
│ │ │ ├───java
│ │ │ ├───resources
│ │ │ └───webapp
│ │ │ ├───META-INF
│ │ │ └───WEB-INF
│ │ └───test
│ │ └───java

0

You can iterate through your modules and check for the specific path existence.

0

no API to check Java Web module?

0

Please sign in to leave a comment.