You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by ma...@apache.org on 2008/09/17 22:53:38 UTC
svn commit: r696442 - in /ant/ivy/core/trunk: CHANGES.txt
doc/resolver/filesystem.html
Author: maartenc
Date: Wed Sep 17 13:53:37 2008
New Revision: 696442
URL: http://svn.apache.org/viewvc?rev=696442&view=rev
Log:
DOCUMENTATION: Filesystem resolver: talks about "patterns" but does notmention these must become absolute file paths (IVY-910)
Modified:
ant/ivy/core/trunk/CHANGES.txt
ant/ivy/core/trunk/doc/resolver/filesystem.html
Modified: ant/ivy/core/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/CHANGES.txt?rev=696442&r1=696441&r2=696442&view=diff
==============================================================================
--- ant/ivy/core/trunk/CHANGES.txt (original)
+++ ant/ivy/core/trunk/CHANGES.txt Wed Sep 17 13:53:37 2008
@@ -74,6 +74,11 @@
John Williams
Patrick Woodworth
Jaroslaw Wypychowski
+
+ trunk version
+=====================================
+- DOCUMENTATION: Filesystem resolver: talks about "patterns" but does not mention these must become absolute file paths (IVY-910)
+
2.0.0-rc1
=====================================
Modified: ant/ivy/core/trunk/doc/resolver/filesystem.html
URL: http://svn.apache.org/viewvc/ant/ivy/core/trunk/doc/resolver/filesystem.html?rev=696442&r1=696441&r2=696442&view=diff
==============================================================================
--- ant/ivy/core/trunk/doc/resolver/filesystem.html (original)
+++ ant/ivy/core/trunk/doc/resolver/filesystem.html Wed Sep 17 13:53:37 2008
@@ -32,7 +32,7 @@
<span class="tagdoc" id="ivysettings.resolvers.filesystem">This resolver uses the file system to resolve ivy files and artifacts.</span> It presents the advantage to usually have very good performances. Moreover, it is easy to setup using basic OS file sharing mechanism.
-The configuration of such a resolver is mainly done through ivy and artifact patterns, indicating where ivy files and artifacts can be found in the file system. You can indicate a list of pattern which will be checked one after the other.
+The configuration of such a resolver is mainly done through ivy and artifact patterns, indicating where ivy files and artifacts can be found in the file system. These patterns must be absolute paths (<span class="since">since 2.0</span>). You can indicate a list of pattern which will be checked one after the other.
<span class="since">since 1.3</span> Using the m2compatible attribute, this resolver will convert dots found in organisation in slashes like maven2 does for groupId. For instance, it will transform the organisation from 'com.company' into 'com/company' when replacing the token [organisation] in your pattern.
<strong>Limitation</strong>: in m2compatible mode, this resolver is not able list available organizations. It means some features like [[ant:repreport]] are not available.
@@ -44,7 +44,7 @@
<b>Limitations</b>
Atomic publish is currently limited in several ways:
<ul>
-<li>you need to use a pattern for both the artifact and the ivy files which uses the revision as a directory. For instance [module]/[revision]/[artifact].[ext] works, [module]/[artifact]-[revision].[ext] doesn't</li>
+<li>you need to use a pattern for both the artifact and the ivy files which uses the revision as a directory. For instance "${repository.dir}/[module]/[revision]/[artifact].[ext]" works, "${repository.dir}/[module]/[artifact]-[revision].[ext]" doesn't</li>
<li>both the artifact and ivy pattern should have the same prefix until the [revision] token.</li>
<li>overwrite during publish is not supported</li>
<li>you should not use revision names ending with '.part'</li>