You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@archiva.apache.org by "nicolas de loof (JIRA)" <ji...@codehaus.org> on 2008/07/08 14:50:26 UTC

[jira] Updated: (MRM-869) many enmpty folder created in managed repo when used as a group

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

nicolas de loof updated MRM-869:
--------------------------------

    Description: 
my repository conf is  :

{noformat} 
(group) "maven" =
    |__  (managed) "releases"
    |        |_ proxy connector to central, jboss ...
    |__  (managed) "internal"
             |_ proxy to some private repositories...
{noformat} 

When I ask for artifacts on the group, many useless empty folders are created in both "releases" and "internal" repository. Every artifact request to a repository of the group creates the requested artifact directory structure, beeing foudn or not.

  was:
my repository conf is  :

(group) "maven" =
    |__  (managed) "releases"
    |        |_ proxy connector to central, jboss ...
    |__  (managed) "internal"
             |_ proxy to some private repositories...

When I ask for artifacts on the group, many useless empty folders are created in both "releases" and "internal" repository. Every artifact request to a repository of the group creates the requested artifact directory structure, beeing foudn or not.


Reading DefaultRepositoryProxyConnectors.transferSimpleFile:

The localFile directory structure is created prior to running the download :

{noformat} 
localFile.getParentFile().mkdirs()
temp = File.createTempFile(...
try {
wagon.get( remotePath, temp );
moveTempToTarget( temp, localFile );
{noformat} 



> many enmpty folder created in managed repo when used as a group
> ---------------------------------------------------------------
>
>                 Key: MRM-869
>                 URL: http://jira.codehaus.org/browse/MRM-869
>             Project: Archiva
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: nicolas de loof
>            Priority: Minor
>
> my repository conf is  :
> {noformat} 
> (group) "maven" =
>     |__  (managed) "releases"
>     |        |_ proxy connector to central, jboss ...
>     |__  (managed) "internal"
>              |_ proxy to some private repositories...
> {noformat} 
> When I ask for artifacts on the group, many useless empty folders are created in both "releases" and "internal" repository. Every artifact request to a repository of the group creates the requested artifact directory structure, beeing foudn or not.

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