Currently there is no start menu entry for the stand alone formatter. I'm not sure whether it is in the installer at all. It should be there and it should have an entry. It should also probably have a short help on the command line parameters.
When I try to run GExpertsFormatter.exe (used installer GXRS10.3_1.3.15_experimental-twm_2019-11-23.exe) from start menu or explorer it fails with error about some Delphi .bpl file(s) (see attached screenshotes).
Can you fix this to make formatter to be really stand alone?
Is your $(BDS)\bin directory part of the Windows PATH variable?
If yes, is your search path maybe too long? There seems to be a limit of about 2000 characters after reaching which very strange things happen. Then this or this tool might help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, it isn't and I don't want to add it. This issue is about stand alone formatter, right? So, what if I want to run formatter on PC whithout Delphi at all? Is it possible to provode GExpertsRS103.dll without depending on .bpl or GExpertsFormatter.exe without depending on GExpertsRS103.dll?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, the DLL cannot be compiled without packages, because that's a requirement to work as an expert. It would be possible to compile the formatter as a stand alone executable though. In fact that is what the formatter unit tests do.
So if you want to take the time doing that, I'll accept a patch.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Done in GExperts 1.3.15
When I try to run GExpertsFormatter.exe (used installer GXRS10.3_1.3.15_experimental-twm_2019-11-23.exe) from start menu or explorer it fails with error about some Delphi .bpl file(s) (see attached screenshotes).
Can you fix this to make formatter to be really stand alone?
Last edit: zed 2020-04-14
Is your $(BDS)\bin directory part of the Windows PATH variable?
If yes, is your search path maybe too long? There seems to be a limit of about 2000 characters after reaching which very strange things happen. Then this or this tool might help.
No, it isn't and I don't want to add it. This issue is about stand alone formatter, right? So, what if I want to run formatter on PC whithout Delphi at all? Is it possible to provode GExpertsRS103.dll without depending on .bpl or GExpertsFormatter.exe without depending on GExpertsRS103.dll?
No, the DLL cannot be compiled without packages, because that's a requirement to work as an expert. It would be possible to compile the formatter as a stand alone executable though. In fact that is what the formatter unit tests do.
So if you want to take the time doing that, I'll accept a patch.