delphi-james

所属分类:项目管理
开发工具:Pascal
文件大小:0KB
下载次数:0
上传日期:2022-07-29 20:43:57
上 传 者sh-1993
说明:  James-德尔福项目经理,
(James - The Delphi Project Manager,)

文件列表:
.vscode/ (0, 2022-07-29)
.vscode/extensions.json (243, 2022-07-29)
CHANGELOG.md (910, 2022-07-29)
CONTRIBUTING.md (946, 2022-07-29)
LICENSE.md (35148, 2022-07-29)
res/ (0, 2022-07-29)
res/become-a-patron-rounded.png (2137, 2022-07-29)
res/james.ico (109818, 2022-07-29)
res/james.svg (1914, 2022-07-29)
res/james128.png (4947, 2022-07-29)
res/james64.png (2445, 2022-07-29)
src/ (0, 2022-07-29)
src/DelphiSettings.pas (17343, 2022-07-29)
src/DelphiVersionInfo.pas (7826, 2022-07-29)
src/James.Register.pas (3215, 2022-07-29)
src/ProjectGroupJames.groupproj (1207, 2022-07-29)
src/james.dpr (6072, 2022-07-29)
src/james.dproj (8857, 2022-07-29)
utils/ (0, 2022-07-29)
utils/Converters.pas (5905, 2022-07-29)
utils/Writers.pas (17553, 2022-07-29)


James Logo

# What's new in James 3.1.0 * Adds Delphi **Sydney** Support * Adds output file prefix parameter ## Support **James** is an utility created for **Delphi**. If you find it useful, please consider supporting it.
# James It makes your life easier while switching from one project to another. If you see yourself _manually_ installing components and updating **Delphi** settings every time you have to _switch_ from one project to another, **James** may help you. ## Usage **James** has two operation modes ### Loading Delphi Settings All **Delphi** settings are stored in **Windows Registry** (like the list of components that you have installed). **James** will load these settings and store in a local file: ```bat C:\Projects\FirstProject>james.exe -l:Berlin ``` The `-l:` parameter indicates that you want to _Load_ the settings, and in this case, you asked for _Berlin_ version. It will save a file called `.james` in the same folder as you execute. It is a `JSON` file containing all Delphi settings that were loaded. Here is an example: ```json { "version": "Delphi Berlin", "known_packages": [ "$(BDS)\\Bin\\dclMetropolisUILiveTile240.bpl", "$(BDSBIN)\\dclxml240.bpl", "...", "C:\\Users\\alefr\\Documents\\Delphi\\SynEdit\\Bin\\SynEdit_D101B.bpl" ], "library_path": { "win32": [ "$(BDSLIB)\\$(Platform)\\release", "$(BDSUSERDIR)\\Imports", "$(BDS)\\Imports", "$(BDSCOMMONDIR)\\Dcp", "$(BDS)\\include", "C:\\Users\\alefr\\Documents\\Delphi\\SynEdit\\Lib" ] }, "environment_variables": [ "$(PUBLIC)\\Documents\\Embarcadero\\InterBase\\redist\\InterBaseXE7\\IDE_spoof", "$(PATH)", "C:\\Users\\alefr\\Documents\\Delphi\\SynEdit\\Bin" ] } ``` You add this `.james` file to the project's repository, and everyone which loads the repository will be able to _apply_ the settings. ### Defining a custom name to the `.james` file The `-o` parameter allows you to define a custom name (prefix) to the `.james` file. ```bat C:\Projects\FirstProject>james.exe -l:Berlin -o:first ``` Doing so, the Delphi settings will be stored in the `first.james` file ### Applying Delphi Settings Execute **James** with the `.james` file as parameter, to apply the settings stored: ```bat C:\Projects\FirstProject>james.exe -a:.james ``` The `-a:` parameter indicates that you want to _Apply_ the settings, in this case the `.james` file is located in the current folder. > If you don't inform a `.james` file, it will try to load a file in the current folder. ## Stored Settings **James** stores the following settings: * Installed Packages * Library Path * Environment Variables ## Compatibility **James** currently supports the following Delphi versions: * Delphi 5 * Delphi 2006 (Turbo Delphi) * Delphi Seattle * Delphi Berlin * Delphi Tokyo * Delphi Rio * Delphi Sydney ## Installation * Clone the repo `https://github.com/alefragnani/delphi-james.git` * Open the `james.dpr` project and build it * You will find **James** executable in the `bin` folder ### Registration You may find usefull to register **James** in you `PATH` Environment Variable, so you can use it in any folder, with no need to type its full path. To register **James**, call it with `-r` parameter: ```bat C:\delphi-james\bin\james.exe -r ``` ## Contributors Special thanks to the people that have contributed to the project: * Anderson Dapper Rocha (@toppermitz) - Support **Delphi 10.4 Sydney** ([see PR](https://github.com/alefragnani/delphi-james/pull/14)) - Added `-0` _(output prefix)_ Command Parameter ([see PR](https://github.com/alefragnani/delphi-james/pull/15)) # License [GPLv3](LICENSE.md) © Alessandro Fragnani ### 3rd Party resources * **James** icon by [Webalys](https://www.iconfinder.com/icons/379338/dome_food_icon#size=128) * `util\Converter.pas` and `util\Writer.pas` by [Embarcadero RTL.JSON Workbench Sample](http://docwiki.embarcadero.com/CodeExamples/Berlin/en/RTL.JSON_Workbench_Sample)

近期下载者

相关文件


收藏者