ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brown, Carlton" <>
Subject Namespace problems
Date Fri, 04 Apr 2008 17:52:10 GMT
I'm getting errors I don't understand while using install with namespace
and I'd appreciate any insight.   
Briefly, my intention is to copy foo-module- from an RC
repository into a final repository with the version changed to 1.0.0
(truncating the final number).
My rename rule looks like this:

        <!-- Space holder, because although there will never be a
fromsystem copy, Ivy still throws NPE if we don't include this xml
element -->
           <src rev="(.+)\.(.+)\.(.+)\.(.+)"/>
           <dest rev="$r1\.$r2\.$r3"/>
First, a question... clearly, the <fromsystem> is required because I get
a NullPointerException if it is not defined.  But am I wrong to think
that <fromsystem> is unnecessary if I know that I will never install
*from* the system, always *to* it?
Second, regarding the strange error:
[ivy:install] ERROR: rc-fs: bad revision found in
expected=' found='1.0.0'
[ivy:install] java.text.ParseException: inconsistent module descriptor
file found in
'C:\artifact-repositories\rc-repo\myorg\foo-module\\ivy.xml': bad
revision: expected='' found='1.0.0';
I don't understand the reasons for this error, because naturally the
original ivy file should not contain the modified revision number.
Even more odd, it seems to me that the semantic sense of the error is
reversed.   The so-called 'expected' revision is definitely
found in the\ivy.xml file.   The so-called 'found' revision of
1.0.0 is, of course, not found in that any file (since 1.0.0 is the new
revision number to be installed).   So basically I'm totally confused as
to what went wrong.
I'd really appreciate help understanding this, I beat my head against it
for several hours and came no closer to understanding it.   I emulated
the tutorial as much as possible, but it seems I am having no luck.

<HTML><BODY><P><hr size=1></P>
This message contains PRIVILEGED and CONFIDENTIAL
information that is intended only for use by the 
named recipient. If you are not the named recipient,
any disclosure, dissemination, or action based on 
the contents of this message is prohibited. In such
case please notify us and destroy and delete all 
copies of this transmission.  Thank you.
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message