ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew (JIRA)" <j...@apache.org>
Subject [jira] Created: (IVY-1186) Rules not properly applied to parent projects
Date Wed, 21 Apr 2010 02:01:49 GMT
Rules not properly applied to parent projects
---------------------------------------------

                 Key: IVY-1186
                 URL: https://issues.apache.org/jira/browse/IVY-1186
             Project: Ivy
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.1.0
            Reporter: Andrew


It seems that rules are not properly applied to parent projects when rules are applied to
them. If the parent project is explicitly installed first, then there are no problems, but
if they are not then something breaks.

e.g. I have to do the following:
{noformat}
<ivy:install organisation="org.apache.ws" module="xmlrpc" revision="3.0"  from="installerChain"
to="local" transitive="true" overwrite="true" />
{noformat}
Before
{noformat}
<ivy:install organisation="org.apache.ws" module="xmlrpc-common" revision="3.0"  from="installerChain"
to="local" transitive="true" overwrite="true" />
{noformat}

Otherwise it fails with an error similar to
{noformat}
public: bad organisation found in
http://repo1.maven.org/maven2/org/apache/xmlrpc/xmlrpc/3.0/xmlrpc-3.0.pom:
expected='org.apache.xmlrpc found='org.apache.ws'
{noformat}

Given that I have the following rule:
{noformat}
<rule>
	<fromsystem>
		<src org="(org\.apache).ws" module="xmlrpc.*" />
		<dest org="$o1.xmlrpc" module="$m0" />
	</fromsystem>
	<tosystem>
		<src org="(org\.apache)\.xmlrpc" module="xmlrpc.*" />
		<dest org="$o1.ws" module="$m0" />
	</tosystem>
</rule>
{noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message