[ http://jira.codehaus.org/browse/MECLIPSE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_102530 ]
Auston McReynolds edited comment on MECLIPSE-307 at 7/17/07 5:41 PM: --------------------------------------------------------------------- Patch for fix. I'm new to the JIRA experience, so I'll try to have a proper testcase drawn up later. Thanks. was: Patch for fix. > "target" for deploy-path shouldnt be a constant > ----------------------------------------------- > > Key: MECLIPSE-307 > URL: http://jira.codehaus.org/browse/MECLIPSE-307 > Project: Maven 2.x Eclipse Plugin > Issue Type: Bug > Components: WTP support > Affects Versions: 2.4, 2.5 > Environment: Windows 2003 > Reporter: Auston McReynolds > Attachments: patch.txt > > > If specified in the POM: > <build> > <sourceDirectory>JavaSource</sourceDirectory> > <outputDirectory>AnotherFolder/WEB-INF/classes</outputDirectory> > <plugins> > <plugin> > <artifactId>maven-eclipse-plugin</artifactId> > ... > .settings/org.eclipse.wst.common.component has > <wb-resource deploy-path="WEB-INF/classes" source-path="JavaSource"/> > Instead of > <wb-resource deploy-path="AnotherFolder/WEB-INF/classes" > source-path="JavaSource"/> > This is due to String target being set to the literal "/WEB-INF/classes" > under the block: > if ( "war".equalsIgnoreCase( packaging ) ) > Instead it seems to me that it should be: > target = IdeUtils.toRelativeAndFixSeparator( > config.getProject().getBasedir(), buildOutputDirectory, false ); > Thanks to Dan and others for assistance received previously! -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira