Commit Graph

590 Commits

Author SHA1 Message Date
Dave Syer
d88e1b4b7a Add test case for ivy customization
A bug in ivy (tickled by maven leaving a pom
but no jar in the local repo) would make the
default Grapes ivy config fail (cannot grab...).
Phil's workaround now has a test case.
2013-09-05 17:14:09 -07:00
Phillip Webb
39aea5d944 Ensure localm2 ivy repo can resolve artifacts
Fix the localm2 repository to only consider that a pom exists when
its artifact is contained in the repository.

This prevents a download error that can occur when the local m2
repository contains a POM file but not a JAR.

Issue: #55532358
2013-09-05 17:14:09 -07:00
Dave Syer
b720f7e688 Startup time for CLI app much quicker now
The Boot resolver didn't transfer enough of the settings
of the default ChainResolver. Adding a boolean flag was
enough to make the chatter die down for dependencies
that were unneeded.

[Fixes #55358344] [bs-291]
2013-09-05 17:14:08 -07:00
Dave Syer
0993f3da0a Restore Tomcat in CLI
Seems to work. I think the problem was the race conditions
that we hopefully already eliminated. I got an out of memory
error running the samples tests in Eclipse, but then it went
away again (something to look out for).

[Fixes #54925992] [bs-280]
2013-09-05 17:14:08 -07:00
Dave Syer
0d583deb27 Add CLASSPATH elements back to spring CLI script
Also add @WebConfiguration as a shortcut for groovy
scripts to get MVC behaviour (without a @Controller)

[#54926366]
2013-08-12 18:18:11 +01:00
Phillip Webb
cf655945aa Polish 2013-08-09 12:28:54 -07:00
Phillip Webb
f25b9e109f Remove trailing whitespace from bash script 2013-08-08 05:07:44 -07:00
Dave Syer
3b9df63f73 Add bash completion for spring command
* Added src/main/content/bash_completion.d/spring
* Also made all commands alias to "--<self>" so
"--help" is a synonym for "help" (for instance). This
helps with the completion generation.

[Fixes #54827292]
2013-08-08 11:00:41 +01:00
Phillip Webb
f4c129a063 Don't use snapshot repos for CLI test
Update SampleIntegrationTests to only use local maven repo when
running integration tests.
2013-08-06 01:22:59 -07:00
Phillip Webb
5189d9d3e6 Don't generate dependency reduced POM 2013-08-06 00:14:49 -07:00
Phillip Webb
4e11ae1671 Documentation
Various updates to README.md files.
2013-08-05 22:36:22 -07:00
Phillip Webb
40a9176937 Restructure distribution content
Include LICENCE and INSTALL text files and ensure that .bat file is
not set with executable Unix file permissions.
2013-08-05 22:31:28 -07:00
Phillip Webb
54cb7b39c9 Change assembly name to '-bin' and add tar.gz 2013-08-05 15:54:38 -07:00
Phillip Webb
f08b283b08 Implement CLI --version command 2013-08-05 15:37:11 -07:00
Phillip Webb
02f0c2b639 Get the version to clean from the pom.xml 2013-08-05 15:33:57 -07:00
Phillip Webb
aaebb3f3fb Improve Ivy resolution
Refactor GrapeEngineCustomizer to improve ivy resolution times by
failing early when resolution is known to fail.
2013-08-05 15:25:16 -07:00
Phillip Webb
e5918b6756 Restore grapes cleaner 2013-08-05 14:53:19 -07:00
Phillip Webb
77455ec3dc Fix CLI test failures 2013-08-05 13:48:14 -07:00
Phillip Webb
4038b39496 Add OutputCapture test class 2013-08-05 13:48:14 -07:00
Phillip Webb
174427881a Revert "Attempt to sort out logging dependencies"
This reverts commit e99d2199d8.

The main spring-boot project should not have compile scope dependencies
to any org.slf4j artifacts.
2013-08-05 13:48:14 -07:00
Phillip Webb
7d3ac266e8 Fix GrapesCleaner to work with renamed artifacts 2013-08-05 13:48:14 -07:00
Phillip Webb
6bb628adb4 Indicate downloading dependencies progress in CLI
Update CLI to show a "Downloading Dependencies..." message if the
initial dependency resolution takes more than 3 seconds. Whilst
downloading dots are appended to the message.

Issue: #54589094
2013-08-05 08:51:39 -07:00
Dave Syer
e99d2199d8 Attempt to sort out logging dependencies 2013-08-05 15:00:02 +01:00
Dave Syer
34500632d4 Accept SPRING_HOME if already set 2013-08-05 11:00:24 +01:00
Phillip Webb
8a4b4bd155 Add spring.bat start script for Windows 2013-08-04 14:20:26 -07:00
Phillip Webb
8a19e48e21 Polish and simplify spring bash script 2013-08-04 14:20:03 -07:00
Phillip Webb
a9700c92f3 Fix a few problems with spring start script
Fixed a few issues with the spring start script, mainly around symlinks.
Test on OSX, Ubuntu and Windows (Cygwin) with and would symlinks.
2013-08-04 08:58:07 -07:00
Phillip Webb
94855bf4ec Correct directory permissions in dist zip 2013-08-04 07:21:22 -07:00
Dave Syer
55ed0bdf45 Fix problem locating spring home 2013-08-03 09:27:57 +01:00
Phillip Webb
1db22aca5c Rework POM structure
Rework main build POM to be an aggregator pom that does not inherit
from any parent. Introduce new spring-boot-dependencies module to
act as a parent for both spring-boot-starter-parent and
spring-boot-parent.
2013-08-02 21:58:24 -07:00
Dave Syer
4bb5de02e7 Switch back to SNAPSHOT for dev 2013-08-02 12:00:14 +01:00
Dave Syer
68e5a7e887 Bump version to 0.5.0.M1 2013-08-02 12:00:14 +01:00
Phillip Webb
e1c6860a41 Documentation 2013-08-02 00:34:53 -07:00
Dave Syer
1c34fb5ed3 Fix mvn assembly 2013-07-31 21:53:32 +01:00
Phillip Webb
4c067a89fe Ops -> Actuator 2013-07-31 12:57:25 -07:00
Dave Syer
ec3c5b5321 Add auto compile tweaks for reactor 2013-07-31 09:21:16 +01:00
Phillip Webb
3bb79db579 Renamed spring-boot-ups -> spring-boot-starter 2013-07-31 01:11:10 -07:00
Phillip Webb
b665a2bb1d Renamed packages
Issue: #54095231
2013-07-26 14:11:04 -07:00
Phillip Webb
3f2bb03fb8 Renamed some projects and polish POMs
Issue: #54095231
2013-07-26 12:31:37 -07:00
Dave Syer
2098e23fca Change package names zero->boot
* actuator -> boot-ops
* cli -> boot-cli
* launcher -> boot-load
* autoconfig -> boot-config
* bootstrap -> boot-strap
* starters -> boot-up

[#54095231] [bs-253] Refactor Zero->Boot
2013-07-26 14:13:41 +01:00