# Eclipse Gradle Plugin issue with context root

**URL:** <https://discuss.gradle.org/t/eclipse-gradle-plugin-issue-with-context-root/35232>\
**Category:** Help/Discuss\
**Created:** [March 12, 2020, 3:56am UTC](https://discuss.gradle.org/t/eclipse-gradle-plugin-issue-with-context-root/35232 "2020-03-12T03:56:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kashisrini](https://avatars.discourse-cdn.com/v4/letter/k/edb3f5/32.png) [@kashisrini](https://discuss.gradle.org/u/kashisrini)\
**Post date:** [March 12, 2020, 3:56am UTC](https://discuss.gradle.org/t/eclipse-gradle-plugin-issue-with-context-root/35232/1 "2020-03-12T03:56:41Z")

</div>

Hi ,

I am building a java project using gradle and eclipse is the ide. I am using IBM websphere for deployment. I have root project with 2 subprojects. When I build the project and deploy without using eclipse context root seems to be fine. But when I am building using eclipse and deploying , the context root of the application is getting messed up. I tried using eclipse wbt ,

eclipse {  
wtp {  
component {  
contextRoot = ‘correctContextRoot’  
}  
}  
}  
But still above didnt work. Any help is appreciated.
