fixed absolute path issues

Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata-site/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-carbondata-site/commit/35f58105
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-carbondata-site/tree/35f58105
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-carbondata-site/diff/35f58105

Branch: refs/heads/asf-site
Commit: 35f581057782420bfbc2a9b6317f25c11697c748
Parents: 4f8753c
Author: PallaviSingh1992 <[email protected]>
Authored: Wed Apr 5 12:06:49 2017 +0530
Committer: PallaviSingh1992 <[email protected]>
Committed: Wed Apr 5 12:06:49 2017 +0530

----------------------------------------------------------------------
 src/main/scala/FileModification.scala | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-carbondata-site/blob/35f58105/src/main/scala/FileModification.scala
----------------------------------------------------------------------
diff --git a/src/main/scala/FileModification.scala 
b/src/main/scala/FileModification.scala
index b09ab79..82f238b 100644
--- a/src/main/scala/FileModification.scala
+++ b/src/main/scala/FileModification.scala
@@ -12,10 +12,10 @@ class FileModification {
 
   import scala.io.Source
 
-  val headerContent: String = 
Source.fromFile("/home/pallavi/WorkSpace/CarbonData/carbondata--site/src/main/scala/html/header.html").mkString
-  val footerContent: String 
=Source.fromFile("/home/pallavi/WorkSpace/CarbonData/carbondata--site/src/main/scala/html/footer.html").mkString
+  val headerContent: String = 
Source.fromFile("src/main/scala/html/header.html").mkString
+  val footerContent: String 
=Source.fromFile("src/main/scala/html/footer.html").mkString
 
-  val location = 
"/home/pallavi/WorkSpace/CarbonData/incubator-carbondata-site/src/main/webapp/"
+  val location = "src/main/webapp/"
   val fileReadObject = new MdFilehandler
 
   def convertToHtml(): String = {

Reply via email to