You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Emanuel Bulic (JIRA)" <ji...@codehaus.org> on 2006/03/08 17:53:23 UTC
[jira] Created: (MPECLIPSE-112) Resource targetPath is relative to
the project's output directory.
Resource targetPath is relative to the project's output directory.
------------------------------------------------------------------
Key: MPECLIPSE-112
URL: http://jira.codehaus.org/browse/MPECLIPSE-112
Project: maven-eclipse-plugin
Type: Bug
Reporter: Emanuel Bulic
I am using the following resource:
<build>
<resources>
<resource>
<targetPath>data/core/beanconfig</targetPath>
<directory>.</directory>
<excludes>
<exclude>*target/**</exclude>
</excludes>
</resource>
</resources>
</build>
Also, the eclipse plugin is configured to use a different outputDirectory:
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<outputDirectory>eclipse-target</outputDirectory>
</configuration>
</plugin>
The classpath entry for the resource above should be relative to the project's output path:
<classpathentry kind="src" path="." output="eclipse-target/data/core/beanconfig"/>
The pluging generates the wrong entry:
<classpathentry kind="src" path="." output="data/core/beanconfig"/>
The output classpath entry is correct:
<classpathentry kind="output" path="eclipse-target"/>
--
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
[jira] Commented: (MPECLIPSE-112) Resource targetPath is relative
to the project's output directory.
Posted by "Emanuel Bulic (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MPECLIPSE-112?page=comments#action_60481 ]
Emanuel Bulic commented on MPECLIPSE-112:
-----------------------------------------
I traced the issue to org.apache.maven.plugin.eclipse.EclipseUtils.
> Resource targetPath is relative to the project's output directory.
> ------------------------------------------------------------------
>
> Key: MPECLIPSE-112
> URL: http://jira.codehaus.org/browse/MPECLIPSE-112
> Project: maven-eclipse-plugin
> Type: Bug
> Reporter: Emanuel Bulic
>
>
> I am using the following resource:
> <build>
> <resources>
> <resource>
> <targetPath>data/core/beanconfig</targetPath>
> <directory>.</directory>
> <excludes>
> <exclude>*target/**</exclude>
> </excludes>
> </resource>
> </resources>
> </build>
> Also, the eclipse plugin is configured to use a different outputDirectory:
> <plugin>
> <artifactId>maven-eclipse-plugin</artifactId>
> <configuration>
> <outputDirectory>eclipse-target</outputDirectory>
> </configuration>
> </plugin>
> The classpath entry for the resource above should be relative to the project's output path:
> <classpathentry kind="src" path="." output="eclipse-target/data/core/beanconfig"/>
> The pluging generates the wrong entry:
> <classpathentry kind="src" path="." output="data/core/beanconfig"/>
> The output classpath entry is correct:
> <classpathentry kind="output" path="eclipse-target"/>
--
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
[jira] Closed: (MECLIPSE-77) Resource targetPath is relative to the
project's output directory.
Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MECLIPSE-77?page=all ]
fabrizio giustina closed MECLIPSE-77:
-------------------------------------
Assign To: fabrizio giustina
Resolution: Fixed
Fix Version: 2.2
fixed for 2.2
> Resource targetPath is relative to the project's output directory.
> ------------------------------------------------------------------
>
> Key: MECLIPSE-77
> URL: http://jira.codehaus.org/browse/MECLIPSE-77
> Project: Maven 2.x Eclipse Plugin
> Type: Bug
> Reporter: Emanuel Bulic
> Assignee: fabrizio giustina
> Fix For: 2.2
>
>
> I am using the following resource:
> <build>
> <resources>
> <resource>
> <targetPath>data/core/beanconfig</targetPath>
> <directory>.</directory>
> <excludes>
> <exclude>*target/**</exclude>
> </excludes>
> </resource>
> </resources>
> </build>
> Also, the eclipse plugin is configured to use a different outputDirectory:
> <plugin>
> <artifactId>maven-eclipse-plugin</artifactId>
> <configuration>
> <outputDirectory>eclipse-target</outputDirectory>
> </configuration>
> </plugin>
> The classpath entry for the resource above should be relative to the project's output path:
> <classpathentry kind="src" path="." output="eclipse-target/data/core/beanconfig"/>
> The pluging generates the wrong entry:
> <classpathentry kind="src" path="." output="data/core/beanconfig"/>
> The output classpath entry is correct:
> <classpathentry kind="output" path="eclipse-target"/>
--
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