[ginp-users] Maven test fails in testSetup
Brought to you by:
burchbri,
dougculnane
From: Brian B. <br...@Pi...> - 2007-01-04 14:55:04
|
Hi, Doug. I'm testing the latest trunk and get an error in net.sf.ginp.TestSetup:- java.io.FileNotFoundException: /tmp/TestSetup/ginp.xml (Is a directory) However, net.sf.ginp.TestSetup does not fail at all, even though it is building /tmp/TestGinpMode/ginp.xml. When I look at TestGinpModel.setUp(), I see ugly but correct logic for hand-building the directory path to the temporary ginp.xml file. However, TestSetup is using SetupManagerImpl.writeConfig() to create its test file... it does NOT do File.mkdirs(), so my linux java 1.5 jdk creates /tmp/TestSetup/ginp.xml as a directory, rather than a file. I think you mentioned having fixed a similar problem... and it looks like your code in the (working) TestGinpModel logic. Any comments? Does it need fixing? Brian |