[ 
http://jira.codehaus.org/browse/MANT-4?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benjamin Bentmann closed MANT-4.
--------------------------------

         Assignee: Benjamin Bentmann
       Resolution: Fixed
    Fix Version/s: 2.1

Fixed in r639932.

The Ant script now contains snippets like below for "file:" repos that are 
relative to ${basedir}:
{code:xml}
<copy file="../repo1/junit/junit/3.8.2/junit-3.8.2.jar" 
      tofile="${maven.repo.local}/junit/junit/3.8.2/junit-3.8.2.jar" 
      failonerror="false"/>
{code}

> Generated ANT contains hardcoded "get" tasks that look at the "C:\" drive 
> etc... when using a local repository
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: MANT-4
>                 URL: http://jira.codehaus.org/browse/MANT-4
>             Project: Maven 2.x Ant Plugin
>          Issue Type: Bug
>            Reporter: Michael Neale
>            Assignee: Benjamin Bentmann
>            Priority: Critical
>             Fix For: 2.1
>
>         Attachments: build.xml, pom.xml
>
>
> For projects which have a repository with a "file://" style URL (ie a local 
> repo just for the project) - mvn ant:ant generates a build.xml which contains 
> hard coded paths, even though all the paths in the pom are relative.
> (see attached for some specific examples).
> Otherwise works a treat !

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

        

Reply via email to