[jBPM] - Re: How to change console version for jbpm recompile

Marco Burrafato <[email protected]> Thu, 22 Aug 2013 08:23:51 -0400
Newsgroups gmane.comp.java.jboss.user
Message-ID <[email protected]>
------=_Part_648665_1455271287.1377174231567
Content-Type: multipart/alternative; 
	boundary="----=_Part_648664_819240372.1377174231566"

------=_Part_648664_819240372.1377174231566
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Marco Burrafato [https://community.jboss.org/people/ocramot] created the di=
scussion

"Re: How to change console version for jbpm recompile"

To view the discussion, visit: https://community.jboss.org/message/833538#8=
33538

--------------------------------------------------------------
Ok, after another careful trial and error session, I found the solution.

The jbpm/pom.xml file in the main project, requires as parent:

=C2=A0 <parent>
=C2=A0=C2=A0=C2=A0 <groupId>org.drools</groupId>
=C2=A0=C2=A0=C2=A0 <artifactId>droolsjbpm-parent</artifactId>
=C2=A0=C2=A0=C2=A0 <version>5.5.0.Final</version>
=C2=A0=C2=A0=C2=A0 <!-- relativePath causes out-of-date problems on hudson =
slaves -->
=C2=A0=C2=A0=C2=A0 <!--<relativePath>../droolsjbpm-build-bootstrap/pom.xml<=
/relativePath>-->
=C2=A0 </parent>

therefore I looked into .m2\repository\org\drools\droolsjbpm-parent\5.5.0.F=
inal\droolsjbpm-parent-5.5.0.Final.pom, and here I found=20

<bpm.console.version>2.3.8.Final</bpm.console.version>

I changed this property, I compiled again, and everything worked fine.

PS: since this is my case, I might add that the .zip version number must be=
 the same jBPM.version number specified inside the $jbpm-install-directory/=
build.properties file.
Also, you have to move the $source-directory/jbpm-form-builder/jbpm-form-bu=
ilder-distribution/target/jbpm-5.4.3-SNAPSHOT-form-builder.war to the lib d=
irectory; the guide tells you to compile it at point 8, but the author must=
 have forgotten to tell you to move the file. Once again, check that versio=
n numbers coincide, or the build file will automatically download another v=
ersion and invalidate your changes.
--------------------------------------------------------------

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

Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=3D1&co=
ntainerType=3D14&container=3D2034]


------=_Part_648664_819240372.1377174231566
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link=3D"#355491" alink=3D"#4262a1" vlink=3D"#355491" style=3D"backgro=
und: #e2e2e2; margin: 0; padding: 20px;">

<div>
=09<table cellpadding=3D"0" bgcolor=3D"#FFFFFF" border=3D"0" cellspacing=3D=
"0" style=3D"border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -=
moz-border-radius: 6px; -webkit-border-radius: 6px;">
=09=09<tbody>
=09=09=09<tr>

=09=09=09=09<td>

=09=09=09=09=09<table border=3D"0" cellpadding=3D"0" cellspacing=3D"0" bgco=
lor=3D"#FFFFFF" style=3D"border: solid 2px #ccc; background: #dadada; width=
: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
=09=09=09=09=09=09<tbody>
=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09<td bgcolor=3D"#000000" valign=3D"middle" height=3D=
"58px" style=3D"border-bottom: 1px solid #ccc; padding: 20px; -moz-border-r=
adius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-ri=
ght-radius: 5px; -webkit-border-top-left-radius: 5px;">
=09=09=09=09=09=09=09=09=09<h1 style=3D"color: #333333; font: bold 22px Ari=
al, Helvetica, sans-serif; margin: 0; display: block !important;">
=09=09=09=09=09=09=09=09=09<!-- To have a header image/logo replace the nam=
e below with your img tag -->
=09=09=09=09=09=09=09=09=09<!-- Email clients will render the images when t=
he message is read so any image -->
=09=09=09=09=09=09=09=09=09<!-- must be made available on a public server, =
so that all recipients can load the image. -->
=09=09=09=09=09=09=09=09=09<a href=3D"https://community.jboss.org/index.jsp=
a" style=3D"text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
=09=09=09=09=09=09=09=09</td>

=09=09=09=09=09=09=09</tr>
=09=09=09=09=09=09=09<tr>
=09=09=09=09=09=09=09=09<td bgcolor=3D"#FFFFFF" style=3D"font: normal 12px =
Arial, Helvetica, sans-serif; color:#333333; padding: 20px;  -moz-border-ra=
dius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-b=
ottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style=
=3D"margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
    Re: How to change console version for jbpm recompile
</h3>
<span style=3D"margin-bottom: 10px;">
    created by <a href=3D"https://community.jboss.org/people/ocramot">Marco=
 Burrafato</a> in <i>jBPM</i> - <a href=3D"https://community.jboss.org/mess=
age/833538#833538">View the full discussion</a>
</span>
<hr style=3D"margin: 20px 0; border: none; background-color: #dadada; heigh=
t: 1px;">

<div class=3D"jive-rendered-content"><p>Ok, after another careful trial and=
 error session, I found the solution.</p><p style=3D"min-height: 8pt; heigh=
t: 8pt; padding: 0px;">&#160;</p><p>The jbpm/pom.xml file in the main proje=
ct, requires as parent:</p><p style=3D"min-height: 8pt; height: 8pt; paddin=
g: 0px;">&#160;</p><p>&#160; &lt;parent&gt;</p><p>&#160;&#160;&#160; &lt;gr=
oupId&gt;org.drools&lt;/groupId&gt;</p><p>&#160;&#160;&#160; &lt;artifactId=
&gt;droolsjbpm-parent&lt;/artifactId&gt;</p><p>&#160;&#160;&#160; &lt;versi=
on&gt;5.5.0.Final&lt;/version&gt;</p><p>&#160;&#160;&#160; &lt;!-- relative=
Path causes out-of-date problems on hudson slaves --&gt;</p><p>&#160;&#160;=
&#160; &lt;!--&lt;relativePath&gt;../droolsjbpm-build-bootstrap/pom.xml&lt;=
/relativePath&gt;--&gt;</p><p>&#160; &lt;/parent&gt;</p><p style=3D"min-hei=
ght: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>therefore I looked into =
.m2\repository\org\drools\droolsjbpm-parent\5.5.0.Final\droolsjbpm-parent-5=
.5.0.Final.pom, and here I found </p><p style=3D"min-height: 8pt; height: 8=
pt; padding: 0px;">&#160;</p><p>&lt;bpm.console.version&gt;2.3.8.Final&lt;/=
bpm.console.version&gt;</p><p style=3D"min-height: 8pt; height: 8pt; paddin=
g: 0px;">&#160;</p><p>I changed this property, I compiled again, and everyt=
hing worked fine.</p><p style=3D"min-height: 8pt; height: 8pt; padding: 0px=
;">&#160;</p><p>PS: since this is my case, I might add that the .zip versio=
n number must be the same jBPM.version number specified inside the $jbpm-in=
stall-directory/build.properties file.</p><p>Also, you have to move the $so=
urce-directory/jbpm-form-builder/jbpm-form-builder-distribution/target/jbpm=
-5.4.3-SNAPSHOT-form-builder.war to the lib directory; the guide tells you =
to compile it at point 8, but the author must have forgotten to tell you to=
 move the file. Once again, check that version numbers coincide, or the bui=
ld file will automatically download another version and invalidate your cha=
nges.</p></div>

<div style=3D"background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
    <p style=3D"margin: 0;">Reply to this message by <a href=3D"https://com=
munity.jboss.org/message/833538#833538">going to Community</a></p>
=09<p style=3D"margin: 0;">Start a new discussion in jBPM at <a href=3D"htt=
ps://community.jboss.org/choose-container!input.jspa?contentType=3D1&contai=
nerType=3D14&container=3D2034">Community</a></p>
</div></td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>
------=_Part_648664_819240372.1377174231566--

------=_Part_648665_1455271287.1377174231567
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user
------=_Part_648665_1455271287.1377174231567--