Bug 58283 - Change Base Path to use (user.home) instead of absolute path
Summary: Change Base Path to use (user.home) instead of absolute path
Status: RESOLVED FIXED
Alias: None
Product: Tomcat 8
Classification: Unclassified
Component: Meta (show other bugs)
Version: 8.0.x-trunk
Hardware: PC All
: P2 enhancement (vote)
Target Milestone: ----
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-25 22:07 UTC by Ahmed Hosny
Modified: 2016-02-23 20:54 UTC (History)
1 user (show)



Attachments
Patch to change base.path property in build.properties.default (560 bytes, patch)
2015-08-25 22:20 UTC, Ahmed Hosny
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmed Hosny 2015-08-25 22:07:28 UTC
Change base.path property in build.properties.default to use ${user.home} instead of absolute path /user/share/java  to work with all operating systems and to work without special permissions on Linux/Unix systmes
Comment 1 Ahmed Hosny 2015-08-25 22:20:45 UTC
Created attachment 33040 [details]
Patch to change base.path property in build.properties.default

Patch to change base.path property in build.properties.default to (user.home)/temp instead of absolute path /usr/share/java
Comment 2 Christopher Schultz 2015-08-26 13:03:21 UTC
I'm +1 on this, but I'd like other committers to weigh-in, since it's going to impact them more than anyone else.
Comment 3 Mark Thomas 2016-02-23 20:54:45 UTC
The change makes sense and it is easy to override if people don't like the default.

Patch applied to 9.0.x for 9.0.0.M4 onward, 8.0.x for 8.0.33 onwards, 7.0.x for 7.0.69 onwards and 6.0.x for 6.0.46 onwards.