Bug 745838 (EDG-61)

Summary: datagrid installer is not idempotent
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-61
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-30 15:54:17 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-30 15:44:22 UTC
Complexity: Low
project_key: EDG

There is a problem with the installation of the datagrid profile when svn update is used: 
files which are copied to create the datagrid profile are not replaced with fresh copies and comments change from this:
<!-- a comment -->
to this:
<!--<!-- a comment --> -->
which generates a parsing exception.
This is due to copy commands not setting the attribute overwrite="true".

This happens in the file cluster/src/installers/datagrid/build.xml which is the build.xml file called by the datagrid installer.
Simplest way to fix this is to delete any existing datagrid directory before beginning.

Comment 1 Richard Achmatowicz 2010-11-30 15:44:23 UTC
Link: Added: This issue Cloned from JBPAPP-5466


Comment 2 Richard Achmatowicz 2010-11-30 15:54:02 UTC
Added ant task 

<delete dir="${server.datagrid}"/>

to the beginning of the datagrid server profile construction.