ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nascif Abousalh-Neto" <Nascif.AbousalhN...@sas.com>
Subject repreport output - no edges?
Date Tue, 26 Jun 2007 21:16:19 GMT
I was able to make the necessary changes to the multi-project tutorial project (1.4.1 version)
to get it to work using only local repositories (including one that holds the apache common
libraries). I struggled a bit with the configurations, which I believe were broken/missing
in some of the files, but in the end I got a top-to-bottom succesful compilation.

Then I proceeded to run the repreport task, and to my disappointment it produces a graph with
all the nodes - but no edges or version information! This is the .dot file:


/* * directed graph dot input file. * * generated by ivy report */
            digraph G {"commons-lang""commons-logging""commons-collections""commons-cli""version""find""size""sizewhere""console""list"}


The .graphml is just like that.
Any ideas? This is how it looks like in my Ant file:

  <target name="configure">
    <!-- setup ivy default configuration with some custom info -->
    <property name="ivy.local.default.root" value="${repository.dir}/sas/"/>
    <property name="ivy.shared.default.root" value="${repository.dir}/tpj/"/>
    
    <!-- here is how we would have configured ivy if we had our own ivyconf file -->
    <ivy:configure file="${common.dir}/ivyconf.xml" />
  </target>
	
  <target name="repreport" depends="configure"> 
    <ivy:repreport graph="true" dot="true"/>
  </target>

And ivyconf.xml is:
<ivyconf>
  <conf defaultResolver="chain"/>
  <resolvers>
    <chain name="chain">
      <filesystem name="local">
        <artifact pattern="${repository.dir}/local/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
/>
      </filesystem>
      <filesystem name="shared">
        <artifact pattern="${repository.dir}/shared/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
/>
      </filesystem>
      <filesystem name="tpj">
        <artifact pattern="${repository.dir}/tpj/[organisation]/[module]/[revision]/[artifact]-[revision].[ext]"
/>
      </filesystem>
    </chain>
  </resolvers>
</ivyconf>

Thanks,
  Nascif

Mime
View raw message