lamber-ken created CARBONDATA-3388:
--------------------------------------
Summary: Optimize the way to acquire project or root path
Key: CARBONDATA-3388
URL:
https://issues.apache.org/jira/browse/CARBONDATA-3388 Project: CarbonData
Issue Type: Improvement
Components: core, examples, spark-integration
Affects Versions: 1.5.3
Reporter: lamber-ken
Fix For: 1.6.0
For now, to acquire the root path of project path was called by
{code:java}
val rootPath = new File(this.getClass.getResource("/").getPath + "../../../..").getCanonicalPath
{code}
we can use a simpler approach to optimize
{code:java}
System.getProperty("user.dir")
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)