1 package com.bull.eclipse.jonas.actions.war; 2 3 7 8 import com.bull.eclipse.jonas.JonasLauncherPlugin; 9 import com.bull.eclipse.jonas.JonasProject; 10 import com.bull.eclipse.jonas.actions.JonasProjectAbstractActionDelegate; 11 12 public class UnDeployWarActionDelegate extends JonasProjectAbstractActionDelegate { 13 14 public boolean doActionOn(JonasProject prj) throws Exception { 15 String warFile = prj.getWebContext() + ".war"; 16 JonasLauncherPlugin.log("warFile = " + warFile); 17 String [] options = {"-r", warFile}; 18 JonasLauncherPlugin.getDefault().getJonasBootstrap().admin(options); 19 return false; 20 } 21 22 } 23 24 | Popular Tags |