1 20 21 package org.jdesktop.jdic.packager; 22 23 import java.io.IOException ; 24 import org.jdesktop.jdic.packager.impl.Jnlp2Package; 25 import org.jdesktop.jdic.packager.impl.JnlpConstants; 26 import org.jdesktop.jdic.packager.impl.JnlpUtility; 27 28 29 76 public class Jnlp2Pkg { 77 83 public static void main(final String [] args) { 84 JnlpUtility.checkPlatformCompatibility(JnlpConstants.OS_SOLARIS); 86 87 try { 89 Jnlp2Package.generatePackage(args); 90 } catch (IOException e1) { 91 System.out.println(e1.getMessage()); 92 } catch (IllegalArgumentException e2) { 93 System.out.println(e2.getMessage()); 94 } catch (Exception e) { 95 e.printStackTrace(); 96 } catch (Error err) { 97 err.printStackTrace(); 98 } finally { 99 System.exit(0); 100 } 101 } 102 } 103 | Popular Tags |