You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Auston McReynolds (JIRA)" <ji...@codehaus.org> on 2007/07/18 00:38:13 UTC
[jira] Updated: (MECLIPSE-307) "target" for deploy-path shouldnt be
a constant
[ http://jira.codehaus.org/browse/MECLIPSE-307?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Auston McReynolds updated MECLIPSE-307:
---------------------------------------
Attachment: patch.txt
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