Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static String getCatalinaTempDirectory(final TomcatLocalModel tomcatModel) throws RuntimeConfigurationException {
- File tempDir = new File(tomcatModel.getSourceBaseDirectoryPath(), TEMP_FILE_NAME);
- if (!tempDir.exists()) {
- tempDir = new File(tomcatModel.getBaseDirectoryPath(), TEMP_FILE_NAME);
- if (!tempDir.exists()) {
- FileUtil.createDirectory(tempDir);
- }
- }
- return tempDir.getAbsolutePath();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement