From: Julio G. <ju...@us...> - 2004-04-02 16:56:49
|
Update of /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/sfcore/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25179/smartfrog/src/org/smartfrog/sfcore/common Modified Files: ConfigurationDescriptor.java Log Message: Improve deployReference parsing. Try: smartfrog -a counterEx3:DEPLOY:org/smartfrog/examples/counter/example2.sf:\testLevel1:counterToSucceed\:localhost: -e Index: ConfigurationDescriptor.java =================================================================== RCS file: /cvsroot/smartfrog/core/smartfrog/src/org/smartfrog/sfcore/common/ConfigurationDescriptor.java,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** ConfigurationDescriptor.java 2 Apr 2004 16:35:35 -0000 1.11 --- ConfigurationDescriptor.java 2 Apr 2004 16:44:38 -0000 1.12 *************** *** 495,499 **** public ConfigurationDescriptor (String name, String url,int actionType, String deployReference ,String host, String subProcess) ! throws SmartFrogInitException{ this.setActionType(actionType); --- 495,499 ---- public ConfigurationDescriptor (String name, String url,int actionType, String deployReference ,String host, String subProcess) ! throws SmartFrogInitException, SmartFrogResolutionException { this.setActionType(actionType); *************** *** 526,535 **** * @param reference */ ! public void setDeployReference(String reference){ if (reference.trim().equals("")){ return; } ! this.getOptions().put(SF1Options.SFCONFIGREF, new Reference (reference)); } --- 526,536 ---- * @param reference */ ! public void setDeployReference(String reference) throws SmartFrogResolutionException{ if (reference.trim().equals("")){ return; } ! this.getOptions().put(SF1Options.SFCONFIGREF, ! Reference.fromString(reference)); } |