jswdevteam created IVY-1635: ------------------------------- Summary: attributes of inline ivy:resolve not being re-used by post-resolve tasks Key: IVY-1635 URL: https://issues.apache.org/jira/browse/IVY-1635 Project: Ivy Issue Type: Bug Affects Versions: 2.5.0 Reporter: jswdevteam
I tried to have one inline resolve task followed by several retrieve tasks. Example: {{<ivy:resolve resolveId="resolve1" inline="true" organisation="myorg" module="mymod" revision="${mymod.revision}" settingsRef="settings1"/>}} {{<ivy:retrieve resolveId="resolve1" pattern="external/lib/[artifact].[ext]" type="lib" />}} {{<ivy:retrieve resolveId="resolve1" pattern="external/include/mymod.[ext]" type="header"/>}} I was expecting that the retrieve tasks would reuse the informations of the resolve previously done. But I get this error: ??no organisation provided for ivy cache task: It can either be set explicitly via the attribute 'organisation' or via 'ivy.organisation' property *or a prior call to <resolve/>*?? If I don't call {{<ivy:resolve> }}and repeat all the attributes (inline, organization, , module, revision, etc.) to each retrieve task, then it works. However I would think it more logical to resolve once and retrieve as many time as needed using the same resolve. -- This message was sent by Atlassian Jira (v8.20.1#820001)