mirror of https://github.com/dspinellis/UMLGraph
Correct output of UmlGraphDoc path-relative file names under Windows
Fix by: Panagiotis Astithas
This commit is contained in:
parent
ff7869b7c7
commit
c410ab3fad
|
|
@ -5,6 +5,10 @@
|
||||||
|
|
||||||
<dt>Version 4.7 Under development </dt><dd>
|
<dt>Version 4.7 Under development </dt><dd>
|
||||||
<ul>
|
<ul>
|
||||||
|
<li> Correct the build file for generating the UmlGraph
|
||||||
|
javadocs under Unix (Dirk Datzert)</li>
|
||||||
|
<li> Correct output of UmlGraphDoc path-relative file names under Windows
|
||||||
|
(fix by: Panagiotis Astithas)</li>
|
||||||
</ul>
|
</ul>
|
||||||
</dd>
|
</dd>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -984,7 +984,7 @@ class ClassGraph {
|
||||||
if (opt.outputDirectory != null)
|
if (opt.outputDirectory != null)
|
||||||
file = new File(opt.outputDirectory, opt.outputFileName);
|
file = new File(opt.outputDirectory, opt.outputFileName);
|
||||||
else
|
else
|
||||||
file = new File(".", opt.outputFileName);
|
file = new File(opt.outputFileName);
|
||||||
// make sure the output directory are there, otherwise create them
|
// make sure the output directory are there, otherwise create them
|
||||||
if(!file.getParentFile().exists())
|
if(!file.getParentFile().exists())
|
||||||
file.getParentFile().mkdirs();
|
file.getParentFile().mkdirs();
|
||||||
|
|
|
||||||
|
|
@ -984,7 +984,7 @@ class ClassGraph {
|
||||||
if (opt.outputDirectory != null)
|
if (opt.outputDirectory != null)
|
||||||
file = new File(opt.outputDirectory, opt.outputFileName);
|
file = new File(opt.outputDirectory, opt.outputFileName);
|
||||||
else
|
else
|
||||||
file = new File(".", opt.outputFileName);
|
file = new File(opt.outputFileName);
|
||||||
// make sure the output directory are there, otherwise create them
|
// make sure the output directory are there, otherwise create them
|
||||||
if(!file.getParentFile().exists())
|
if(!file.getParentFile().exists())
|
||||||
file.getParentFile().mkdirs();
|
file.getParentFile().mkdirs();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue