Alaska Software Inc. - Workbench projectmanager. SOURCE_DIR
Username: Password:
AuthorTopic: Workbench projectmanager. SOURCE_DIR
Jack DuijfWorkbench projectmanager. SOURCE_DIR
on Wed, 08 Oct 2014 15:33:44 +0200
Hello,

I have a few large projects.
Each project is divided in a number of dll's
Every DLL has its own directory for the sourcefiles.

I can add the full path name before every sourcefile. (relative of to project.xpj)
FOLDER1\Source\MyProgram1.prg
FOLDER1\Source\MyProgram2.prg
etc.

In the workbench projectmanager the complete pathname of the sourcefile is shown.
I have to make the projectmanager extra wide to see the filenames.
Every line shows the same info (path)...

SUGGESTION !

Please add  SOURCE_DIR  option to the XPJ, just like OBJ_DIR

No need to put the pathname before every PRG in the projectfile.

More important, the projectmanager should not show the pathname of the PRG.  (In the editor dialog, the full pathname should remain vivible in the title)

So:
MyProgram.dll
  MyProgram1.prg
  Program2.prg

Instead of

MyProgram.dll
  FOLDER1\Source\MyProgram1.prg 
  FOLDER1\Source\MyProgram2.prg

Regards,
Jack Duijf











	
Regards
Jack Duijf

-------------------------------------------------------------
Also a member off the XXP (http://www.xxp.nl)
Andreas HerdtRe: Workbench projectmanager. SOURCE_DIR
on Wed, 08 Oct 2014 19:34:14 +0200
Hi Jack,

I do not think that a SOURCE_DIR attribute in the project file is the 
solution for this.

We have already identified the problem that in the project manager the path 
and relative path is redundant information and not of big help. This is not 
the case in the project file itself. Having the relative path in the project 
file is quite transparent to the reader of the file. Having a source_dir 
attribute is an additional unneccessary complexity here.

We would like to have a better organization in the project manager where 
files in the same folder are collected and displayed in an item of the 
treeview. To give an idea:

+project
  +target1
    +source folder
       +file1
       +file2
    +other source folder
       +file5
       +file7

With my best regards,

  Andreas Herdt
  Alaska Software

--------------------------------------------------------------------

Technical Support:      support@alaska-software.com

News Server:            news.alaska-software.com
Homepage:               http://www.alaska-software.com
WebKnowledgeBase:       http://www.alaska-software.com/kbase.shtm

Fax European Office:    +49 (0) 61 96 - 77 99 99 23
Fax US Office:          +1 (646) 218 1281
--------------------------------------------------------------------

"Jack Duijf" wrote in message 
news:rq9a3a5atoaf8i7vsr0ete20thjvpou0n8@4ax.com...
> Hello,
>
> I have a few large projects.
> Each project is divided in a number of dll's
> Every DLL has its own directory for the sourcefiles.
>
> I can add the full path name before every sourcefile. (relative of to 
> project.xpj)
> FOLDER1\Source\MyProgram1.prg
> FOLDER1\Source\MyProgram2.prg
> etc.
>
> In the workbench projectmanager the complete pathname of the sourcefile is 
> shown.
> I have to make the projectmanager extra wide to see the filenames.
> Every line shows the same info (path)...
>
> SUGGESTION !
>
> Please add  SOURCE_DIR  option to the XPJ, just like OBJ_DIR
>
> No need to put the pathname before every PRG in the projectfile.
>
> More important, the projectmanager should not show the pathname of the 
> PRG.  (In the editor dialog, the full pathname should remain vivible in 
> the title)
>
> So:
> MyProgram.dll
>  MyProgram1.prg
>  Program2.prg
>
> Instead of
>
> MyProgram.dll
>  FOLDER1\Source\MyProgram1.prg
>  FOLDER1\Source\MyProgram2.prg
>
> Regards,
> Jack Duijf
>
>
>
>
>
>
>
>
>
>
>
>
> Regards
> Jack Duijf
>
> -------------------------------------------------------------
> Also a member off the XXP (http://www.xxp.nl)
Jack DuijfRe: Workbench projectmanager. SOURCE_DIR
on Wed, 08 Oct 2014 23:34:48 +0200
Hello Andreas,

Thank you for this explanation.
I am happy to read you gave this issue already some thought.
A treeview in the project manager as you suggested would be apprecated.

Regards,
Jack Duijf


On Wed, 08 Oct 2014 19:34:14 +0200, Andreas Herdt wrote:,


>Hi Jack,
>
>I do not think that a SOURCE_DIR attribute in the project file is the 
>solution for this.
>
>We have already identified the problem that in the project manager the path 
>and relative path is redundant information and not of big help. This is not 
>the case in the project file itself. Having the relative path in the project 
>file is quite transparent to the reader of the file. Having a source_dir 
>attribute is an additional unneccessary complexity here.
>
>We would like to have a better organization in the project manager where 
>files in the same folder are collected and displayed in an item of the 
>treeview. To give an idea:
>
>+project
>  +target1
>    +source folder
>       +file1
>       +file2
>    +other source folder
>       +file5
>       +file7
>
>With my best regards,
Jonathan LeemingRe: Workbench projectmanager. SOURCE_DIR
on Wed, 08 Oct 2014 17:49:32 -0600
On Wed, 08 Oct 2014 19:34:14 +0200, Andreas Herdt wrote:

>Hi Jack,
>
>I do not think that a SOURCE_DIR attribute in the project file is the 
>solution for this.
>
>We have already identified the problem that in the project manager the path 
>and relative path is redundant information and not of big help. This is not 
>the case in the project file itself. Having the relative path in the project 
>file is quite transparent to the reader of the file. Having a source_dir 
>attribute is an additional unneccessary complexity here.
>
>We would like to have a better organization in the project manager where 
>files in the same folder are collected and displayed in an item of the 
>treeview. To give an idea:
>
>+project
>  +target1
>    +source folder
>       +file1
>       +file2
>    +other source folder
>       +file5
>       +file7
>
>With my best regards,

For my two cents worth... I like the tree view concept as well.

Regards... Jonathan