-
Notifications
You must be signed in to change notification settings - Fork 3
Using the GUI App
Ewen Wallace edited this page Dec 28, 2017
·
9 revisions
And with some markup explaining a few things. The window above is the latest one (in case you noticed).
To keep them up-to-date use the command line app
- Not shown: the checkbox for "Use Relative Paths" toggles between relative and absolute paths in the destination Project.
- Not Shown: you can add a folder prefix to the links so all that code is under that folder in the destination project.
- use the [X] at top-right to close the app. There is no other Exit button.
- Drop Source Folders / Project Files from Windows Explorer into the gridview or the Source Folder TextBox at the top. It will iterate through all the child folders looking for projects to link.Every time you do this it will add all the projects from that folder tree if they aren't already there.
- Drop a Destination Folder into the Destination Folder Textbox at the top. Last one wins.
- You can create the Destination folder in the Folder Browser or in Windows Exploder and drag it in. This
doesn'tdoes create the folder automatically if it didn't already exist. - You can edit names of all the things in the GridView cells.
- obviously the source has to exist but you can change the destination name(s)
- If you tick the
Create Subfolders
box then each new project will get its own subfolder. - If you repeat the destination project name then it will get all of its sources merged into one destination. It should exclude any duplicate path names (not link paths, local path names) so the order matters here. The Cell background will go Yellow and you will get a confirmation dialogue later on when you create the linked projects.
- If the Destination project name is red then the file already exists. You will get an overwrite confirmation dialogue later on when you create the linked projects.
- If the Destination project name is green then you just made it. 🍻. Well, sort of, they all go green if it gets through the batch.
- Just delete rows you don't want - click on the far-left to highlight the row and press the delete key.
- Click the top-left to highlight the whole table and then you can delete everything with the delete key. 💣
- Only one destination root folder at a time. 1️⃣
- if you forget a destination folder the TextBox goes yellow to remind you.
- The Source Folder TextBox is nominal - it just tells you what you last opened with it or gives you somewhere to paste text. The actual projects in the GridView are what matters.
- Check the log files to see what is going on. There's a button down the bottom that opens the log file.
- Diff the project files to see what happened.
- Add a post-build event to your source project.
- Add / Delete / Rename a file in the Source project and build it to see what changes
- Note if you just edit the contents then nothing changes as far as the Code Linker goes, the file list is still the same from the outside.
The Gui is only for creating new Projects, it won't update old ones. Actually, it will break them if/when you overwrite them. 🔥 The Command line app is the one that keeps things up-to-date. You should automate that. 🚀