taskPerformers coolness

Posts   
 
    
omar avatar
omar
User
Posts: 569
Joined: 15-Oct-2004
# Posted on: 06-Nov-2006 07:49:36   

I needed to create a custom taskPerformer that would generate a folder referencing my own replaceable parameter [blSubFolder] (similar to the [dalSubFolder] replaceable parameter used by LLBL to reference the DAL sub-folders' properties of the LLBL project).

I have to admit that it was almost trivial to create a generic task-performer that would: 1- create a folder from the value of a custom property 2- recognize the special replaceable parameter [blSubFolder] and replace it with the value of the custom property [BLSubFolderName]

The other cool thing also was debugging the project during the actual code-generation process following the instructions explained in LLBL's documentaion. my JCL.TaskPerformers.DirectoryCreator task performer is in VB.NET but extends LLBL's own directoryCreator task-performer which is written in CS.

If anyone might find such a task-performer usefull, I will gladly share it (regretably the JCLFrameWork.NET site has issues with uploading the file because of DNN's moody behaviour rage )

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39797
Joined: 17-Aug-2003
# Posted on: 07-Nov-2006 11:37:26   

Sounds cool simple_smile If you want us to put it up in the 3rd party section, just mail it to support AT llblgen.com simple_smile

Frans Bouma | Lead developer LLBLGen Pro