Bug 745835 (EDG-63)

Summary: Provide build.sh for installation of EDG server profile
Product: [JBoss] JBoss Data Grid 5 Reporter: Richard Achmatowicz <rachmato>
Component: InfinispanAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecified   
Target Milestone: ---   
Target Release: EAP 5.1.0 EDG TP   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/EDG-63
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-13 16:28:46 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 Richard Achmatowicz 2010-11-24 17:56:59 UTC
Complexity: Low
project_key: EDG

Installation of the datagrid server profile is presently documented as follows (see https://docspace.corp.redhat.com/docs/DOC-47228):
$ cd EDG_DIST_SRC/build
$ ./build.sh -Dbuild.unsecure=true
$ cd output/jboss-5.1.0.Branch/extras/datagrid
$ ant install

Installation of the datagrid server profile fails if the user does not have a version of ant on PATH.

The typical way around this in JBoss AS is to provide a build.sh script which among other things located a working version of ant within the AS distribution
which the user does not need to supply.

Comment 1 Richard Achmatowicz 2010-11-24 17:57:00 UTC
Link: Added: This issue Cloned from JBPAPP-5255


Comment 2 Richard Achmatowicz 2010-11-24 17:57:00 UTC
Link: Added: This issue related JBPAPP-5278


Comment 3 Richard Achmatowicz 2010-11-24 17:58:48 UTC
Complexity: Added: Low


Comment 4 Richard Achmatowicz 2010-11-24 18:04:15 UTC
The EDG server profile installation process works as follows:
(i) files are placed into $EDG_DIST_SRC/cluster/src/installers/datagrid
(ii) the build file $EDG_DIST_SRC/build/build-distr.xml has a clustering sections  which contains ant tasks for copying resources, creating jars, etc.

To provide a build.sh file for the install, we need only do two steps:
(i) copy the build.sh shell script form build.sh (it works just as well) into $EDG_DIST_SRC/cluster/src/installers/datagrid. Due to existing targets, this will get copied over automatically
(ii) add in an ant task to chmod u+x for the file build.sh once it has been copied into the directory

Then, to install, we execute
$ ./build.sh install 

in place of

$ ant install




Comment 5 Richard Achmatowicz 2010-11-24 18:07:14 UTC
Link: Removed: This issue Cloned from JBPAPP-5255 


Comment 6 Richard Achmatowicz 2010-11-24 18:07:22 UTC
Link: Removed: This issue related JBPAPP-5278 


Comment 7 Richard Achmatowicz 2010-11-24 18:07:49 UTC
Link: Added: This issue is a dependency of JBQA-3853


Comment 8 Richard Achmatowicz 2010-11-24 18:22:09 UTC
Need to update the docs at some point.


Comment 9 Richard Achmatowicz 2010-11-24 18:28:19 UTC
Docs updated.

Comment 10 Richard Achmatowicz 2010-11-30 15:44:23 UTC
Link: Added: This issue Cloned to JBPAPP-5485