Java Code Examples for org.apache.catalina.startup.ExpandWar#delete()
The following examples show how to use
org.apache.catalina.startup.ExpandWar#delete() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ExtractingRoot.java From Tomcat8-Source-Read with MIT License | 5 votes |
@Override protected void stopInternal() throws LifecycleException { super.stopInternal(); if (super.isPackedWarFile()) { // Remove the extracted JARs from the work directory File expansionTarget = getExpansionTarget(); ExpandWar.delete(expansionTarget); } }
Example 2
Source File: TestFileResourceSet.java From Tomcat8-Source-Read with MIT License | 4 votes |
@AfterClass public static void after() { ExpandWar.delete(tempDir.toFile()); }
Example 3
Source File: TestDirResourceSet.java From Tomcat8-Source-Read with MIT License | 4 votes |
@AfterClass public static void after() { ExpandWar.delete(tempDir.toFile()); }
Example 4
Source File: TestFileResourceSetVirtual.java From Tomcat8-Source-Read with MIT License | 4 votes |
@AfterClass public static void after() { ExpandWar.delete(tempDir.toFile()); }
Example 5
Source File: TestFileResourceSetReadOnly.java From Tomcat8-Source-Read with MIT License | 4 votes |
@AfterClass public static void after() { ExpandWar.delete(tempDir.toFile()); }
Example 6
Source File: TestDirResourceSetMount.java From Tomcat8-Source-Read with MIT License | 4 votes |
@AfterClass public static void after() { ExpandWar.delete(tempDir.toFile()); }
Example 7
Source File: TestDirResourceSetInternal.java From Tomcat8-Source-Read with MIT License | 4 votes |
@AfterClass public static void after() { ExpandWar.delete(tempDir.toFile()); }
Example 8
Source File: TestDirResourceSetVirtual.java From Tomcat8-Source-Read with MIT License | 4 votes |
@AfterClass public static void after() { ExpandWar.delete(tempDir.toFile()); }