String outputFile = synthConfigFile.substring( 0, pos ) + ".synth";
// Try to find a preprocessor for the file, at runtime this load should fail as the preprocessor
// will not be present.
try {
FilePreprocessor processor = (FilePreprocessor)Class.forName( "net.xoetrope.optional.laf.synth.SynthPreprocessor" ).newInstance();
DebugLogger.trace( currentProject.findResourceAsString( synthConfigFile ));
bis = currentProject.getBufferedInputStream ( synthConfigFile );
String processedStr = processor.process( bis );
ByteArrayInputStream bais = new ByteArrayInputStream( processedStr.getBytes() );
bis = new BufferedInputStream( bais );
// Save the config file
outputFile = getOutputPath( currentProject, "resources", synthConfigFile.substring( 0, pos ), ".synth" );