private static String _initiateBuildId() { String id = "Jersey"; final InputStream in = getIntputStream(); if (in != null) { try { Properties p = new Properties(); p.load(in); String _id = p.getProperty("Build-Id"); if (_id != null) id = id + ": " + _id; } catch (Exception e){ // Ignore } finally { close(in); } } return id; }
private void addVersion(Application wadlApplication) { // Include Jersey version as doc element with generatedBy attribute Doc d = new Doc(); d.getOtherAttributes().put(new QName("http://jersey.java.net/", "generatedBy", "jersey"), BuildId.getBuildId()); wadlApplication.getDoc().add(0, d); }
private static String _initiateBuildId() { String id = "Jersey"; final InputStream in = getIntputStream(); if (in != null) { try { Properties p = new Properties(); p.load(in); String _id = p.getProperty("Build-Id"); if (_id != null) id = id + ": " + _id; } catch (Exception e){ // Ignore } finally { close(in); } } return id; }
LOGGER.info("Initiating Jersey application, version '" + BuildId.getBuildId() + "'");
private static String _initiateBuildId() { String id = "Jersey"; final InputStream in = getIntputStream(); if (in != null) { try { Properties p = new Properties(); p.load(in); String _id = p.getProperty("Build-Id"); if (_id != null) id = id + ": " + _id; } catch (Exception e){ // Ignore } finally { close(in); } } return id; }
private void addVersion(Application wadlApplication) { // Include Jersey version as doc element with generatedBy attribute Doc d = new Doc(); d.getOtherAttributes().put(new QName("http://jersey.java.net/", "generatedBy", "jersey"), BuildId.getBuildId()); wadlApplication.getDoc().add(0, d); }
private void addVersion(Application wadlApplication) { // Include Jersey version as doc element with generatedBy attribute Doc d = new Doc(); d.getOtherAttributes().put(new QName("http://jersey.java.net/", "generatedBy", "jersey"), BuildId.getBuildId()); wadlApplication.getDoc().add(0, d); }
LOGGER.info("Initiating Jersey application, version '" + BuildId.getBuildId() + "'");
LOGGER.info("Initiating Jersey application, version '" + BuildId.getBuildId() + "'");