8 Replies Latest reply on Oct 25, 2006 11:18 AM by Ronald van Kuijk

    Has someone managed to build the code from CVS (HEAD)?

    Milan Agatonovic Newbie

      Dear JBPM community,
      I am struggling several days to build JBPM 3.2 code from CVS.
      As far as I can see run-eclipse-plugin-builder target in GPD build.xml fails.
      The complete traces you can find at this forum:
      http://www.jboss.com/index.html?module=bb&op=viewtopic&t=92924&postdays=0&postorder=asc&start=10

      Any hint?
      I am completely stucked.

      Thank you.
      Regards
      Milan

        • 1. Re: Has someone managed to build the code from CVS (HEAD)?
          Ronald van Kuijk Master

          If the stacktrace is in another post, then what is the reason for this post?

          • 2. Re: Has someone managed to build the code from CVS (HEAD)?
            Ronald van Kuijk Master

            ah, btw, the answer is yes (Last time I checked out cvs-head was 24 hours ago)

            • 3. Re: Has someone managed to build the code from CVS (HEAD)?
              Milan Agatonovic Newbie

              Hi Kukeltje, Koen and all JBPM Community,

              The reason that I moved this issue into this topic is because the subject of the former one is not appropriate (it is related with my first problem - missing docbook support) and I did not get any solution there.

              I have spent a lot of time trying to isolate the error in JBPM build procedure and I really need your assistence.

              I have checked out the latest source version from CVS and invoke get.dependencies (nothing has been modified in the meanwhile).


              I have also run both build scripts (Main one and GPD).
              As far as I can see GPD fails here:

              [java] [eclipse.buildScript] An error occured while generating manifest for D:\work\java\jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build\target\workspace.

              and the Main build fails here:

              [java] generateScript:
              [java] [eclipse.buildScript] Some inter-plug-in dependencies have not been satisfied.
              [java] [eclipse.buildScript] Bundle org.jbpm.gd.jpdl.core:
              [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.xml.core_0.0.0.
              [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.sse.core_0.0.0.
              [java] [eclipse.buildScript] Bundle org.jbpm.gd.jpdl.ui:
              [java] [eclipse.buildScript] Missing required plug-in org.eclipse.draw2d_0.0.0.
              [java] [eclipse.buildScript] Missing required plug-in org.eclipse.gef_0.0.0.
              [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.sse.core_0.0.0.
              [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.xml.core_0.0.0.
              [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.xml.ui_0.0.0.
              [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.sse.ui_0.0.0.
              [java] [eclipse.buildScript] Missing required plug-in org.eclipse.wst.common.ui_0.0.0.
              [java] [eclipse.buildScript] Missing required plug-in org.jbpm.gd.jpdl.core_0.0.0.

              The complete trace sections of relevant run-eclipse-plugin-builder targets in both build scripts you can find at:
              MAIN: http://www.geocities.com/clandestino_bgd/Main.html
              GPD: http://www.geocities.com/clandestino_bgd/GPD.html

              The problematic parts (by my opinion) are Bolded .

              Thank you for your help and patience.
              I begin to lose mine, therefore I asked if someone (especially among users) managed to build the code

              Regards
              Milan Agatonovic

              • 4. Re: Has someone managed to build the code from CVS (HEAD)?
                Ronald van Kuijk Master

                did you try to disable the building of the gpd in the top build.xml and see if you can build jbpm itself then?

                • 5. Re: Has someone managed to build the code from CVS (HEAD)?
                  Milan Agatonovic Newbie

                  Hi Kukeltje,
                  first thank you for the answer.

                  Here is the situation:
                  after disabling GPD ant call in main build.xml, everything goes well, or at least I think so:)
                  Here is the trace:
                  http://www.geocities.com/clandestino_bgd/WithoutGPD.txt

                  I have performed a little investigation about missing plugins:
                  As you can see ant asks for org.eclipse.wst.xml.core_0.0.0 (among other missing plugins).

                  And in JBPM_ROOT\designer\jpdl\org.jbpm.gd.jpdl.build\customTargets.xml
                  stands:



                  But in repository\eclipse\webtools\1.5\wtp-sdk-R-1.5.0-200606281455.zip
                  among plugins, there is a folder named:
                  org.eclipse.wst.xml_core.feature.source_1.5.0.v200605151622--3YIAAYAYEPEOOF

                  and jar:
                  org.eclipse.wst.xml.core_1.1.0.v200606142000.jar

                  I am really confused, but maybe this info will be useful for you.
                  Thank you and I hope you will have some hint.

                  Regards
                  Milan





                  • 6. Re: Has someone managed to build the code from CVS (HEAD)?
                    Ronald van Kuijk Master

                    Is the path to an eclipse install dir correct? See the build.properties file for this. Don't know if it makes a difference but you could give it a try

                    • 7. Re: Has someone managed to build the code from CVS (HEAD)?
                      Milan Agatonovic Newbie

                      Hi Kukeltje,
                      believe me or not, I have solved the problem by removing eclipse folder under JBPM_ROOT manually and started main build again.

                      As far as I concluded, the reason of my pain was that eclipse related libraries were not correctly downloaded. WTP SDK zip was corrupted and get.dependencies task did not compain. After I removed eclipse/webtools from my repository and ran get.dependencies again, wtp zip is downloaded properly.

                      So to summarize:
                      - ant clean does not delete eclipse folder
                      - get.dependencies does not inform if local copy of zip matches remote one.
                      - once when eclipse folder is created (in my case with malformed WTP zip) the HELL starts.

                      Anyway, thank you for your hints and I hope that this bad experience of mine could be useful for the community.

                      Regards
                      Milan

                      • 8. Re: Has someone managed to build the code from CVS (HEAD)?
                        Ronald van Kuijk Master

                        great that it works and thanks for reporting back