Skip to content

Can't display webapp in source dir. #10

@micfans

Description

@micfans

I have created a dir 'webapp' in source dir, such as 'src/main/webapp'. but not display it in project view.
But I aleady installed 'Gradle JavaEE support' plugin, and applied plugin 'war'.
--------------------
my source path :
-src
  -main
  -java
  -resources
  -webapp
   -WEB-INF
    -web.xml
   -index.jsp

my build.gradle file:

apply plugin: 'war'
apply plugin: 'idea'
apply plugin: 'jetty'

[jettyRun, jettyRunWar, jettyStop].stopPort = 9966
[jettyRun, jettyRunWar, jettyStop].stopKey = 'stopKey'

dependencies {
compile project(':QBS-UTIL')
compile project(':QBS-CORE')
compile project(':QBS-SERVICE')
providedRuntime 'javax.servlet.jsp:jsp-api:2.2'
providedRuntime 'javax.servlet.jsp:javax.servlet.jsp-api:2.3.1'
providedRuntime 'javax.servlet:servlet-api:2.5'
runtime 'javax.servlet:jstl:1.1.2'
}
--------------------
is there any errors?
Thx.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions