You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Emmanuel FOUCHE (JIRA)" <ji...@apache.org> on 2011/06/01 22:29:47 UTC

[jira] [Created] (IVY-1297) ${ivy.module} variable not resolved while executing ivy:deliver task, for non jar-type artefacts

${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

[jira] [Commented] (IVY-1297) ${ivy.module} variable not resolved while executing ivy:deliver task, for non jar-type artefacts

Posted by "Emmanuel FOUCHE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/IVY-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055762#comment-13055762 ] 

Emmanuel FOUCHE commented on IVY-1297:
--------------------------------------

Thanks for pointing this out. Best regards


> ${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
>            Assignee: Maarten Coene
>            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

        

[jira] [Resolved] (IVY-1297) ${ivy.module} variable not resolved while executing ivy:deliver task, for non jar-type artefacts

Posted by "Maarten Coene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/IVY-1297?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maarten Coene resolved IVY-1297.
--------------------------------

    Resolution: Not A Problem
      Assignee: Maarten Coene

I think it's caused by a typo in your ivy file: the javadoc artifact declaration contains the '${ivy-module}' variable; this should be '${ivy.module}' instead.

> ${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
>            Assignee: Maarten Coene
>            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