638 Commits

Author SHA1 Message Date
Joakim Erdfelt
dc3362ba3c Removing deprecated methods 2014-04-15 12:22:53 -07:00
Joakim Erdfelt
41ab91988b 432321 - jetty-start / Allow defining extra start directories for common configurations
+ Fixing jetty.base default detection to use user.dir instead of
  jetty.home
2014-04-15 10:32:28 -07:00
Joakim Erdfelt
599595f544 FS utility class cleanup of unused code 2014-04-15 10:31:27 -07:00
Joakim Erdfelt
8f733169f5 432321 - jetty-start / Allow defining extra start directories for common configurations
+ Final work for unit testing happiness
+ BaseHome is now configured via ConfigSources (as intended)
+ StartArgs now parses the ConfigSources list (in reverse)
+ CommandLineConfigSource now does all of the ${jetty.base} and
  ${jetty.home} determination (from properties and env, with
  fallbacks)
2014-04-11 14:26:35 -07:00
Joakim Erdfelt
eff78efe3c 432321 - jetty-start / Allow defining extra start directories for common configurations
+ Integration of ConfigSources with rest of startup.
2014-04-10 16:45:11 -07:00
Joakim Erdfelt
682a01792f 432321 - jetty-start / Allow defining extra start directories for common configurations
+ Introduction of ConfigSources (a properly ordered list of ConfigSource
  impls) to aide in initial setup of configuration sources, prior to
  being parsed by StartArgs for the final runtime configuration of
  the jetty server.
2014-04-10 11:54:27 -07:00
Joakim Erdfelt
1b9f0cb945 Cleanup of Main.moduleIni() to .buildIni() with better documentation 2014-04-09 10:02:28 -07:00
Joakim Erdfelt
5ecf564dfa 432321 - jetty-start / Allow defining extra start directories for common configurations
+ Identified test cases for extra-start-dir logic
+ Working on layered ConfigSource approach to handling extra-start-dir
2014-04-09 09:51:20 -07:00
Joakim Erdfelt
a9c01d3607 432321 - jetty-start / Allow defining extra start directories for common configurations
+ Initial impl of BaseHome with support for lookups on extra start dirs
2014-04-08 09:57:52 -07:00
Joakim Erdfelt
e793c85eb4 Cleanup and documentation of StartArgs in prep for extra-start-dirs 2014-04-08 06:45:04 -07:00
Joakim Erdfelt
87f2deed65 Squelching prior notified loop detection 2014-04-08 06:11:42 -07:00
Joakim Erdfelt
9d0143b704 Making searchDepth configurable via System property 2014-04-08 06:08:39 -07:00
Joakim Erdfelt
ce75625f0f Preparing BaseHome for extra-start-dirs 2014-04-08 06:08:21 -07:00
Joakim Erdfelt
eb53a9ce6d Minor fix for ConcurrentModificationException 2014-04-07 10:31:34 -07:00
Greg Wilkins
2b2d3ac762 Fixed start.jar handling of expanded modules during --add-to-start 2014-04-07 13:11:41 +10:00
Greg Wilkins
cf430665b5 Fixed start.jar handling of expanded modules during --add-to-start 2014-04-04 14:09:46 +11:00
Greg Wilkins
6e9879cc6b removed debug 2014-04-03 19:12:49 +11:00
Greg Wilkins
303fa57eaf improved protonego module structure to avoid ini files of parameterized modules 2014-04-03 16:50:33 +11:00
Greg Wilkins
157a54ec5c 430341 Use apache jsp/jstl by default in 9.2.0 2014-04-03 14:16:13 +11:00
Greg Wilkins
c5e1e249e7 set version for 9.2.x 2014-03-31 11:35:06 +11:00
Joakim Erdfelt
f3d312698f 425736 - jetty-start / Jetty 9 fails to startup with --exec option if Java path contain
+ Using .addRawArg() to avoid space escaping for Java Bin
2014-03-28 09:59:16 -07:00
Joakim Erdfelt
2f6f210174 430747 - jetty-start / Allow --lib and module [lib] to recursively add jars
+ --lib={pattern} now supported
  + regular searching rules (for BaseHome) apply
  + even supporting multiple lib pattern entries via File.pathSeparator
    separation, resulting in support for command lines like this:
       --lib=/opt/common/lib/**.jar:lib/db/*.jar
  + {pattern} can be any valid java.nio.file.PathMatcher of syntax "glob:"
    (since we rely on File.pathSeparator to break apart the --lib line
    the existence of that same char in "glob:" and "regex:" means that
    supporting both syntaxes of (regex and glob) isn't going to make
    writing this line easy for the user.  opting for glob only seems
    like a good compromise)
2014-03-26 19:22:20 -07:00
Joakim Erdfelt
dfbe5c92c6 426920 - jetty-start / BaseHome.listFilesRegex() and .recurseDir() do not detect filesystem loops
+ Using java.nio.files to walk directory tree and detect filesystem
  loops
+ All standard PathMatching patterns now work. ("glob:" and "regex:")
2014-03-26 19:01:05 -07:00
Joakim Erdfelt
a52925efcc 431279 - jetty-start / Unable to start jetty if no properties are defined.
+ Removed spurious check for no properties set (as System Properties are
  not part of that check, but should have been, which essentially means
  that there is never no properties available)
2014-03-26 11:34:08 -07:00
Joakim Erdfelt
6600abd3f9 Adding more start debug for lib resolution steps 2014-03-26 11:34:06 -07:00
Joakim Erdfelt
a55ae9e58c 427204 - jetty-start / startup incorrectly requires directory in jetty.base
+ Removing start failure on missing [files] entries as this would
  prevent startup when the user has configured to alternative files
  locations.  The modules directives for [files] are defaults,
  best practice, not required content.  It now warns only on
  missing download directives.
2014-03-21 11:54:41 -07:00
Joakim Erdfelt
2afd16ec39 427368 - start.sh fails quietly on command line error
+ Correcting bad --daemon use
+ Adding start-log-file command line instead
+ Adding feedback about start-log-file use
2014-03-11 14:29:11 -07:00
Jesse McConnell
0ec0d452e9 [maven-release-plugin] prepare for next development iteration 2014-03-07 09:10:08 -06:00
Jesse McConnell
1e555567a9 [maven-release-plugin] prepare release jetty-9.1.3.v20140225 2014-03-07 09:10:08 -06:00
Jesse McConnell
eb0aea46ce set versions.txt file to new version and fix mistaken developmentVersion 2014-02-10 13:48:29 -06:00
Jesse McConnell
f3d38dfb15 [maven-release-plugin] prepare for next development iteration 2014-02-10 11:17:14 -06:00
Jesse McConnell
8f6cbc9111 [maven-release-plugin] prepare release jetty-9.1.2.v20140210 2014-02-10 11:17:07 -06:00
Jesse McConnell
ba318ccbd3 [426003] active modules with missing dependencies fail accordingly, non-active with missing deps fail silently 2014-02-04 14:09:16 -06:00
Jesse McConnell
2db90757ed Bug 426481 fix < java 1.7.0_10 npn files 2014-01-23 10:36:29 -06:00
Simone Bordet
e4cac732cf Updated build profiles to JDK 7u51, along with NPN modules. 2014-01-14 22:51:18 +01:00
Joakim Erdfelt
dec67094bf 425696 - start.jar --add-to-start={module} results in error 2014-01-14 11:43:21 -07:00
Joakim Erdfelt
3a16944fd7 Fixing path based assertions to be OS neutral (windows) 2014-01-14 11:35:08 -07:00
Jesse McConnell
b82ec6e668 [maven-release-plugin] prepare for next development iteration 2014-01-08 16:47:09 -06:00
Jesse McConnell
b99623a21d [maven-release-plugin] prepare release jetty-9.1.1.v20140108 2014-01-08 16:47:01 -06:00
Joakim Erdfelt
907eb6b03b 424598 - Module [npn] downloads wrong npn jar
+ Cleanup of --list-config output
2014-01-06 11:16:03 -07:00
Joakim Erdfelt
7af87b4a04 424598 - Module [npn] downloads wrong npn jar
+ Separating Module logical name from file system reference name
+ [depend] references in *.mod files are tried as file system reference
  names, then logical names.
+ --module=<name> are tried only as logical names.
+ All of the npn/npn-${jvm.version}.mod files are defined as logical
  name of npn-boot
2014-01-06 11:16:03 -07:00
Joakim Erdfelt
a12fd9ea03 Happy New Year - 2014! 2014-01-02 14:50:14 -07:00
Joakim Erdfelt
ec9d807a47 Reducing noise during testing 2013-12-27 10:55:47 -07:00
Joakim Erdfelt
966c4e0130 424390 - Allow enabling modules via regex 2013-12-27 10:52:03 -07:00
Joakim Erdfelt
f8e44a1ae7 424168 - Module [ext] should load libraries recursively from lib/ext/
+ Added support for [LIB] definitions that use regex.
+ Using new expression for [LIB] sections in ext.mod
    regex:lib/ext/.*\.jar$
2013-12-27 10:31:38 -07:00
Joakim Erdfelt
31831476f1 Removing ${switch logic from Module in favor of using properties 2013-12-26 15:49:31 -07:00
Joakim Erdfelt
bd86928f1c Changing repo1.maven.org to central.maven.org 2013-12-26 15:45:48 -07:00
Joakim Erdfelt
1de4502ad5 424598 - Module [npn] downloads wrong npn jar
+ Implemented property expansion of [depend] module names
+ Added npn/npn-${java.version}.mod files
2013-12-26 15:41:40 -07:00
Joakim Erdfelt
fa399d4b7d Fixing double '2152' expand 2013-12-26 13:02:10 -07:00
Joakim Erdfelt
4777f4ff3b 417202 - Start / command line arguments with ${variable} should be expanded
+ Expanding properties & LIB references
2013-12-26 12:51:18 -07:00