config.setExtensionJSFiles( fileManager.getExtensionJSFiles() );
config.setSharedGlobalJSFiles( fileManager.getSharedGlobalJSFiles() );
// create autogen file
WidgetConfigSerializer wcs = new WidgetConfig_v1Serializer( config );
byte[] autogenFile = wcs.serialize();
fileManager.writeToSource( autogenFile, AUTOGEN_FILE );
// create jdw/jdp files
fileManager.generateProjectFiles( sessionManager.getSourceFolder(), sessionManager.getArchiveName(),
config.getName(), config.getVersion(), config.getAuthor(), config.getContent(), config.getBackgroundSource(),