I'm using the JVCL component TJvPluginManager to build a plugin system with packages. The component has an Extension property that allows me to specify a custom extension for the plugins it reads, which I like. I want my plugins to be "TEP" files, not BPL files. Unfortunately, Delphi doesn't seem to like that.
I can't find any option in the Project Options dialog box that will make it generate "myplugin.tep" instead of "myplugin.bpl". If I add the line {$E TEP} into the DPK it works, but only until I restart Delphi or make any changes in the Project Options box. When that occurs, Delphi goes through and silently
removes my $E directive. This can make debugging very frustrating.
Does anyone know how to make Delphi generate my package with the correct extension? This is driving me up the wall.
Mason


Reply With Quote

