You are viewing a plain text version of this content. The canonical link for it is here.
Posted to npanday-commits@incubator.apache.org by "Adelita L. Padilla (JIRA)" <ji...@apache.org> on 2011/01/10 07:09:45 UTC

[jira] Updated: (NPANDAY-356) Addin 'resync references' feature fails to download latest SNAPSHOT from remote repo if older snapshot file already exists locally.

     [ https://issues.apache.org/jira/browse/NPANDAY-356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adelita L. Padilla updated NPANDAY-356:
---------------------------------------

    Fix Version/s: 1.3-incubating

> Addin 'resync references' feature fails to download latest SNAPSHOT from remote repo if older snapshot file already exists locally.
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NPANDAY-356
>                 URL: https://issues.apache.org/jira/browse/NPANDAY-356
>             Project: NPanday
>          Issue Type: Bug
>          Components: Visual Studio Add-in
>    Affects Versions: 1.2.1
>         Environment: Windows
>            Reporter: Paul G
>             Fix For: 1.3-incubating
>
>         Attachments: NPANDAY-356.patch
>
>
> The VisualStudio.Addin's ReferenceManager.cs simply checks for the presence of a snapshot artifact file in the local repo, and if it's present it copies it to the project's reference folder. No attempt to check the remote snapshot state
> To fix this I did the following:
> In ReferenceManager.cs line 94, replace:
> if (!artifact.FileInfo.Exists)
> with
> if (!artifact.FileInfo.Exists || artifact.Version.EndsWith("SNAPSHOT"))

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.