Recent

Author Topic: Projectgroups  (Read 10379 times)

Groffy

  • Full Member
  • ***
  • Posts: 204
Projectgroups
« on: November 18, 2015, 06:55:03 am »
I would like to test the package, but can't compile (Linux & Win7) because of a missing file(?)
Linux Mint / Windows 10 / Lazarus 3.0.0 / trunk -qt

JanRoza

  • Hero Member
  • *****
  • Posts: 672
    • http://www.silentwings.nl
Re: Projectgroups
« Reply #1 on: November 18, 2015, 07:20:13 am »
And now you want us to guess which file you're missing?  :)
A bit more info might help people to take a look at your problem.
OS: Windows 10 (64 bit) / Linux Mint (64 bit)
       Lazarus 3.2 FPC 3.2.2
       CodeTyphon 8.40 FPC 3.3.1

zamtmn

  • Hero Member
  • *****
  • Posts: 594
Re: Projectgroups
« Reply #2 on: November 18, 2015, 07:44:59 am »
ProjectGroupStrConst file missing in trunk

Groffy

  • Full Member
  • ***
  • Posts: 204
Re: Projectgroups
« Reply #3 on: November 18, 2015, 07:47:22 am »
Well, at least it would be interesting to know whether there is anybody who can compile the package from repository :)

I guess its the file projectgroupstrconst.pas

Linux Mint / Windows 10 / Lazarus 3.0.0 / trunk -qt

balazsszekely

  • Guest
Re: Projectgroups
« Reply #4 on: November 18, 2015, 07:59:02 am »
@Groffy
Take a look at this: https://github.com/alrieckert/lazarus/tree/master/components/projectgroups
Latest commit 6 h ago. Mattias is working on it so please be patient.

frakno

  • Jr. Member
  • **
  • Posts: 88
Re: Projectgroups
« Reply #5 on: November 18, 2015, 09:41:13 am »
@Groffy
Take a look at this: https://github.com/alrieckert/lazarus/tree/master/components/projectgroups
Latest commit 6 h ago. Mattias is working on it so please be patient.

I took more then one look, but Sorry there is no projectgroupstrconst.pas
Lazarus 1.6 FPC 3.0 Windows 10

balazsszekely

  • Guest
Re: Projectgroups
« Reply #6 on: November 18, 2015, 10:24:25 am »
Quote
@frakno
I took more then one look, but Sorry there is no projectgroupstrconst.pas
Who said anything about "projectgroupstrconst.pas"? :D  The project is under construction. When will be ready? I don't know, you have to ask Mattias.
If you still want to compile it:
Code: Pascal  [Select][+][-]
  1. unit projectgroupstrconst;
  2.  
  3. {$mode objfpc}{$H+}
  4.  
  5. interface
  6.  
  7. uses
  8.   Classes, SysUtils;
  9.  
  10. const
  11.   lisProjectGroupModified = '';
  12.   lisProjectGroupModifiedConfirm = '';
  13.   lisSavePG = '';
  14.   lisDiscard = '';
  15.   lisAbort = '';
  16.   lisLazarusProjectGroup = '';
  17.   lisAllFiles = '';
  18.   lisErronlyProjectGroupAllowed = '';
  19.   lisErrTargetDoesNotExist = '';
  20.   lisErrNoSuchFile = '';
  21.   lisRemoveTarget = '';
  22.   lisAbortLoadingProjectGroup = '';
  23.   lisSkipAllTargets = '';
  24.   lisProjectGroupSaveCaption = '';
  25.   lisProjectGroupSaveHint = '';
  26.   lisProjectGroupAddExistingCaption = '';
  27.   lisProjectGroupAddExistingHint = '';
  28.   lisProjectGroupDeleteCaption = '';
  29.   lisProjectGroupDeleteHint = '';
  30.   lisProjectGroupSaveAsCaption = '';
  31.   lisProjectGroupSaveAsHint = '';
  32.   lisProjectGroupAddNewCaption = '';
  33.   lisProjectGroupAddNewHint = '';
  34.   lisTargetEarlierCaption = '';
  35.   lisTargetEarlierHint = '';
  36.   lisTargetLaterCaption = '';
  37.   lisTargetLaterHint = '';
  38.   lisTargetCompileCaption = '';
  39.   lisTargetCompileHint = '';
  40.   lisTargetCompileCleanCaption = '';
  41.   lisTargetCompileCleanHint = '';
  42.   lisTargetPropertiesCaption = '';
  43.   lisTargetPropertiesHint = '';
  44.   lisTargetRunCaption = '';
  45.   lisTargetRunHint = '';
  46.   lisTargetInstallCaption = '';
  47.   lisTargetInstallHint = '';
  48.   lisTargetUninstallCaption = '';
  49.   lisTargetUninstallHint = '';
  50.   lisTargetActivateCaption = '';
  51.   lisTargetActivateHint = '';
  52.   lisTargetOpenCaption = '';
  53.   lisTargetOpenHint = '';
  54.   lisTargetCount = '';
  55.   lisActiveTarget = '';
  56.   lisNewProjectGroup = '';
  57.   lisProjectGroup = '';
  58.   lisNodeTargets = '';
  59.   lisNodeRemovedTargets = '';
  60.   lisNodeDependencies = '';
  61.   lisNodeRemovedDependencies = '';
  62.   lisNodeFiles = '';
  63.   lisNodeRemovedFiles = '';
  64.   lisTargetCompile = '';
  65.   lisTargetCompileClean = '';
  66.   lisTargetAdd = '';
  67.   lisTargetRemove = '';
  68.   lisTargetInstall = '';
  69.   lisTargetUninstall = '';
  70.   lisTargetEarlier = '';
  71.   lisTargetLater = '';
  72.   lisTargetActivate = '';
  73.   lisTargetOpen = '';
  74.   lisTargetRun = '';
  75.   lisTargetProperties = '';
  76.   lisOpenProjectGroup = '';
  77.   lisSaveProjectGroup = '';
  78.   lisSaveProjectGroupAs = '';
  79.   lisOpenRecentProjectGroup = '';
  80.  
  81. implementation
  82.  
  83. end.

1. You have to define each constant like :
      lisProjectGroupModified  = 'The Project group has modified! Save changes?';
2. Remove from RegProjectGroup.pas
Code: Pascal  [Select][+][-]
  1. {$IFNDEF IwrotethiscodePG}
  2.   {$ERROR This package is under construction}
  3. {$ENDIF}
  4.  

Now you can compile it. I doubt it will correctly though, since is under construction.




frakno

  • Jr. Member
  • **
  • Posts: 88
Re: Projectgroups
« Reply #7 on: November 18, 2015, 08:48:33 pm »
Thank you.
Yeah, it does not compile because: PkgName:=ExtractFileUnitname(Filename,true); 
(Error: Bezeichner nicht gefunden: ExtractFileUnitname)
We have to wait for a more advanced status
« Last Edit: November 18, 2015, 08:50:19 pm by frakno »
Lazarus 1.6 FPC 3.0 Windows 10

Groffy

  • Full Member
  • ***
  • Posts: 204
Re: Projectgroups
« Reply #8 on: November 19, 2015, 07:02:02 am »
With todays trunk version its compiling fine, looks already promising - good work!!

Linux Mint / Windows 10 / Lazarus 3.0.0 / trunk -qt

Groffy

  • Full Member
  • ***
  • Posts: 204
Re: Projectgroups
« Reply #9 on: November 22, 2015, 06:04:15 pm »
When tryining to compile a project group, or a single package out of the projectgroup manager, I get an error message :

Error: (lazarus) invalid Lazarus directory "": directory lcl not found

Had anybody the same problem?

Best regards
Linux Mint / Windows 10 / Lazarus 3.0.0 / trunk -qt

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4468
  • I like bugs.
Re: Projectgroups
« Reply #10 on: November 22, 2015, 08:05:49 pm »
When tryining to compile a project group, or a single package out of the projectgroup manager,

It does not have packages, it has projects.

Quote
I get an error message :
Error: (lazarus) invalid Lazarus directory "": directory lcl not found

Had anybody the same problem?

No, it works here. Can you build the projects without using projectgroup manager?
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Groffy

  • Full Member
  • ***
  • Posts: 204
Re: Projectgroups
« Reply #11 on: November 22, 2015, 08:20:18 pm »
It does not have packages, it has projects.

So, its not intended to combine packages to a project group? I tried to build a project group out of several component packages.

Best regards
« Last Edit: November 22, 2015, 08:21:53 pm by Groffy »
Linux Mint / Windows 10 / Lazarus 3.0.0 / trunk -qt

tk

  • Sr. Member
  • ****
  • Posts: 361
Re: Projectgroups
« Reply #12 on: November 22, 2015, 08:26:29 pm »
It is perfect to see progress with project groups, we are missing this feature very much in Lazarus!

EDIT: I vote for it to be one of the default packages when it is complete.
« Last Edit: November 22, 2015, 08:28:20 pm by tk »

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4468
  • I like bugs.
Re: Projectgroups
« Reply #13 on: November 22, 2015, 09:15:22 pm »
So, its not intended to combine packages to a project group? I tried to build a project group out of several component packages.

Oops right, now I see you can add packages and even other project groups to a project group.
I don't know exactly what is the idea. The name "project group" is misleading then.
I tested it and compilation works well here. Please test your compilation of individual projects and packages first without the projectgroup manager.

It is perfect to see progress with project groups, we are missing this feature very much in Lazarus!
EDIT: I vote for it to be one of the default packages when it is complete.

Yes, it will be a default package for sure once it is ready. It may even be integrated to IDE's codebase, depending on how invasive the changes are.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

Groffy

  • Full Member
  • ***
  • Posts: 204
Re: Projectgroups
« Reply #14 on: November 22, 2015, 09:53:12 pm »
Please test your compilation of individual projects and packages first without the projectgroup manager.

I have a not default Lazarus installation on my Linux Mint system. I installed FPC3.0RC2 separately in /usr/bin/fpc and Lazarus IDE in /home/ug/Lazarus/  and fpc source and packages in    /home/ug/Lazarus/fpc/source . So far everything is working, I can compile my projekts and my packages without any problems.
Linux Mint / Windows 10 / Lazarus 3.0.0 / trunk -qt

 

TinyPortal © 2005-2018