ant - apache ivy - what to have in the ivysettings.xml -
I am playing with the original and gradually expanded in a state where I now have an esprit iv XML Which defines my dependencies and with the IV jar inside the apache ant establishment.
I have also been able to define a common stock to close the IV in an external repository. This solution has been done by defining qualities in the work.
& lt; Target name = & quot; Hull & quot; & Quot; = & Quot; Details = & quot; Resolve dependency & quot; & Gt; & Lt; Property Name = & quot; IV.share.default.root & quot; Value = & quot; C: Ivy / local / localLibsStore & quot; / & Gt; & Lt; Property Name = & quot; IV.Shielded.default.artifact.pattern & quot; Value = & quot; [Module] / [modification] / [type] s / [artifact] - [amendment] [extension]. & Quot; / & Gt; & Lt; Ivy: Recover / & gt; & Lt; / Target & gt;
However I have tried to run these properties with a destiny in separate ivysettings.xml file.
So the question is what should be in my ivysettings .xml?
My latest attempt was the error given below:
Unknown Resolver Taps
No Resolver Was Found ...
& lt; Ivysettings & gt; & Lt; Property Name = & quot; IV.share.default.root & quot; Value = & quot; C: Ivy / local / localLibsStore & quot; / & Gt; & Lt; Property Name = & quot; IV.Shielded.default.artifact.pattern & quot; Value = & quot; [Module] / [modification] / [type] s / [artifact] - [amendment] [extension]. & Quot; / & Gt; & Lt; Resolver & gt; & Lt; File system name = & quot; Shared & quot; & Gt; & Lt; IV pattern = & quot; $ {Ivy.shared.default.root} / $ {ivy.shared.default.ivy.pattern} & quot; / & Gt; & Lt; Artifact Pattern = & quot; $ {Ivy.shared.default.root} / $ {ivy.shared.default.artifact.pattern} & quot; / & Gt; & Lt; / File system & gt; & Lt; / Resolver & gt; & Lt; / Ivysettings & gt;
sussed it.
found this
I have changed my settings. Xml to look like this
& lt; Ivysettings & gt; & Lt; Settings default resolver = & quot; Chain & quot; /> & Lt; Property Name = & quot; Java.net.maven.pattern & quot; Value = & quot; [Organization] / Jar / [Module] - [Amendment] [Extension] & quot; />. & Lt; Property Name = & quot; IV.share.default.root & quot; Value = & quot; C: Ivy / local / localLibsStore & quot; / & Gt; & Lt; Property Name = & quot; IV.Shielded.default.artifact.pattern & quot; Value = & quot; [Module] / [modification] / [type] s / [artifact] - [amendment] [extension]. & Quot; / & Gt; & Lt; Resolver & gt; & Lt; File system name = & quot; Shared & quot; & Gt; & Lt; IV pattern = & quot; $ {Ivy.shared.default.root} / $ {ivy.shared.default.ivy.pattern} & quot; / & Gt; & Lt; Artifact Pattern = & quot; $ {Ivy.shared.default.root} / $ {ivy.shared.default.artifact.pattern} & quot; / & Gt; & Lt; / File system & gt; & Lt; Chain name = & quot; Chained & quot; ReturnFirst = & quot; True & quot; & Gt; & Lt; Result referee = & quot; Shared & quot; /> & Lt; Ibiblio name = & quot; Ibiblio & quot; M2compatible = & quot; True & quot; /> & Lt; Ibiblio name = & quot; Java-net-maven1 & quot; Root = & quot; Http: //download.java.net/maven/1" Pattern = & quot; $ {Java.net.maven.pattern} & quot; M2compatible = & quot; False & quot; /> & Lt; Ibiblio name = & quot; Java-net-maven2 & quot; Root = & quot; Http: //download.java.net/maven/2/" M2compatible = & quot; True & quot; /> & Lt; Url name = & quot; Sourceforge & quot; & Gt; & Lt; Artifact Pattern = & quot; Http: //easynews.dl.sourceforge.net/sourceforge/ [Organization] / [Module] _ [Amendment]. Zip & quot; / & Gt; & Lt; Artifact Pattern = & quot; Http: //easynews.dl.sourceforge.net/sourceforge/ [Organization] / [Module] - [Amendment]. Zip & quot; / & Gt; & Lt; / URL & gt; & Lt; / Series & gt; & Lt; / Resolver & gt; & Lt; / Ivysettings & gt;
Comments
Post a Comment