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 Mustafa Daşgın <da...@gmail.com> on 2008/08/18 11:18:37 UTC

Ivy repreport

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

Ivy repreport

Posted by Mustafa Daşgın <da...@gmail.com>.
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



-- 
Mustafa DAŞGIN

http://mdasgin.blogspot.com