Bug 780824 (SOA-3274)

Summary: Not possible to run schema tool from another folder than the base dir of build.xml
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Robert Balent <rbalent>
Component: ToolingAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.2.0.ER2CC: mvecera
Target Milestone: ---   
Target Release: 5.2.0 GA, 5.2.0.ER3   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3274
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-09-14 08:23:12 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 Robert Balent 2011-08-17 13:16:20 UTC
project_key: SOA

You can run schema tool just by running "ant" command in folder with build.xml, but when you run schema tool from another folder it crash. For example "ant -f schema/buld.xml".


Fix:
diff build.xml build_patched.xml
744c744
<                 ft = new FileReader(database_list[user_db][db_input] + fs + "template" + fs + "jbpm-service.xml");
---
>                 ft = new FileReader(base_dir + database_list[user_db][db_input] + fs + "template" + fs + "jbpm-service.xml");

Comment 1 Robert Balent 2011-08-17 13:24:41 UTC
Resolved. Fix committed to svn.

Comment 2 David Le Sage 2011-08-17 23:37:51 UTC
Release Notes Docs Status: Added: Not Required
Writer: Added: dlesage