| Summary: | Deployment Assembly does not allow including dependent project source | ||
|---|---|---|---|
| Product: | [WebTools] WTP Java EE Tools | Reporter: | Blessed Geek <blessedgeek> |
| Component: | jst.servlet | Assignee: | jst.servlet <jst.servlet-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | Chuck Bridgham <cbridgha> |
| Severity: | major | ||
| Priority: | P3 | ||
| Version: | 3.3.1 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Blessed Geek
Moving to Java EE Tools, since this is a WAR-specific request. In order to clarify what is being requested (and this sounds like an enhancement, moreso than a defect): the projects that the WAR depends on- are they simply Java projects? (Not Utility projects) If the desire is to include simple Java projects in a WAR without modification to the Java projects, there is already an enhancement open for that. If it is something otherwise (some other project type), can you please give more details? My apologies. This issue submission looks like I am jumping the gun. The actual misbehaviour is that Deployment Assembly keeps blanking itself out, whenever I changed the project or maven dependency, giving me the impression that Deployment Assembly is rejecting my entries. I am changing this issue to - Deployment Assembly blanks out entries whenever dependencies are altered. It should only blank out dependencies that had been removed. It sounds like you are using the m2e-wtp plugin to help sync maven dependencies with Eclipse / WTP infrastructure. Making a change to a maven dependency (pom) will always drive changes to the WTP dependencies, and could override any custom entries yo have added.. This is how the m2e-wtp project configurator works. If you have problems expressing or maintaining dependencies via Maven or m2e - you should contact the appropriate newsgroups from that project - Thanks! I'll keep this open for a bit - please let me know if I'm miss-interpreting your issue. Could you direct me, if you don't mind, to a file (hopefully an xml or text file rather than database entry) in workspace meta data that stores Deployment Assembly records. So that I could save them before I update dependencies. This behaviour is very frustrating as I have to key in the entries all over again after every dependency update. Never mind. The file is org.eclipse.wst.common.component in project .settings. I simply revert from SVN after every dependency update. Hi - Can you confirm that you are using m2e-wtp plugins? Editing the .component file directly is not recommended, and you will continue to see these problems as the pom.xml file from Maven ultimately drives changes to the deployment assembly if using m2e (m2eclipse). OK - it sounds like you resolved your immediate issue... closing for now. If this is an issue with WTP / M2E interaction.. we are looking forward to starting work in this area soon |