Dave Syer
689eb3e148
Add URLs from parent classloader in executable jar
...
$ (cd spring-boot-tools; mvn clean install -DskipTests=true)
$ (cd spring-boot-samples/spring-boot-sample-simple/; mvn clean package)
$ java -jar spring-boot-samples/spring-boot-sample-simple/target/spring-boot-sample-simple-1.1.0.BUILD-SNAPSHOT.jar
(vanilla executable jar archive: works)
$ java -cp spring-boot-samples/spring-boot-sample-simple/target/spring-boot-sample-simple-1.1.0.BUILD-SNAPSHOT.jar:spring-boot-tools/spring-boot-loader/src/test/resources/jars/app.jar org.springframework.boot.loader.JarLauncher
(jar archive plus vanilla plugin: works)
$ (cd spring-boot-samples/spring-boot-sample-simple/target; rm -rf app && mkdir $_ && cd $_ && jar -xf ../*.jar)
$ java -cp spring-boot-samples/spring-boot-sample-simple/target/app/ org.springframework.boot.loader.JarLauncher
(exploded directory: works)
$ java -cp spring-boot-tools/spring-boot-loader/s:spring-boot-tools/spring-boot-loader/src/test/resources/jars/app.jar org.springframework.boot.loader.JarLauncher
(exploded directory with plugin jar: works)
Potential fix for gh-529
2014-04-30 15:28:04 +01:00
Phillip Webb
ca0a12cedb
Polish
2014-03-18 10:23:54 -07:00
Dave Syer
ae512193bf
Add missing test mannifest
2014-03-18 16:37:53 +00:00
Dave Syer
a1d3bac7c8
More changes to teh way ExplodedArchive works in non-recursive mode
...
It is sufficient for most purposes (e.g. the ones PropertieLauncher needs)
to only read the META-INF directory (not the whole file tree). So a quick
fix is to make META-INF a special case when initializing non-recursive
entries.
Fixes gh-520
2014-03-18 14:28:23 +00:00
Dave Syer
3c7361fb3e
Support for wildcard paths in PropertiesLauncher
2013-12-30 16:14:10 +00:00
Dave Syer
114b7a5e95
Ensure UPPER_CASE overrides work in PropertiesLauncher
2013-10-14 11:16:40 -04:00
Dave Syer
a3af83cf96
Add internal property replacement
...
E.g. in application.properties (for launcher)
foo: Application
loader.main: my.${foo}
loader.path: etc
2013-09-24 09:15:30 +01:00
Dave Syer
053c072155
Add some tests for PropertiesLauncher
2013-09-24 08:52:04 +01:00