- 08 Jan, 2014 6 commits
-
-
Dave Syer authored
-
Dave Syer authored
Also logs a warning about the fact that locks may not be taken when starting a Job. JPA and Batch don't really work that well together in general so it's probably not worth a lot of effort to work aoround this. If anyone needs to they should create a custom JpaDialect (and a BatchConfigurer). Fixes gh-197
-
Dave Syer authored
Fixes gh-195
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
- 07 Jan, 2014 9 commits
-
-
Dave Syer authored
-
Janne Valkealahti authored
Previous fix for handling wildcard entries in a classpath imposed a new problem in a case where entry is a directory with a jar files but also contains a lot of nested directories. For example entry "./*" resulted for scanning whole disk starting from "/". In case of default hadoop classpath, it scanned everything under hadoop's installation. On some cases this deep scan was hidden and was revealed by NPE's for file access exceptions. When we want to support wildcard entries we only want to get jar files from that directory, while boot itself have a need to travel recursively to find classfiles from an expoded archive. We handle this case by using recursive(true by default) flag in ExplodedArchive and this flag is set to false in PropertiesLauncher if we match wildcard.
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
-
Andy Wilkinson authored
Previously, a transform was used to add @GrabResolver annotations during compilation that added the Spring milestone and snapshot repositories. This functionality is now handled by RepositoryConfigurationFactory so the transform is no longer required.
-
- 06 Jan, 2014 12 commits
-
-
Phillip Webb authored
Fix the following issues that were introduced in commit 0610378d: - Formatting of code including imports - Improve hashcode/equals implementations by using ObjectUtils - Provide hashcode/equals for ConditionOutcome - Use LinkedHashSet in ConditionAndOutcomes to maintain insert order Fixed gh-127
-
Greg Turnquist authored
-
Dave Syer authored
Fixes gh-143
-
Dave Syer authored
Users can declare or Command, OptionHandler classes in an init script or they can use a DSL, e.g. command("foo") { args -> println "Do stuff with ${args} array" } or command("foo") { options { option "bar", "Help text for bar option" ithOptionArg() ofType Integer } run { options -> println "Do stuff with ${options.valueOf('bar')}" } }
-
Dave Syer authored
-
Dave Syer authored
-
Dave Syer authored
InitCommand runs on creation of SpringCli so it can search for additional Commands in updated classpath. Also added as interactive command in Shell session.
-
Dave Syer authored
PropertiesLauncher now supports creating its own class loader from looader.classLoader property. It will succeed if the implementation specified has a default constructor or one that takes a parent class loader, or one that takes a URL[] and a parent class loader (like URLClassLoader).
-
Dave Syer authored
-
Greg Turnquist authored
The collection of outcomes is a list. Sometimes a race condition causes to instances of the same outcome to get added to the list shown in the report. By replacing this with a set and propery equals/hashCode, duplicates are prevented from appearing in the report. I added test cases to prove that that POJO is properly managed inside a Set and also to show that duplicates don't appear in the final report.
-
Dave Syer authored
Autoconfiguration ordering has to be adjusted so that a DataSource is available before an EntityManagerFactory is ever needed. Previously the autoconfigs were accidentally loaded in the right order, but after the change to BatchAutoConfiguration the order has to be explicit. Fixes gh-189
-
Dave Syer authored
-
- 03 Jan, 2014 2 commits
- 02 Jan, 2014 9 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
Change SpringCli so that running without arguments no longer jumps into the embedded REPL shell. This restores the ability to obtain quick usage help by simply typing `spring` from the command prompt. Windows users or developers that prefer the embedded shell can still launch it using `spring shell`.
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
Change OptionHandler to support '-cp' instead of '--cp'. This update to the original fix (045088e8) renders `help` output correctly and should prevent potential issues if a `-p` command is added in the future. Fixes gh-178
-
Phillip Webb authored
Defer loading of Servlets (with a loadOnStartup priority) until the `EmbeddedServletContainer.start()` method is called. This prevents issues with the DispatcherServlet being initialized before the embedded ApplicationContext is fully initialized.
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
- 31 Dec, 2013 2 commits
-
-
Dave Syer authored
Fixes gh-178
-
Janne Valkealahti authored
This small change now plays nice with wildcard classpath entries coming from a parent classloader as its urls.
-