[363452] Creating a Faceted Project without Java facet fails

Before getting the java source folder the install delegate now checks if
the project is a java project.
diff --git a/plugins/org.eclipse.libra.facet/src/org/eclipse/libra/facet/OSGiBundleFacetInstallDelegate.java b/plugins/org.eclipse.libra.facet/src/org/eclipse/libra/facet/OSGiBundleFacetInstallDelegate.java
index cf507bf..c04327d 100644
--- a/plugins/org.eclipse.libra.facet/src/org/eclipse/libra/facet/OSGiBundleFacetInstallDelegate.java
+++ b/plugins/org.eclipse.libra.facet/src/org/eclipse/libra/facet/OSGiBundleFacetInstallDelegate.java
@@ -284,6 +284,7 @@
 		IProject project = bundleProjectDescription.getProject();

 		IBundleClasspathEntry[] bundleClasspath = bundleProjectDescription.getBundleClasspath(); 

 		

+		if (OSGiBundleFacetUtils.isJavaProject(project)) {

 			IJavaProject javaProject = JavaCore.create(project);

 			if (bundleClasspath == null) {

 				IPath[] javaSourceFolderPaths = getJavaSourceFolderPaths(javaProject);

@@ -309,6 +310,7 @@
 			} else {

 				// TODO

 			}

+		}

 		

 		// don't modify bin.includes by default

 		return bundleClasspath;