Generated project files contains absolute paths for cs files

Posts   
 
    
GiorgioG
User
Posts: 30
Joined: 07-Oct-2006
# Posted on: 16-Sep-2008 14:27:20   

The generated project files contains absolute paths (for Adapter at least) for cs files, which screws up our branching (branch points to trunk cs files). Any chance this can be made relative to the csproj root path?

-Giorgio

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39863
Joined: 17-Aug-2003
# Posted on: 16-Sep-2008 14:50:56   

llblgenpro version / builddate?

Frans Bouma | Lead developer LLBLGen Pro
GiorgioG
User
Posts: 30
Joined: 07-Oct-2006
# Posted on: 16-Sep-2008 15:00:39   

Sorry that was stupid of me (to not include the ver/build date.)

2.5, June 2nd '08

Walaa avatar
Walaa
Support Team
Posts: 14993
Joined: 21-Aug-2005
# Posted on: 16-Sep-2008 16:32:55   

I can't reproduce it. Could it be possible that you have the value of the destinationFolder parameter changed in the specified Task information?

GiorgioG
User
Posts: 30
Joined: 07-Oct-2006
# Posted on: 16-Sep-2008 17:15:05   

Walaa wrote:

I can't reproduce it. Could it be possible that you have the value of the destinationFolder parameter changed in the specified Task information?

Yes we have it set to "[dbgenericSubFolder].." is [dbgenericSubFolder] an absolute path? That's the way it appears to be working. (When generating the code we did specify a relative path for the directory root.)

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 17-Sep-2008 09:07:36   
  • What task or task group did you change (for instance, VsNetDbGenericProjectFileCreator...)

  • What parameter of that task did you change (destinationFolder, for intance?) ?

  • Why did you change it? I mean, where would you like to put the generated files, for example?

David Elizondo | LLBLGen Support Team
GiorgioG
User
Posts: 30
Joined: 07-Oct-2006
# Posted on: 17-Sep-2008 13:56:12   

daelmo wrote:

  • What task or task group did you change (for instance, VsNetDbGenericProjectFileCreator...)

SD.Tasks.Adapter.VsNetDbGenericProjectFileCreator

daelmo wrote:

- - What parameter of that task did you change (destinationFolder, for intance?) ?

destinationFolder

daelmo wrote:

- - Why did you change it? I mean, where would you like to put the generated files, for example?

Because the LLBLGen project defines our "Contract" project/asssembly which has service contracts,etc. So we wanted to have an "Entities" folder with all the LLBLGen dbGeneric files in that folder.

Another reason is we wanted to not have all the files for both dbGeneric & dbSpecific outputted to the same root folder because when you view all files in VS.NET, you would see the other project's files.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 18-Sep-2008 09:33:51   

Perhaps I'm too dumb in trying to reproduce this disappointed . Could you please post the desire structure you want to generate? for example:

MyProyect\

 Entities\

    **MyProjectDBGeneric.csproj**

      EntityClasses\
           *.cs

      FactoryClasses\
           *.cs
      ...

  DBSpecific\

    **MyProjectDBSpecific.csproj**

       *.cs
David Elizondo | LLBLGen Support Team
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39863
Joined: 17-Aug-2003
# Posted on: 18-Sep-2008 10:42:25   

Or better, open a helpdesk thread so you can attach the .lgp file and we can try it with that file (and if you use your own preset file, please attach that too).

Frans Bouma | Lead developer LLBLGen Pro