Go Back
2 Votes

Repository Projects should process formats, templates, structures then files in that order


It seems schema files in a repository project are processed alphabetically, and if you have formats and templates you have to give them names with lower alphabetic names so they are prcoessed before structures which use them.

My idea is that the compiler scans all files regardless of schema file name, and then processes the formats, templates, structures and files in that order, regardless of how the schemas are are named.


4 Comments | Posted by Gordon Ireland to Visual Studio Integration, Repository on 8/2/2019 12:16 PM
Marty Lewis
Hey Gordon,

I see you have already been active over in this other big Repository idea. The 11.0.3 SDE beta has an updated RPSUTL that supports unordered inputs (where it more or less does as you suggest) as well as a new -if switch that allows users to pass multiple schema inputs using an input file. The next SDI release will ship RPSUTL in the box so you can have this functionality when working with older versions of SDE installed.

Would you agree that having unordered input support resolves this idea?

8/8/2019 7:29 PM   0  
Gordon Ireland
Does the unordered support include VS repository projects ?

If so, then that is exactly what I was looking for  


8/9/2019 9:33 AM   0  
Marty Lewis
Sorry for the delay in getting back to you. Yes, it does!  The next SDI (should be 11.0.4) should have this feature in place and ready to go.

8/14/2019 9:01 PM   0  
Ace Olszowka
As a stop gap: In SDI 2499+ You can specify "Priority" (a signed int) on the schema files within the SYNPROJ to specify the order in which Schema Files are inserted, with schema files of the same "Priority" being inserted alphabetically:

User-added image

We have written tooling to specifically insert and sort in this file according to our schema rules.

8/16/2019 1:35 PM   0  
Please log in to comment on this idea.