3 Replies Latest reply on Nov 25, 2006 1:07 PM by kukeltje

    Cannot build update script (jbpm.3)

    hade79

      Hi,

      i'm trying to integrate a mysql db into my jbpm/jboss environment.
      I followed the steps in the docu but when i tried to build the sql-script to set up everything in the mysql db, i get this message:
      "
      D:\jbpm-starters-kit-3.1.3\jbpm-db>ant upgrade.hibernate.schema.update
      Buildfile: build.xml

      upgrade.hibernate.schema.update:
      [java] D:\jbpm-starters-kit-3.1.3\jbpm.3\lib not found.
      "

      I searched the complete jbpm-starters-kit folder for jbpm.3.

      Can anybody help me with that? I'm new in jbpm and i have no idea what kind of lib the script is looking for...

        • 1. Re: Cannot build update script (jbpm.3)
          hade79

          Hi again!

          Found out by myself.

          But now when i try to create the scripts i get this message:

          D:\jbpm-starters-kit-3.1.3\jbpm-db>ant mysql.scripts
          Buildfile: build.xml

          mysql.scripts:

          prepare:

          compile.jbpm:

          compile.identity:

          compile.jbpm.test:

          compile.webapp:

          compile.identity.test:

          compile.examples:

          compile:

          db.scripts:
          [delete] Deleting directory D:\jbpm-starters-kit-3.1.3\jbpm-db\build\mysql\scripts
          [mkdir] Created dir: D:\jbpm-starters-kit-3.1.3\jbpm-db\build\mysql\scripts
          [java] java.lang.NoClassDefFoundError: org/jbpm/db/JbpmSchema
          [java] Exception in thread "main"
          [java] Java Result: 1

          BUILD SUCCESSFUL
          Total time: 2 seconds


          The JbpmSchema.class is at "D:\jbpm-starters-kit-3.1.3\jbpm\build\classes.jbpm\org\jbpm\db".
          Where can I change the properties so that I will get my scripts created?

          • 2. Re: Cannot build update script (jbpm.3)
            hade79

            Got it!
            Wrong path in the build.xml.

            Sorry for my questions :(

            • 3. Re: Cannot build update script (jbpm.3)
              kukeltje

              I was just going to ask:

              From what I see, the question should be the other way around, what did you customize so the scripts do not get build?

              But you seem to have solved it. Still the previouse question is interesting since noone seems to have these problems, did you customize something?