Mihai Glonț  committed 5deaa5a

Disabled incorrect assertion for the creation of the index folder.

The folder is only created if it does not exist, but the assertion is
performed every time the application is launched.

  • Participants
  • Parent commits 0e71c15

Comments (0)

Files changed (1)

File grails-app/conf/Config.groovy

     // prefer StringBuffer to StringBuilder just to be defensive
     StringBuffer tmp = new StringBuffer(System.getProperty(""))
     File idx = new File(tmp.append(File.separator).append("search_index").toString())
-    assert idx.mkdirs()
+    idx.mkdirs() = idx.canonicalPath
 println "INFO\t Using ${} for storing the search index."