ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mustafa Daşgın" <das...@gmail.com>
Subject Ivy repreport
Date Mon, 18 Aug 2008 09:18:37 GMT
Hi,

I am able to run ivy report but I have a problem with repreport. After
i run repreport by ant task, i see some results as below and i can't
see anything in graphml:

---
Buildfile: D:\work\projects\innova.sifir.proje\build.xml
ivy.create.repository.report:
[ivy:repreport] :: Ivy 2.0.0-beta1 - 20071206070608 ::
http://ant.apache.org/ivy/ ::
:: loading settings :: file = \\Safe\ivy-repository\config\ivysettings.xml
[ivy:repreport] :: resolving dependencies :: caller#all-caller;working
[ivy:repreport]         confs: [default]
[ivy:repreport] :: resolution report :: resolve 31ms :: artifacts dl 0ms
       ---------------------------------------------------------------------
       |                  |            modules            ||   artifacts   |
       |       conf       | number| search|dwnlded|evicted|| number|dwnlded|
       ---------------------------------------------------------------------
       |      default     |   0   |   0   |   0   |   0   ||   0   |   0   |
       ---------------------------------------------------------------------
[ivy:repreport] Processing C:\Documents and
Settings\mdasgin\.ivy2\cache\caller-all-caller-default.xml to
D:\work\projects\innova.sifir.proje\target\ivy-graph-report\ivy-repository-report.graphml
[ivy:repreport] Loading stylesheet C:\Documents and
Settings\mdasgin\.ivy2\cache\ivy-report-graph-all.xsl
BUILD SUCCESSFUL
Total time: 2 seconds
---

My ant task definition is:
---
       <target name="ivy.create.repository.report"
description="generate jar dependency graph of repository">
               <ivy:settings id="ivy.instance" file="${ivy.conf.file}" />
               <ivy:repreport todir="${ivy.graph.output}" graph="true"/>
       </target>
---


and my ivy config file is:

---
<ivysettings>
       <settings defaultResolver="chain-resolver" checkUpToDate="false"/>
       <resolvers>
                       <chain name="chain-resolver" returnFirst="false">
                               <filesystem name="default"
latest="modified-latest-revision">
                                       <artifact
pattern="${ivy.repository}/[organization]/[module]/jars/[artifact]-[revision].[ext]"/>
                                       <ivy
pattern="${ivy.repository}/[organization]/[module]/ivys/ivy-[revision].xml"
/>
                               </filesystem>
                       </chain>
      </resolvers>

       ...
</ivysettings>
---

Would you help me please? thanks a lot.

-- 
Mustafa DAŞGIN

http://mdasgin.blogspot.com
Mime
View raw message