ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel FOUCHE (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IVY-1297) ${ivy.module} variable not resolved while executing ivy:deliver task, for non jar-type artefacts
Date Wed, 01 Jun 2011 20:29:47 GMT
${ivy.module} variable not resolved while executing ivy:deliver task, for non jar-type artefacts
------------------------------------------------------------------------------------------------

                 Key: IVY-1297
                 URL: https://issues.apache.org/jira/browse/IVY-1297
             Project: Ivy
          Issue Type: Bug
          Components: Ant, Core
    Affects Versions: 2.2.0
         Environment: WinXPsp3 / JDK-Sun-1.6.0_24 / ANT-1.8.2
            Reporter: Emmanuel FOUCHE
            Priority: Minor


**************************
Ivy file of the module is
**************************
<ivy-module version="1.0">
    <info organisation="org.efe4it" module="test-wrapper-ivydeps-standalone"/>
    <configurations>
    	<conf name="main-compile" description="compilation of main source tree"/>
    	<conf name="javadoc" extends="main-compile" description="documentation"/>
    	<conf name="test-compile" description="compilation of test source tree"/>
    	<conf name="runtime" extends="main-compile" visibility="private" description="run"/>
    	<conf name="test" extends="test-compile,runtime" visibility="private" description="test"/>
    </configurations>
    <publications>
    	<artifact name="${ivy.module}-main" type="jar"  conf="main-compile" ext="jar"/>
    	<artifact name="${ivy.module}-test" type="jar"  conf="test-compile" ext="jar"/>
		<artifact name="${ivy-module}-javadoc" type="javadoc" conf="javadoc" ext="zip"/>
    </publications>
    <dependencies>
        <dependency org="org.slf4j" name="slf4j" rev="1.5.8" conf="main-compile->core"/>
        <dependency org="org.slf4j" name="slf4j" rev="1.5.8" conf="runtime->log4j"/>
        <dependency org="org.junit" name="junit" rev="4.5" conf="test-compile,test->default"/>
        <dependency org="org.apache.commons" name="commons-collections" rev="3.2.1" conf="main-compile->default"/>
    </dependencies>
</ivy-module>

**************************
Ant target calling deliver
**************************
	<target	name="-ivy-info" depends="-init, -ivy-configure">
		<ivy:info/>
	</target>
	<target	name="-ivy-deliver"	depends="-init, -ivy-info">
		<echo message="deliver ivy pattern: ${ivy.deliver.ivy.pattern}"/>  --> becomes
build/lib/ivy.xml
		<echo message="deliver ivy revision: ${ivy.deliver.revision}"/> --> "trunk"
		<ivy:deliver conf="*(public)"
			deliverpattern="${ivy.deliver.ivy.pattern}"
			pubrevision="${ivy.deliver.revision}"
		/>
	</target>

**************************
Delivered Ivy file
**************************
<ivy-module version="1.0">
    <info organisation="org.efe4it" module="test-wrapper-ivydeps-standalone" revision="trunk"
status="integration" publication="20110601151114"/>
    <configurations>
    	<conf name="main-compile" description="compilation of main source tree"/>
    	<conf name="javadoc" extends="main-compile" description="documentation"/>
    	<conf name="test-compile" description="compilation of test source tree"/>
    </configurations>
    <publications>
    	<artifact name="test-wrapper-ivydeps-standalone-main" type="jar" conf="main-compile"
ext="jar"/>
    	<artifact name="test-wrapper-ivydeps-standalone-test" type="jar" conf="test-compile"
ext="jar"/>
		<artifact name="${ivy-module}-javadoc" type="javadoc" conf="javadoc" ext="zip"/>
    </publications>
    <dependencies>
        <dependency org="org.slf4j" name="slf4j" rev="1.5.8" conf="main-compile->core"/>
        <dependency org="org.junit" name="junit" rev="4.5" conf="test-compile->default"/>
        <dependency org="org.apache.commons" name="commons-collections" rev="3.2.1" conf="main-compile->default"/>
    </dependencies>
</ivy-module>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message