private static void completeDefaultConfiguration(OsmorcFacetConfiguration configuration, Module module) {
if (StringUtil.isEmpty(configuration.getJarFileLocation())) {
String jarFileName = module.getName().replaceAll("[\\s]", "_") + ".jar";
// by default put stuff into the compiler output path.
OutputPathType outputPathType = OutputPathType.CompilerOutputPath;
ProjectSettings projectSettings = ProjectSettings.getInstance(module.getProject());
if (projectSettings != null) {
String bundlesOutputPath = projectSettings.getBundlesOutputPath();
if (StringUtil.isNotEmpty(bundlesOutputPath)) {
outputPathType = OutputPathType.OsgiOutputPath;