Cannot start gradle built project on eclipse tomcat [message #1803564] |
Mon, 04 March 2019 10:46 |
Fenil Robert Messages: 1 Registered: March 2019 |
Junior Member |
|
|
Here are my project structure (roughly) :
|root1
| projA
|build.gradle
| projB
|build.gradle
| build.gradle
| gradle.setting
|root2
| projC
|build.gradle
and so on...
It is a multi-project build gradle project (actually I was not using gradle before, and I am just converting from a non-gradle project to a gradle project, if this is relevant)
My root1 and root2 gradle setting is just like :
plugins{
id "java"
id "eclipse-wtp" //I read somewhere that in order to integrate with eclipse tomcat server, one must have this
}
dependendencies{...}
project(':projA'){
apply plugin: 'eclipse-wtp'
}
project(':projB'){
apply plugin: 'eclipse-wtp'
}
And inside root1/settings.gradle :
include ':projA', ':projB'
Everything works fine with gretty, tomcatRun task, but it doesnt ease the work of other developer, because previously we ran debug mode from server configuration (1 click away), I understand that with gretty and built-in gradle tomcat I can debug through debug configuration->remote debugging
My real question is, what did I do wrong because when I tried running the server through eclipse server configuration there are a lot of missing dependencies (which I specified in project(':projA') dependency), somehow it does not getting the libraries from gradle caches (I check the build path, and all the library are all there but thus not included when running my server.
|
|
|
Powered by
FUDForum. Page generated in 0.03687 seconds