[Cuis-dev] Directory structure for multiple projects

Phil B pbpublist at gmail.com
Sat Jul 31 16:36:22 PDT 2021


Bernhard,

On Sat, Jul 31, 2021 at 1:25 PM Bernhard Pieber via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> Hi,
>
> I wonder what directory structure you use when you work on multiple
> projects. Do you clone Cuis-Smalltalk-Dev and packages for each one?
>
> <snip>

>
> The directions in
> https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/blob/master/Documentation/GettingStarted.md
> seem to imply the first variant.
>
> The second variant seems less confusing. However, one might run into
> problems when the different projects need different versions of the same
> package.
>

If you want to stay sane, I recommend the 2nd approach.


>
> Where do you keep your share libraries, images, and VMs? Any best
> practices?
>

I keep my shared libraries with the version of the VM they work with
(sometimes it's unavoidable to need a specific shared lib for a specific VM
build, usually due to plugin requirements)

I keep my images standalone.

I keep my packages somewhat grouped by subject area: over 100 packages in
~12 subdirectories.  The key to making this all work for me is setting up
package dependencies and being absolutely militant about not letting
overrides creep out into random packages (i.e. keep the overrides in a
separate package(s) and load them early.  Also, check timestamps before you
override to avoid some very bad days!)


>
> Cheers,
> Bernhard
>
>
Hope that helps,
Phil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210731/f2771f0f/attachment.htm>


More information about the Cuis-dev mailing list