Redian新闻
>
in eclipse EE , how to build a tomcat/web application?
avatar
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
avatar
h*c
2
netbeans + ant 有试验过吗?

【在 c******n 的大作中提到】
: 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

相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。