Bug 778531 (SOA-1003)

Summary: Fix the build for jBPM SOA CP tags
Product: [JBoss] JBoss Enterprise SOA Platform 4 Reporter: Thomas Diesler <thomas.diesler>
Component: JBPM - within SOAAssignee: Tom Baeyens <mail>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecified   
Target Milestone: ---   
Target Release: 4.2 CP03   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-1003
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-11 14:30:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Thomas Diesler 2008-11-12 07:41:03 UTC
Date of First Response: 2008-11-12 05:10:17
project_key: SOA

Please fix the build of

https://svn.jboss.org/repos/jbpm/jbpm3/tags/jpdl-3.2.2-SOA-4.2.0.CP01

https://svn.jboss.org/repos/jbpm/jbpm3/tags/jpdl-3.2.2-SOA-4.2.0.CP02

a tagged release cannot have dependencies on non-stable artefacts

get.jboss.dependencies:
      [get] Getting: http://porkchop.redhat.com/devel/candidates/JBEAP4.3.0/latest/zip/jboss-eap-4.3.0-0.2.beta4.ep1.1.zip
      [get] To: /home/tdiesler/jbpm/repository/jbossas/4.3.0.GA/lib/jboss-eap.zip
      [get] Error opening connection java.io.FileNotFoundException: http://porkchop.redhat.com/devel/candidates/JBEAP4.3.0/latest/zip/jboss-eap-4.3.0-0.2.beta4.ep1.1.zip
      [get] Error opening connection java.io.FileNotFoundException: http://porkchop.redhat.com/devel/candidates/JBEAP4.3.0/latest/zip/jboss-eap-4.3.0-0.2.beta4.ep1.1.zip
      [get] Error opening connection java.io.FileNotFoundException: http://porkchop.redhat.com/devel/candidates/JBEAP4.3.0/latest/zip/jboss-eap-4.3.0-0.2.beta4.ep1.1.zip
      [get] Can't get http://porkchop.redhat.com/devel/candidates/JBEAP4.3.0/latest/zip/jboss-eap-4.3.0-0.2.beta4.ep1.1.zip to /home/tdiesler/jbpm/repository/jbossas/4.3.0.GA/lib/jboss-eap.zip

Comment 1 Thomas Diesler 2008-11-12 07:43:02 UTC
JBoss Forum Reference: Added: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188662#4188662


Comment 2 Thomas Diesler 2008-11-12 08:52:30 UTC
    [unzip] Expanding: /home/tdiesler/jbpm/repository/jbossas/4.3.0.GA/lib/jboss-eap.zip into /home/tdiesler/jbpm/repository/jbossas/core-libs/4.3.0.GA/lib/tmp

BUILD FAILED
/home/tdiesler/svn/jbpm/jbpm3/tags/jpdl-3.2.2-SOA-4.2.0.CP02/build/build.xml:35: The following error occurred while executing this line:
/home/tdiesler/svn/jbpm/jbpm3/tags/jpdl-3.2.2-SOA-4.2.0.CP02/build/base.project.build.xml:507: The following error occurred while executing this line:
/home/tdiesler/svn/jbpm/jbpm3/tags/jpdl-3.2.2-SOA-4.2.0.CP02/build/base.project.build.xml:512: The following error occurred while executing this line:
/home/tdiesler/svn/jbpm/jbpm3/tags/jpdl-3.2.2-SOA-4.2.0.CP02/build/base.project.build.xml:217: The following error occurred while executing this line:
/home/tdiesler/svn/jbpm/jbpm3/tags/jpdl-3.2.2-SOA-4.2.0.CP02/build/base.project.build.xml:221: The following error occurred while executing this line:
/home/tdiesler/svn/jbpm/jbpm3/tags/jpdl-3.2.2-SOA-4.2.0.CP02/build/build.xml:224: Error while expanding /home/tdiesler/jbpm/repository/jbossas/4.3.0.GA/lib/jboss-eap.zip


Comment 3 Alejandro Guizar 2008-11-12 10:10:17 UTC
> do you remember why we need eap in our old build ?

The 3.2.x downloads a JBoss AS community release from the repository in order to build the jPDL suite, which includes a trimmed server. I'm guessing* that the SOA branch replaced the community release with an EAP build, which might have been the latest snapshot available at the time the SOA branch was set up.

* Just guessing, because it was not me who created the SOA branch.

Comment 4 Julian Coleman 2008-11-12 15:26:36 UTC
I would suggest using:

  http://porkchop.redhat.com/released/JBEAP-4.3.0/CP02/zip/jboss-eap-4.3.0.GA_CP02.zip

(that is what the SOA 4.2 branch is currently based upon).

Comment 5 Thomas Diesler 2008-11-13 11:42:49 UTC
Link: Added: This issue is a dependency of JBPM-1849


Comment 6 Koen Aers 2008-11-14 11:15:29 UTC
I committed the changes on the build.properties file for the build to work with respectively:
- http://porkchop.redhat.com/released/JBEAP-4.3.0/CP02/zip/jboss-eap-4.3.0.GA_CP01.zip 
- http://porkchop.redhat.com/released/JBEAP-4.3.0/CP02/zip/jboss-eap-4.3.0.GA_CP02.zip 

The relevant changes are: 

# jboss.home is used for deployment targets. the libraries and binaries dependencies 
# are resolved in the repo with the lib.jboss.version property specified below.  that 
# property also is based on jboss.version to keep them in sync
jboss.version=4.3.0.GA
jboss.eap.short.version=4.3
jboss.eap.release.id=4.3.0.GA_CP01
jboss.eap.name=jboss-eap-${jboss.eap.short.version}
jboss.eap.full.name=jboss-eap-${jboss.eap.release.id}
jboss.eap.remote.file.name=${jboss.eap.full.name}.zip
jboss.home=${software.installation.dir}/${jboss.eap.full.name}/jbossas

and 

# REPOSITORY LOCATION PROPERTIES
local.repository=${user.home}/jbpm/repository
remote.repository=http://repository.jboss.org
remote.jboss.repository=http://porkchop.redhat.com/released/JBEAP-4.3.0/CP02/zip
docbook.support.dir=${local.repository}


Comment 7 Tom Baeyens 2008-11-17 16:51:10 UTC
Koen originally applied this fix to the tags 

https://svn.jboss.org/repos/jbpm/jbpm3/tags/jpdl-3.2.2-SOA-4.2.0.CP01
https://svn.jboss.org/repos/jbpm/jbpm3/tags/jpdl-3.2.2-SOA-4.2.0.CP02

I committed this fix to the soa branch so that it actually makes it in cp03

https://svn.jboss.org/repos/jbpm/jbpm3/branches/jpdl-3.2.2-SOA-4.2

Comment 8 Jiri Pechanec 2008-12-11 14:30:36 UTC
Verified in CR5