[
https://issues.apache.org/jira/browse/IVY-337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gintas Grigelionis updated IVY-337:
-----------------------------------
Description:
Ivy 1.4.0
Suppose to have ivy.retrieve.pattern = /[conf]/[type]s/[artifact].[ext] and
perform a retrieve with conf="runtime, compile, test" building a structure like
this:
{code}
dep
runtime
jars
x.jar
compile
jars
y.jar
test
jars
z.jar
{code}
Then perform a retrieve with conf="runtime" sync="true". This will wipe out the
"compile" and "test" directories with all the content, while indeed the sync
should be done only within the [conf] directory.
There should be a syncPattern attribute where to declare the depth of the tree
from which to start the sync operation. For instance in the preceeding case it
would be syncPattern="/[conf]" to start sincing within dep/runtime directory.
was:
Ivy 1.4.0
Suppose to have ivy.retrieve.pattern = /[conf]/[type]s/[artifact].[ext] and
perform a retrieve with conf="runtime, compile, test" building a structure like
this:
dep
runtime
jars
x.jar
compile
jars
y.jar
test
jars
z.jar
Then perform a retrieve with conf="runtime" sync="true". This will wipe out the
"compile" and "test" directories with all the content, while indeed the sync
should be done only within the [conf] directory.
There should be a syncPattern attribute where to declare the depth of the tree
from which to start the sync operation. For instance in the preceeding case it
would be syncPattern="/[conf]" to start sincing within dep/runtime directory.
> Retrieve with sync needs syncPattern
> ------------------------------------
>
> Key: IVY-337
> URL: https://issues.apache.org/jira/browse/IVY-337
> Project: Ivy
> Issue Type: New Feature
> Components: Ant
> Reporter: Gabriele Garuglieri
>
> Ivy 1.4.0
> Suppose to have ivy.retrieve.pattern = /[conf]/[type]s/[artifact].[ext] and
> perform a retrieve with conf="runtime, compile, test" building a structure
> like this:
> {code}
> dep
> runtime
> jars
> x.jar
> compile
> jars
> y.jar
> test
> jars
> z.jar
> {code}
> Then perform a retrieve with conf="runtime" sync="true". This will wipe out
> the "compile" and "test" directories with all the content, while indeed the
> sync should be done only within the [conf] directory.
> There should be a syncPattern attribute where to declare the depth of the
> tree from which to start the sync operation. For instance in the preceeding
> case it would be syncPattern="/[conf]" to start sincing within dep/runtime
> directory.
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)