I have error when I change Preset task for enable PredicateFactoryClass & SortClauseFactory

Posts   
 
    
nopchan
User
Posts: 56
Joined: 30-Apr-2005
# Posted on: 01-May-2006 01:28:34   

I have error when I change Preset task for enable PredicateFactoryClass & SortClauseFactory

I delete file in folder then run generate I have error now

Could not find a part of the path 'C:\Ess2006V2\DataModel\FactoryClasses\PredicateFactory.cs'.

nopchan
User
Posts: 56
Joined: 30-Apr-2005
# Posted on: 01-May-2006 01:32:25   

-----[Core exception]-------------------- at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options) at System.IO.StreamWriter.CreateFile(String path, Boolean append) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize) at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding) at SD.LLBLGen.Pro.TaskPerformers.CodeEmitter.Perform(IGenerator executingGenerator, ITask taskDefinition, Dictionary2 parameters) at SD.LLBLGen.Pro.ApplicationCore.Tasks.Task.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.Tasks.TaskGroup.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.ApplicationCore.Tasks.TaskGroup.Perform(IGenerator executingGenerator, LogNode parentNode) at SD.LLBLGen.Pro.GeneratorCore.Generator.Start(ITaskGroup tasksToExecute, Project projectDefinition, Language languageToUse, Platform platformToUse, List1 templateBindingsToUse, String templateGroupToUse, ApplicationConfiguration configurationSettings) at SD.LLBLGen.Pro.Gui.Forms.MainWindow.StartGeneratorProcess()

nopchan
User
Posts: 56
Joined: 30-Apr-2005
# Posted on: 01-May-2006 01:37:30   

I can generate now

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39590
Joined: 17-Aug-2003
# Posted on: 01-May-2006 08:31:40   

Could you give more information about the situation when you got the exception?

Frans Bouma | Lead developer LLBLGen Pro
nopchan
User
Posts: 56
Joined: 30-Apr-2005
# Posted on: 01-May-2006 14:47:31   

I click add tasks then select SD.Tasks.GenericPredicateFactory & SD.Tasks.GenericSortClauseFactory

I save as to ..... when I run generate I have error

but

I run llblgen again then find SD.Tasks.GenericPridicateFactory & SD.Tasks.GenericSortClauseFactory in grey color lists then enable it

I save as to .... I can generate complete

thank.

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39590
Joined: 17-Aug-2003
# Posted on: 01-May-2006 15:12:04   

ah ok, thanks simple_smile Will check it out.

Frans Bouma | Lead developer LLBLGen Pro
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39590
Joined: 17-Aug-2003
# Posted on: 01-May-2006 18:13:10   

Reproduced.

Fixed in next build (with a warning. The error is caused by the fact that a required folder isn't created yet by a different task.)

Frans Bouma | Lead developer LLBLGen Pro