You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by zyd08 <yi...@db.com> on 2009/01/29 19:02:18 UTC

ivy report not working!

Can anyone tell me why ivy:report isnt working for me please? 
After resolve, I have 
<ivy:report todir="artifacts" xml="true" organisation="options"
module="ordermanager"/>,
The html files could not be created with the following message:
java.lang.IllegalStateException: Report file
'/export/log/LRP/DNA/ivy/options-ordermanager-core.xml' does not exist.

However, if i just do <ivy:report todir="artifacts">, the reports will be
created with no problem; but that was for the default module only, and what
I really need for the report to be generated is ordermanager module. I know
I must have been stuck on a simple issue, could anyone tell me what I am
missing please? Thanks a lot!

-- 
View this message in context: http://www.nabble.com/ivy-report-not-working%21-tp21732291p21732291.html
Sent from the ivy-user mailing list archive at Nabble.com.


Re: ivy report not working!

Posted by Niklas Matthies <ml...@nmhq.net>.
On Fri 2009-01-30 at 09:04h, Brown, Carlton wrote on ivy-user:
> If you want to get dependencies of just one dependency, you should
> resolve that dependency's ivy.xml individually.

This can give different results though than in the context of
resolving a depending ivy.xml.

-- Niklas Matthies

RE: ivy report not working!

Posted by "Brown, Carlton" <Ca...@compucredit.com>.
If you want to get dependencies of just one dependency, you should
resolve that dependency's ivy.xml individually.   If you actually meant
getting the dependencies of just one artifact in your ivy.xml, that
artifact should be part of a configuration that you can then resolve
individually.

From what you are describing, it sounds like you are using the wrong
attributes.  You should resolve ordermanager specifically, then call
report without any attributes for module or revision.   That is normally
how it is done.   

-----Original Message-----
From: zyd08 [mailto:yiduo.zhou@db.com] 
Sent: Friday, January 30, 2009 5:18 AM
To: ivy-user@ant.apache.org
Subject: Re: ivy report not working!


Maybe I need to rephrase my question: how can I get ivy to report
dependencies of only one dependency defined in ivy.xml? i.e. I just want
to show what versions of jar files that ordermanager.jar is dependent
on. 

Thank you!


zyd08 wrote:
> 
> Can anyone tell me why ivy:report isnt working for me please? 
> After resolve, I have
> <ivy:report todir="artifacts" xml="true" organisation="options"
> module="ordermanager"/>,
> The html files could not be created with the following message:
> java.lang.IllegalStateException: Report file 
> '/export/log/LRP/DNA/ivy/options-ordermanager-core.xml' does not
exist.
> 
> However, if i just do <ivy:report todir="artifacts">, the reports will

> be created with no problem; but that was for the default module only, 
> and what I really need for the report to be generated is ordermanager
module.
> I know I must have been stuck on a simple issue, could anyone tell me 
> what I am missing please? Thanks a lot!
> 
> 

--
View this message in context:
http://www.nabble.com/ivy-report-not-working%21-tp21732291p21744603.html
Sent from the ivy-user mailing list archive at Nabble.com.


-----------------------------------------
====================================================
This message contains PRIVILEGED and CONFIDENTIAL
information that is intended only for use by the 
named recipient. If you are not the named recipient,
any disclosure, dissemination, or action based on 
the contents of this message is prohibited. In such
case please notify us and destroy and delete all 
copies of this transmission.  Thank you.
====================================================

Re: ivy report not working!

Posted by zyd08 <yi...@db.com>.
Thanks for the solutions above!
-- 
View this message in context: http://www.nabble.com/ivy-report-not-working%21-tp21732291p21747920.html
Sent from the ivy-user mailing list archive at Nabble.com.


Re: ivy report not working!

Posted by zyd08 <yi...@db.com>.
Maybe I need to rephrase my question: how can I get ivy to report
dependencies of only one dependency defined in ivy.xml? i.e. I just want to
show what versions of jar files that ordermanager.jar is dependent on. 

Thank you!


zyd08 wrote:
> 
> Can anyone tell me why ivy:report isnt working for me please? 
> After resolve, I have 
> <ivy:report todir="artifacts" xml="true" organisation="options"
> module="ordermanager"/>,
> The html files could not be created with the following message:
> java.lang.IllegalStateException: Report file
> '/export/log/LRP/DNA/ivy/options-ordermanager-core.xml' does not exist.
> 
> However, if i just do <ivy:report todir="artifacts">, the reports will be
> created with no problem; but that was for the default module only, and
> what I really need for the report to be generated is ordermanager module.
> I know I must have been stuck on a simple issue, could anyone tell me what
> I am missing please? Thanks a lot!
> 
> 

-- 
View this message in context: http://www.nabble.com/ivy-report-not-working%21-tp21732291p21744603.html
Sent from the ivy-user mailing list archive at Nabble.com.