- This topic has 5 replies, 4 voices, and was last updated 16 years, 3 months ago by support-eugene.
-
AuthorPosts
-
Geert ArtsMemberSince release 6.5 all project types have (optional) maven support, except the enterprise application project. Is it planned to add integration for that as well?
What would be a good workaround in the meantime?
Riyad KallaMemberOh yes absolutely, we just didn’t get a chance to address it completely in 6.5. There isn’t a workaround at the moment for this though. Sorry.
michelzMemberWhen I tried to add a project A in a dependency of a project B (pom.xml), both in my workspace, with workspace resolution active, the web deploy doesn’t work.
Just make a test. Create 2 maven projects, one with web capability. Add the project as a dependency of the web project. Try to deploy it. Doesn’t work.
support-eugeneMember@michelz wrote:
Just make a test. Create 2 maven projects, one with web capability. Add the project as a dependency of the web project. Try to deploy it. Doesn’t work.
It looks like the deploy is working for me.
Please import 2 projects from the attached zip file to your workspace. Then deploy “frontend” project to server.Attachments:
You must be logged in to view attached files.
michelzMemberI tried to deploy the sample projects… looks like everything is fine… but not. I got a warning after the deployment, showed in ‘problems’ view:
“Deployment failure on MyEclipse Tomcat . Could not copy all resources to C:\Java\workspace-myeclipse-6.5\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\webapps\frontend. If a file is locked, you can wait until the lock times out to redeploy, or stop the server and redeploy, or manually remove the deployment at C:\Java\workspace-myeclipse-6.5\.metadata\.plugins\com.genuitec.eclipse.easie.tomcat.myeclipse\tomcat\webapps\frontend”
If you put a dependency in the library project pom.xml like:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring</artifactId>
<version>2.5.4</version>
</dependency>And try to deploy frontend again, the spring.jar doesn’t not appear in the web-inf/lib after deployment, but in eclipse, it’s ok.
Thanks for reply!
support-eugeneMemberI confirmed the issue (warning message and Jars not copied).
Thank you for reporting this issue. It will be addressed in the coming releases.
-
AuthorPosts