My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 13: DefaultSavantBootstrap.java:90 mkdirs() returns false if they exist already.
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----
Type-Defect
Priority-Medium


Sign in to add a comment
 
Reported by chadwickboggs, Oct 20, 2009
What steps will reproduce the problem?
1. After fresh install, run svnt in global mode.
2. DefaultSavantBootstrap.java line 90 will evaluate to true.
3. Erroneous error message and exit will occur.

What is the expected output? What do you see instead?
Normal execution is expect.  An exit occurs instead.

What version of the product are you using? On what operating system?
1.5.3

Please provide any additional information below.
Changing DefaultSavantBootstrap line 90 from 
        if (!def.getParentFile().mkdirs()) {
to
        if (!def.getParentFile().exists() && !def.getParentFile().mkdirs()) {
resolves the problem.

Java Version: Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
OS Version: Fedora release 8 (2.6.21.7-2.fc8xen-ec2-v1.0), CYGWIN_NT-6.0 on
Windows Vista Home Basic Service Pack 2

Sign in to add a comment

Hosted by Google Code