Commits

Jimmy Yuen Ho Wong  committed ffe01ab

fixed bug #3

  • Participants
  • Parent commits 1e50c43

Comments (0)

Files changed (1)

File src/main/scala/SBTFilterPlugin.scala

 
 trait SBTFilterPlugin extends BasicScalaProject with MavenStyleScalaPaths {
 
-  lazy val env = propertyOptional[String]("dev")
+  lazy val sfpEnv = propertyOptional[String]("dev")
 
   def filterResource(filterFilePaths: Iterable[Path], dest: File): Unit = {
 
 
     val envPropertyFilesMap = HashMap[String, String]() ++ filterFilePaths.map(path => path.asFile.getName.split("\\.")(0) -> path.absolutePath)
 
-    val propFile = new BufferedReader(new FileReader(envPropertyFilesMap(env.value)))
+    val propFile = new BufferedReader(new FileReader(envPropertyFilesMap(sfpEnv.value)))
     val envProps = new JProperties
     try {
       envProps.load(propFile)