Uploaded image for project: 'las2peer'
  1. las2peer
  2. LAS-101

Error on executing junit and deploy-snapshot Ant targets together

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: v0.1, v0.2, v0.3
    • Fix Version/s: v0.3
    • Component/s: None
    • Labels:
      None

      Description

      Running ant with the targets clean_deps clean junit deploy-snapshot results in an error, which somehow has to do with ivy. This was tried with REST Mapper and HTTP Connector. However, the same problem might also occur for other las2peer components. This problem currently blocks us to have Jenkins execute JUnit testcases!

      This is the error message received:

      BUILD FAILED
      C:\Users\renzel\Documents\GitHub\LAS2peer-RESTMapper\build.xml:65: java.lang.ClassCastException: org.apache.ivy.core.module.descriptor.DefaultModuleDescriptor cannot be cast to org.apache.ivy.core.module.descriptor.ModuleDescriptor
      at org.apache.ivy.ant.IvyPostResolveTask.getConfsToResolve(IvyPostResolveTask.java:236)
      at org.apache.ivy.ant.IvyPostResolveTask.ensureResolved(IvyPostResolveTask.java:222)
      at org.apache.ivy.ant.IvyPostResolveTask.prepareAndCheck(IvyPostResolveTask.java:178)
      at org.apache.ivy.ant.IvyRetrieve.doExecute(IvyRetrieve.java:87)
      at org.apache.ivy.ant.IvyTask.execute(IvyTask.java:277)
      at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
      at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
      at org.apache.tools.ant.Task.perform(Task.java:348)
      at org.apache.tools.ant.Target.execute(Target.java:435)
      at org.apache.tools.ant.Target.performTasks(Target.java:456)
      at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
      at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
      at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
      at org.apache.tools.ant.Main.runBuild(Main.java:851)
      at org.apache.tools.ant.Main.startAnt(Main.java:235)
      at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
      at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

        Attachments

          Activity

            People

            Assignee:
            cuje Thomas Cujé
            Reporter:
            renzel Dominik Renzel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              18/May/15