[
https://jira.jboss.org/jira/browse/TEIID-679?page=com.atlassian.jira.plug...
]
Ramesh Reddy commented on TEIID-679:
------------------------------------
Teiid needs set the "work" and "deploy" file directories locations
correctly in order to work. These are generally computed from relative directory from the
"deploy.properties", which is set when the URL for "file-path" profile
is defined. However, this does not work correctly with "classpath" profile.
We should define "teiid.home", system property or configuration property, that
should form the base directory where the "work" and "deploy" can be
defined, so that user can either manually set the location where these directories can be
created.
By default if the user does not supply "teiid,home", then one is computed
Embedded:
File Path Profile: Base directory where the "deploy.properties" file is found.
"deploy.properties" is defined on the URL
Classpath Profile: "${user.dir}/teiid" will be used.
Server: through it run.sh script it should always set "teiid.home"
This will remove any ambiguity in defining the "teiid.home". All unit tests will
be set up to use "target/scratch" as the home directory, such that we no longer
use "java.io.tmp" to fill users tmp space.
Make all scripts use TEIID_HOME
-------------------------------
Key: TEIID-679
URL:
https://jira.jboss.org/jira/browse/TEIID-679
Project: Teiid
Issue Type: Sub-task
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Fix For: 6.2.0
Define TEIID_HOME environment variable to be used in all the scripts that start, stop and
manage the server.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira