Bug 780824 (SOA-3274) - Not possible to run schema tool from another folder than the base dir of build.xml
Summary: Not possible to run schema tool from another folder than the base dir of buil...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: SOA-3274
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: Tooling
Version: 5.2.0.ER2
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: 5.2.0 GA,5.2.0.ER3
Assignee: Default User
QA Contact:
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-17 13:16 UTC by Robert Balent
Modified: 2014-01-13 00:20 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-14 08:23:12 UTC
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-3274 0 None Closed Not possible to run schema tool from another folder than the base dir of build.xml 2012-05-30 10:11:45 UTC

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



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