1 13 14 package org.ejbca.ui.cli; 15 16 17 22 public class setup { 23 28 public static void main(String [] args) { 29 try { 30 IAdminCommand cmd = SetupCommandFactory.getCommand(args); 31 32 if (cmd != null) { 33 cmd.execute(); 34 } else { 35 System.out.println("Usage: SETUP setdefaultbaseurl <computername> <applicationpath>"); 36 System.out.println(" Or: SETUP initializehardtokenissuing <caname>"); 37 } 38 } catch (Exception e) { 39 System.out.println(e.getMessage()); 40 System.exit(-1); 42 } 43 } 44 } 45 46 47 | Popular Tags |