Menu

Occasional Ant problems

Help
2006-08-17
2013-04-25
  • Jonas Bergström

    Hello,

    I have a couple of co-workers that some times have problems to run C4J-enabled applications from Ant's JUnit task.
    The task just hangs while loading the first class (before any instrumentation has taken place), and never return.

    When Ctrl-Break is pressed there is nothing that indicates a deadlock.

    Has this happened to anyone else?

    Do someone know what could cause this, could it have to do with how the JUnit task handles the -javaagent option, or is it C4J that won't work properly with Ant's class loading?

    Any help would be appreciated...

    Thanks / Jonas

     
    • Jonas Bergström

      FYI, I think I've fixed this issue in 2.4.2 and 2.5.0 where I cleaned up the class loader management and added javassist.jar to the boot classpath.
      At least we haven't had this problem since...

      / Jonas

       

Log in to post a comment.