Fix missing spring-instrument jar manifest entry

The spring-intstrument jar should have a 'Premain-Class:' manifest
entry in order to enable use as a Java agent. This entry was present in
versions 3.1.1 and earlier, but due to build infrastructure changes
starting in 3.2.x this entry was missed. It is now back in place as
expected.

Issue: SPR-9458
This commit is contained in:
Chris Beams 2012-06-01 09:58:02 +02:00
parent 94f839329e
commit 706da4f7c2
1 changed files with 4 additions and 0 deletions

View File

@ -183,6 +183,10 @@ project('spring-instrument') {
dependencies {
compile project(":spring-core")
}
jar {
manifest.attributes['Premain-Class'] =
'org.springframework.instrument.InstrumentationSavingAgent'
}
}
project('spring-instrument-tomcat') {