You can set up a sub folder within Git, e.g Foo/Procedures Foo/Triggers etc. You need to add a dummy file to each subfolder and commit changes. I was able to
do fairly easily from GitGui, but you could also do from the command line. Toad will recognize these folders as separate projects.
Code Collections only allow you to link one project/folder to each collection, so can’t use a single code collection with multiple lines to support this structure.
You need to add a single code collection for each sub folder.
We have slated to change this in Toad.next (after Toad 12.5) and have Toad handle the subfolder structure within a single code collection.
From: zbignev [mailto:firstname.lastname@example.org]
Sent: Wednesday, April 30, 2014 11:05 AM
Subject: [Toad for Oracle - Discussion Forum] Setting sub directory for code collection with Git?
Setting sub directory for code collection with Git?
Thread created by zbignev
I am trying to set up Team Coding with Git.
Ideally, I would like to place SQL objects (triggers, procedures, tables) different places in the Git repository according to which software product they belong to. E.g. SQL for the “foo” app
goes into git_repository/web_apps/foo/sql
I suspect that I could use Code Collections for that - but I can only choose the topmost directory (called “VCS Project” by Toad) in the Code Collection setup. For “Working Directory” it tells
me that “[Git Assigns Working Folder]”. Well, it does not.
How can I choose a lower directory?
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Unsubscribe from Toad for Oracle - General notifications altogether.
Toad for Oracle - Discussion Forum
this post as spam/abuse.