diff --git a/jetty-runner/src/it/test-jar-manifest/postbuild.groovy b/jetty-runner/src/it/test-jar-manifest/postbuild.groovy index da1a6d99e3c..af66cf7472d 100644 --- a/jetty-runner/src/it/test-jar-manifest/postbuild.groovy +++ b/jetty-runner/src/it/test-jar-manifest/postbuild.groovy @@ -1,10 +1,10 @@ -import java.util.jar.* - -File artifact = new File( basedir, "target/jetty-runner.jar" ) -assert artifact.exists() - -JarFile jar = new JarFile( artifact ); - -Attributes manifest = jar.getManifest().getMainAttributes(); - -assert manifest.getValue( new Attributes.Name( "Main-Class" ) ).equals( "org.eclipse.jetty.runner.Runner" ) +import java.util.jar.* + +File artifact = new File( basedir, "target/jetty-runner.jar" ) +assert artifact.exists() + +JarFile jar = new JarFile( artifact ); + +Attributes manifest = jar.getManifest().getMainAttributes(); + +assert manifest.getValue( new Attributes.Name( "Main-Class" ) ).equals( "org.eclipse.jetty.runner.Runner" )