ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Damien Chambe (JIRA)" <j...@apache.org>
Subject [jira] Updated: (IVYDE-232) Error "cannot download non-project artifact" for artifact dependencies
Date Fri, 05 Feb 2010 11:41:27 GMT

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

Damien Chambe updated IVYDE-232:
--------------------------------

    Description: 
When  using artifact restrictions dependencies, the workspace resolver is wrongly reporting
an error.

ivy.xml :
<dependencies>
  <dependency org="asis" name="connector" rev="1.03" conf="connector" >
    <artifact name="socketserver" type="lib/export/connector" ext="jar"/>
   </dependency>			
</dependencies>

when resolving, the following error is reported:

[Eclipse Workspace resolver] cannot download non-project artifact: asis#connector;1.03!socketserver.jar(lib/export/connector)
WARN: 	[FAILED     ] asis#connector;1.03!socketserver.jar(lib/export/connector):  (0ms)
no failure report implemented by exc-SocketServer-LM-ivyde-workspace-resolver

:: problems summary ::
:::: WARNINGS
		[FAILED     ] asis#connector;1.03!socketserver.jar(lib/export/connector):  (0ms)

		::::::::::::::::::::::::::::::::::::::::::::::

		::              FAILED DOWNLOADS            ::

		:: ^ see resolution messages for details  ^ ::

		::::::::::::::::::::::::::::::::::::::::::::::

		:: asis#connector;1.03!socketserver.jar(lib/export/connector)

		::::::::::::::::::::::::::::::::::::::::::::::

In this case, the WorkspaceResolver should set the download status to NO instead of FAIL:

 public DownloadReport download(Artifact[] artifacts, DownloadOptions options) {
...
                Message.verbose("\t[Eclipse Workspace resolver] "
                        + "cannot download non-project artifact: " + artifacts[i]);
                adr.setDownloadStatus(DownloadStatus.NO);


The resolution works with this fix, but perhaps I'm missing other error case...

  was:
When  using artifact restrictions dependencies, the workspace resolver is wrongly reporting
an error:

ivy.xml :
<dependencies>
  <dependency org="asis" name="connector" rev="1.03" conf="connector" >
    <artifact name="socketserver" type="lib/export/connector" ext="jar"/>
   </dependency>			
</dependencies>

when resolving, the following error is reported:

[Eclipse Workspace resolver] cannot download non-project artifact: asis#connector;1.03!socketserver.jar(lib/export/connector)
WARN: 	[FAILED     ] asis#connector;1.03!socketserver.jar(lib/export/connector):  (0ms)
no failure report implemented by exc-SocketServer-LM-ivyde-workspace-resolver

:: problems summary ::
:::: WARNINGS
		[FAILED     ] asis#connector;1.03!socketserver.jar(lib/export/connector):  (0ms)

		::::::::::::::::::::::::::::::::::::::::::::::

		::              FAILED DOWNLOADS            ::
wrong
		:: ^ see resolution messages for details  ^ ::

		::::::::::::::::::::::::::::::::::::::::::::::

		:: asis#connector;1.03!socketserver.jar(lib/export/connector)

		::::::::::::::::::::::::::::::::::::::::::::::

In this case, the WorkspaceResolver should set the download status to NO instead of FAIL:

 public DownloadReport download(Artifact[] artifacts, DownloadOptions options) {
...
                Message.verbose("\t[Eclipse Workspace resolver] "
                        + "cannot download non-project artifact: " + artifacts[i]);
                adr.setDownloadStatus(DownloadStatus.NO);


The resolution works with this fix, but perhaps I'm missing other error case...


> Error "cannot download non-project artifact" for artifact dependencies
> ----------------------------------------------------------------------
>
>                 Key: IVYDE-232
>                 URL: https://issues.apache.org/jira/browse/IVYDE-232
>             Project: IvyDE
>          Issue Type: Bug
>          Components: workspace resolver
>    Affects Versions: 2.1.0
>         Environment: linux ubuntu 9.10 x64 /  eclipse 3.4.2 / jre 1.6.018
>            Reporter: Damien Chambe
>
> When  using artifact restrictions dependencies, the workspace resolver is wrongly reporting
an error.
> ivy.xml :
> <dependencies>
>   <dependency org="asis" name="connector" rev="1.03" conf="connector" >
>     <artifact name="socketserver" type="lib/export/connector" ext="jar"/>
>    </dependency>			
> </dependencies>
> when resolving, the following error is reported:
> [Eclipse Workspace resolver] cannot download non-project artifact: asis#connector;1.03!socketserver.jar(lib/export/connector)
> WARN: 	[FAILED     ] asis#connector;1.03!socketserver.jar(lib/export/connector):  (0ms)
> no failure report implemented by exc-SocketServer-LM-ivyde-workspace-resolver
> :: problems summary ::
> :::: WARNINGS
> 		[FAILED     ] asis#connector;1.03!socketserver.jar(lib/export/connector):  (0ms)
> 		::::::::::::::::::::::::::::::::::::::::::::::
> 		::              FAILED DOWNLOADS            ::
> 		:: ^ see resolution messages for details  ^ ::
> 		::::::::::::::::::::::::::::::::::::::::::::::
> 		:: asis#connector;1.03!socketserver.jar(lib/export/connector)
> 		::::::::::::::::::::::::::::::::::::::::::::::
> In this case, the WorkspaceResolver should set the download status to NO instead of FAIL:
>  public DownloadReport download(Artifact[] artifacts, DownloadOptions options) {
> ...
>                 Message.verbose("\t[Eclipse Workspace resolver] "
>                         + "cannot download non-project artifact: " + artifacts[i]);
>                 adr.setDownloadStatus(DownloadStatus.NO);
> The resolution works with this fix, but perhaps I'm missing other error case...

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


Mime
View raw message