- This topic has 1 reply, 2 voices, and was last updated 9 years, 6 months ago by support-swapna.
-
AuthorPosts
-
optimadParticipantHi there,
Just following up on an old topic: https://www.genuitec.com/forums/topic/how-best-to-configure-multiple-projects/
I’ve got a web project that we hot deploy to tomcat. This project has other project dependencies that are defined as follows:
<dependent-module archiveName="Core-11.11.11-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/Core/Core"> <dependency-type>uses</dependency-type> </dependent-module>
This file is under source control, so every time we create a new version and update POMs, MyEclipse is updating org.eclipse.wst.common.component. To the above, but with “11.11.12” for example.
I’ve seen in https://issues.sonatype.org/browse/MECLIPSEWTP-146 and https://issues.sonatype.org/browse/MECLIPSEWTP-112 that M4ME can support placeholders.
So, I’ve updated the config to look like this:
<dependent-module archiveName="Core-@{version}@-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/Core/Core"> <dependency-type>uses</dependency-type> </dependent-module>
However, this gets overwritten too 🙁
How can I get around this?
Thanks.
support-swapnaModeratoroptimad,
Sorry that you are seeing this issue. I could not replicate the issue at my end with the latest MyEclipse 2015 Stable 2.0 release.
Can you please give us some more details ?
1. Please share the MyEclipse Version and Build Id from Help > About section.
2. Can you please prepare a sample project which exhibits this issue and send us to help us replicate the issue at our end? Please share with us the exact steps you are following right from all the changes you are making to the files when a new version of the jar is created.–Swapna
MyEclipse Support -
AuthorPosts