Skip to content

Optimize jetty startup when dealing with directories on the classpath#34

Open
StrongSteve wants to merge 1 commit intoeclipse-jetty:masterfrom
StrongSteve:master
Open

Optimize jetty startup when dealing with directories on the classpath#34
StrongSteve wants to merge 1 commit intoeclipse-jetty:masterfrom
StrongSteve:master

Conversation

@StrongSteve
Copy link
Copy Markdown

@StrongSteve StrongSteve commented Aug 12, 2017

  • Jetty startup is very, very slow when there are exploded directories on the classpath
  • Jetty startup is rather fast when there are only JAR archives on the classpath
  • Created a new optimized webappclassloader that detects archives on the classpath, creates JAR archives for them and adds the archive to the classpath
  • Possibility to exclude specical directories via regular expressions (for example .web. to leave web modules as they are to enable tapestry live reloading)
  • Extend the eclipse plugin to enable/disable the usage of the optimized class loader
  • Extend the eclipse plugin to define the exclusion patterns
  • Change everything to java 1.8 (source and compile level)

@derkoe
Copy link
Copy Markdown
Contributor

derkoe commented Aug 19, 2017

Two issues:

  • Travis Build does not run because it uses Java 7 as default - please adopt .travis.yml or pom.xml accordingly.
  • You used a mixture of tabs and spaces for indentation in Java files. Please adhere to code style and only use blanks.

@StrongSteve StrongSteve force-pushed the master branch 4 times, most recently from e317c1b to 28edef8 Compare August 19, 2017 17:07
	+ Jetty startup is very, very slow when there are exploded directories
on the classpath
	+ Jetty startup is rather fast when there are only JAR archives on the
classpath
	
	+ Created a new optimized webappclassloader that detects archives on
the classpath, creates JAR archives for them and adds the archive to the
classpath
	+ Possibility to exclude specical directories via regular expressions
(for example .*web.* to leave web modules as they are to enable tapestry
live reloading)
	
	+ Extend the eclipse plugin to enable/disable the usage of the
optimized class loader
	+ Extend the eclipse plugin to define the exclusion patterns
	
	+ Change everything to java 1.8 (source and compile level)
	
	+ Adapt .travis.yml to java 8
@StrongSteve
Copy link
Copy Markdown
Author

fixed code formatting + travis

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