in eclipse EE , how to build a tomcat/web application?# Java - 爪哇娇娃
c*n
1 楼
eclipse EE has built in web development kit,
so I can create a "dynamic web project", and it will compile and create
the .class files. I can create a "Server" from file menu, pointing to my
tomcat setup. then I can add my web project to the tomcat Server, and
start it in eclipse. everything is integrated.
but the problem is, when eclipse EE deploys the web app into tomcat, it
does not include the recursive dependencies, as is handled by ivy/maven,
although I already pulled those deps successfully through ivy and dropped
into lib/ , and eclipse is indeed able to use those in compilation.
eclipse EE creates its own tomcat webroot under
$HOME/workspace/.eclipse/something......./tmp0/WEB-INF/classes I can see
that it only verbatim copies my project/web/WEB-INF/lib in here, and my
web/WEB-INF/lib is empty
so how to let eclipse EE package & deploy everything that is under its
BUILD path ?
thanks
so I can create a "dynamic web project", and it will compile and create
the .class files. I can create a "Server" from file menu, pointing to my
tomcat setup. then I can add my web project to the tomcat Server, and
start it in eclipse. everything is integrated.
but the problem is, when eclipse EE deploys the web app into tomcat, it
does not include the recursive dependencies, as is handled by ivy/maven,
although I already pulled those deps successfully through ivy and dropped
into lib/ , and eclipse is indeed able to use those in compilation.
eclipse EE creates its own tomcat webroot under
$HOME/workspace/.eclipse/something......./tmp0/WEB-INF/classes I can see
that it only verbatim copies my project/web/WEB-INF/lib in here, and my
web/WEB-INF/lib is empty
so how to let eclipse EE package & deploy everything that is under its
BUILD path ?
thanks