Discussion:
[jboss-user] [jBPM] - how to build a specific release of jBPM 'ecosystem' from source
Szymek Pindelski
2013-02-12 09:14:46 UTC
Permalink
Szymek Pindelski [https://community.jboss.org/people/sweeper] created the discussion

"how to build a specific release of jBPM 'ecosystem' from source"

To view the discussion, visit: https://community.jboss.org/message/797203#797203

--------------------------------------------------------------
hi, is there a way to build a specific release of jBPM 'ecosystem' (all the projects referenced in droolsjbpm-build-bootstrap) from source ? I need a stable release (preferably jBPM 5.4.0 Final + Drools 5.5.0 Final - just like in the latest full installer package) to use as a code reference in my little demo jbpm eclipse project. I followed the build instructions for project contributors (from droolsjbpm readme on github) to download and build the whole package using droolsjbpm-build-bootstrap but ended up with some buggy snapshot that wouldn't even compile due to some package-naming related errors (folder names using diactrical marks..) So i tried cloning the same droolsjbpm-build-bootstrap from 5.4.x branch and repeated the whole procedure using freshly-downloaded branch-specific scripts but i have soon noticed that git-clone-others.sh script is not parameterized in any way to use the proper branch - it just started cloning the same master repositories. I thought about adding a branch switch (-b 5.4.x) to the 'git clone' call inside it but since all these projects are released separately (e.g jbpm 5.4.0 final + drools 5.5.0 final) and have separate lifecycles, i figured it wouldn't work. So - my question is how to do it properly without using Hudson ? (I believe you are using CI server for this purpose) Thanks in advance for any assistance, regards Simon
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/797203#797203]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Szymek Pindelski
2013-02-19 07:44:53 UTC
Permalink
Szymek Pindelski [https://community.jboss.org/people/sweeper] created the discussion

"Re: how to build a specific release of jBPM 'ecosystem' from source"

To view the discussion, visit: https://community.jboss.org/message/798259#798259

--------------------------------------------------------------
anyone?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/798259#798259]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Szymek Pindelski
2013-02-19 11:56:08 UTC
Permalink
Szymek Pindelski [https://community.jboss.org/people/sweeper] created the discussion

"Re: how to build a specific release of jBPM 'ecosystem' from source"

To view the discussion, visit: https://community.jboss.org/message/798322#798322

--------------------------------------------------------------
i'll keep spamming :)
this might be a dumb question but i'm new to jbpm area, i'm no maven expert (i use it mainly for simple dependency management) and i hate wasting time on reinventing the wheel - thus the post.
I found a github repository named 'droolsjbpm-build-distributions' (child of droolsjbpm repo) containing some maven assembly descriptors and it seems that these might be the entrypoint i'm looking for - am i right ?
I'm reading sonatype's maven reference guide to figure it out by myself (cannot expect that somebody else will do my job ;) )  but any hints / words of wisdom would be very much appreciated.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/798322#798322]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-02-20 10:43:19 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: how to build a specific release of jBPM 'ecosystem' from source"

To view the discussion, visit: https://community.jboss.org/message/798534#798534

--------------------------------------------------------------
what you could do is that once you get all repositories on you side (using git-clone-others.sh) as you already did and that will give you complete repositories with the branches. Once you have that you could use git-checkout-all.sh script that allows to specify what branch it should use for what project - so you should be able to specify 5.5 for drools and 5.4 for jbpm.
HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/798534#798534]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Szymek Pindelski
2013-02-20 11:05:11 UTC
Permalink
Szymek Pindelski [https://community.jboss.org/people/sweeper] created the discussion

"Re: how to build a specific release of jBPM 'ecosystem' from source"

To view the discussion, visit: https://community.jboss.org/message/798544#798544

--------------------------------------------------------------
thanks for your reply - it was very helpful.
I haven't used git before and the idea of a 'distributed vcs' is relatively new to me (we use good-old cvs to keep track of source changes in our small development team).
Seems that i'm gonna need a git primer before i dive into the details of 'jbpm ecosystem' :)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/798544#798544]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Szymek Pindelski
2013-02-20 16:09:37 UTC
Permalink
Szymek Pindelski [https://community.jboss.org/people/sweeper] created the discussion

"Re: how to build a specific release of jBPM 'ecosystem' from source"

To view the discussion, visit: https://community.jboss.org/message/798621#798621

--------------------------------------------------------------
i was a bit hasty with my reply - this isn't exactly what i was looking for.
The script you mentioned (git-checkout-all.sh) seems to produce the same output i've achieved in a slightly different manner (by cloning specific branches using '-b' switch of git clone command).
It just seems to mark these branches 'active' within local copies of entire repositories.
And i'm trying to set 'active' flags for specific revisions / releases within these branches.
For example the code base of jbpm 5.4.x branch is still being developed with the latest maven version '5.4.1-SNAPSHOT' and what i'm trying to achieve is to move back to version '5.4.0' - the version that has been used to produce the full installer package.
But thanks anyway - i figure i just need this git primer really badly :)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/798621#798621]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Maciej Swiderski
2013-02-21 10:38:10 UTC
Permalink
Maciej Swiderski [https://community.jboss.org/people/swiderski.maciej] created the discussion

"Re: how to build a specific release of jBPM 'ecosystem' from source"

To view the discussion, visit: https://community.jboss.org/message/798777#798777

--------------------------------------------------------------
I think that you could use git-checkout-all.sh and provide tag names instead of branch names and that should give you exact copy of sources from releases.

HTH
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/798777#798777]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Szymek Pindelski
2013-02-24 14:26:48 UTC
Permalink
Szymek Pindelski [https://community.jboss.org/people/sweeper] created the discussion

"Re: how to build a specific release of jBPM 'ecosystem' from source"

To view the discussion, visit: https://community.jboss.org/message/799242#799242

--------------------------------------------------------------
thank you, that solved my noobish problem :)
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/799242#799242]

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2034]
Loading...