Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormzhu2011-05-06 02:43:33 -0400
committermzhu2011-05-06 02:43:33 -0400
commit1f1be55557f4b412a79450b245c4ac6aaf0be3ad (patch)
tree9b30ee5e322173dca571bf4858990218431d88b3 /bundles/org.eclipse.equinox.p2.testserver
parent7a4b6083659d0ecd17473acf3229b5581b096807 (diff)
downloadrt.equinox.p2-1f1be55557f4b412a79450b245c4ac6aaf0be3ad.tar.gz
rt.equinox.p2-1f1be55557f4b412a79450b245c4ac6aaf0be3ad.tar.xz
rt.equinox.p2-1f1be55557f4b412a79450b245c4ac6aaf0be3ad.zip
release the fix of bugzilla 343921
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.testserver')
-rw-r--r--bundles/org.eclipse.equinox.p2.testserver/src/org/eclipse/equinox/p2/testserver/Activator.java1
-rw-r--r--bundles/org.eclipse.equinox.p2.testserver/webfiles/importexport/content.xml47
2 files changed, 48 insertions, 0 deletions
diff --git a/bundles/org.eclipse.equinox.p2.testserver/src/org/eclipse/equinox/p2/testserver/Activator.java b/bundles/org.eclipse.equinox.p2.testserver/src/org/eclipse/equinox/p2/testserver/Activator.java
index 3a9860e89..746d63487 100644
--- a/bundles/org.eclipse.equinox.p2.testserver/src/org/eclipse/equinox/p2/testserver/Activator.java
+++ b/bundles/org.eclipse.equinox.p2.testserver/src/org/eclipse/equinox/p2/testserver/Activator.java
@@ -66,6 +66,7 @@ public class Activator implements BundleActivator, ServiceTrackerCustomizer {
try {
httpService.registerResources("/public", "/webfiles", null); //$NON-NLS-1$ //$NON-NLS-2$
+ httpService.registerResources("/importexport", "/webfiles/importexport", null); //$NON-NLS-1$ //$NON-NLS-2$
httpService.registerResources("/private", "/webfiles", secureHttpContext); //$NON-NLS-1$ //$NON-NLS-2$
httpService.registerResources("/never", "/webfiles", alwaysFail); //$NON-NLS-1$ //$NON-NLS-2$
httpService.registerResources("/flipflop", "/webfiles", flipFlop); //$NON-NLS-1$ //$NON-NLS-2$
diff --git a/bundles/org.eclipse.equinox.p2.testserver/webfiles/importexport/content.xml b/bundles/org.eclipse.equinox.p2.testserver/webfiles/importexport/content.xml
new file mode 100644
index 000000000..03cc70593
--- /dev/null
+++ b/bundles/org.eclipse.equinox.p2.testserver/webfiles/importexport/content.xml
@@ -0,0 +1,47 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<?metadataRepository version='1.1.0'?>
+
+<repository name='Installer Plan' type='org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataRepository' version='1'>
+
+<properties size='1'>
+
+<property name='p2.timestamp' value='1239212031654'/>
+
+</properties>
+
+<units size='4'>
+
+<unit id='A' version='1.0.0'>
+
+<properties>
+<property name='org.eclipse.equinox.p2.type.group' value='true'/>
+
+</properties>
+
+<provides size='1'>
+<provided namespace='org.eclipse.equinox.p2.iu' name='A' version='1.0.0'/>
+</provides>
+
+<touchpoint id='null' version='0.0.0'/>
+
+<touchpointData size='1'/>
+
+</unit>
+
+<unit id='B' version='1.0.0' singleton='false'>
+
+<properties>
+<property name='org.eclipse.equinox.p2.type.group' value='true'/>
+</properties>
+
+<provides size='2'>
+<provided namespace='org.eclipse.equinox.p2.iu' name='B' version='1.0.0'/>
+<provided namespace='eclipse.touchpoint' name='bundle' version='1.0.0'/>
+</provides>
+ <touchpoint id='org.eclipse.equinox.p2.osgi' version='1.0.0'/>
+<touchpointData size='1'/>
+
+</unit>
+</units>
+
+</repository>

Back to the top