|
|
@ -63,6 +63,7 @@ public class JnlpGeneratorImpl implements JnlpGenerator {
|
|
|
|
root.appendChild(security);
|
|
|
|
root.appendChild(security);
|
|
|
|
|
|
|
|
|
|
|
|
Element resources = document.createElement("resources");
|
|
|
|
Element resources = document.createElement("resources");
|
|
|
|
|
|
|
|
resources.setAttribute("os", "Linux");
|
|
|
|
Element j2se = document.createElement("j2se");
|
|
|
|
Element j2se = document.createElement("j2se");
|
|
|
|
j2se.setAttribute("version", "1.8+");
|
|
|
|
j2se.setAttribute("version", "1.8+");
|
|
|
|
Element jar = document.createElement("jar");
|
|
|
|
Element jar = document.createElement("jar");
|
|
|
@ -71,6 +72,17 @@ public class JnlpGeneratorImpl implements JnlpGenerator {
|
|
|
|
resources.appendChild(jar);
|
|
|
|
resources.appendChild(jar);
|
|
|
|
root.appendChild(resources);
|
|
|
|
root.appendChild(resources);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Element resourcesWin = document.createElement("resources");
|
|
|
|
|
|
|
|
resourcesWin.setAttribute("os", "Windows");
|
|
|
|
|
|
|
|
Element j2seWin = document.createElement("j2se");
|
|
|
|
|
|
|
|
j2seWin.setAttribute("version", "1.8+");
|
|
|
|
|
|
|
|
Element jarWin = document.createElement("jar");
|
|
|
|
|
|
|
|
jarWin.setAttribute("href", "pdfsignerWin.jar");
|
|
|
|
|
|
|
|
resourcesWin.appendChild(j2seWin);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
resourcesWin.appendChild(jarWin);
|
|
|
|
|
|
|
|
root.appendChild(resourcesWin);
|
|
|
|
|
|
|
|
|
|
|
|
Element appDesc = document.createElement("application-desc");
|
|
|
|
Element appDesc = document.createElement("application-desc");
|
|
|
|
appDesc.setAttribute("main-class", "info.bukova.pdfsigner.Main");
|
|
|
|
appDesc.setAttribute("main-class", "info.bukova.pdfsigner.Main");
|
|
|
|
Element argUrl = document.createElement("argument");
|
|
|
|
Element argUrl = document.createElement("argument");
|
|
|
|