Bug 724478 (BRMS-423) - Modeshape installation fails when property 'jboss_home' is set from outside
Summary: Modeshape installation fails when property 'jboss_home' is set from outside
Keywords:
Status: CLOSED NEXTRELEASE
Alias: BRMS-423
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: Tooling (JBDS), Modeshape
Version: 5.1.0.ER3
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ---
: 5.1.0.CR1
Assignee: Van Halbert
QA Contact:
URL: http://jira.jboss.org/jira/browse/BRM...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-02 14:29 UTC by Petr Široký
Modified: 2010-12-07 11:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Fedora 13 x86_64 java 1.6.0_21 ant 1.7.1
Last Closed: 2010-12-07 11:24:15 UTC
Type: Bug


Attachments (Terms of Use)
modeshape-install.png (40.37 KB, image/png)
2010-11-02 14:33 UTC, Petr Široký
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker BRMS-423 0 None None None Never

Description Petr Široký 2010-11-02 14:29:40 UTC
securitylevel_name: Public

If property 'jboss_home' is set from outside (e.g. -Djboss_home=path'), the modeshape installation fails. The error occurs in both deployable and standalone versions.

Error can be reproduced by running this command in modeshape directory: $ ant -Dprofile='production' -Djboss_home='path/to/some/container'

Comment 1 Petr Široký 2010-11-02 14:33:32 UTC
Attachment: Added: modeshape-install.png


Comment 2 Anne-Louise Tangring 2010-11-09 16:14:46 UTC
This is not a blocker for BRMS 5.1.0

Comment 3 Van Halbert 2010-12-06 14:34:23 UTC
jboss_home is referring to the primary directory (i.e., jboss-as-web, jboss-as) for the server.   Within that directory, should find the server/<profile> for which is where ModeShape is deployed.

I realize jboss_home is lowercase, maybe is should have been JBOSS_HOME, as its defined in run.sh/.bat.

Comment 4 Petr Široký 2010-12-06 14:37:41 UTC
I just tested this with BRMS 5.1.0 ER4 and the installation is successful.

Comment 5 Van Halbert 2010-12-06 16:30:42 UTC
Release Notes Text: Added: It was commented as to working


Comment 6 Petr Široký 2010-12-07 11:24:15 UTC
Verified fixed in BRMS 5.1.0 CR1


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