mirror of
https://github.com/apache/sqoop.git
synced 2025-05-19 02:10:54 +08:00
SQOOP-1263: Using CATALINA_HOME as CATALINA_BASE
(Sean Mackrory via Jarek Jarcec Cecho)
This commit is contained in:
parent
528d1ee9db
commit
39e26f2605
@ -53,7 +53,7 @@ public static void main(String[] args) throws Exception {
|
|||||||
|
|
||||||
// Various paths to war file and locations inside the war file
|
// Various paths to war file and locations inside the war file
|
||||||
String webappPath = System.getProperty(PROPERTY_APPBASE_PATH, DEFAULT_APPBASE_PATH);
|
String webappPath = System.getProperty(PROPERTY_APPBASE_PATH, DEFAULT_APPBASE_PATH);
|
||||||
String catalinaBase = Bootstrap.getCatalinaHome();
|
String catalinaBase = Bootstrap.getCatalinaBase();
|
||||||
String fullWebappPath = catalinaBase + File.separator + webappPath;
|
String fullWebappPath = catalinaBase + File.separator + webappPath;
|
||||||
String fullSqoopWarPath = fullWebappPath + File.separator + "sqoop.war";
|
String fullSqoopWarPath = fullWebappPath + File.separator + "sqoop.war";
|
||||||
String fullSqoopClassesPath = fullWebappPath + File.separator + "sqoop" + File.separator + "WEB-INF" + File.separator + "classes";
|
String fullSqoopClassesPath = fullWebappPath + File.separator + "sqoop" + File.separator + "WEB-INF" + File.separator + "classes";
|
||||||
|
Loading…
Reference in New Issue
Block a user