You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by "Barry Kaplan (JIRA)" <ji...@codehaus.org> on 2005/11/27 19:27:06 UTC

[jira] Created: (MNG-1695) Generated outputpath is outside the eclipse project

Generated outputpath is outside the eclipse project
---------------------------------------------------

         Key: MNG-1695
         URL: http://jira.codehaus.org/browse/MNG-1695
     Project: Maven 2
        Type: Bug
  Components: maven-eclipse-plugin  
    Versions: 2.0.1    
 Environment: plugin revision 349173, windows xp, running from a partition mounted at 'R'
    Reporter: Barry Kaplan
 Attachments: eclipse-plugin-test-project.zip

In the sample multi-project attached, the generated eclipse project outputpath will have the drive letter appended. 

In iris-env/pom.xml I have tried several different variants of

<configuration>
   <outputDirectory>...</outputDirectory>
</configuration> 

These are the summarized results for the iris-infra project:

1) outputDirectory = "target/eclipse-classes"  --> eclipse output = "R:/eclipse-plugin-test-project/target/eclipse-classes"

2) outputDirectory = "/target/eclipse-classes"  --> eclipse output = "R:/target/eclipse-classes"

3) outputDirectory = "//target/eclipse-classes"  --> eclipse output = "//target/eclipse-classes" 
- eclipse complains with the error "Path '/target/eclipse-classes' must denote location inside project iris-infra"
- the plugin generates these warnings:
[INFO] [eclipse:eclipse]
[WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.

4) outputDirectory = "//${project.artifactId}/target/eclipse-classes"  --> eclipse output = "//iris-infra/target/eclipse-classes" 
- this path works for eclipse
- the plugin generates these warnings, and runs very slowly
[INFO] [eclipse:eclipse]
[WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
[WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.



-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MNG-1695) Generated outputpath is outside the eclipse project

Posted by "Barry Kaplan (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MNG-1695?page=all ]
     
Barry Kaplan closed MNG-1695:
-----------------------------

     Resolution: Fixed
    Fix Version: 2.0.1

Already fixed at the time this issue was reported by rev 349273.

> Generated outputpath is outside the eclipse project
> ---------------------------------------------------
>
>          Key: MNG-1695
>          URL: http://jira.codehaus.org/browse/MNG-1695
>      Project: Maven 2
>         Type: Bug
>   Components: maven-eclipse-plugin
>     Versions: 2.0.1
>  Environment: plugin revision 349173, windows xp, running from a partition mounted at 'R'
>     Reporter: Barry Kaplan
>      Fix For: 2.0.1
>  Attachments: eclipse-plugin-test-project.zip
>
>
> In the sample multi-project attached, the generated eclipse project outputpath will have the drive letter appended. 
> In iris-env/pom.xml I have tried several different variants of
> <configuration>
>    <outputDirectory>...</outputDirectory>
> </configuration> 
> These are the summarized results for the iris-infra project:
> 1) outputDirectory = "target/eclipse-classes"  --> eclipse output = "R:/eclipse-plugin-test-project/target/eclipse-classes"
> 2) outputDirectory = "/target/eclipse-classes"  --> eclipse output = "R:/target/eclipse-classes"
> 3) outputDirectory = "//target/eclipse-classes"  --> eclipse output = "//target/eclipse-classes" 
> - eclipse complains with the error "Path '/target/eclipse-classes' must denote location inside project iris-infra"
> - the plugin generates these warnings:
> [INFO] [eclipse:eclipse]
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> 4) outputDirectory = "//${project.artifactId}/target/eclipse-classes"  --> eclipse output = "//iris-infra/target/eclipse-classes" 
> - this path works for eclipse
> - the plugin generates these warnings, and runs very slowly
> [INFO] [eclipse:eclipse]
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1695) Generated outputpath is outside the eclipse project

Posted by "fabrizio giustina (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1695?page=comments#action_52139 ] 

fabrizio giustina commented on MNG-1695:
----------------------------------------

thanks for testing the new revision.
Btw, the warnings are generated because of the include pattern for resources in your poms (this is expected, since the plugin doesn't support include patters yet)
   <includes>
       <include>**/*.xml</include>
   </includes>

> Generated outputpath is outside the eclipse project
> ---------------------------------------------------
>
>          Key: MNG-1695
>          URL: http://jira.codehaus.org/browse/MNG-1695
>      Project: Maven 2
>         Type: Bug
>   Components: maven-eclipse-plugin
>     Versions: 2.0.1
>  Environment: plugin revision 349173, windows xp, running from a partition mounted at 'R'
>     Reporter: Barry Kaplan
>      Fix For: 2.0.1
>  Attachments: eclipse-plugin-test-project.zip
>
>
> In the sample multi-project attached, the generated eclipse project outputpath will have the drive letter appended. 
> In iris-env/pom.xml I have tried several different variants of
> <configuration>
>    <outputDirectory>...</outputDirectory>
> </configuration> 
> These are the summarized results for the iris-infra project:
> 1) outputDirectory = "target/eclipse-classes"  --> eclipse output = "R:/eclipse-plugin-test-project/target/eclipse-classes"
> 2) outputDirectory = "/target/eclipse-classes"  --> eclipse output = "R:/target/eclipse-classes"
> 3) outputDirectory = "//target/eclipse-classes"  --> eclipse output = "//target/eclipse-classes" 
> - eclipse complains with the error "Path '/target/eclipse-classes' must denote location inside project iris-infra"
> - the plugin generates these warnings:
> [INFO] [eclipse:eclipse]
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> 4) outputDirectory = "//${project.artifactId}/target/eclipse-classes"  --> eclipse output = "//iris-infra/target/eclipse-classes" 
> - this path works for eclipse
> - the plugin generates these warnings, and runs very slowly
> [INFO] [eclipse:eclipse]
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MNG-1695) Generated outputpath is outside the eclipse project

Posted by "Barry Kaplan (JIRA)" <ji...@codehaus.org>.
    [ http://jira.codehaus.org/browse/MNG-1695?page=comments#action_52130 ] 

Barry Kaplan commented on MNG-1695:
-----------------------------------

Ahhhhh, sorry. I just updated to 349273 the correct path is now created! (Wish I tried this before setting up this issue :-(

I still get the "WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory. ", so you I think you are right that this could be unrelated. The eclipse projects are generated at top speed also. 

So I will close this issue now.

thanks!!

> Generated outputpath is outside the eclipse project
> ---------------------------------------------------
>
>          Key: MNG-1695
>          URL: http://jira.codehaus.org/browse/MNG-1695
>      Project: Maven 2
>         Type: Bug
>   Components: maven-eclipse-plugin
>     Versions: 2.0.1
>  Environment: plugin revision 349173, windows xp, running from a partition mounted at 'R'
>     Reporter: Barry Kaplan
>  Attachments: eclipse-plugin-test-project.zip
>
>
> In the sample multi-project attached, the generated eclipse project outputpath will have the drive letter appended. 
> In iris-env/pom.xml I have tried several different variants of
> <configuration>
>    <outputDirectory>...</outputDirectory>
> </configuration> 
> These are the summarized results for the iris-infra project:
> 1) outputDirectory = "target/eclipse-classes"  --> eclipse output = "R:/eclipse-plugin-test-project/target/eclipse-classes"
> 2) outputDirectory = "/target/eclipse-classes"  --> eclipse output = "R:/target/eclipse-classes"
> 3) outputDirectory = "//target/eclipse-classes"  --> eclipse output = "//target/eclipse-classes" 
> - eclipse complains with the error "Path '/target/eclipse-classes' must denote location inside project iris-infra"
> - the plugin generates these warnings:
> [INFO] [eclipse:eclipse]
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> 4) outputDirectory = "//${project.artifactId}/target/eclipse-classes"  --> eclipse output = "//iris-infra/target/eclipse-classes" 
> - this path works for eclipse
> - the plugin generates these warnings, and runs very slowly
> [INFO] [eclipse:eclipse]
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.
> [WARNING] This plugin currently doesn't support include patterns for resources. Adding the entire directory.

-- 
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


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org