super(isJWS, logger, archive, archivist, mainClassFromCommandLine);
JarFile jar = null; try { jar = new JarFile(archive.getArchiveUri()); JarEntry mainClassEntry = jar.getJarEntry(entry); return detector.containsAnnotation(jar, mainClassEntry); } catch (Throwable thr) { throw new RuntimeException(localStrings.getString( "appclient.errorCheckingAnnos"), thr); } finally { if (jar != null) { try { jar.close(); } catch (IOException ioe) { throw new RuntimeException(localStrings.getString( "appclient.errorClosingJar", archive.getArchiveUri()), ioe); } } }
return false;
InputJarArchive appArchive = new InputJarArchive (); appArchive.open(file.getAbsolutePath()); return appArchive;
ApplicationClientDescriptor appClient = (ApplicationClientDescriptor)d; appClient.getModuleDescriptor().setStandalone(true);