You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by "Ross Camara (JIRA)" <ji...@apache.org> on 2008/07/25 21:27:31 UTC

[jira] Created: (IVY-867) Publish Ant Task 'warnonmissing' ignored

Publish Ant Task 'warnonmissing' ignored
----------------------------------------

                 Key: IVY-867
                 URL: https://issues.apache.org/jira/browse/IVY-867
             Project: Ivy
          Issue Type: Bug
          Components: Ant
    Affects Versions: 2.0.0-beta-2
            Reporter: Ross Camara


When calling publish from an Ant script we provided a value of 'false' for the warnonmissing property. However we continue to receive warning messages in our ant log when not all the artifacts are present. 

We expected that no warnings would be printed however our log file contained the follow:

missing artifact com.ibm.ips#Component;8.1.m7.14.34!buildinfo.txt(text):
	C:\builds\M7_14\src\artifacts\buildinfo.txt file does not exist
	C:\builds\M7_14\src\artifacts\redhat\buildinfo.txt file does not exist

Examining the code it appears that although the Ant task uses the warnonmissing property it is not passed in to the Ivy call since the PublishOptions object does not contain the corresponding property. 

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


[jira] Resolved: (IVY-867) Publish Ant Task 'warnonmissing' ignored

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

Xavier Hanin resolved IVY-867.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0-RC1

I've fixed the problem, now with warnonmissing="false" you will only get messages in verbose mode.

> Publish Ant Task 'warnonmissing' ignored
> ----------------------------------------
>
>                 Key: IVY-867
>                 URL: https://issues.apache.org/jira/browse/IVY-867
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Ross Camara
>            Assignee: Xavier Hanin
>             Fix For: 2.0-RC1
>
>
> When calling publish from an Ant script we provided a value of 'false' for the warnonmissing property. However we continue to receive warning messages in our ant log when not all the artifacts are present. 
> We expected that no warnings would be printed however our log file contained the follow:
> missing artifact com.ibm.ips#Component;8.1.m7.14.34!buildinfo.txt(text):
> 	C:\builds\M7_14\src\artifacts\buildinfo.txt file does not exist
> 	C:\builds\M7_14\src\artifacts\redhat\buildinfo.txt file does not exist
> Examining the code it appears that although the Ant task uses the warnonmissing property it is not passed in to the Ivy call since the PublishOptions object does not contain the corresponding property. 

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


[jira] Assigned: (IVY-867) Publish Ant Task 'warnonmissing' ignored

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

Xavier Hanin reassigned IVY-867:
--------------------------------

    Assignee: Xavier Hanin

> Publish Ant Task 'warnonmissing' ignored
> ----------------------------------------
>
>                 Key: IVY-867
>                 URL: https://issues.apache.org/jira/browse/IVY-867
>             Project: Ivy
>          Issue Type: Bug
>          Components: Ant
>    Affects Versions: 2.0.0-beta-2
>            Reporter: Ross Camara
>            Assignee: Xavier Hanin
>
> When calling publish from an Ant script we provided a value of 'false' for the warnonmissing property. However we continue to receive warning messages in our ant log when not all the artifacts are present. 
> We expected that no warnings would be printed however our log file contained the follow:
> missing artifact com.ibm.ips#Component;8.1.m7.14.34!buildinfo.txt(text):
> 	C:\builds\M7_14\src\artifacts\buildinfo.txt file does not exist
> 	C:\builds\M7_14\src\artifacts\redhat\buildinfo.txt file does not exist
> Examining the code it appears that although the Ant task uses the warnonmissing property it is not passed in to the Ivy call since the PublishOptions object does not contain the corresponding property. 

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