diff options
author | Denis Lila <[email protected]> | 2011-03-15 11:11:07 -0400 |
---|---|---|
committer | Denis Lila <[email protected]> | 2011-03-15 11:11:07 -0400 |
commit | e3baa1c7d05508cb1b9e522f0157a0cf62491b42 (patch) | |
tree | 54fb6340fd61a22d469207668c3d1f80edec3355 /netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java | |
parent | 20e7ad77b70507d5f53ef945147751a7e41e86fe (diff) |
Handling error code returning functions.
Diffstat (limited to 'netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java')
-rw-r--r-- | netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java b/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java index ded5923..8261749 100644 --- a/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java +++ b/netx/net/sourceforge/jnlp/config/DeploymentConfiguration.java @@ -38,6 +38,7 @@ import java.util.Set; import javax.naming.ConfigurationException; import net.sourceforge.jnlp.runtime.JNLPRuntime; +import net.sourceforge.jnlp.util.FileUtils; /** * Manages the various properties and configuration related to deployment. @@ -518,7 +519,7 @@ public final class DeploymentConfiguration { } } - userPropertiesFile.getParentFile().mkdirs(); + FileUtils.createParentDir(userPropertiesFile); OutputStream out = new BufferedOutputStream(new FileOutputStream(userPropertiesFile)); try { toSave.store(out, DEPLOYMENT_COMMENT); |