ossiejhmoore icon

DumpModuleConfig Update

ossiejhmoore | PRO | 08/17/12 04:24:02 PM UTC | 0 ⭐ | 252 👁️ | Never ⏰ | []
text |

750 B

|

None

|

0 👍

/

0 👎

Add commnets...
   	//
 	// Updated to determine proper location to write ini file to even when
 	// module is located in the staging directory.
 	//
    Add after "List      key" variable declaration...
    	Assoc       tmpVal
   	//
 	// Added to determine proper export locaiton for module ini file
 	// even when run while module is in staging. Replace $mymodule
	// with the module containing the Utils.GetLocationOfThisOspace
	// method
 	//
 	tmpVal = $mymodule.Utils.GetLocationOfThisOSpace(this)
 	if (!tmpVal.ok)
 		$DialogUtils.Error(tmpVal.ErrMsg)
 	else
 		outFileName = Str.Format("%1%2.ini", tmpVal.Path, .ModuleName())
 		$DialogUtils.Notify(Str.Format("Dumping module config to %1", outFileName))
 	end

Comments