if (bundleDir.indexOf(IWMainApplication.BUNDLES_STANDARD_DIRECTORY) == -1) { bundleDir = IWMainApplication.BUNDLES_STANDARD_DIRECTORY + File.separator + bundleDir; } iwma.registerBundle(bundleIdentifier, bundleDir, true);
iwma.registerBundle(bundleIdentifier, true);
	private void doBusiness(IWContext iwc) throws Exception {		String check = iwc.getParameter(NEW_BUNDLE_PARAMETER);		if (check != null) {			String bundleIdentifier = iwc.getParameter(this.NEW_BUNDLE_NAME_PARAMETER);			//String bundleDir = iwc.getParameter(this.NEW_BUNDLE_PATH_PARAMETER);			String bundleDir = bundleIdentifier + ".bundle";			IWMainApplication iwma = iwc.getIWMainApplication();			if (bundleDir.indexOf(IWMainApplication.BUNDLES_STANDARD_DIRECTORY) == -1) {				bundleDir = IWMainApplication.BUNDLES_STANDARD_DIRECTORY + File.separator + bundleDir;			}			iwma.registerBundle(bundleIdentifier, bundleDir, true);			add(IWDeveloper.getText("Creation Successful"));		}	}