3 Replies Latest reply on Nov 1, 2006 8:34 AM by Ronald van Kuijk

    eclipse is hijacking my jbpm-jpdl.jar

    Tom Baeyens Master

      eclipse seems to open the generated jbpm-jpdl.jar in the target regularly

      Buildfile: C:\wsjbpm\jbpm.3_HEAD\build\build.xml
      clean:
      clean:
       [delete] Deleting directory C:\wsjbpm\jbpm.3_HEAD\jpdl\jar\target
      
      BUILD FAILED
      C:\wsjbpm\jbpm.3_HEAD\build\build.xml:33: The following error occurred while executing this line:
      C:\wsjbpm\jbpm.3_HEAD\build\base.project.build.xml:28: Unable to delete file C:\wsjbpm\jbpm.3_HEAD\jpdl\jar\target\jbpm-jpdl.jar


      each time, the only remedy i can find is to close eclipse. to my knowledge, i have nowhere a reference defined in eclipse to that file.

      if anyone has a hint or idea on how to analyse this, that would be great.

      did anyone else see the same problem ?

        • 1. Re: eclipse is hijacking my jbpm-jpdl.jar
          Ronald van Kuijk Master

          happens to me to, thought it was a local problem. Might not be the case. I sometimes also get an error that seems to suggest jbpm-jpdl.jar is on the classpath (ant tries to load something from it). Maybe ant is not running externally from the eclipse jvm?

          • 2. Re: eclipse is hijacking my jbpm-jpdl.jar
            Tom Baeyens Master

            it is indeed when i'm running ant scripts... so one hypothesis is that eclipse's ant runner doesn't close the classloaders used for running ant and the classpath files are just kept open.

            there doesn't seem to be a configuration option in eclipse to run ant in a separate process or something like that.

            i see in external tools configurations that all the ant tasks are already specified with 'Separate JVM' (and not 'run in the same JVM as the workspace) damn.

            • 3. Re: eclipse is hijacking my jbpm-jpdl.jar
              Ronald van Kuijk Master

              Error:

              BUILD FAILED
              C:\apps\eclipse32\workspace\jbpm.3-head\build\build.xml:59: The following error occurred while executing this line:
              C:\apps\eclipse32\workspace\jbpm.3-head\jboss\db\build.xml:38: java.io.FileNotFoundException: JAR entry org/jbpm/ant/jbpm.ant.tasks.properties not found in C:\apps\eclipse32\workspace\jbpm.3-head\jpdl\jar\target\jbpm-jpdl.jar