You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by ja...@apache.org on 2016/01/23 20:34:50 UTC
svn commit: r1726440 - in /ace/trunk: build/ cnf/
org.apache.ace.agent.controller.itest/ org.apache.ace.agent.itest/
org.apache.ace.agent.itest/src/org/apache/ace/agent/itest/
org.apache.ace.agent.launcher/ org.apache.ace.agent.update.itest/
org.apache...
Author: jawi
Date: Sat Jan 23 19:34:49 2016
New Revision: 1726440
URL: http://svn.apache.org/viewvc?rev=1726440&view=rev
Log:
Fixed a couple of build warnings:
- replaced the usage of Bnd in some tests to create JAR files with the utility
method in ace.test;
- use correct execution environment in the Eclipse settings;
- some SVN ignores set.
Modified:
ace/trunk/build/ (props changed)
ace/trunk/build/.classpath
ace/trunk/cnf/.classpath
ace/trunk/org.apache.ace.agent.controller.itest/.classpath
ace/trunk/org.apache.ace.agent.itest/.classpath
ace/trunk/org.apache.ace.agent.itest/bnd.bnd
ace/trunk/org.apache.ace.agent.itest/src/org/apache/ace/agent/itest/BaseAgentTest.java
ace/trunk/org.apache.ace.agent.launcher/.classpath
ace/trunk/org.apache.ace.agent.update.itest/.classpath
ace/trunk/org.apache.ace.agent/.classpath
ace/trunk/org.apache.ace.ant.tasks/.classpath
ace/trunk/org.apache.ace.ant.tasks/bnd.bnd
ace/trunk/org.apache.ace.authentication.itest/.classpath
ace/trunk/org.apache.ace.authentication/.classpath
ace/trunk/org.apache.ace.bnd/.classpath
ace/trunk/org.apache.ace.builder/.classpath
ace/trunk/org.apache.ace.client.automation/.classpath
ace/trunk/org.apache.ace.client.repository.itest/.classpath
ace/trunk/org.apache.ace.client.repository/.classpath
ace/trunk/org.apache.ace.client.rest.itest/.classpath
ace/trunk/org.apache.ace.client.rest.itest/bnd.bnd
ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/ClientRestUtils.java
ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/RESTClientTest.java
ace/trunk/org.apache.ace.client.rest/.classpath
ace/trunk/org.apache.ace.client.workspace/.classpath
ace/trunk/org.apache.ace.configurator.useradmin.itest/.classpath
ace/trunk/org.apache.ace.configurator/.classpath
ace/trunk/org.apache.ace.connectionfactory/.classpath
ace/trunk/org.apache.ace.consolelogger/.classpath
ace/trunk/org.apache.ace.deployment.itest/.classpath
ace/trunk/org.apache.ace.deployment/.classpath
ace/trunk/org.apache.ace.deployment/test/org/apache/ace/deployment/streamgenerator/impl/StreamTest.java
ace/trunk/org.apache.ace.discovery/.classpath
ace/trunk/org.apache.ace.feedback.common/.classpath
ace/trunk/org.apache.ace.gogo.servlet/.classpath
ace/trunk/org.apache.ace.gogo/.classpath
ace/trunk/org.apache.ace.http.itest/.classpath
ace/trunk/org.apache.ace.http/.classpath
ace/trunk/org.apache.ace.identification/.classpath
ace/trunk/org.apache.ace.location.upnp/.classpath
ace/trunk/org.apache.ace.log.itest/.classpath
ace/trunk/org.apache.ace.log.server.store.itest/.classpath
ace/trunk/org.apache.ace.log.server.ui/.classpath
ace/trunk/org.apache.ace.log/.classpath
ace/trunk/org.apache.ace.nodelauncher/.classpath
ace/trunk/org.apache.ace.obr/.classpath
ace/trunk/org.apache.ace.processlauncher/.classpath
ace/trunk/org.apache.ace.range.api/.classpath
ace/trunk/org.apache.ace.repository.itest/.classpath
ace/trunk/org.apache.ace.repository/.classpath
ace/trunk/org.apache.ace.resourceprocessor.useradmin/.classpath
ace/trunk/org.apache.ace.scheduler/.classpath
ace/trunk/org.apache.ace.tageditor/.classpath
ace/trunk/org.apache.ace.target.mgmt.ui/.classpath
ace/trunk/org.apache.ace.test/.classpath
ace/trunk/org.apache.ace.test/src/org/apache/ace/test/utils/FileUtils.java
ace/trunk/org.apache.ace.useradmin.ui.itest/.classpath
ace/trunk/org.apache.ace.useradmin.ui/.classpath
ace/trunk/org.apache.ace.verifier/.classpath
ace/trunk/org.apache.ace.webui.vaadin/.classpath
ace/trunk/run-client/.classpath
ace/trunk/run-develop/ (props changed)
ace/trunk/run-develop/.classpath
ace/trunk/run-obr/.classpath
ace/trunk/run-relay/.classpath
ace/trunk/run-server-allinone/.classpath
ace/trunk/run-server/.classpath
ace/trunk/run-target/.classpath
Propchange: ace/trunk/build/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sat Jan 23 19:34:49 2016
@@ -4,3 +4,4 @@ generated
store
bundle-cache
felix-cache
+.settings
Modified: ace/trunk/build/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/build/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/build/.classpath (original)
+++ ace/trunk/build/.classpath Sat Jan 23 19:34:49 2016
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="output" path="generated/org.apache.ace.webui.vaadin/bin"/>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="aQute.bnd.classpath.container"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
+ <classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/cnf/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/cnf/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/cnf/.classpath (original)
+++ ace/trunk/cnf/.classpath Sat Jan 23 19:34:49 2016
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.agent.controller.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent.controller.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent.controller.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.agent.controller.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.agent.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.agent.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="bin" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.agent.itest/bnd.bnd
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent.itest/bnd.bnd?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent.itest/bnd.bnd (original)
+++ ace/trunk/org.apache.ace.agent.itest/bnd.bnd Sat Jan 23 19:34:49 2016
@@ -1,4 +1,3 @@
-Test-Cases: ${classes;CONCRETE;EXTENDS;junit.framework.TestCase}
-runbundles: \
org.apache.ace.agent;version=latest,\
org.apache.ace.test;version=latest,\
@@ -9,19 +8,16 @@ Test-Cases: ${classes;CONCRETE;EXTENDS;j
org.apache.felix.log,\
biz.aQute.bnd,\
osgi.cmpn
-Private-Package: \
- org.apache.ace.agent.itest,\
- aQute.*
--runee: JavaSE-1.6
+-runee: JavaSE-1.7
-runvm: -ea
-runfw: org.apache.felix.framework;version='[4,5)'
--buildpath: osgi.core;version='[4.2,5)',\
+-buildpath: \
+ osgi.core;version='[4.2,5)',\
org.apache.ace.agent;version=latest,\
org.apache.ace.builder;version=latest,\
org.apache.ace.test;version=latest,\
org.apache.felix.dependencymanager,\
org.apache.felix.http.jetty,\
- biz.aQute.bnd,\
junit.osgi,\
org.mockito.mockito-all
-runsystempackages: sun.reflect
@@ -30,12 +26,16 @@ Private-Package: \
org.apache.felix.log.storeDebug=true,\
org.apache.felix.log.maxSize=1000,\
org.osgi.framework.bootdelegation="com.yourkit.*,com.sun.*,sun.*,apple.*,com.apple.*"
-Import-Package: org.apache.ace.agent,\
- !org.osgi.service.component.annotations,\
- !org.apache.tools.ant.*,\
- !aQute.*,\
+
+Private-Package: \
+ org.apache.ace.agent.itest
+Import-Package: \
+ org.apache.ace.agent,\
*
Bundle-Version: 1.0.0
Bundle-Name: Apache ACE Agent itest
Bundle-Description: Integration test bundle for the Apache ACE Agent
+
+Test-Cases: ${classes;CONCRETE;EXTENDS;junit.framework.TestCase}
+
-baseline:
Modified: ace/trunk/org.apache.ace.agent.itest/src/org/apache/ace/agent/itest/BaseAgentTest.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent.itest/src/org/apache/ace/agent/itest/BaseAgentTest.java?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent.itest/src/org/apache/ace/agent/itest/BaseAgentTest.java (original)
+++ ace/trunk/org.apache.ace.agent.itest/src/org/apache/ace/agent/itest/BaseAgentTest.java Sat Jan 23 19:34:49 2016
@@ -31,19 +31,17 @@ import org.apache.ace.agent.AgentControl
import org.apache.ace.agent.ConfigurationHandler;
import org.apache.ace.builder.DeploymentPackageBuilder;
import org.apache.ace.it.IntegrationTestBase;
+import org.apache.ace.test.utils.FileUtils;
import org.osgi.framework.Bundle;
import org.osgi.framework.Version;
-import aQute.bnd.osgi.Builder;
-import aQute.bnd.osgi.Jar;
-
public abstract class BaseAgentTest extends IntegrationTestBase {
protected static class TestBundle {
private final File m_file;
- public TestBundle(String name, Version version, String... headers) throws Exception {
- m_file = createBundle(name, version, headers);
+ public TestBundle(String bsn, Version version, String... headers) throws Exception {
+ m_file = FileUtils.createEmptyBundle(bsn, version, headers);
}
public File getFile() {
@@ -80,31 +78,6 @@ public abstract class BaseAgentTest exte
}
}
- protected static File createBundle(String bsn, Version version, String... headers) throws Exception {
- Builder b = new Builder();
-
- try {
- b.setProperty("Bundle-SymbolicName", bsn);
- b.setProperty("Bundle-Version", version.toString());
- for (int i = 0; i < headers.length; i += 2) {
- b.setProperty(headers[i], headers[i + 1]);
- }
- b.setProperty("Include-Resource", "bnd.bnd"); // prevent empty jar bug
-
- Jar jar = b.build();
- jar.getManifest(); // Not sure whether this is needed...
-
- File file = File.createTempFile("testbundle", ".jar");
- file.deleteOnExit();
-
- jar.write(file);
- return file;
- }
- finally {
- b.close();
- }
- }
-
protected static File createPackage(String name, Version version, File... bundles) throws Exception {
DeploymentPackageBuilder builder = DeploymentPackageBuilder.createDeploymentPackage(name, version.toString());
Modified: ace/trunk/org.apache.ace.agent.launcher/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent.launcher/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent.launcher/.classpath (original)
+++ ace/trunk/org.apache.ace.agent.launcher/.classpath Sat Jan 23 19:34:49 2016
@@ -3,7 +3,7 @@
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.agent.update.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent.update.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent.update.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.agent.update.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.agent/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.agent/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.agent/.classpath (original)
+++ ace/trunk/org.apache.ace.agent/.classpath Sat Jan 23 19:34:49 2016
@@ -3,7 +3,7 @@
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.ant.tasks/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.ant.tasks/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.ant.tasks/.classpath (original)
+++ ace/trunk/org.apache.ace.ant.tasks/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="src" output="bin_test" path="test"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.ant.tasks/bnd.bnd
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.ant.tasks/bnd.bnd?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.ant.tasks/bnd.bnd (original)
+++ ace/trunk/org.apache.ace.ant.tasks/bnd.bnd Sat Jan 23 19:34:49 2016
@@ -1,4 +1,5 @@
--buildpath: ant;version=latest,\
+-buildpath: \
+ ant;version=latest,\
org.apache.ace.builder;version=latest
Export-Package: org.apache.ace.ant.deploymentpackage
Bundle-Version: 1.0.1
Modified: ace/trunk/org.apache.ace.authentication.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.authentication.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.authentication.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.authentication.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.authentication/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.authentication/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.authentication/.classpath (original)
+++ ace/trunk/org.apache.ace.authentication/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.bnd/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.bnd/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.bnd/.classpath (original)
+++ ace/trunk/org.apache.ace.bnd/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.builder/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.builder/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.builder/.classpath (original)
+++ ace/trunk/org.apache.ace.builder/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.client.automation/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.automation/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.automation/.classpath (original)
+++ ace/trunk/org.apache.ace.client.automation/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.client.repository.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.repository.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.repository.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.client.repository.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.client.repository/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.repository/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.repository/.classpath (original)
+++ ace/trunk/org.apache.ace.client.repository/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.client.rest.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.rest.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.rest.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.client.rest.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.client.rest.itest/bnd.bnd
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.rest.itest/bnd.bnd?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.rest.itest/bnd.bnd (original)
+++ ace/trunk/org.apache.ace.client.rest.itest/bnd.bnd Sat Jan 23 19:34:49 2016
@@ -1,9 +1,7 @@
-Test-Cases: ${classes;CONCRETE;EXTENDS;org.apache.ace.it.IntegrationTestBase}
-buildpath: \
osgi.core,\
osgi.cmpn,\
junit.osgi,\
- biz.aQute.bnd,\
javax.servlet,\
com.sun.jersey.client,\
com.sun.jersey.core,\
@@ -27,9 +25,11 @@ Test-Cases: ${classes;CONCRETE;EXTENDS;o
org.apache.ace.client.repository.helper.bundle;version=latest,\
org.apache.ace.client.repository.helper.configuration;version=latest,\
org.apache.ace.feedback.common;version=latest
--runfw: org.apache.felix.framework;version='[4,5)'
+-runee: JavaSE-1.7
-runvm: -ea
--runbundles: osgi.cmpn,\
+-runfw: org.apache.felix.framework;version='[4,5)'
+-runbundles: \
+ osgi.cmpn,\
com.sun.jersey.client,\
com.sun.jersey.core,\
org.apache.felix.dependencymanager,\
@@ -76,22 +76,21 @@ Test-Cases: ${classes;CONCRETE;EXTENDS;o
org.apache.ace.client.rest;version=latest,\
org.apache.ace.client.workspace;version=latest,\
org.apache.ace.feedback.common;version=latest
--runproperties: org.apache.felix.log.storeDebug=true,\
+-runproperties: \
+ org.apache.felix.log.storeDebug=true,\
org.apache.felix.eventadmin.Timeout=0,\
org.apache.felix.log.maxSize=1000
+
Private-Package: \
org.apache.ace.client.rest.itest,\
- com.google.gson*,\
- aQute.*,\
- org.osgi.service.bindex
+ com.google.gson*
Import-Package: \
- !aQute.bnd.*,\
- !org.apache.tools.ant.*,\
- !org.eclipse.*,\
*
Bundle-Version: 1.0.0
Bundle-Name: Apache ACE Client REST itest
Bundle-Description: Integration test bundle for Apache ACE Client REST
Bundle-Category: itest
+Test-Cases: ${classes;CONCRETE;EXTENDS;org.apache.ace.it.IntegrationTestBase}
+
-baseline:
\ No newline at end of file
Modified: ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/ClientRestUtils.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/ClientRestUtils.java?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/ClientRestUtils.java (original)
+++ ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/ClientRestUtils.java Sat Jan 23 19:34:49 2016
@@ -28,9 +28,6 @@ import java.io.IOException;
import org.apache.ace.test.utils.FileUtils;
-import aQute.bnd.osgi.Builder;
-import aQute.bnd.osgi.Jar;
-
import com.google.gson.Gson;
import com.sun.jersey.api.client.Client;
import com.sun.jersey.api.client.UniformInterfaceException;
@@ -164,26 +161,6 @@ public class ClientRestUtils {
return createEntity(c, work, "target", "{attributes: {id: \"" + name + "\", autoapprove: \"true\"}, tags: {" + result.toString() + "}}");
}
- public static File createTmpBundleOnDisk(String bsn, String v, String... headers) throws Exception {
- File file = File.createTempFile("bundle", ".jar");
- file.deleteOnExit();
- Builder b = new Builder();
- try {
- b.setProperty("Bundle-SymbolicName", bsn);
- b.setProperty("Bundle-Version", v);
- for (int i = 0; i < headers.length; i += 2) {
- b.setProperty(headers[i], headers[i + 1]);
- }
- Jar jar = b.build();
- jar.getManifest(); // Not sure whether this is needed...
- jar.write(file);
- return file;
- }
- finally {
- b.close();
- }
- }
-
public static File createTmpConfigOnDisk(String config) throws Exception {
File file = File.createTempFile("template", ".xml");
file.deleteOnExit();
Modified: ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/RESTClientTest.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/RESTClientTest.java?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/RESTClientTest.java (original)
+++ ace/trunk/org.apache.ace.client.rest.itest/src/org/apache/ace/client/rest/itest/RESTClientTest.java Sat Jan 23 19:34:49 2016
@@ -28,11 +28,11 @@ import static org.apache.ace.client.rest
import static org.apache.ace.client.rest.itest.ClientRestUtils.createFeature;
import static org.apache.ace.client.rest.itest.ClientRestUtils.createResourceProcessor;
import static org.apache.ace.client.rest.itest.ClientRestUtils.createTarget;
-import static org.apache.ace.client.rest.itest.ClientRestUtils.createTmpBundleOnDisk;
import static org.apache.ace.client.rest.itest.ClientRestUtils.createTmpConfigOnDisk;
import static org.apache.ace.client.rest.itest.ClientRestUtils.createWorkspace;
import static org.apache.ace.client.rest.itest.ClientRestUtils.deleteResources;
import static org.apache.ace.client.rest.itest.ClientRestUtils.ensureCleanStore;
+import static org.apache.ace.test.utils.FileUtils.createEmptyBundle;
import java.io.File;
import java.io.IOException;
@@ -47,6 +47,7 @@ import org.apache.ace.test.constants.Tes
import org.apache.felix.dm.Component;
import org.osgi.framework.Bundle;
import org.osgi.framework.BundleContext;
+import org.osgi.framework.Version;
import org.osgi.service.log.LogEntry;
import org.osgi.service.log.LogReaderService;
import org.osgi.service.useradmin.Role;
@@ -60,7 +61,6 @@ import com.sun.jersey.api.client.Uniform
import com.sun.jersey.api.client.WebResource;
public class RESTClientTest extends IntegrationTestBase {
-
// From: ConfigurationHelper (somehow directly using them here fails)
public static final String KEY_FILENAME = "filename";
public static final String MIMETYPE = "application/xml:osgi-autoconf";
@@ -68,6 +68,7 @@ public class RESTClientTest extends Inte
private static final String STOREPATH = "generated/store";
private static final String HOST = "http://localhost:" + TestConstants.PORT;
+ private static final Version V1_0_0 = new Version(1, 0, 0);
private static boolean m_hasBeenSetup = false;
private static int m_testRunCount = 0;
@@ -148,8 +149,8 @@ public class RESTClientTest extends Inte
Gson gson = new Gson();
try {
int nr = 20;
- File b1 = createTmpBundleOnDisk("bar.b1", "1.0.0");
- File b2 = createTmpBundleOnDisk("bar.b2", "1.0.0");
+ File b1 = createEmptyBundle("bar.b1", V1_0_0);
+ File b2 = createEmptyBundle("bar.b2", V1_0_0);
WebResource w1 = createWorkspace(HOST, client);
deleteResources(gson, w1);
@@ -192,9 +193,9 @@ public class RESTClientTest extends Inte
Client client = createClient();
Gson gson = new Gson();
try {
- File b1 = createTmpBundleOnDisk("foo.b1", "1.0.0");
- File b2 = createTmpBundleOnDisk("foo.b2", "1.0.0");
- File b3 = createTmpBundleOnDisk("foo.b3", "1.0.0");
+ File b1 = createEmptyBundle("foo.b1", V1_0_0);
+ File b2 = createEmptyBundle("foo.b2", V1_0_0);
+ File b3 = createEmptyBundle("foo.b3", V1_0_0);
WebResource w1 = createWorkspace(HOST, client);
deleteResources(gson, w1);
@@ -249,7 +250,7 @@ public class RESTClientTest extends Inte
Client client = createClient();
Gson gson = new Gson();
try {
- File bundle = createTmpBundleOnDisk("rp", "1.0.0", BundleHelper.KEY_RESOURCE_PROCESSOR_PID, PROCESSOR, "DeploymentPackage-Customizer", "true");
+ File bundle = createEmptyBundle("rp", V1_0_0, BundleHelper.KEY_RESOURCE_PROCESSOR_PID, PROCESSOR, "DeploymentPackage-Customizer", "true");
File config = createTmpConfigOnDisk(
"<MetaData xmlns='http://www.osgi.org/xmlns/metatype/v1.0.0'>\n" +
" <OCD name='ocd' id='ocd'>\n" +
Modified: ace/trunk/org.apache.ace.client.rest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.rest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.rest/.classpath (original)
+++ ace/trunk/org.apache.ace.client.rest/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.client.workspace/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.client.workspace/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.client.workspace/.classpath (original)
+++ ace/trunk/org.apache.ace.client.workspace/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.configurator.useradmin.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.configurator.useradmin.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.configurator.useradmin.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.configurator.useradmin.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.configurator/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.configurator/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.configurator/.classpath (original)
+++ ace/trunk/org.apache.ace.configurator/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.connectionfactory/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.connectionfactory/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.connectionfactory/.classpath (original)
+++ ace/trunk/org.apache.ace.connectionfactory/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.consolelogger/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.consolelogger/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.consolelogger/.classpath (original)
+++ ace/trunk/org.apache.ace.consolelogger/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.deployment.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.deployment.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.deployment.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.deployment.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.deployment/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.deployment/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.deployment/.classpath (original)
+++ ace/trunk/org.apache.ace.deployment/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.deployment/test/org/apache/ace/deployment/streamgenerator/impl/StreamTest.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.deployment/test/org/apache/ace/deployment/streamgenerator/impl/StreamTest.java?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.deployment/test/org/apache/ace/deployment/streamgenerator/impl/StreamTest.java (original)
+++ ace/trunk/org.apache.ace.deployment/test/org/apache/ace/deployment/streamgenerator/impl/StreamTest.java Sat Jan 23 19:34:49 2016
@@ -40,6 +40,7 @@ import org.apache.ace.deployment.util.te
import org.apache.ace.test.constants.TestConstants;
import org.apache.ace.test.utils.FileUtils;
import org.apache.ace.test.utils.TestUtils;
+import org.osgi.framework.Version;
import org.osgi.service.log.LogService;
import org.osgi.service.useradmin.User;
import org.testng.annotations.BeforeTest;
@@ -49,6 +50,7 @@ import org.testng.annotations.Test;
* Unit tests for the deployment admin stream.
*/
public class StreamTest {
+ private static final Version V1_0_0 = new Version(1, 0, 0);
private static final int COPY_BUFFER_SIZE = 4096;
private StreamGeneratorImpl m_generator;
@@ -59,9 +61,9 @@ public class StreamTest {
m_generator = new StreamGeneratorImpl();
m_provider = new TestProvider();
- m_provider.addData("A1.jar", "A1", FileUtils.createEmptyBundle(null, "org.apache.ace.test.bundle.A1").toURI().toURL(), "1.0.0", true);
- m_provider.addData("A2.jar", "A2", FileUtils.createEmptyBundle(null, "org.apache.ace.test.bundle.A2").toURI().toURL(), "1.0.0", false);
- m_provider.addData("A3.jar", "A3", FileUtils.createEmptyBundle(null, "org.apache.ace.test.bundle.A3").toURI().toURL(), "1.0.0", true);
+ m_provider.addData("A1.jar", "A1", FileUtils.createEmptyBundle("org.apache.ace.test.bundle.A1", V1_0_0).toURI().toURL(), "1.0.0", true);
+ m_provider.addData("A2.jar", "A2", FileUtils.createEmptyBundle("org.apache.ace.test.bundle.A2", V1_0_0).toURI().toURL(), "1.0.0", false);
+ m_provider.addData("A3.jar", "A3", FileUtils.createEmptyBundle("org.apache.ace.test.bundle.A3", V1_0_0).toURI().toURL(), "1.0.0", true);
TestUtils.configureObject(m_generator, DeploymentProvider.class, m_provider);
TestUtils.configureObject(m_generator, LogService.class);
TestUtils.configureObject(m_generator, ConnectionFactory.class, new MockConnectionFactory());
Modified: ace/trunk/org.apache.ace.discovery/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.discovery/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.discovery/.classpath (original)
+++ ace/trunk/org.apache.ace.discovery/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.feedback.common/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.feedback.common/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.feedback.common/.classpath (original)
+++ ace/trunk/org.apache.ace.feedback.common/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.gogo.servlet/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.gogo.servlet/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.gogo.servlet/.classpath (original)
+++ ace/trunk/org.apache.ace.gogo.servlet/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.gogo/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.gogo/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.gogo/.classpath (original)
+++ ace/trunk/org.apache.ace.gogo/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.http.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.http.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.http.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.http.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.http/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.http/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.http/.classpath (original)
+++ ace/trunk/org.apache.ace.http/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.identification/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.identification/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.identification/.classpath (original)
+++ ace/trunk/org.apache.ace.identification/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.location.upnp/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.location.upnp/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.location.upnp/.classpath (original)
+++ ace/trunk/org.apache.ace.location.upnp/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.log.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.log.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.log.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.log.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.log.server.store.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.log.server.store.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.log.server.store.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.log.server.store.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.log.server.ui/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.log.server.ui/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.log.server.ui/.classpath (original)
+++ ace/trunk/org.apache.ace.log.server.ui/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.log/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.log/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.log/.classpath (original)
+++ ace/trunk/org.apache.ace.log/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.nodelauncher/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.nodelauncher/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.nodelauncher/.classpath (original)
+++ ace/trunk/org.apache.ace.nodelauncher/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.obr/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.obr/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.obr/.classpath (original)
+++ ace/trunk/org.apache.ace.obr/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.processlauncher/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.processlauncher/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.processlauncher/.classpath (original)
+++ ace/trunk/org.apache.ace.processlauncher/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.range.api/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.range.api/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.range.api/.classpath (original)
+++ ace/trunk/org.apache.ace.range.api/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.repository.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.repository.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.repository.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.repository.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.repository/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.repository/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.repository/.classpath (original)
+++ ace/trunk/org.apache.ace.repository/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.resourceprocessor.useradmin/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.resourceprocessor.useradmin/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.resourceprocessor.useradmin/.classpath (original)
+++ ace/trunk/org.apache.ace.resourceprocessor.useradmin/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.scheduler/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.scheduler/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.scheduler/.classpath (original)
+++ ace/trunk/org.apache.ace.scheduler/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.tageditor/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.tageditor/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.tageditor/.classpath (original)
+++ ace/trunk/org.apache.ace.tageditor/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.target.mgmt.ui/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.target.mgmt.ui/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.target.mgmt.ui/.classpath (original)
+++ ace/trunk/org.apache.ace.target.mgmt.ui/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.test/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.test/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.test/.classpath (original)
+++ ace/trunk/org.apache.ace.test/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.test/src/org/apache/ace/test/utils/FileUtils.java
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.test/src/org/apache/ace/test/utils/FileUtils.java?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.test/src/org/apache/ace/test/utils/FileUtils.java (original)
+++ ace/trunk/org.apache.ace.test/src/org/apache/ace/test/utils/FileUtils.java Sat Jan 23 19:34:49 2016
@@ -23,9 +23,12 @@ import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.channels.FileChannel;
+import java.util.jar.Attributes;
import java.util.jar.JarOutputStream;
import java.util.jar.Manifest;
+import org.osgi.framework.Version;
+
public class FileUtils {
/**
@@ -43,18 +46,31 @@ public class FileUtils {
public static File createTempFile(File baseDirectory, String extension) throws IOException {
File tempFile = File.createTempFile("test", extension, baseDirectory);
tempFile.delete();
+ tempFile.deleteOnExit();
return tempFile;
}
- public static File createEmptyBundle(File baseDirectory, String bsn) throws IOException {
+ public static File createEmptyBundle(String bsn, Version version, String... headers) throws IOException {
+ return createEmptyBundle(null, bsn, version, headers);
+ }
+
+ public static File createEmptyBundle(File baseDirectory, String bsn, Version version, String... headers) throws IOException {
+ Manifest m = new Manifest();
+ Attributes mainAttrs = m.getMainAttributes();
+ mainAttrs.put(Attributes.Name.MANIFEST_VERSION, "1.0");
+ mainAttrs.putValue("Bundle-ManifestVersion", "2");
+ mainAttrs.putValue("Bundle-SymbolicName", bsn);
+ mainAttrs.putValue("Bundle-Version", version.toString());
+ for (int i = 0; i < headers.length; i += 2) {
+ mainAttrs.putValue(headers[i], headers[i + 1]);
+ }
+
File result = createTempFile(baseDirectory, ".jar");
- Manifest m = new Manifest();
- m.getMainAttributes().putValue("Bundle-ManifestVersion", "2");
- m.getMainAttributes().putValue("Bundle-SymbolicName", bsn);
-
try (FileOutputStream fos = new FileOutputStream(result); JarOutputStream jos = new JarOutputStream(fos, m)) {
+ jos.close();
}
+
return result;
}
Modified: ace/trunk/org.apache.ace.useradmin.ui.itest/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.useradmin.ui.itest/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.useradmin.ui.itest/.classpath (original)
+++ ace/trunk/org.apache.ace.useradmin.ui.itest/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.useradmin.ui/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.useradmin.ui/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.useradmin.ui/.classpath (original)
+++ ace/trunk/org.apache.ace.useradmin.ui/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/org.apache.ace.verifier/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.verifier/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.verifier/.classpath (original)
+++ ace/trunk/org.apache.ace.verifier/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="con" path="org.testng.TESTNG_CONTAINER"/>
<classpathentry kind="output" path="bin"/>
Modified: ace/trunk/org.apache.ace.webui.vaadin/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/org.apache.ace.webui.vaadin/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/org.apache.ace.webui.vaadin/.classpath (original)
+++ ace/trunk/org.apache.ace.webui.vaadin/.classpath Sat Jan 23 19:34:49 2016
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/run-client/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/run-client/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/run-client/.classpath (original)
+++ ace/trunk/run-client/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Propchange: ace/trunk/run-develop/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Sat Jan 23 19:34:49 2016
@@ -0,0 +1,4 @@
+bin
+bin_test
+generated
+.settings
Modified: ace/trunk/run-develop/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/run-develop/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/run-develop/.classpath (original)
+++ ace/trunk/run-develop/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/run-obr/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/run-obr/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/run-obr/.classpath (original)
+++ ace/trunk/run-obr/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/run-relay/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/run-relay/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/run-relay/.classpath (original)
+++ ace/trunk/run-relay/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" output="bin" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/run-server-allinone/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/run-server-allinone/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/run-server-allinone/.classpath (original)
+++ ace/trunk/run-server-allinone/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/run-server/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/run-server/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/run-server/.classpath (original)
+++ ace/trunk/run-server/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Modified: ace/trunk/run-target/.classpath
URL: http://svn.apache.org/viewvc/ace/trunk/run-target/.classpath?rev=1726440&r1=1726439&r2=1726440&view=diff
==============================================================================
--- ace/trunk/run-target/.classpath (original)
+++ ace/trunk/run-target/.classpath Sat Jan 23 19:34:49 2016
@@ -2,7 +2,7 @@
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" output="bin_test" path="test"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/>
<classpathentry kind="con" path="aQute.bnd.classpath.container"/>
<classpathentry kind="output" path="bin"/>
</classpath>