private void convertFromCommonModuleToAMD( String relativePath ) throws IOException {
String relativeAmdPath = relativePath.substring( 0, relativePath.lastIndexOf( '.' ) ) + amdModuleSuffix + ".js";
File commonFile = new File( moduleConversionSourceDir, relativePath ).getAbsoluteFile();
File amdFile = new File( moduleConversionOutputDir, relativeAmdPath ).getAbsoluteFile();
moduleConverter.convertCommonJsModulesToAmdModules(commonFile, amdFile, new DefaultErrorReporter(getLog(), true));
}