CLiGenerator 1.0.2005.1 Generates Classes of 1 KB

Posts   
 
    
Posts: 7
Joined: 09-Apr-2008
# Posted on: 09-Apr-2008 18:22:28   

I am working with CruiseControl.NET so using Nant scripts to generate LLBLGen Classes using its command line Utility version 1.0.2005.1 ITa generating all the classes but All Entity, Validation, Dao etc classes are being generated of 1 KB size with nothing in that. frowning

Previously i was using CliGenerator of Version 2.0 but as my LLBLGen project is of version 1.0 it was not generating Validation classes. disappointed

Any help regarding this would be highly appreciated.

Ram Kinkar Pandey

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 09-Apr-2008 18:25:14   

Please enable logging and check the log. CliGenerator has a logging parameter so it emits all logging to a file. ANy template not found is logged in there. It's likely the template isn't found for a given task.

Frans Bouma | Lead developer LLBLGen Pro
Posts: 7
Joined: 09-Apr-2008
# Posted on: 09-Apr-2008 18:32:05   

I have checked Log file carefully. But found no sign of Error in that. I am trying to attach that log file too you may have a look.

Posts: 7
Joined: 09-Apr-2008
# Posted on: 10-Apr-2008 10:47:39   

Please have a look how i am tryin gto execute CliGenerator <exec program="${CliGeneratorPath}\CliGenerator.exe"> <arg value="${DevelopmentDirectory}\llbgen\ttl.tdpf.dal.llblgen.lgp"/> <arg value="TTL.TDPF.DAL"/> <arg value="SelfServicing, two class scenario (Full / Safe) Vs.Net 2005"/> <arg value="VB.NET template set for SqlServer (1.0.2005.1)"/> <arg value="C:\TTL.TDPF.DAL"/> <!--<arg value="${DevelopmentDirectory}\TTL.TDPF.DAL"/>--> <arg value="1"/> <arg value="TTL.TDPF.DAL.LOG.txt"/>

</exec>

and please let me know what i am doing wrong?? confused

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 10-Apr-2008 15:31:06   

THe log seems OK. How are you running this process? If you start it on the command line, does it work OK? Another reason might be that the template FILES weren't found. So the working folder of the process has to be the cligenerator path as well.

Frans Bouma | Lead developer LLBLGen Pro
Posts: 7
Joined: 09-Apr-2008
# Posted on: 10-Apr-2008 15:55:43   

THANKS Otis!!! Really some template file was missing. I just copied all folder from "Solutions Design\LLBLGen Pro v1.0" to Cligenerator's bin folder and every thing worked fine. Thanks for great support. regards,

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 10-Apr-2008 16:57:24   

Glad it's working simple_smile

Frans Bouma | Lead developer LLBLGen Pro