You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by sl...@apache.org on 2010/10/27 19:26:41 UTC
svn commit: r1028048 -
/tuscany/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/BundleUtil.java
Author: slaws
Date: Wed Oct 27 17:26:41 2010
New Revision: 1028048
URL: http://svn.apache.org/viewvc?rev=1028048&view=rev
Log:
Disable util that doesn't work with Equinox 3.5.0 and isn't apparently used.
Modified:
tuscany/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/BundleUtil.java
Modified: tuscany/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/BundleUtil.java
URL: http://svn.apache.org/viewvc/tuscany/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/BundleUtil.java?rev=1028048&r1=1028047&r2=1028048&view=diff
==============================================================================
--- tuscany/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/BundleUtil.java (original)
+++ tuscany/maven-plugins/trunk/maven-bundle-plugin/src/main/java/org/apache/tuscany/maven/bundle/plugin/BundleUtil.java Wed Oct 27 17:26:41 2010
@@ -595,7 +595,7 @@ public final class BundleUtil {
result.put(Constants.OSGI_JAVA_PROFILE_NAME, "OSGi/Minimum-1.1");
return result;
}
-
+/* doesn't work with Equinox 3.5.0
public static void loadVMProfile(Properties properties) {
Properties profileProps = findVMProfile(properties);
String systemExports = properties.getProperty(Constants.OSGI_FRAMEWORK_SYSTEM_PACKAGES);
@@ -625,6 +625,7 @@ public final class BundleUtil {
properties.put(Constants.FRAMEWORK_EXECUTIONENVIRONMENT, ee);
}
}
+*/
private static URL getNextBestProfile(String javaEdition, Version javaVersion) {
if (javaVersion == null || (javaEdition != J2SE && javaEdition != JAVASE))