You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/11/29 17:15:11 UTC

[jira] Created: (MAVEN-1520) maven:makeRelativePath tag is borked

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1520

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1520
    Summary: maven:makeRelativePath tag is borked
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Versions:
             1.0.1

   Assignee: 
   Reporter: Hiram Chirino

    Created: Mon, 29 Nov 2004 11:14 AM
    Updated: Mon, 29 Nov 2004 11:14 AM
Environment: Reactor Build

Description:
Noticed the problem when the eclipse plugin started breaking a little.
I added some dubug lines to it's jelly file:

<maven:makeRelativePath var="srcDir" basedir="${basedir}" path="${res}"  separator="/"/>
<ant:echo>Base DIR: ${basedir}, SRC DIR: ${srcDir}, RES ${res}</ant:echo>

Running that resulted in: 
[echo] Base DIR: C:\sandbox\activemq\modules\core, SRC DIR: C:/sandbox/activemq/src/conf, RES src/conf

I would have expectd srcDir to be  "C:/sandbox/activemq/modules/core/src/conf" not "C:/sandbox/activemq/src/conf"




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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] Updated: (MAVEN-1520) maven:makeRelativePath tag is borked

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Brett Porter (mailto:brett@codehaus.org)
       Date: Tue, 30 Nov 2004 8:17 AM
    Changes:
             Fix Version changed to 1.0.2
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MAVEN-1520?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1520

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1520
    Summary: maven:makeRelativePath tag is borked
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.0.2
   Versions:
             1.0.1

   Assignee: 
   Reporter: Hiram Chirino

    Created: Mon, 29 Nov 2004 11:14 AM
    Updated: Tue, 30 Nov 2004 8:17 AM
Environment: Reactor Build

Description:
Noticed the problem when the eclipse plugin started breaking a little.
I added some dubug lines to it's jelly file:

<maven:makeRelativePath var="srcDir" basedir="${basedir}" path="${res}"  separator="/"/>
<ant:echo>Base DIR: ${basedir}, SRC DIR: ${srcDir}, RES ${res}</ant:echo>

Running that resulted in: 
[echo] Base DIR: C:\sandbox\activemq\modules\core, SRC DIR: C:/sandbox/activemq/src/conf, RES src/conf

I would have expectd srcDir to be  "C:/sandbox/activemq/modules/core/src/conf" not "C:/sandbox/activemq/src/conf"




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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] Updated: (MAVEN-1520) maven:makeRelativePath tag is borked

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Brett Porter (mailto:brett@codehaus.org)
       Date: Sat, 4 Dec 2004 2:34 AM
    Comment:
that's actually the opposite purpose. makeRelative takes an absolute input and chops off basedir. It currently expects path to be absolute, under basedir, and is undefined otherwise.

We can add a check to make sure of this though, and return the original otherwise.
    Changes:
             Fix Version changed to 1.1-beta-1
             Fix Version changed from 1.0.2
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MAVEN-1520?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MAVEN-1520

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MAVEN-1520
    Summary: maven:makeRelativePath tag is borked
       Type: Bug

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven
 Components: 
             core
   Fix Fors:
             1.1-beta-1
   Versions:
             1.0.1

   Assignee: 
   Reporter: Hiram Chirino

    Created: Mon, 29 Nov 2004 11:14 AM
    Updated: Sat, 4 Dec 2004 2:34 AM
Environment: Reactor Build

Description:
Noticed the problem when the eclipse plugin started breaking a little.
I added some dubug lines to it's jelly file:

<maven:makeRelativePath var="srcDir" basedir="${basedir}" path="${res}"  separator="/"/>
<ant:echo>Base DIR: ${basedir}, SRC DIR: ${srcDir}, RES ${res}</ant:echo>

Running that resulted in: 
[echo] Base DIR: C:\sandbox\activemq\modules\core, SRC DIR: C:/sandbox/activemq/src/conf, RES src/conf

I would have expectd srcDir to be  "C:/sandbox/activemq/modules/core/src/conf" not "C:/sandbox/activemq/src/conf"




---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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: (MAVEN-1520) maven:makeRelativePath tag is borked

Posted by "Lukas Theussl (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MAVEN-1520?page=all ]
     
Lukas Theussl closed MAVEN-1520:
--------------------------------

    Resolution: Fixed

Done.

> maven:makeRelativePath tag is borked
> ------------------------------------
>
>          Key: MAVEN-1520
>          URL: http://jira.codehaus.org/browse/MAVEN-1520
>      Project: Maven
>         Type: Bug

>   Components: core
>     Versions: 1.0.1
>  Environment: Reactor Build
>     Reporter: Hiram Chirino
>      Fix For: 1.1-beta-3

>
>
> Noticed the problem when the eclipse plugin started breaking a little.
> I added some dubug lines to it's jelly file:
> <maven:makeRelativePath var="srcDir" basedir="${basedir}" path="${res}"  separator="/"/>
> <ant:echo>Base DIR: ${basedir}, SRC DIR: ${srcDir}, RES ${res}</ant:echo>
> Running that resulted in: 
> [echo] Base DIR: C:\sandbox\activemq\modules\core, SRC DIR: C:/sandbox/activemq/src/conf, RES src/conf
> I would have expectd srcDir to be  "C:/sandbox/activemq/modules/core/src/conf" not "C:/sandbox/activemq/src/conf"

-- 
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] Updated: (MAVEN-1520) maven:makeRelativePath tag is borked

Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MAVEN-1520?page=all ]

Brett Porter updated MAVEN-1520:
--------------------------------

    Fix Version:     (was: 1.1-beta-1)
                 1.1-beta-2

> maven:makeRelativePath tag is borked
> ------------------------------------
>
>          Key: MAVEN-1520
>          URL: http://jira.codehaus.org/browse/MAVEN-1520
>      Project: maven
>         Type: Bug
>   Components: core
>     Versions: 1.0.1
>  Environment: Reactor Build
>     Reporter: Hiram Chirino
>      Fix For: 1.1-beta-2

>
>
> Noticed the problem when the eclipse plugin started breaking a little.
> I added some dubug lines to it's jelly file:
> <maven:makeRelativePath var="srcDir" basedir="${basedir}" path="${res}"  separator="/"/>
> <ant:echo>Base DIR: ${basedir}, SRC DIR: ${srcDir}, RES ${res}</ant:echo>
> Running that resulted in: 
> [echo] Base DIR: C:\sandbox\activemq\modules\core, SRC DIR: C:/sandbox/activemq/src/conf, RES src/conf
> I would have expectd srcDir to be  "C:/sandbox/activemq/modules/core/src/conf" not "C:/sandbox/activemq/src/conf"

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