7 Replies Latest reply on Mar 20, 2007 4:01 PM by kukeltje

    How to build 3.2-ga from source?

    hszillat

      I'm missing the pom.xml-file from the 3.2-ga distribution. Do I have to download a "special" source-distribution to build jBpm from source?

        • 1. Re: How to build 3.2-ga from source?
          kukeltje

          there has never been a pom.xml file afaik.... so no, you do not miss anything. What errors do you get?

          • 2. Re: How to build 3.2-ga from source?
            hszillat

            Well, at least in 3.1.4 there was a pom.xml file (and I could even compile jBpm by just calling 'mvn compile').

            I do not get any errors now, because: How do I compile it? As far as I can see, there is no pom.xml and no build.xml-file?

            Should I do a checkout from CVS? Problem is: I'm sitting behind a firewall... :(

            • 3. Re: How to build 3.2-ga from source?
              kukeltje

              I just saw Allan Schweitz checked several pom files in on the 3.1 branch. Not sure who he/she is, since these seem to be the only files he checked in. So some enthousiastic user did this, but I have no idea who maintains them in the future (e.g. when 3.1.5 needs a new version of a certain library)

              There is a build.xml file in the build dir

              • 4. Re: How to build 3.2-ga from source?
                hszillat

                Ah, this explains why the pom.xml-file was not in-sync with jBpm's version number. I will try to just copy (and adapt) the pom's from the "old" distribution then and see what happens.

                BTW: The build-dir is not part of the GA-package? It's in the CVS since I can see it with FishEye. But, currently there is no way to build the source with just the files shipped in the GA-package? (I.e. no "automagic" way? ;)

                • 5. Re: How to build 3.2-ga from source?
                  kukeltje

                  is there source in the GA-package? I did not know that... But building is best done via CVS.

                  • 6. Re: How to build 3.2-ga from source?

                    Yes, don't rely on maven to build from source as it isn't being supported currently. You'll find that the build is very maven-like anyways as it will set up a local repository and gather up all the dependencies for you. You will have to define a class variable named JBPM_REPO within eclipse that points to this directory. The default location is in ${user.home}/jbpm/repository, but you can change this within your buil.properties if you want... Also, while you're in the build.properties, you may need to change the version of jboss (AS) that you're running locally, among other settings. After all that, just run ant install, then taker a look at the other build options after that!

                    • 7. Re: How to build 3.2-ga from source?
                      kukeltje

                      If you want to build the docs to, you have to checkout the docbook jar's to. Look at the build script where to put them.

                      Note to self: Make Jira issue for improvig this