ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg St.Onge (JIRA)" <j...@apache.org>
Subject [jira] Commented: (IVY-830) ivy.dep.file property unavailable before first <ivy:resolve> call, despite <ivy:settings> being called
Date Tue, 10 Jun 2008 16:44:45 GMT

    [ https://issues.apache.org/jira/browse/IVY-830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603926#action_12603926
] 

Greg St.Onge commented on IVY-830:
----------------------------------

Alright, so, I can just use the ivy:configure task for now and just ignore the deprecation
warning. Thanks.

> ivy.dep.file property unavailable before first <ivy:resolve> call, despite <ivy:settings>
being called
> ------------------------------------------------------------------------------------------------------
>
>                 Key: IVY-830
>                 URL: https://issues.apache.org/jira/browse/IVY-830
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>         Environment: Windows
>            Reporter: Greg St.Onge
>             Fix For: 2.0.0-beta-1
>
>
> The following test script:
> <ivy:settings/>
> <echo message="ivy.dep.file = ${ivy.dep.file}"/>
> <ivy:resolve/>
> <echo message="ivy.dep.file = ${ivy.dep.file}"/>
> Produces this output:
> [echo] ivy.dep.file = ${ivy.dep.file}
> [ivy:resolve] :: Ivy 2.0.0-beta2-local-20080108025749 - 20080108025749 :: http://ant.apache.org/ivy/
::
> :: loading settings :: file = C:\svn\ARCH-TOOL\ivy\hss-ivysettings.xml
> [ivy:resolve] :: resolving dependencies :: hss#ef.srv;working@EDW-DV-GStOnge
> [ivy:resolve]   confs: [compile, war, schema, spec-pdf, spec-html, javadocs]
> [ivy:resolve] :: resolution report :: resolve 172ms :: artifacts dl 0ms
> [echo] ivy.dep.file = ivy.xml
> Interestingly, the deprecated <ivy:configure> works properly:
> <ivy:configure/>
> <echo message="ivy.dep.file = ${ivy.dep.file}"/>
> <ivy:resolve/>
> <echo message="ivy.dep.file = ${ivy.dep.file}"/>
> Produces output:
> [ivy:configure] ivy:configure is deprecated, please use the data type ivy:settings instead
> [echo] ivy.dep.file = ivy.xml
> no settings file found, using default...
> [ivy:resolve] :: Ivy 2.0.0-beta2-local-20080108025749 - 20080108025749 :: http://ant.apache.org/ivy/
::
> :: loading settings :: url = jar:file:/C:/svn/ARCH-TOOL/ivy/apache.ivy_2.0.0.beta2_20080108025749.jar!/org/apache/ivy/core/settings/ivysettings.xml
> [ivy:resolve] :: resolving dependencies :: hss#ef.srv;working@EDW-DV-GStOnge
> [ivy:resolve]   confs: [compile, war, schema, spec-pdf, spec-html, javadocs]
> [ivy:resolve] :: resolution report :: resolve 125ms :: artifacts dl 0ms
> [echo] ivy.dep.file = ivy.xml
> I encountered this problem when trying to use the ivy.dep.file property as a default
value in macros.

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