m410/fabricate — Issue #35: Windows /cygwin issues
Author: m410
Created: 2011-12-06 15:40:37+00:00
State: open

The FileUtil class doesn't seem to handle windows paths right:
'''
$ fab-new
Fab(ricate) v0.12.1 env: New tasks:[]
Re-initializing archetype database
java.io.FileNotFoundException: C:\cygwin\home\Administrator\projects\C:\cygwin\home\Administrator\brzy\archetype-db.f.yml (The filename, dir
ectory name, or volume label syntax is incorrect)
java.io.FileNotFoundException: C:\cygwin\home\Administrator\projects\C:\cygwin\home\Administrator\brzy\archetype-db.f.yml (The filename, dir
ectory name, or volume label syntax is incorrect)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(FileInputStream.java:106)
at org.brzy.fab.path.FileUtils$FileWrapper.copyTo(FileUtils.scala:71)
at org.brzy.fab.db.ArchetypeDatabase.initConfig(ArchetypeDatabase.scala:94)
at org.brzy.fab.db.ArchetypeDatabase.(ArchetypeDatabase.scala:59)
at org.brzy.fab.db.ArchetypeDatabase$.apply(ArchetypeDatabase.scala:197)
at org.brzy.fab.NewMain$.main(NewMain.scala:67)
at org.brzy.fab.NewMain.main(NewMain.scala)
'''