String path= makePath(application);
String path= makePath2(application);
    public void deployApplications() {        verifyHostDefined();        setupCodebase();        Iterator it = applications.iterator();        while (it.hasNext()) {            Application application = (Application) it.next();            application.validate();            addArg("-a");            String path= makePath(application);            String subprocess=getSubprocess();            addArg(application.getName() + ":" //NAME                    + ACTION_DEPLOY + ":"      //Action: DEPLOY,TERMINATE,DETACH,DETaTERM                    + path                     //URL                    + "" + ":"                 // sfConfig or empty                    + getHost() + ":"          // host                    + subprocess);                     // subprocess        }    }