Griffon
  1. Griffon
  2. GRIFFON-261

Dependency report throws FileNotFoundException when run on a plugin project

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9
    • Fix Version/s: 0.9.2-beta-3
    • Component/s: cli
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Stack trace follows of running dependency report on easyb plugin

      griffon dR
      Welcome to Griffon 0.9 - http://griffon.codehaus.org/
      Licensed under Apache Standard License 2.0
      Griffon home is set to: /usr/local/griffon
      
      Base Directory: /Users/aalmiray/dev/griffon/plugins/griffon-easyb/trunk
      Resolving dependencies...
      Dependencies resolved in 622ms.
      Running script /usr/local/griffon/scripts/DependencyReport.groovy
      Environment set to development
         [delete] Deleting directory /Users/aalmiray/dev/griffon/plugins/griffon-easyb/trunk/target/dependency-report
          [mkdir] Created dir: /Users/aalmiray/dev/griffon/plugins/griffon-easyb/trunk/target/dependency-report
      Obtaining dependency data...
         [report] :: loading settings :: url = jar:file:/usr/local/griffon/lib/ivy-2.1.0.jar!/org/apache/ivy/core/settings/ivysettings.xml
         [report] Processing /Users/aalmiray/.ivy2/cache/org.codehaus.griffon.internal-easyb-build.xml to /Users/aalmiray/dev/griffon/plugins/griffon-easyb/trunk/target/dependency-report/org.codehaus.griffon.internal-easyb-build.html
         [report] Processing /Users/aalmiray/.ivy2/cache/org.codehaus.griffon.internal-easyb-compile.xml to /Users/aalmiray/dev/griffon/plugins/griffon-easyb/trunk/target/dependency-report/org.codehaus.griffon.internal-easyb-compile.html
         [report] Processing /Users/aalmiray/.ivy2/cache/org.codehaus.griffon.internal-easyb-provided.xml to /Users/aalmiray/dev/griffon/plugins/griffon-easyb/trunk/target/dependency-report/org.codehaus.griffon.internal-easyb-provided.html
      Error executing script DR: : impossible to generate report: java.io.FileNotFoundException: /Users/aalmiray/.ivy2/cache/org.codehaus.griffon.internal-easyb-provided.xml (No such file or directory)
      : impossible to generate report: java.io.FileNotFoundException: /Users/aalmiray/.ivy2/cache/org.codehaus.griffon.internal-easyb-provided.xml (No such file or directory)
      	at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:391)
      	at gant.Gant$_dispatch_closure7.doCall(Gant.groovy:415)
      	at gant.Gant$_dispatch_closure7.doCall(Gant.groovy)
      	at gant.Gant.withBuildListeners(Gant.groovy:427)
      	at gant.Gant.this$2$withBuildListeners(Gant.groovy)
      	at gant.Gant$this$2$withBuildListeners.callCurrent(Unknown Source)
      	at gant.Gant.dispatch(Gant.groovy:415)
      	at gant.Gant.this$2$dispatch(Gant.groovy)
      	at gant.Gant.invokeMethod(Gant.groovy)
      	at gant.Gant.executeTargets(Gant.groovy:590)
      	at gant.Gant.executeTargets(Gant.groovy:589)
      Caused by: : impossible to generate report: java.io.FileNotFoundException: /Users/aalmiray/.ivy2/cache/org.codehaus.griffon.internal-easyb-provided.xml (No such file or directory)
      	at org.apache.ivy.ant.IvyReport.doExecute(IvyReport.java:225)
      	at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
      	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
      	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      	at DependencyReport$_run_closure1.doCall(DependencyReport.groovy:43)
      	at gant.Gant$_dispatch_closure5.doCall(Gant.groovy:381)
      	... 10 more
      Caused by: java.io.FileNotFoundException: /Users/aalmiray/.ivy2/cache/org.codehaus.griffon.internal-easyb-provided.xml (No such file or directory)
      	at java.io.FileInputStream.open(Native Method)
      	at java.io.FileInputStream.<init>(FileInputStream.java:106)
      	at org.apache.ivy.ant.IvyReport.genStyled(IvyReport.java:355)
      	at org.apache.ivy.ant.IvyReport.genreport(IvyReport.java:248)
      	at org.apache.ivy.ant.IvyReport.doExecute(IvyReport.java:211)
      	... 15 more
      Error executing script DR: : impossible to generate report: java.io.FileNotFoundException: /Users/aalmiray/.ivy2/cache/org.codehaus.griffon.internal-easyb-provided.xml (No such file or directory)
      

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Andres Almiray
            Reporter:
            Andres Almiray
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: