Using a finished project as a template
-
I finished my first plugin and want to build two more that are nearly the same, just different images and samples.
Am I ok to use Save xml as... and give it the new plugins name?
Will this destroy anything I;'ve done on the first one?
Or should i grab all relevant files that need to be part of the installer, when I build it, and put them somewhere else so they don't get overwritten? -
@pcs800 A HISE project is the entire folder, so you need to duplicate the folder. You should only have one xml per project.
-
@d-healey But can I not save xml as... to a different folder?
-
@pcs800 The xml lives in the xml backups folder. You can save it somewhere else but it won't do any good.
-
@d-healey Ok, so then duplicate the folder, and rename the xml file in the new one?
-
@pcs800 There's more to it than that.
Duplicate the folder
Rename the XML
Open the XML in a text editor and replace every instance of the old name with the new one.
Open the UIData folder that is in the xml backups folder, in there you will find the UI xml, rename that one too. -
@d-healey Ok thanks
-
I just remembered you'll also need to rename the default script folder.
Scripts >> ScriptProcessors
rename the folder you find in here.