Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jetty 12 temp directory cleanup #9153

Merged
merged 8 commits into from
Jan 17, 2023
Merged

Jetty 12 temp directory cleanup #9153

merged 8 commits into from
Jan 17, 2023

Conversation

gregw
Copy link
Contributor

@gregw gregw commented Jan 11, 2023

  • Server now has setter/getter for a temp directory
  • Context now has a getter for a temp directory
  • Server root Context temp directory is either whatever is set, else a work directory, else java.io.tmpdir
  • WebInfConfiguration will still create a temp directory name, but defers to ContextHandler for creation/persistence of the temp directory
  • temp directory (and BASE) removed from the deployer, as it is now the server temp directory.

 + Server now has setter/getter for a temp directory
 + Context now has a getter for a temp directory
 + Server root Context temp directory is either whatever is set, else a work directory, else java.io.tmpdir
 + WebInfConfiguration will still create a temp directory name, but defers to ContextHandler for creation/persistence of the temp directory
 + temp directory (and BASE) removed from the deployer, as it is now the server temp directory.
 + Server now has setter/getter for a temp directory
 + Context now has a getter for a temp directory
 + Server root Context temp directory is either whatever is set, else a work directory, else java.io.tmpdir
 + WebInfConfiguration will still create a temp directory name, but defers to ContextHandler for creation/persistence of the temp directory
 + temp directory (and BASE) removed from the deployer, as it is now the server temp directory.
 + Server now has setter/getter for a temp directory
 + Context now has a getter for a temp directory
 + Server root Context temp directory is either whatever is set, else a work directory, else java.io.tmpdir
 + WebInfConfiguration will still create a temp directory name, but defers to ContextHandler for creation/persistence of the temp directory
 + temp directory (and BASE) removed from the deployer, as it is now the server temp directory.
 + Server now has setter/getter for a temp directory
 + Context now has a getter for a temp directory
 + Server root Context temp directory is either whatever is set, else a work directory, else java.io.tmpdir
 + WebInfConfiguration will still create a temp directory name, but defers to ContextHandler for creation/persistence of the temp directory
 + temp directory (and BASE) removed from the deployer, as it is now the server temp directory.
 + Server now has setter/getter for a temp directory
 + Context now has a getter for a temp directory
 + Server root Context temp directory is either whatever is set, else a work directory, else java.io.tmpdir
 + WebInfConfiguration will still create a temp directory name, but defers to ContextHandler for creation/persistence of the temp directory
 + temp directory (and BASE) removed from the deployer, as it is now the server temp directory.
@gregw gregw marked this pull request as ready for review January 13, 2023 02:36
@gregw gregw requested a review from janbartel January 16, 2023 06:30
@gregw gregw merged commit 94991c6 into jetty-12.0.x Jan 17, 2023
@gregw gregw deleted the jetty-12-tempDirectory branch January 17, 2023 00:44
gregpoulos pushed a commit to gregpoulos/jetty.project that referenced this pull request Jan 17, 2023
…x-document-modules

* upstream/jetty-12.0.x:
  Documentation: for consistency, convert "JETTY_HOME" attribute to "jetty-home" (jetty#9152)
  suppress test stacks
  Jetty 12 temp directory cleanup (jetty#9153)
  Only use GraalIssue5720PathResourceFactory when truly needed
  Refactor Graal native-image resource: handling
  Move GraalVM Native-Image code to NativeImagePathResource/-Factory
  PathResource: Fix "isAlias" issue with resource: URIs
  PathResource: Work-around false positive CodeQL warning
  PathResourceFactory: Ignore certain RuntimeExceptions upon init
  PathResource: Selectively enable resource: for GraalVM Native Image
  URIUtil: Removed unused code
  URIUtil: Suppress CodeQL false positive error about path injection
  util: Add support for GraalVM Native-Image resource:-URIs and Paths
gregpoulos pushed a commit to gregpoulos/jetty.project that referenced this pull request Jan 17, 2023
…oject into jetty-12.0.x-documentation-operations-logging

* 'jetty-12.0.x' of https://github.com/gregpoulos/jetty.project:
  Documentation: for consistency, convert "JETTY_HOME" attribute to "jetty-home" (jetty#9152)
  suppress test stacks
  Jetty 12 temp directory cleanup (jetty#9153)
  Only use GraalIssue5720PathResourceFactory when truly needed
  Refactor Graal native-image resource: handling
  Move GraalVM Native-Image code to NativeImagePathResource/-Factory
  PathResource: Fix "isAlias" issue with resource: URIs
  PathResource: Work-around false positive CodeQL warning
  PathResourceFactory: Ignore certain RuntimeExceptions upon init
  PathResource: Selectively enable resource: for GraalVM Native Image
  URIUtil: Removed unused code
  URIUtil: Suppress CodeQL false positive error about path injection
  util: Add support for GraalVM Native-Image resource:-URIs and Paths
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants