Bug 745835 (EDG-63) - Provide build.sh for installation of EDG server profile
Summary: Provide build.sh for installation of EDG server profile
Keywords:
Status: CLOSED NEXTRELEASE
Alias: EDG-63
Product: JBoss Data Grid 5
Classification: JBoss
Component: Infinispan
Version: unspecified
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: EAP 5.1.0 EDG TP
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/EDG-63
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-24 17:56 UTC by Richard Achmatowicz
Modified: 2011-10-11 17:06 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-13 16:28:46 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 745838 0 high CLOSED datagrid installer is not idempotent 2021-02-22 00:41:40 UTC
Red Hat Issue Tracker EDG-63 0 None None None Never

Internal Links: 745838

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



Note You need to log in before you can comment on or make changes to this bug.