Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
2.1.0
-
None
-
None
-
linux ubuntu 9.10 x64 / eclipse 3.4.2 / jre 1.6.018
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...
Attachments
Issue Links
- duplicates
-
IVYDE-188 Workspace Resolver Prevents Source Download
- Resolved