]> git.argeo.org Git - gpl/argeo-slc.git/commitdiff
Move to ide
authorMathieu Baudier <mbaudier@argeo.org>
Sat, 22 Feb 2014 16:48:39 +0000 (16:48 +0000)
committerMathieu Baudier <mbaudier@argeo.org>
Sat, 22 Feb 2014 16:48:39 +0000 (16:48 +0000)
git-svn-id: https://svn.argeo.org/slc/trunk@6846 4cfe0d0a-d680-48aa-b62c-e0a02a3f76cc

96 files changed:
features/org.argeo.slc.ide/.project [deleted file]
features/org.argeo.slc.ide/build.properties [deleted file]
features/org.argeo.slc.ide/feature.xml [deleted file]
features/org.argeo.slc.ide/icons/argeo-icon-100104-256.png [deleted file]
features/org.argeo.slc.ide/p2.inf [deleted file]
ide/features/org.argeo.slc.ide/.project [new file with mode: 0644]
ide/features/org.argeo.slc.ide/build.properties [new file with mode: 0644]
ide/features/org.argeo.slc.ide/feature.xml [new file with mode: 0644]
ide/features/org.argeo.slc.ide/icons/argeo-icon-100104-256.png [new file with mode: 0644]
ide/features/org.argeo.slc.ide/p2.inf [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.branding/.classpath [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.branding/.project [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.branding/META-INF/MANIFEST.MF [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.branding/build.properties [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.xpm [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.branding/org.argeo.slc.ide.product [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.branding/plugin.xml [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.branding/plugin_customization.ini [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.branding/slc-ide.target [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.branding/splash.bmp [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/.classpath [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/.project [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/.settings/org.eclipse.jdt.core.prefs [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/META-INF/MANIFEST.MF [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/build.properties [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/icons/argeo-icon-100104-256.png [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/icons/eclipse-launch.gif [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/icons/slc-launch.gif [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/plugin.xml [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/DeployedSlcSystem.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/EmbeddedSlcSystem.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcIdeUiPlugin.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcMainPreferencePage.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcPerspectiveFactory.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcSystem.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLaunchConfiguration.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLaunchShortcut.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLauncherTabGroup.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootEquinoxLaunchConfiguration.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootLaunchShortcut.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootLauncherTabGroup.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootMainTab.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiLaunchHelper.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiLauncherConstants.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/preferences/SlcLaunchPreferencePage.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchConfigurationTab.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchConfigurationTabGroup.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchDelegate.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchShortcut.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchShortcutWithDialog.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptUtils.java [new file with mode: 0644]
ide/plugins/org.argeo.slc.ide.ui/targets/managedTarget.target [new file with mode: 0644]
plugins/org.argeo.slc.ide.branding/.classpath [deleted file]
plugins/org.argeo.slc.ide.branding/.project [deleted file]
plugins/org.argeo.slc.ide.branding/META-INF/MANIFEST.MF [deleted file]
plugins/org.argeo.slc.ide.branding/build.properties [deleted file]
plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png [deleted file]
plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.xpm [deleted file]
plugins/org.argeo.slc.ide.branding/org.argeo.slc.ide.product [deleted file]
plugins/org.argeo.slc.ide.branding/plugin.xml [deleted file]
plugins/org.argeo.slc.ide.branding/plugin_customization.ini [deleted file]
plugins/org.argeo.slc.ide.branding/slc-ide.target [deleted file]
plugins/org.argeo.slc.ide.branding/splash.bmp [deleted file]
plugins/org.argeo.slc.ide.ui/.classpath [deleted file]
plugins/org.argeo.slc.ide.ui/.project [deleted file]
plugins/org.argeo.slc.ide.ui/.settings/org.eclipse.jdt.core.prefs [deleted file]
plugins/org.argeo.slc.ide.ui/META-INF/MANIFEST.MF [deleted file]
plugins/org.argeo.slc.ide.ui/build.properties [deleted file]
plugins/org.argeo.slc.ide.ui/icons/argeo-icon-100104-256.png [deleted file]
plugins/org.argeo.slc.ide.ui/icons/eclipse-launch.gif [deleted file]
plugins/org.argeo.slc.ide.ui/icons/slc-launch.gif [deleted file]
plugins/org.argeo.slc.ide.ui/plugin.xml [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/DeployedSlcSystem.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/EmbeddedSlcSystem.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcIdeUiPlugin.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcMainPreferencePage.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcPerspectiveFactory.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcSystem.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLaunchConfiguration.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLaunchShortcut.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLauncherTabGroup.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootEquinoxLaunchConfiguration.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootLaunchShortcut.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootLauncherTabGroup.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootMainTab.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiLaunchHelper.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiLauncherConstants.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/preferences/SlcLaunchPreferencePage.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchConfigurationTab.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchConfigurationTabGroup.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchDelegate.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchShortcut.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchShortcutWithDialog.java [deleted file]
plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptUtils.java [deleted file]
plugins/org.argeo.slc.ide.ui/targets/managedTarget.target [deleted file]

diff --git a/features/org.argeo.slc.ide/.project b/features/org.argeo.slc.ide/.project
deleted file mode 100644 (file)
index bcaa481..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>org.argeo.slc.ide</name>
-       <comment></comment>
-       <projects>
-       </projects>
-       <buildSpec>
-               <buildCommand>
-                       <name>org.eclipse.pde.FeatureBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-       </buildSpec>
-       <natures>
-               <nature>org.eclipse.pde.FeatureNature</nature>
-       </natures>
-</projectDescription>
diff --git a/features/org.argeo.slc.ide/build.properties b/features/org.argeo.slc.ide/build.properties
deleted file mode 100644 (file)
index b873b85..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-bin.includes = feature.xml,\
-               icons/,\
-               category.xml,\
-               p2.inf
diff --git a/features/org.argeo.slc.ide/feature.xml b/features/org.argeo.slc.ide/feature.xml
deleted file mode 100644 (file)
index 8aef343..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<feature
-      id="org.argeo.slc.ide"
-      label="Argeo IDE"
-      version="1.1.1.qualifier"
-      provider-name="Argeo GmbH"
-      plugin="org.argeo.slc.ide.branding"
-      image="icons/argeo-icon-100104-256.png">
-
-   <description url="http://projects.argeo.org/slc/">
-      Argeo SLC IDE
-   </description>
-
-   <copyright url="http://www.argeo.org">
-      Copyright 2012 Argeo GmbH
-   </copyright>
-
-   <license url="http://www.apache.org/licenses/LICENSE-2.0.txt">
-      Argeo Integrated Development Environment
-Copyright 2012 Argeo GmbH
-Licensed under the Apache License, Version 2.0 (the &amp;quot;License&amp;quot;);
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-http://www.apache.org/licenses/LICENSE-2.0
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an &amp;quot;AS IS&amp;quot;
-BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
-or implied.
-See the License for the specific language governing permissions
-and limitations under the License.
-   </license>
-
-   <url>
-      <update label="Argeo SLC IDE (Devpt)" url="http://projects.argeo.org/projects/slc/update/ide-dev"/>
-      <discovery label="Argeo.org" url="http://www.argeo.org"/>
-   </url>
-
-   <requires>
-      <import plugin="org.eclipse.ui"/>
-      <import plugin="org.eclipse.core.runtime"/>
-      <import plugin="org.eclipse.debug.core"/>
-      <import plugin="org.eclipse.jdt.launching"/>
-      <import plugin="org.eclipse.debug.ui"/>
-      <import plugin="org.eclipse.jdt.core"/>
-      <import plugin="org.eclipse.ui.console"/>
-      <import plugin="org.eclipse.jdt.debug.ui"/>
-      <import plugin="org.eclipse.ui.ide"/>
-      <import plugin="org.eclipse.core.variables"/>
-      <import plugin="org.eclipse.pde.build"/>
-      <import plugin="org.eclipse.pde.ui" version="3.4.0" match="greaterOrEqual"/>
-      <import plugin="org.eclipse.jdt.ui" version="3.4.2" match="greaterOrEqual"/>
-      <import plugin="org.eclipse.ui" version="3.5.1" match="greaterOrEqual"/>
-      <import plugin="org.eclipse.osgi" version="3.5.1" match="greaterOrEqual"/>
-      <import plugin="org.eclipse.core.runtime" version="3.5.0" match="greaterOrEqual"/>
-      <import plugin="org.eclipse.jdt.ui" version="3.5.1" match="greaterOrEqual"/>
-      <import plugin="org.eclipse.ui.console" version="3.4.0" match="greaterOrEqual"/>
-   </requires>
-
-   <plugin
-         id="org.argeo.slc.ide.ui"
-         download-size="0"
-         install-size="0"
-         version="1.1.1.qualifier"
-         unpack="false"/>
-
-</feature>
diff --git a/features/org.argeo.slc.ide/icons/argeo-icon-100104-256.png b/features/org.argeo.slc.ide/icons/argeo-icon-100104-256.png
deleted file mode 100644 (file)
index a9af088..0000000
Binary files a/features/org.argeo.slc.ide/icons/argeo-icon-100104-256.png and /dev/null differ
diff --git a/features/org.argeo.slc.ide/p2.inf b/features/org.argeo.slc.ide/p2.inf
deleted file mode 100644 (file)
index 0423aa5..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-properties.1.name=org.eclipse.equinox.p2.type.category
-properties.1.value=true
\ No newline at end of file
diff --git a/ide/features/org.argeo.slc.ide/.project b/ide/features/org.argeo.slc.ide/.project
new file mode 100644 (file)
index 0000000..bcaa481
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.argeo.slc.ide</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.pde.FeatureBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.pde.FeatureNature</nature>
+       </natures>
+</projectDescription>
diff --git a/ide/features/org.argeo.slc.ide/build.properties b/ide/features/org.argeo.slc.ide/build.properties
new file mode 100644 (file)
index 0000000..b873b85
--- /dev/null
@@ -0,0 +1,4 @@
+bin.includes = feature.xml,\
+               icons/,\
+               category.xml,\
+               p2.inf
diff --git a/ide/features/org.argeo.slc.ide/feature.xml b/ide/features/org.argeo.slc.ide/feature.xml
new file mode 100644 (file)
index 0000000..8aef343
--- /dev/null
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<feature
+      id="org.argeo.slc.ide"
+      label="Argeo IDE"
+      version="1.1.1.qualifier"
+      provider-name="Argeo GmbH"
+      plugin="org.argeo.slc.ide.branding"
+      image="icons/argeo-icon-100104-256.png">
+
+   <description url="http://projects.argeo.org/slc/">
+      Argeo SLC IDE
+   </description>
+
+   <copyright url="http://www.argeo.org">
+      Copyright 2012 Argeo GmbH
+   </copyright>
+
+   <license url="http://www.apache.org/licenses/LICENSE-2.0.txt">
+      Argeo Integrated Development Environment
+Copyright 2012 Argeo GmbH
+Licensed under the Apache License, Version 2.0 (the &amp;quot;License&amp;quot;);
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+http://www.apache.org/licenses/LICENSE-2.0
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an &amp;quot;AS IS&amp;quot;
+BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
+or implied.
+See the License for the specific language governing permissions
+and limitations under the License.
+   </license>
+
+   <url>
+      <update label="Argeo SLC IDE (Devpt)" url="http://projects.argeo.org/projects/slc/update/ide-dev"/>
+      <discovery label="Argeo.org" url="http://www.argeo.org"/>
+   </url>
+
+   <requires>
+      <import plugin="org.eclipse.ui"/>
+      <import plugin="org.eclipse.core.runtime"/>
+      <import plugin="org.eclipse.debug.core"/>
+      <import plugin="org.eclipse.jdt.launching"/>
+      <import plugin="org.eclipse.debug.ui"/>
+      <import plugin="org.eclipse.jdt.core"/>
+      <import plugin="org.eclipse.ui.console"/>
+      <import plugin="org.eclipse.jdt.debug.ui"/>
+      <import plugin="org.eclipse.ui.ide"/>
+      <import plugin="org.eclipse.core.variables"/>
+      <import plugin="org.eclipse.pde.build"/>
+      <import plugin="org.eclipse.pde.ui" version="3.4.0" match="greaterOrEqual"/>
+      <import plugin="org.eclipse.jdt.ui" version="3.4.2" match="greaterOrEqual"/>
+      <import plugin="org.eclipse.ui" version="3.5.1" match="greaterOrEqual"/>
+      <import plugin="org.eclipse.osgi" version="3.5.1" match="greaterOrEqual"/>
+      <import plugin="org.eclipse.core.runtime" version="3.5.0" match="greaterOrEqual"/>
+      <import plugin="org.eclipse.jdt.ui" version="3.5.1" match="greaterOrEqual"/>
+      <import plugin="org.eclipse.ui.console" version="3.4.0" match="greaterOrEqual"/>
+   </requires>
+
+   <plugin
+         id="org.argeo.slc.ide.ui"
+         download-size="0"
+         install-size="0"
+         version="1.1.1.qualifier"
+         unpack="false"/>
+
+</feature>
diff --git a/ide/features/org.argeo.slc.ide/icons/argeo-icon-100104-256.png b/ide/features/org.argeo.slc.ide/icons/argeo-icon-100104-256.png
new file mode 100644 (file)
index 0000000..a9af088
Binary files /dev/null and b/ide/features/org.argeo.slc.ide/icons/argeo-icon-100104-256.png differ
diff --git a/ide/features/org.argeo.slc.ide/p2.inf b/ide/features/org.argeo.slc.ide/p2.inf
new file mode 100644 (file)
index 0000000..0423aa5
--- /dev/null
@@ -0,0 +1,2 @@
+properties.1.name=org.eclipse.equinox.p2.type.category
+properties.1.value=true
\ No newline at end of file
diff --git a/ide/plugins/org.argeo.slc.ide.branding/.classpath b/ide/plugins/org.argeo.slc.ide.branding/.classpath
new file mode 100644 (file)
index 0000000..b0a38d8
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" path="src/main/java"/>
+       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/ide/plugins/org.argeo.slc.ide.branding/.project b/ide/plugins/org.argeo.slc.ide.branding/.project
new file mode 100644 (file)
index 0000000..c757652
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+       <name>org.argeo.slc.ide.branding</name>
+       <comment></comment>
+       <projects>
+       </projects>
+       <buildSpec>
+               <buildCommand>
+                       <name>org.eclipse.jdt.core.javabuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.ManifestBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+               <buildCommand>
+                       <name>org.eclipse.pde.SchemaBuilder</name>
+                       <arguments>
+                       </arguments>
+               </buildCommand>
+       </buildSpec>
+       <natures>
+               <nature>org.eclipse.pde.PluginNature</nature>
+               <nature>org.eclipse.jdt.core.javanature</nature>
+       </natures>
+</projectDescription>
diff --git a/ide/plugins/org.argeo.slc.ide.branding/META-INF/MANIFEST.MF b/ide/plugins/org.argeo.slc.ide.branding/META-INF/MANIFEST.MF
new file mode 100644 (file)
index 0000000..f1381c2
--- /dev/null
@@ -0,0 +1,12 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: Argeo IDE
+Bundle-SymbolicName: org.argeo.slc.ide.branding;singleton:=true
+Bundle-Version: 1.1.1.D20121107_1340
+Bundle-Vendor: Argeo.org
+Require-Bundle: org.eclipse.ui;bundle-version="3.5.1",
+ org.eclipse.osgi;bundle-version="3.5.1",
+ org.eclipse.core.runtime;bundle-version="3.5.0",
+ org.eclipse.jdt.ui;bundle-version="3.5.1",
+ org.eclipse.ui.console;bundle-version="3.4.0"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
diff --git a/ide/plugins/org.argeo.slc.ide.branding/build.properties b/ide/plugins/org.argeo.slc.ide.branding/build.properties
new file mode 100644 (file)
index 0000000..b06e874
--- /dev/null
@@ -0,0 +1,7 @@
+bin.includes = META-INF/,\
+               plugin_customization.ini,\
+               plugin.xml,\
+               icons/,\
+               splash.bmp,\
+               .
+source.. = src/main/java/
diff --git a/ide/plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png b/ide/plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png
new file mode 100644 (file)
index 0000000..a9af088
Binary files /dev/null and b/ide/plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png differ
diff --git a/ide/plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.xpm b/ide/plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.xpm
new file mode 100644 (file)
index 0000000..3d3ad76
--- /dev/null
@@ -0,0 +1,479 @@
+/* XPM */
+static char * argeo_icon_100104_256_xpm[] = {
+"256 256 220 2",
+"      c None",
+".     c #FE8F00",
+"+     c #FD8F01",
+"@     c #FD8E01",
+"#     c #FD8F00",
+"$     c #FC8E01",
+"%     c #FA8D02",
+"&     c #F78C03",
+"*     c #F68C04",
+"=     c #F58C04",
+"-     c #F48B05",
+";     c #EE8907",
+">     c #DC820F",
+",     c #C0781B",
+"'     c #F98D02",
+")     c #EA8809",
+"!     c #D47F12",
+"~     c #BC761D",
+"{     c #A16C28",
+"]     c #E6860A",
+"^     c #B37321",
+"/     c #ED8908",
+"(     c #CD7D15",
+"_     c #C67A18",
+":     c #C2781A",
+"<     c #BD771C",
+"[     c #B8751E",
+"}     c #AD7123",
+"|     c #A96F25",
+"1     c #A46D27",
+"2     c #C97B17",
+"3     c #EB8808",
+"4     c #7A5E39",
+"5     c #F88D02",
+"6     c #D68012",
+"7     c #AF7122",
+"8     c #896333",
+"9     c #625544",
+"0     c #4D4D4D",
+"a     c #5A5247",
+"b     c #7C5F38",
+"c     c #9E6B2A",
+"d     c #BF771B",
+"e     c #E1840D",
+"f     c #BE771C",
+"g     c #97692D",
+"h     c #715A3D",
+"i     c #504E4B",
+"j     c #55504A",
+"k     c #94672E",
+"l     c #A26D28",
+"m     c #FB8E01",
+"n     c #826136",
+"o     c #4F4E4C",
+"p     c #7D5F38",
+"q     c #CA7C17",
+"r     c #F88D03",
+"s     c #705A3E",
+"t     c #E2850C",
+"u     c #5D5346",
+"v     c #675742",
+"w     c #B27321",
+"x     c #D17E14",
+"y     c #F68C03",
+"z     c #BB761D",
+"A     c #765C3B",
+"B     c #575149",
+"C     c #A06C29",
+"D     c #95682E",
+"E     c #DF830E",
+"F     c #92672F",
+"G     c #555049",
+"H     c #6C5840",
+"I     c #ED8907",
+"J     c #4E4E4C",
+"K     c #524F4B",
+"L     c #9A6A2B",
+"M     c #A76F26",
+"N     c #806037",
+"O     c #605445",
+"P     c #5C5346",
+"Q     c #CB7C16",
+"R     c #D27E13",
+"S     c #99692C",
+"T     c #F28A05",
+"U     c #585148",
+"V     c #EF8907",
+"W     c #846135",
+"X     c #8C6532",
+"Y     c #A56E27",
+"Z     c #D98110",
+"`     c #93672F",
+" .    c #F48B04",
+"..    c #BA761E",
+"+.    c #9D6B2A",
+"@.    c #AB7024",
+"#.    c #FB8E02",
+"$.    c #A76E26",
+"%.    c #5C5247",
+"&.    c #755C3B",
+"*.    c #AE7123",
+"=.    c #9B6A2B",
+"-.    c #5E5345",
+";.    c #B47420",
+">.    c #DB820F",
+",.    c #514F4B",
+"'.    c #6A5840",
+").    c #DD830E",
+"!.    c #5F5445",
+"~.    c #EA8709",
+"{.    c #4E4D4D",
+"].    c #6D593F",
+"^.    c #795E3A",
+"/.    c #7E5F38",
+"(.    c #E7860A",
+"_.    c #534F4A",
+":.    c #896433",
+"<.    c #E5860B",
+"[.    c #E4850B",
+"}.    c #856235",
+"|.    c #575148",
+"1.    c #D37F13",
+"2.    c #816036",
+"3.    c #565049",
+"4.    c #A86F25",
+"5.    c #D88111",
+"6.    c #8D6531",
+"7.    c #AA7025",
+"8.    c #91662F",
+"9.    c #D68011",
+"0.    c #CF7D15",
+"a.    c #7B5E39",
+"b.    c #645643",
+"c.    c #B47320",
+"d.    c #635543",
+"e.    c #504E4C",
+"f.    c #E8870A",
+"g.    c #906630",
+"h.    c #836135",
+"i.    c #A36D28",
+"j.    c #775D3B",
+"k.    c #6C593F",
+"l.    c #635544",
+"m.    c #F18A06",
+"n.    c #A66E26",
+"o.    c #E98709",
+"p.    c #7C5E39",
+"q.    c #E0840D",
+"r.    c #8E6531",
+"s.    c #D58012",
+"t.    c #8A6432",
+"u.    c #6B5840",
+"v.    c #8F6630",
+"w.    c #B17222",
+"x.    c #615544",
+"y.    c #F08A06",
+"z.    c #A46E27",
+"A.    c #595248",
+"B.    c #E88709",
+"C.    c #54504A",
+"D.    c #B07222",
+"E.    c #CE7D15",
+"F.    c #C77B18",
+"G.    c #755C3C",
+"H.    c #695841",
+"I.    c #EF8A06",
+"J.    c #595148",
+"K.    c #8B6432",
+"L.    c #CC7C16",
+"M.    c #D27F13",
+"N.    c #7F6037",
+"O.    c #735B3C",
+"P.    c #685741",
+"Q.    c #C2791A",
+"R.    c #96682D",
+"S.    c #534F4B",
+"T.    c #D07E14",
+"U.    c #C47A19",
+"V.    c #725B3D",
+"W.    c #B9751E",
+"X.    c #AC7024",
+"Y.    c #94682E",
+"Z.    c #886333",
+"`.    c #C3791A",
+" +    c #B7751F",
+".+    c #665642",
+"++    c #5E5346",
+"@+    c #9F6C29",
+"#+    c #DA8210",
+"$+    c #876234",
+"%+    c #6F5A3E",
+"&+    c #B6741F",
+"*+    c #655642",
+"=+    c #F38B05",
+"-+    c #EC8808",
+";+    c #E3850C",
+">+    c #6E593F",
+",+    c #F28B05",
+"'+    c #9C6B2B",
+")+    c #E2840C",
+"!+    c #D78111",
+"~+    c #785D3A",
+"{+    c #DA8110",
+"]+    c #F78D03",
+"^+    c #FA8E02",
+"/+    c #B8751F",
+"(+    c #C67A19",
+"_+    c #C57A19",
+":+    c #B7741F",
+"<+    c #A86F26",
+"[+    c #CF7E14",
+"}+    c #9A6A2C",
+"|+    c #795D3A",
+"1+    c #C1781B",
+"2+    c #5B5247",
+"3+    c #695741",
+"4+    c #97682D",
+"5+    c #98692C",
+"6+    c #B57420",
+"7+    c #866234",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                          . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                                                                         ",
+"                                                                                                                                                                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                                                               ",
+"                                                                                                                                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                                                     ",
+"                                                                                                                                                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                                               ",
+"                                                                                                                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                                       ",
+"                                                                                                                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                                 ",
+"                                                                                                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                             ",
+"                                                                                                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                         ",
+"                                                                                                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                   ",
+"                                                                                                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                               ",
+"                                                                                                                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                           ",
+"                                                                                                                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                         ",
+"                                                                                                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                     ",
+"                                                                                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                 ",
+"                                                                                                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                               ",
+"                                                                                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                           ",
+"                                                                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                         ",
+"                                                                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                     ",
+"                                                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                   ",
+"                                                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                 ",
+"                                                                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                             ",
+"                                                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                           ",
+"                                                                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +                                                                                                                                         ",
+"                                                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @                                                                                                                                       ",
+"                                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #                                                                                                                                     ",
+"                                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $                                                                                                                                   ",
+"                                                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . %                                                                                                                                 ",
+"                                                                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . &                                                                                                                               ",
+"                                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . *                                                                                                                             ",
+"                                                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . =                                                                                                                           ",
+"                                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -                                                                                                                         ",
+"                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ;                                                                                                                       ",
+"                                                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . >                                                                                                                     ",
+"                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ,                                                                                                                   ",
+"                                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . '                                                                                                                   ",
+"                                                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . )                                                                                                                 ",
+"                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . !                                                                                                               ",
+"                                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~                                                                                                             ",
+"                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ {                                                                                                           ",
+"                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ]                                                                                                           ",
+"                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ^                                                                                                         ",
+"                                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . / ( _ : < [ ^ } | 1 | 2 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ 4                                                                                                       ",
+"                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 6 7 8 9 0 0 0 0 0 0 0 0 0 0 0 0 0 a b c d e $ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . >                                                                                                       ",
+"                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . / f g h i 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 j k e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . l                                                                                                     ",
+"                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m _ n o 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 p q # . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . r s                                                                                                   ",
+"                                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . t c u 0 0 0 0 0 0 0 0 0 0 0 0 0                             0 0 0 0 0 0 0 v w * . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x                                                                                                   ",
+"                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y z A 0 0 0 0 0 0 0 0 0 0 0 0                                               0 0 0 0 B C 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D                                                                                                 ",
+"                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E F G 0 0 0 0 0 0 0 0 0 0                                                             0 0 0 H E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 G                                                                                               ",
+"                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I F J 0 0 0 0 0 0 0 0 0                                                                       0 0 K w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . L                                                                                               ",
+"                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . & M G 0 0 0 0 0 0 0 0 0                                                                               0 0 N ; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ; G                                                                                             ",
+"                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # < O 0 0 0 0 0 0 0 0                                                                                         0 P Q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C                                                                                             ",
+"                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . R s 0 0 0 0 0 0 0 0                                                                                                 0 S m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T U                                                                                           ",
+"                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V W 0 0 0 0 0 0 0 0                                                                                                       0 X @ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Y                                                                                           ",
+"                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Z O 0 0 0 0 0 0 0                                                                                                             0 ` # . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  .a                                                                                         ",
+"                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..K 0 0 0 0 0 0                                                                                                                     +.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @.0                                                                                       ",
+"                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #.D 0 0 0 0 0 0 0                                                                                                                         $.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y %.                                                                                      ",
+"                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . / &.0 0 0 0 0 0                                                                                                                               *.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . =.0                                                                                     ",
+"                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 -.0 0 0 0 0 0                                                                                                                                   ;.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . >.0                                                                                     ",
+"                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Q ,.0 0 0 0 0 0                                                                                                                                       ~ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . '.0                                                                                   ",
+"                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ).G 0 0 0 0 0                                                                                                                                             ).. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @.0                                                                                   ",
+"                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 !.0 0 0 0 0                                                                                                                                                 r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~.{.                                                                                  ",
+"                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  .].0 0 0 0 0                                                                                                                                                   ( . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ^.0                                                                                 ",
+"                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m /.0 0 0 0 0                                                                                                                                                       (.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..0                                                                                 ",
+"                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F 0 0 0 0 0                                                                                                                                                            .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  ._.                                                                                ",
+"                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @.0 0 0 0 0                                                                                                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . :.0                                                                               ",
+"                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <.i 0 0 0 0                                                                                                                                                                 [.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . q 0                                                                               ",
+"                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . }.0 0 0 0 0                                                                                                                                                                   V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m |.0                                                                             ",
+"                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.0 0 0 0 0                                                                                                                                                                       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.0                                                                             ",
+"                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # s 0 0 0 0                                                                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . } 0                                                                             ",
+"                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . < 0 0 0 0                                                                                                                                                                   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Z 0 0                                                                           ",
+"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . r O 0 0 0 0                                                                                                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ 3.0                                                                           ",
+"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.0 0 0 0                                                                                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N 0                                                                           ",
+"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.0 0 0 0                                                                                                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @.0                                                                           ",
+"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _ 0 0 0 0                                                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.0 0                                                                         ",
+"                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.0 0 0 0                                                                                                                                                 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m G 0                                                                         ",
+"                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . % |.0 0 0                                                                                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . /.0                                                                         ",
+"                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Q 0 0 0 0                                                                                                                                           . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.0                                                                         ",
+"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.0 0 0                                                                                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.0 0                                                                       ",
+"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m a 0 0 0                                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #.j 0                                                                       ",
+"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.0 0 0 0                                                                                                                                 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . p 0                                                                       ",
+"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . g 0 0 0                                                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 0                                                                       ",
+"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . a.0 0 0                                                                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ! 0 0                                                                     ",
+"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . b.0 0 0                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . r c.d.0 0                                                                     ",
+"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m e.0 0                                                                                                                   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T M %.0 0 0 0                                                                     ",
+"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . f.0 0 0                                                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 =.G 0 0 0 0 0 0                                                                     ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x 0 0 0                                                                                                           . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . e g.i 0 0 0 0 0 0 0 0                                                                     ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..0 0 0                                                                                                       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.h.{.0 0 0 0 0 0 0 0                                                                         ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i.0 0 0                                                                                                 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # q j.0 0 0 0 0 0 0 0 0                                                                             ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X 0 0 0                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m f k.0 0 0 0 0 0 0 0 0                                                                                 ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A 0 0                                                                                           . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . & w l.0 0 0 0 0 0 0 0 0                                                                                     ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . h 0 0                                                                                       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m.n.a 0 0 0 0 0 0 0 0 0                                                                                         ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . j.0 0                                                                                   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . o.L j 0 0 0 0 0 0 0 0                                                                                               ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . p.0 0                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . q.r.e.0 0 0 0 0 0 0 0                                                                                                   ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N 0 0                                                                           . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s.n {.0 0 0 0 0 0 0 0                                                                                                       ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . }.0 0                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # 2 A 0 0 0 0 0 0 0 0 0                                                                                                           ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . t.0 0                                                                 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #.< u.0 0 0 0 0 0 0 0 0                                                                                                               ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v.0 0                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y w.x.0 0 0 0 0 0 0 0 0                                                                                                                   ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . k 0 0                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y.z.A.0 0 0 0 0 0 0 0 0                                                                                                                       ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S 0 0                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.S C.0 0 0 0 0 0 0 0                                                                                                                             ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . c 0 0                                                 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E 6.e.0 0 0 0 0 0 0 0                                                                                                                                 ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D.0 0                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ! N 0 0 0 0 0 0 0 0 0                                                                                                                                     ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.0 0                                       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # F.G.0 0 0 0 0 0 0 0 0                                                                                                                                         ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 0 0                                   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #.z H.0 0 0 0 0 0 0 0 0                                                                                                                                             ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |.0                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . * D.O 0 0 0 0 0 0 0 0 0                                                                                                                                                 ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G.0                           . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.i.J.0 0 0 0 0 0 0 0 0                                                                                                                                                     ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F 0 0                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (.g _.0 0 0 0 0 0 0 0                                                                                                                                                           ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 0 0                 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ).K.o 0 0 0 0 0 0 0 0                                                                                                                                                               ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . L.0 0             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M.N.0 0 0 0 0 0 0 0 0                                                                                                                                                                   ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~.0 0       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # _ O.0 0 0 0 0 0 0 0 0                                                                                                                                                                       ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.0   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . % ..P.0 0 0 0 0 0 0 0 0                                                                                                                                                                           ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . k Q.# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = *.O 0 0 0 0 0 0 0 0 0                                                                                                                                                                               ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V l U 0 0 0 0 0 0 0 0 0                                                                                                                                                                                   ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ] R.S.0 0 0 0 0 0 0 0                                                                                                                                                                                         ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . > :.o 0 0 0 0 0 0 0 0                                                                                                                                                                                             ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T./.0 0 0 0 0 0 0 0 0                                                                                                                                                                                                 ",
+"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ U.V.0 0 0 0 0 0 0 0 0                                                                                                                                                                                                     ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ' W.v 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                         ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  .X.-.0 0 0 0 0 0 0 0 0                                                                                                                                                                                                             ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ; C |.0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                 ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <.Y.K 0 0 0 0 0 0 0 0                                                                                                                                                                                                                       ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . >.Z.J 0 0 0 0 0 0 0 0                                                                                                                                                                                                                           ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.b 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                               ",
+"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ `.s 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                   ",
+"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . '  +.+0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                       ",
+"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . - @.++0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                           ",
+"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . / @+B 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                               ",
+"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [.` K 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                                     ",
+"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #+$+J 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                                         ",
+"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ( a.0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                                             ",
+"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ : %+0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                                                 ",
+"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 &+*+0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                                                     ",
+"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . =+| u 0 0 0 0 0 0 0 0 0                                                                                                                                                       . .                                                                                                               ",
+"                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -+c 3.0 0 0 0 0 0 0 0 0                                                                                                                                                           . . . .                                                                                                           ",
+"                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ;+F ,.0 0 0 0 0 0 0 0                                                                                                                                                               . . . . . .                                                                                                         ",
+"                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Z }.J 0 0 0 0 0 0 0 0                                                                                                                                                                   . . . . . . .                                                                                                       ",
+"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . L.^.0 0 0 0 0 0 0 0 0                                                                                                                                                                     . . . . . . . . . .                                                                                                   ",
+"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ , >+0 0 0 0 0 0 0 0 0                                                                                                                                                                         . . . . . . . . . . .                                                                                                 ",
+"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . r ;.b.0 0 0 0 0 0 0 0 0                                                                                                                                                                           . . . . . . . . . . . . .                                                                                               ",
+"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ,+4.%.0 0 0 0 0 0 0 0 0                                                                                                                                                                               . . . . . . . . . . . . . .                                                                                             ",
+"                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 '+G 0 0 0 0 0 0 0 0 0                                                                                                                                                                                 . . . . . . . . . . . . . . . . .                                                                                         ",
+"                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . )+g.i 0 0 0 0 0 0 0 0                                                                                                                                                                                     . . . . . . . . . . . . . . . . . . .                                                                                       ",
+"                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . !+W {.0 0 0 0 0 0 0 0                                                                                                                                                                                         . . . . . . . . . . . . . . . . . . . .                                                                                     ",
+"                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Q ~+0 0 0 0 0 0 0 0 0                                                                                                                                                                                           . . . . . . . . . . . . . . . . . . . . . .                                                                                   ",
+"                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m d ].0 0 0 0 0 0 0 0 0                                                                                                                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . .                                                                               ",
+"                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . z d.0 0 0 0 0 0 0 0 0                                                                                                                                                                                                 . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                             ",
+"                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W.0 0 0 0 0 0 0 0                                                                                                                                                                                                   . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                           ",
+"                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # ^.0 0 0 0 0                                                                                                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                       ",
+"                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [.S.0                                                                                                                                                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                     ",
+"                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @.                                                                                                                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                   ",
+"                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m j.                                                                                                                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                 ",
+"                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #+                                                                                                                                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                             ",
+"                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C                                                                                                                                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                           ",
+"                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . & >+                                                                                                                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                         ",
+"                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.                                                                                                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                       ",
+"                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D                                                                                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                   ",
+"                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . & h.                                                                                                                                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                 ",
+"                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I                                                                                                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m                                                 ",
+"                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . e                                                                                                                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X.0                                               ",
+"                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . {+                                                                                                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.B 0 0                                             ",
+"                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . >.                                                                                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . R.0 0 0 0                                           ",
+"                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . f.                                                                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . e o 0 0 0 0                                           ",
+"                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T                                                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N 0 0 0 0                                             ",
+"                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y                                                                                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ( 0 0 0 0                                               ",
+"                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . '                                                                                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y v 0 0 0 0                                               ",
+"                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $                                                                                                                                   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . g.0 0 0 0                                                 ",
+"                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . , 0 0 0 0 0                                                 ",
+"                                                                                @ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (.B 0 0 0 0                                                   ",
+"                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m O.0 0 0 0                                                     ",
+"                                                                                  ' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . { 0 0 0 0 0                                                     ",
+"                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T.J 0 0 0 0                                                       ",
+"                                                                                    ]+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . f.++0 0 0 0                                                         ",
+"                                                                                      % . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y.v 0 0 0 0 0                                                         ",
+"                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                           . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . & V.0 0 0 0 0                                                           ",
+"                                                                                        & . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m N 0 0 0 0 0                                                             ",
+"                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . g.0 0 0 0 0                                                               ",
+"                                                                                          r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . { 0 0 0 0 0                                                                 ",
+"                                                                                            T . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ^ 0 0 0 0 0                                                                   ",
+"                                                                                              ' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ^ {.0 0 0 0                                                                     ",
+"                                                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . n.0 0 0 0 0 0                                                                     ",
+"                                                                                                ).. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # S 0 0 0 0 0 0                                                                       ",
+"                                                                                                  -+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m X 0 0 0 0 0 0                                                                         ",
+"                                                                                                    ^+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . r 2.0 0 0 0 0 0                                                                           ",
+"                                                                                                    !+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . - j.0 0 0 0 0 0                                                                             ",
+"                                                                                                      e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . o.>+0 0 0 0 0 0                                                                               ",
+"                                                                                                        ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ( a 0 0 0 0 0                                                                                   ",
+"                                                                                                          V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ n.J 0 0 0 0 0                                                                                     ",
+"                                                                                                            = . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m.N.0 0 0 0 0 0                                                                                       ",
+"                                                                                                            g % . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Z l.0 0 0 0 0 0                                                                                         ",
+"                                                                                                              c # . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . &+K 0 0 0 0 0 0                                                                                           ",
+"                                                                                                                @.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . * r.0 0 0 0 0 0 0                                                                                             ",
+"                                                                                                                  /+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x b.0 0 0 0 0 0                                                                                                 ",
+"                                                                                                                    (+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . * R.{.0 0 0 0 0 0                                                                                                   ",
+"                                                                                                                      _+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T.d.0 0 0 0 0 0 0                                                                                                     ",
+"                                                                                                                        :+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . * R.{.0 0 0 0 0 0                                                                                                         ",
+"                                                                                                                          <+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [+d.0 0 0 0 0 0 0                                                                                                           ",
+"                                                                                                                            }+# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  .D {.0 0 0 0 0 0                                                                                                               ",
+"                                                                                                                              6.m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ [ P 0 0 0 0 0 0 0                                                                                                                 ",
+"                                                                                                                                n & . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M.>+0 0 0 0 0 0 0                                                                                                                     ",
+"                                                                                                                                  |+=+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (.$+0 0 0 0 0 0 0 0                                                                                                                       ",
+"                                                                                                                                    P.#+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = C K 0 0 0 0 0 0 0                                                                                                                           ",
+"                                                                                                                                      ,.7 # . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ z ++0 0 0 0 0 0 0                                                                                                                               ",
+"                                                                                                                                        0 N y.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.s 0 0 0 0 0 0 0 0                                                                                                                                 ",
+"                                                                                                                                          0 !.x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [+j.0 0 0 0 0 0 0 0                                                                                                                                     ",
+"                                                                                                                                              J 1 $ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [+j.0 0 0 0 0 0 0 0                                                                                                                                         ",
+"                                                                                                                                                0 j.o.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [+j.0 0 0 0 0 0 0 0                                                                                                                                             ",
+"                                                                                                                                                  0 C.$.r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [+j.0 0 0 0 0 0 0 0 0                                                                                                                                               ",
+"                                                                                                                                                      0 9 1+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [+j.0 0 0 0 0 0 0 0 0                                                                                                                                                   ",
+"                                                                                                                                                        0 0 A #+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ' ~ h 0 0 0 0 0 0 0 0 0                                                                                                                                                       ",
+"                                                                                                                                                            0 {.v./ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . o.C 2+0 0 0 0 0 0 0 0 0                                                                                                                                                           ",
+"                                                                                                                                                              0 0 G | = . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.W o 0 0 0 0 0 0 0 0 0                                                                                                                                                               ",
+"                                                                                                                                                                  0 0 B L <.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = ^ 3+0 0 0 0 0 0 0 0 0 0                                                                                                                                                                   ",
+"                                                                                                                                                                      0 0 J n 0.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # 9.4+3.0 0 0 0 0 0 0 0 0                                                                                                                                                                         ",
+"                                                                                                                                                                        0 0 0 0 '.:+& . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ ! S O 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                             ",
+"                                                                                                                                                                            0 0 0 0 J.c > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ T.4+++0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                   ",
+"                                                                                                                                                                                  0 0 0 0 9 5+0.#.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m ( ` %.0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                       ",
+"                                                                                                                                                                                      0 0 0 0 0 |.K.:  .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y T.$.p G 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                             ",
+"                                                                                                                                                                                          0 0 0 0 0 0 ,./.} E.y.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ; U.=.h e.0 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                   ",
+"                                                                                                                                                                                                0 0 0 0 0 0 0 0 O n 1 _ f.. . . . . . . . . . . . . . . . . . . . . . . . . . . m.Z 1+| r..+0 0 0 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                         ",
+"                                                                                                                                                                                                      0 0 0 0 0 0 0 0 0 0 U ~+t.5+n.c.1+0.).3 5 . # '  .V ~.<.q.>.6 L.6+c 7+>+B 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                               ",
+"                                                                                                                                                                                                              0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 i 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                       ",
+"                                                                                                                                                                                                                      0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                               ",
+"                                                                                                                                                                                                                                0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                             ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
+"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                "};
diff --git a/ide/plugins/org.argeo.slc.ide.branding/org.argeo.slc.ide.product b/ide/plugins/org.argeo.slc.ide.branding/org.argeo.slc.ide.product
new file mode 100644 (file)
index 0000000..eef57c6
--- /dev/null
@@ -0,0 +1,833 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?pde version="3.5"?>
+
+<product name="Argeo SLC IDE" uid="org.argeo.slc.ide" id="org.argeo.slc.ide.branding.product" application="org.eclipse.ui.ide.workbench" version="0.12.1.D20100107_1317" useFeatures="false" includeLaunchers="true">
+
+   <aboutInfo>
+      <image path="eclipse_lg.gif"/>
+      <text>
+         %productBlurb
+      </text>
+   </aboutInfo>
+
+   <configIni use="default">
+   </configIni>
+
+   <launcherArgs>
+      <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
+   </launcherArgs>
+
+   <windowImages i16="/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png" i32="/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png" i48="/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png" i64="/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png" i128="/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png"/>
+
+   <splash
+      location="org.argeo.slc.ide.branding"
+      startupProgressRect="0,280,455,15"
+      startupMessageRect="7,220,441,20"
+      startupForegroundColor="0066D0" />
+   <launcher name="ArgeoSLC">
+      <linux icon="/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.xpm"/>
+      <solaris/>
+      <win useIco="false">
+         <bmp/>
+      </win>
+   </launcher>
+
+   <vm>
+      <linux>org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6</linux>
+   </vm>
+
+   <license>
+        <url>http://www.eclipse.org/legal/epl-v10.html</url>
+        <text>
+   Eclipse Public License - v 1.0
+
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT&apos;S ACCEPTANCE OF THIS AGREEMENT.
+
+1. DEFINITIONS
+
+&quot;Contribution&quot; means:
+
+a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and
+
+b) in the case of each subsequent Contributor:
+
+i) changes to the Program, and
+
+ii) additions to the Program;
+
+where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution &apos;originates&apos; from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor&apos;s behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
+
+&quot;Contributor&quot; means any person or entity that distributes the Program.
+
+&quot;Licensed Patents&quot; mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
+
+&quot;Program&quot; means the Contributions distributed in accordance with this Agreement.
+
+&quot;Recipient&quot; means anyone who receives the Program under this Agreement, including all Contributors.
+
+2. GRANT OF RIGHTS
+
+a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
+
+b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
+
+c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient&apos;s responsibility to acquire that license before distributing the Program.
+
+d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
+
+3. REQUIREMENTS
+
+A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
+
+a) it complies with the terms and conditions of this Agreement; and
+
+b) its license agreement:
+
+i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
+
+ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
+
+iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
+
+iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
+
+When the Program is made available in source code form:
+
+a) it must be made available under this Agreement; and
+
+b) a copy of this Agreement must be included with each copy of the Program.
+
+Contributors may not remove or alter any copyright notices contained within the Program.
+
+Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
+
+4. COMMERCIAL DISTRIBUTION
+
+Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor (&quot;Commercial Contributor&quot;) hereby agrees to defend and indemnify every other Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
+
+For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor&apos;s responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
+
+5. NO WARRANTY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
+
+6. DISCLAIMER OF LIABILITY
+
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
+
+7. GENERAL
+
+If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
+
+If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient&apos;s patent(s), then such Recipient&apos;s rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
+
+All Recipient&apos;s rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient&apos;s rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient&apos;s obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
+
+Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
+
+This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
+         </text>
+   </license>
+
+   <plugins>
+      <plugin id="com.collabnet.subversion.merge"/>
+      <plugin id="com.ibm.icu"/>
+      <plugin id="com.jcraft.jsch"/>
+      <plugin id="com.sun.jna"/>
+      <plugin id="java_cup.runtime"/>
+      <plugin id="javax.activation"/>
+      <plugin id="javax.mail"/>
+      <plugin id="javax.servlet"/>
+      <plugin id="javax.servlet.jsp"/>
+      <plugin id="javax.wsdl"/>
+      <plugin id="javax.xml"/>
+      <plugin id="javax.xml.rpc"/>
+      <plugin id="javax.xml.soap"/>
+      <plugin id="net.sourceforge.lpg.lpgjavaruntime"/>
+      <plugin id="org.apache.ant"/>
+      <plugin id="org.apache.axis"/>
+      <plugin id="org.apache.batik.bridge"/>
+      <plugin id="org.apache.batik.css"/>
+      <plugin id="org.apache.batik.dom"/>
+      <plugin id="org.apache.batik.dom.svg"/>
+      <plugin id="org.apache.batik.ext.awt"/>
+      <plugin id="org.apache.batik.parser"/>
+      <plugin id="org.apache.batik.pdf"/>
+      <plugin id="org.apache.batik.svggen"/>
+      <plugin id="org.apache.batik.transcoder"/>
+      <plugin id="org.apache.batik.util"/>
+      <plugin id="org.apache.batik.util.gui"/>
+      <plugin id="org.apache.batik.xml"/>
+      <plugin id="org.apache.bcel"/>
+      <plugin id="org.apache.commons.codec"/>
+      <plugin id="org.apache.commons.discovery"/>
+      <plugin id="org.apache.commons.el"/>
+      <plugin id="org.apache.commons.httpclient"/>
+      <plugin id="org.apache.commons.jxpath"/>
+      <plugin id="org.apache.commons.lang"/>
+      <plugin id="org.apache.commons.logging"/>
+      <plugin id="org.apache.commons.net"/>
+      <plugin id="org.apache.jasper"/>
+      <plugin id="org.apache.log4j"/>
+      <plugin id="org.apache.lucene"/>
+      <plugin id="org.apache.lucene.analysis"/>
+      <plugin id="org.apache.wsil4j"/>
+      <plugin id="org.apache.xalan"/>
+      <plugin id="org.apache.xerces"/>
+      <plugin id="org.apache.xml.resolver"/>
+      <plugin id="org.apache.xml.serializer"/>
+      <plugin id="org.argeo.slc.ide.branding"/>
+      <plugin id="org.argeo.slc.ide.ui"/>
+      <plugin id="org.eclipse.ant.core"/>
+      <plugin id="org.eclipse.ant.ui"/>
+      <plugin id="org.eclipse.compare"/>
+      <plugin id="org.eclipse.compare.core"/>
+      <plugin id="org.eclipse.compare.win32"/>
+      <plugin id="org.eclipse.core.boot"/>
+      <plugin id="org.eclipse.core.commands"/>
+      <plugin id="org.eclipse.core.contenttype"/>
+      <plugin id="org.eclipse.core.databinding"/>
+      <plugin id="org.eclipse.core.databinding.beans"/>
+      <plugin id="org.eclipse.core.databinding.observable"/>
+      <plugin id="org.eclipse.core.databinding.property"/>
+      <plugin id="org.eclipse.core.expressions"/>
+      <plugin id="org.eclipse.core.filebuffers"/>
+      <plugin id="org.eclipse.core.filesystem"/>
+      <plugin id="org.eclipse.core.filesystem.hpux.PA_RISC" fragment="true"/>
+      <plugin id="org.eclipse.core.filesystem.hpux.ia64_32" fragment="true"/>
+      <plugin id="org.eclipse.core.filesystem.linux.ppc" fragment="true"/>
+      <plugin id="org.eclipse.core.filesystem.linux.x86" fragment="true"/>
+      <plugin id="org.eclipse.core.filesystem.macosx" fragment="true"/>
+      <plugin id="org.eclipse.core.filesystem.qnx.x86" fragment="true"/>
+      <plugin id="org.eclipse.core.filesystem.solaris.sparc" fragment="true"/>
+      <plugin id="org.eclipse.core.filesystem.win32.x86" fragment="true"/>
+      <plugin id="org.eclipse.core.filesystem.win32.x86_64" fragment="true"/>
+      <plugin id="org.eclipse.core.jobs"/>
+      <plugin id="org.eclipse.core.net"/>
+      <plugin id="org.eclipse.core.net.linux.x86" fragment="true"/>
+      <plugin id="org.eclipse.core.net.win32.x86" fragment="true"/>
+      <plugin id="org.eclipse.core.net.win32.x86_64" fragment="true"/>
+      <plugin id="org.eclipse.core.resources"/>
+      <plugin id="org.eclipse.core.resources.compatibility" fragment="true"/>
+      <plugin id="org.eclipse.core.resources.win32.x86" fragment="true"/>
+      <plugin id="org.eclipse.core.runtime"/>
+      <plugin id="org.eclipse.core.runtime.compatibility"/>
+      <plugin id="org.eclipse.core.runtime.compatibility.auth"/>
+      <plugin id="org.eclipse.core.runtime.compatibility.registry" fragment="true"/>
+      <plugin id="org.eclipse.core.variables"/>
+      <plugin id="org.eclipse.cvs"/>
+      <plugin id="org.eclipse.debug.core"/>
+      <plugin id="org.eclipse.debug.ui"/>
+      <plugin id="org.eclipse.draw2d"/>
+      <plugin id="org.eclipse.dstore.core"/>
+      <plugin id="org.eclipse.dstore.extra"/>
+      <plugin id="org.eclipse.ecf"/>
+      <plugin id="org.eclipse.ecf.filetransfer"/>
+      <plugin id="org.eclipse.ecf.identity"/>
+      <plugin id="org.eclipse.ecf.provider.filetransfer"/>
+      <plugin id="org.eclipse.ecf.provider.filetransfer.httpclient"/>
+      <plugin id="org.eclipse.ecf.provider.filetransfer.httpclient.ssl" fragment="true"/>
+      <plugin id="org.eclipse.ecf.provider.filetransfer.ssl" fragment="true"/>
+      <plugin id="org.eclipse.ecf.ssl" fragment="true"/>
+      <plugin id="org.eclipse.emf"/>
+      <plugin id="org.eclipse.emf.ant"/>
+      <plugin id="org.eclipse.emf.cheatsheets"/>
+      <plugin id="org.eclipse.emf.codegen"/>
+      <plugin id="org.eclipse.emf.codegen.ecore"/>
+      <plugin id="org.eclipse.emf.codegen.ecore.ui"/>
+      <plugin id="org.eclipse.emf.codegen.ui"/>
+      <plugin id="org.eclipse.emf.common"/>
+      <plugin id="org.eclipse.emf.common.ui"/>
+      <plugin id="org.eclipse.emf.compare"/>
+      <plugin id="org.eclipse.emf.compare.diff"/>
+      <plugin id="org.eclipse.emf.compare.diff.edit"/>
+      <plugin id="org.eclipse.emf.compare.doc"/>
+      <plugin id="org.eclipse.emf.compare.epatch"/>
+      <plugin id="org.eclipse.emf.compare.match"/>
+      <plugin id="org.eclipse.emf.compare.ui"/>
+      <plugin id="org.eclipse.emf.converter"/>
+      <plugin id="org.eclipse.emf.databinding"/>
+      <plugin id="org.eclipse.emf.databinding.edit"/>
+      <plugin id="org.eclipse.emf.doc"/>
+      <plugin id="org.eclipse.emf.ecore"/>
+      <plugin id="org.eclipse.emf.ecore.change"/>
+      <plugin id="org.eclipse.emf.ecore.change.edit"/>
+      <plugin id="org.eclipse.emf.ecore.edit"/>
+      <plugin id="org.eclipse.emf.ecore.editor"/>
+      <plugin id="org.eclipse.emf.ecore.xmi"/>
+      <plugin id="org.eclipse.emf.edit"/>
+      <plugin id="org.eclipse.emf.edit.ui"/>
+      <plugin id="org.eclipse.emf.example.installer"/>
+      <plugin id="org.eclipse.emf.exporter"/>
+      <plugin id="org.eclipse.emf.importer"/>
+      <plugin id="org.eclipse.emf.importer.ecore"/>
+      <plugin id="org.eclipse.emf.importer.java"/>
+      <plugin id="org.eclipse.emf.importer.rose"/>
+      <plugin id="org.eclipse.emf.mapping"/>
+      <plugin id="org.eclipse.emf.mapping.ecore"/>
+      <plugin id="org.eclipse.emf.mapping.ecore.editor"/>
+      <plugin id="org.eclipse.emf.mapping.ecore2ecore"/>
+      <plugin id="org.eclipse.emf.mapping.ecore2ecore.editor"/>
+      <plugin id="org.eclipse.emf.mapping.ecore2xml"/>
+      <plugin id="org.eclipse.emf.mapping.ecore2xml.ui"/>
+      <plugin id="org.eclipse.emf.mapping.ui"/>
+      <plugin id="org.eclipse.emf.mapping.xsd2ecore"/>
+      <plugin id="org.eclipse.emf.mapping.xsd2ecore.editor"/>
+      <plugin id="org.eclipse.emf.transaction"/>
+      <plugin id="org.eclipse.emf.transaction.ui"/>
+      <plugin id="org.eclipse.emf.validation"/>
+      <plugin id="org.eclipse.emf.validation.ui"/>
+      <plugin id="org.eclipse.emf.validation.ui.ide"/>
+      <plugin id="org.eclipse.emf.workspace"/>
+      <plugin id="org.eclipse.emf.workspace.ui"/>
+      <plugin id="org.eclipse.equinox.app"/>
+      <plugin id="org.eclipse.equinox.cm"/>
+      <plugin id="org.eclipse.equinox.common"/>
+      <plugin id="org.eclipse.equinox.concurrent"/>
+      <plugin id="org.eclipse.equinox.device"/>
+      <plugin id="org.eclipse.equinox.ds"/>
+      <plugin id="org.eclipse.equinox.event"/>
+      <plugin id="org.eclipse.equinox.frameworkadmin"/>
+      <plugin id="org.eclipse.equinox.frameworkadmin.equinox"/>
+      <plugin id="org.eclipse.equinox.http"/>
+      <plugin id="org.eclipse.equinox.http.jetty"/>
+      <plugin id="org.eclipse.equinox.http.registry"/>
+      <plugin id="org.eclipse.equinox.http.servlet"/>
+      <plugin id="org.eclipse.equinox.http.servletbridge"/>
+      <plugin id="org.eclipse.equinox.io"/>
+      <plugin id="org.eclipse.equinox.ip"/>
+      <plugin id="org.eclipse.equinox.jsp.jasper"/>
+      <plugin id="org.eclipse.equinox.jsp.jasper.registry"/>
+      <plugin id="org.eclipse.equinox.launcher"/>
+      <plugin id="org.eclipse.equinox.launcher.carbon.macosx" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.cocoa.macosx" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.cocoa.macosx.x86_64" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.gtk.linux.ppc" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.gtk.linux.s390" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.gtk.linux.s390x" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.gtk.linux.x86" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.gtk.solaris.sparc" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.gtk.solaris.x86" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.motif.aix.ppc" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.motif.hpux.PA_RISC" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.motif.hpux.ia64_32" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.motif.linux.x86" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.motif.solaris.sparc" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.win32.win32.x86" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.win32.win32.x86_64" fragment="true"/>
+      <plugin id="org.eclipse.equinox.launcher.wpf.win32.x86" fragment="true"/>
+      <plugin id="org.eclipse.equinox.log"/>
+      <plugin id="org.eclipse.equinox.metatype"/>
+      <plugin id="org.eclipse.equinox.p2.artifact.repository"/>
+      <plugin id="org.eclipse.equinox.p2.console"/>
+      <plugin id="org.eclipse.equinox.p2.core"/>
+      <plugin id="org.eclipse.equinox.p2.director"/>
+      <plugin id="org.eclipse.equinox.p2.director.app"/>
+      <plugin id="org.eclipse.equinox.p2.directorywatcher"/>
+      <plugin id="org.eclipse.equinox.p2.engine"/>
+      <plugin id="org.eclipse.equinox.p2.exemplarysetup"/>
+      <plugin id="org.eclipse.equinox.p2.extensionlocation"/>
+      <plugin id="org.eclipse.equinox.p2.garbagecollector"/>
+      <plugin id="org.eclipse.equinox.p2.installer"/>
+      <plugin id="org.eclipse.equinox.p2.jarprocessor"/>
+      <plugin id="org.eclipse.equinox.p2.metadata"/>
+      <plugin id="org.eclipse.equinox.p2.metadata.generator"/>
+      <plugin id="org.eclipse.equinox.p2.metadata.repository"/>
+      <plugin id="org.eclipse.equinox.p2.publisher"/>
+      <plugin id="org.eclipse.equinox.p2.reconciler.dropins"/>
+      <plugin id="org.eclipse.equinox.p2.repository"/>
+      <plugin id="org.eclipse.equinox.p2.repository.tools"/>
+      <plugin id="org.eclipse.equinox.p2.tools"/>
+      <plugin id="org.eclipse.equinox.p2.touchpoint.eclipse"/>
+      <plugin id="org.eclipse.equinox.p2.touchpoint.natives"/>
+      <plugin id="org.eclipse.equinox.p2.ui"/>
+      <plugin id="org.eclipse.equinox.p2.ui.admin"/>
+      <plugin id="org.eclipse.equinox.p2.ui.admin.rcp"/>
+      <plugin id="org.eclipse.equinox.p2.ui.sdk"/>
+      <plugin id="org.eclipse.equinox.p2.ui.sdk.scheduler"/>
+      <plugin id="org.eclipse.equinox.p2.updatechecker"/>
+      <plugin id="org.eclipse.equinox.p2.updatesite"/>
+      <plugin id="org.eclipse.equinox.preferences"/>
+      <plugin id="org.eclipse.equinox.registry"/>
+      <plugin id="org.eclipse.equinox.security"/>
+      <plugin id="org.eclipse.equinox.security.macosx" fragment="true"/>
+      <plugin id="org.eclipse.equinox.security.ui"/>
+      <plugin id="org.eclipse.equinox.security.win32.x86" fragment="true"/>
+      <plugin id="org.eclipse.equinox.servletbridge"/>
+      <plugin id="org.eclipse.equinox.simpleconfigurator"/>
+      <plugin id="org.eclipse.equinox.simpleconfigurator.manipulator"/>
+      <plugin id="org.eclipse.equinox.supplement"/>
+      <plugin id="org.eclipse.equinox.transforms.hook" fragment="true"/>
+      <plugin id="org.eclipse.equinox.transforms.xslt"/>
+      <plugin id="org.eclipse.equinox.useradmin"/>
+      <plugin id="org.eclipse.equinox.util"/>
+      <plugin id="org.eclipse.equinox.wireadmin"/>
+      <plugin id="org.eclipse.gef"/>
+      <plugin id="org.eclipse.gmf"/>
+      <plugin id="org.eclipse.gmf.bridge"/>
+      <plugin id="org.eclipse.gmf.bridge.trace"/>
+      <plugin id="org.eclipse.gmf.bridge.ui"/>
+      <plugin id="org.eclipse.gmf.bridge.ui.dashboard"/>
+      <plugin id="org.eclipse.gmf.codegen"/>
+      <plugin id="org.eclipse.gmf.codegen.edit"/>
+      <plugin id="org.eclipse.gmf.codegen.ui"/>
+      <plugin id="org.eclipse.gmf.common"/>
+      <plugin id="org.eclipse.gmf.doc"/>
+      <plugin id="org.eclipse.gmf.doc.ui"/>
+      <plugin id="org.eclipse.gmf.ecore.editor"/>
+      <plugin id="org.eclipse.gmf.examples"/>
+      <plugin id="org.eclipse.gmf.examples.ui.pde"/>
+      <plugin id="org.eclipse.gmf.graphdef"/>
+      <plugin id="org.eclipse.gmf.graphdef.codegen"/>
+      <plugin id="org.eclipse.gmf.graphdef.codegen.ui"/>
+      <plugin id="org.eclipse.gmf.graphdef.edit"/>
+      <plugin id="org.eclipse.gmf.map"/>
+      <plugin id="org.eclipse.gmf.map.edit"/>
+      <plugin id="org.eclipse.gmf.runtime.common.core"/>
+      <plugin id="org.eclipse.gmf.runtime.common.ui"/>
+      <plugin id="org.eclipse.gmf.runtime.common.ui.action"/>
+      <plugin id="org.eclipse.gmf.runtime.common.ui.action.ide"/>
+      <plugin id="org.eclipse.gmf.runtime.common.ui.printing"/>
+      <plugin id="org.eclipse.gmf.runtime.common.ui.printing.win32" fragment="true"/>
+      <plugin id="org.eclipse.gmf.runtime.common.ui.services"/>
+      <plugin id="org.eclipse.gmf.runtime.common.ui.services.action"/>
+      <plugin id="org.eclipse.gmf.runtime.common.ui.services.dnd"/>
+      <plugin id="org.eclipse.gmf.runtime.common.ui.services.dnd.ide"/>
+      <plugin id="org.eclipse.gmf.runtime.common.ui.services.properties"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.core"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.ui"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.ui.actions"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.ui.dnd"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.ui.geoshapes"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.ui.printing"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.ui.printing.render"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.ui.properties"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.ui.providers"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.ui.providers.ide"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.ui.render"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.ui.resources.editor"/>
+      <plugin id="org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide"/>
+      <plugin id="org.eclipse.gmf.runtime.draw2d.ui"/>
+      <plugin id="org.eclipse.gmf.runtime.draw2d.ui.render"/>
+      <plugin id="org.eclipse.gmf.runtime.draw2d.ui.render.awt"/>
+      <plugin id="org.eclipse.gmf.runtime.emf.clipboard.core"/>
+      <plugin id="org.eclipse.gmf.runtime.emf.commands.core"/>
+      <plugin id="org.eclipse.gmf.runtime.emf.core"/>
+      <plugin id="org.eclipse.gmf.runtime.emf.type.core"/>
+      <plugin id="org.eclipse.gmf.runtime.emf.type.ui"/>
+      <plugin id="org.eclipse.gmf.runtime.emf.ui"/>
+      <plugin id="org.eclipse.gmf.runtime.emf.ui.properties"/>
+      <plugin id="org.eclipse.gmf.runtime.gef.ui"/>
+      <plugin id="org.eclipse.gmf.runtime.notation"/>
+      <plugin id="org.eclipse.gmf.runtime.notation.edit"/>
+      <plugin id="org.eclipse.gmf.runtime.notation.providers"/>
+      <plugin id="org.eclipse.gmf.sdk"/>
+      <plugin id="org.eclipse.gmf.templates.legacy"/>
+      <plugin id="org.eclipse.gmf.tooldef"/>
+      <plugin id="org.eclipse.gmf.tooldef.edit"/>
+      <plugin id="org.eclipse.gmf.tooling"/>
+      <plugin id="org.eclipse.gmf.validate"/>
+      <plugin id="org.eclipse.gmf.xpand"/>
+      <plugin id="org.eclipse.gmf.xpand.editor"/>
+      <plugin id="org.eclipse.gmf.xpand.migration"/>
+      <plugin id="org.eclipse.gmf.xpand.qvtlibrary"/>
+      <plugin id="org.eclipse.help"/>
+      <plugin id="org.eclipse.help.appserver"/>
+      <plugin id="org.eclipse.help.base"/>
+      <plugin id="org.eclipse.help.ui"/>
+      <plugin id="org.eclipse.help.webapp"/>
+      <plugin id="org.eclipse.jdt"/>
+      <plugin id="org.eclipse.jdt.apt.core"/>
+      <plugin id="org.eclipse.jdt.apt.pluggable.core"/>
+      <plugin id="org.eclipse.jdt.apt.ui"/>
+      <plugin id="org.eclipse.jdt.compiler.apt" fragment="true"/>
+      <plugin id="org.eclipse.jdt.compiler.tool" fragment="true"/>
+      <plugin id="org.eclipse.jdt.core"/>
+      <plugin id="org.eclipse.jdt.core.manipulation"/>
+      <plugin id="org.eclipse.jdt.debug"/>
+      <plugin id="org.eclipse.jdt.debug.ui"/>
+      <plugin id="org.eclipse.jdt.doc.user"/>
+      <plugin id="org.eclipse.jdt.junit"/>
+      <plugin id="org.eclipse.jdt.junit.runtime"/>
+      <plugin id="org.eclipse.jdt.junit4.runtime"/>
+      <plugin id="org.eclipse.jdt.launching"/>
+      <plugin id="org.eclipse.jdt.launching.macosx"/>
+      <plugin id="org.eclipse.jdt.launching.ui.macosx"/>
+      <plugin id="org.eclipse.jdt.ui"/>
+      <plugin id="org.eclipse.jem"/>
+      <plugin id="org.eclipse.jem.beaninfo"/>
+      <plugin id="org.eclipse.jem.beaninfo.vm"/>
+      <plugin id="org.eclipse.jem.beaninfo.vm.common"/>
+      <plugin id="org.eclipse.jem.proxy"/>
+      <plugin id="org.eclipse.jem.util"/>
+      <plugin id="org.eclipse.jem.workbench"/>
+      <plugin id="org.eclipse.jface"/>
+      <plugin id="org.eclipse.jface.databinding"/>
+      <plugin id="org.eclipse.jface.text"/>
+      <plugin id="org.eclipse.jsch.core"/>
+      <plugin id="org.eclipse.jsch.ui"/>
+      <plugin id="org.eclipse.jst.common.annotations.controller"/>
+      <plugin id="org.eclipse.jst.common.annotations.core"/>
+      <plugin id="org.eclipse.jst.common.annotations.ui"/>
+      <plugin id="org.eclipse.jst.common.frameworks"/>
+      <plugin id="org.eclipse.jst.common.project.facet.core"/>
+      <plugin id="org.eclipse.jst.common.project.facet.ui"/>
+      <plugin id="org.eclipse.jst.j2ee"/>
+      <plugin id="org.eclipse.jst.j2ee.core"/>
+      <plugin id="org.eclipse.jst.j2ee.jca"/>
+      <plugin id="org.eclipse.jst.j2ee.web"/>
+      <plugin id="org.eclipse.jst.jee"/>
+      <plugin id="org.eclipse.jst.jee.web"/>
+      <plugin id="org.eclipse.jst.jsf.common"/>
+      <plugin id="org.eclipse.jst.jsf.common.runtime"/>
+      <plugin id="org.eclipse.jst.jsf.common.ui"/>
+      <plugin id="org.eclipse.jst.jsf.core"/>
+      <plugin id="org.eclipse.jst.jsf.doc.user"/>
+      <plugin id="org.eclipse.jst.jsf.facesconfig"/>
+      <plugin id="org.eclipse.jst.jsf.facesconfig.ui"/>
+      <plugin id="org.eclipse.jst.jsf.standard.tagsupport"/>
+      <plugin id="org.eclipse.jst.jsf.ui"/>
+      <plugin id="org.eclipse.jst.jsp.core"/>
+      <plugin id="org.eclipse.jst.jsp.ui"/>
+      <plugin id="org.eclipse.jst.jsp.ui.infopop"/>
+      <plugin id="org.eclipse.jst.server.core"/>
+      <plugin id="org.eclipse.jst.server.generic.core"/>
+      <plugin id="org.eclipse.jst.server.generic.ui"/>
+      <plugin id="org.eclipse.jst.server.ui"/>
+      <plugin id="org.eclipse.jst.server.ui.doc.user"/>
+      <plugin id="org.eclipse.jst.server.ui.infopop"/>
+      <plugin id="org.eclipse.jst.standard.schemas"/>
+      <plugin id="org.eclipse.ltk.core.refactoring"/>
+      <plugin id="org.eclipse.ltk.ui.refactoring"/>
+      <plugin id="org.eclipse.m2m.qvt.oml"/>
+      <plugin id="org.eclipse.m2m.qvt.oml.common"/>
+      <plugin id="org.eclipse.m2m.qvt.oml.cst.parser"/>
+      <plugin id="org.eclipse.m2m.qvt.oml.ecore.imperativeocl"/>
+      <plugin id="org.eclipse.m2m.qvt.oml.emf.util"/>
+      <plugin id="org.eclipse.m2m.qvt.oml.project"/>
+      <plugin id="org.eclipse.m2m.qvt.oml.runtime"/>
+      <plugin id="org.eclipse.mylyn"/>
+      <plugin id="org.eclipse.mylyn.bugzilla.core"/>
+      <plugin id="org.eclipse.mylyn.bugzilla.ide"/>
+      <plugin id="org.eclipse.mylyn.bugzilla.ui"/>
+      <plugin id="org.eclipse.mylyn.commons.core"/>
+      <plugin id="org.eclipse.mylyn.commons.net"/>
+      <plugin id="org.eclipse.mylyn.commons.ui"/>
+      <plugin id="org.eclipse.mylyn.compatibility"/>
+      <plugin id="org.eclipse.mylyn.context.core"/>
+      <plugin id="org.eclipse.mylyn.context.ui"/>
+      <plugin id="org.eclipse.mylyn.discovery.core"/>
+      <plugin id="org.eclipse.mylyn.discovery.ui"/>
+      <plugin id="org.eclipse.mylyn.help.ui"/>
+      <plugin id="org.eclipse.mylyn.ide.ant"/>
+      <plugin id="org.eclipse.mylyn.ide.ui"/>
+      <plugin id="org.eclipse.mylyn.java.tasks"/>
+      <plugin id="org.eclipse.mylyn.java.ui"/>
+      <plugin id="org.eclipse.mylyn.monitor.core"/>
+      <plugin id="org.eclipse.mylyn.monitor.ui"/>
+      <plugin id="org.eclipse.mylyn.pde.ui"/>
+      <plugin id="org.eclipse.mylyn.resources.ui"/>
+      <plugin id="org.eclipse.mylyn.tasks.bugs"/>
+      <plugin id="org.eclipse.mylyn.tasks.core"/>
+      <plugin id="org.eclipse.mylyn.tasks.ui"/>
+      <plugin id="org.eclipse.mylyn.team.cvs"/>
+      <plugin id="org.eclipse.mylyn.team.ui"/>
+      <plugin id="org.eclipse.mylyn.wikitext.confluence.core"/>
+      <plugin id="org.eclipse.mylyn.wikitext.confluence.ui"/>
+      <plugin id="org.eclipse.mylyn.wikitext.core"/>
+      <plugin id="org.eclipse.mylyn.wikitext.help.ui"/>
+      <plugin id="org.eclipse.mylyn.wikitext.mediawiki.core"/>
+      <plugin id="org.eclipse.mylyn.wikitext.mediawiki.ui"/>
+      <plugin id="org.eclipse.mylyn.wikitext.tasks.ui"/>
+      <plugin id="org.eclipse.mylyn.wikitext.textile.core"/>
+      <plugin id="org.eclipse.mylyn.wikitext.textile.ui"/>
+      <plugin id="org.eclipse.mylyn.wikitext.tracwiki.core"/>
+      <plugin id="org.eclipse.mylyn.wikitext.tracwiki.ui"/>
+      <plugin id="org.eclipse.mylyn.wikitext.twiki.core"/>
+      <plugin id="org.eclipse.mylyn.wikitext.twiki.ui"/>
+      <plugin id="org.eclipse.mylyn.wikitext.ui"/>
+      <plugin id="org.eclipse.ocl"/>
+      <plugin id="org.eclipse.ocl.ecore"/>
+      <plugin id="org.eclipse.osgi"/>
+      <plugin id="org.eclipse.osgi.services"/>
+      <plugin id="org.eclipse.osgi.util"/>
+      <plugin id="org.eclipse.pde"/>
+      <plugin id="org.eclipse.pde.api.tools"/>
+      <plugin id="org.eclipse.pde.api.tools.ui"/>
+      <plugin id="org.eclipse.pde.build"/>
+      <plugin id="org.eclipse.pde.core"/>
+      <plugin id="org.eclipse.pde.doc.user"/>
+      <plugin id="org.eclipse.pde.ds.core"/>
+      <plugin id="org.eclipse.pde.ds.ui"/>
+      <plugin id="org.eclipse.pde.junit.runtime"/>
+      <plugin id="org.eclipse.pde.runtime"/>
+      <plugin id="org.eclipse.pde.ua.core"/>
+      <plugin id="org.eclipse.pde.ua.ui"/>
+      <plugin id="org.eclipse.pde.ui"/>
+      <plugin id="org.eclipse.pde.ui.templates"/>
+      <plugin id="org.eclipse.platform"/>
+      <plugin id="org.eclipse.platform.doc.user"/>
+      <plugin id="org.eclipse.rcp"/>
+      <plugin id="org.eclipse.rse"/>
+      <plugin id="org.eclipse.rse.connectorservice.dstore"/>
+      <plugin id="org.eclipse.rse.connectorservice.local"/>
+      <plugin id="org.eclipse.rse.connectorservice.ssh"/>
+      <plugin id="org.eclipse.rse.connectorservice.telnet"/>
+      <plugin id="org.eclipse.rse.core"/>
+      <plugin id="org.eclipse.rse.doc.user"/>
+      <plugin id="org.eclipse.rse.dstore.security"/>
+      <plugin id="org.eclipse.rse.efs"/>
+      <plugin id="org.eclipse.rse.efs.ui"/>
+      <plugin id="org.eclipse.rse.files.ui"/>
+      <plugin id="org.eclipse.rse.importexport"/>
+      <plugin id="org.eclipse.rse.processes.ui"/>
+      <plugin id="org.eclipse.rse.services"/>
+      <plugin id="org.eclipse.rse.services.dstore"/>
+      <plugin id="org.eclipse.rse.services.files.ftp"/>
+      <plugin id="org.eclipse.rse.services.local"/>
+      <plugin id="org.eclipse.rse.services.ssh"/>
+      <plugin id="org.eclipse.rse.services.telnet"/>
+      <plugin id="org.eclipse.rse.shells.ui"/>
+      <plugin id="org.eclipse.rse.subsystems.files.core"/>
+      <plugin id="org.eclipse.rse.subsystems.files.dstore"/>
+      <plugin id="org.eclipse.rse.subsystems.files.ftp"/>
+      <plugin id="org.eclipse.rse.subsystems.files.local"/>
+      <plugin id="org.eclipse.rse.subsystems.files.ssh"/>
+      <plugin id="org.eclipse.rse.subsystems.processes.core"/>
+      <plugin id="org.eclipse.rse.subsystems.processes.dstore"/>
+      <plugin id="org.eclipse.rse.subsystems.processes.local"/>
+      <plugin id="org.eclipse.rse.subsystems.processes.shell.linux"/>
+      <plugin id="org.eclipse.rse.subsystems.shells.core"/>
+      <plugin id="org.eclipse.rse.subsystems.shells.dstore"/>
+      <plugin id="org.eclipse.rse.subsystems.shells.local"/>
+      <plugin id="org.eclipse.rse.subsystems.shells.ssh"/>
+      <plugin id="org.eclipse.rse.subsystems.shells.telnet"/>
+      <plugin id="org.eclipse.rse.subsystems.terminals.core"/>
+      <plugin id="org.eclipse.rse.subsystems.terminals.ssh"/>
+      <plugin id="org.eclipse.rse.terminals.ui"/>
+      <plugin id="org.eclipse.rse.ui"/>
+      <plugin id="org.eclipse.search"/>
+      <plugin id="org.eclipse.swt"/>
+      <plugin id="org.eclipse.swt.carbon.macosx" fragment="true"/>
+      <plugin id="org.eclipse.swt.cocoa.macosx" fragment="true"/>
+      <plugin id="org.eclipse.swt.cocoa.macosx.x86_64" fragment="true"/>
+      <plugin id="org.eclipse.swt.gtk.linux.ppc" fragment="true"/>
+      <plugin id="org.eclipse.swt.gtk.linux.s390" fragment="true"/>
+      <plugin id="org.eclipse.swt.gtk.linux.s390x" fragment="true"/>
+      <plugin id="org.eclipse.swt.gtk.linux.x86" fragment="true"/>
+      <plugin id="org.eclipse.swt.gtk.solaris.sparc" fragment="true"/>
+      <plugin id="org.eclipse.swt.gtk.solaris.x86" fragment="true"/>
+      <plugin id="org.eclipse.swt.motif.aix.ppc" fragment="true"/>
+      <plugin id="org.eclipse.swt.motif.hpux.PA_RISC" fragment="true"/>
+      <plugin id="org.eclipse.swt.motif.hpux.ia64_32" fragment="true"/>
+      <plugin id="org.eclipse.swt.motif.linux.x86" fragment="true"/>
+      <plugin id="org.eclipse.swt.motif.solaris.sparc" fragment="true"/>
+      <plugin id="org.eclipse.swt.photon.qnx.x86" fragment="true"/>
+      <plugin id="org.eclipse.swt.win32.win32.x86" fragment="true"/>
+      <plugin id="org.eclipse.swt.win32.win32.x86_64" fragment="true"/>
+      <plugin id="org.eclipse.swt.wpf.win32.x86" fragment="true"/>
+      <plugin id="org.eclipse.team.core"/>
+      <plugin id="org.eclipse.team.cvs.core"/>
+      <plugin id="org.eclipse.team.cvs.ssh"/>
+      <plugin id="org.eclipse.team.cvs.ssh2"/>
+      <plugin id="org.eclipse.team.cvs.ui"/>
+      <plugin id="org.eclipse.team.ui"/>
+      <plugin id="org.eclipse.text"/>
+      <plugin id="org.eclipse.tm.terminal"/>
+      <plugin id="org.eclipse.tm.terminal.serial"/>
+      <plugin id="org.eclipse.tm.terminal.ssh"/>
+      <plugin id="org.eclipse.tm.terminal.telnet"/>
+      <plugin id="org.eclipse.tm.terminal.view"/>
+      <plugin id="org.eclipse.ui"/>
+      <plugin id="org.eclipse.ui.browser"/>
+      <plugin id="org.eclipse.ui.carbon" fragment="true"/>
+      <plugin id="org.eclipse.ui.cheatsheets"/>
+      <plugin id="org.eclipse.ui.cocoa" fragment="true"/>
+      <plugin id="org.eclipse.ui.console"/>
+      <plugin id="org.eclipse.ui.editors"/>
+      <plugin id="org.eclipse.ui.externaltools"/>
+      <plugin id="org.eclipse.ui.forms"/>
+      <plugin id="org.eclipse.ui.ide"/>
+      <plugin id="org.eclipse.ui.ide.application"/>
+      <plugin id="org.eclipse.ui.intro"/>
+      <plugin id="org.eclipse.ui.intro.universal"/>
+      <plugin id="org.eclipse.ui.navigator"/>
+      <plugin id="org.eclipse.ui.navigator.resources"/>
+      <plugin id="org.eclipse.ui.net"/>
+      <plugin id="org.eclipse.ui.presentations.r21"/>
+      <plugin id="org.eclipse.ui.views"/>
+      <plugin id="org.eclipse.ui.views.log"/>
+      <plugin id="org.eclipse.ui.views.properties.tabbed"/>
+      <plugin id="org.eclipse.ui.win32" fragment="true"/>
+      <plugin id="org.eclipse.ui.workbench"/>
+      <plugin id="org.eclipse.ui.workbench.compatibility" fragment="true"/>
+      <plugin id="org.eclipse.ui.workbench.texteditor"/>
+      <plugin id="org.eclipse.update.configurator"/>
+      <plugin id="org.eclipse.update.core"/>
+      <plugin id="org.eclipse.update.core.linux" fragment="true"/>
+      <plugin id="org.eclipse.update.core.win32" fragment="true"/>
+      <plugin id="org.eclipse.update.scheduler"/>
+      <plugin id="org.eclipse.update.ui"/>
+      <plugin id="org.eclipse.wst.command.env"/>
+      <plugin id="org.eclipse.wst.command.env.core"/>
+      <plugin id="org.eclipse.wst.command.env.doc.user"/>
+      <plugin id="org.eclipse.wst.command.env.infopop"/>
+      <plugin id="org.eclipse.wst.command.env.ui"/>
+      <plugin id="org.eclipse.wst.common.core"/>
+      <plugin id="org.eclipse.wst.common.emf"/>
+      <plugin id="org.eclipse.wst.common.emfworkbench.integration"/>
+      <plugin id="org.eclipse.wst.common.environment"/>
+      <plugin id="org.eclipse.wst.common.frameworks"/>
+      <plugin id="org.eclipse.wst.common.frameworks.ui"/>
+      <plugin id="org.eclipse.wst.common.infopop"/>
+      <plugin id="org.eclipse.wst.common.modulecore"/>
+      <plugin id="org.eclipse.wst.common.project.facet.core"/>
+      <plugin id="org.eclipse.wst.common.project.facet.ui"/>
+      <plugin id="org.eclipse.wst.common.snippets"/>
+      <plugin id="org.eclipse.wst.common.ui"/>
+      <plugin id="org.eclipse.wst.common.uriresolver"/>
+      <plugin id="org.eclipse.wst.css.core"/>
+      <plugin id="org.eclipse.wst.css.ui"/>
+      <plugin id="org.eclipse.wst.doc.user"/>
+      <plugin id="org.eclipse.wst.dtd.core"/>
+      <plugin id="org.eclipse.wst.dtd.ui"/>
+      <plugin id="org.eclipse.wst.dtd.ui.infopop"/>
+      <plugin id="org.eclipse.wst.dtdeditor.doc.user"/>
+      <plugin id="org.eclipse.wst.html.core"/>
+      <plugin id="org.eclipse.wst.html.ui"/>
+      <plugin id="org.eclipse.wst.html.ui.infopop"/>
+      <plugin id="org.eclipse.wst.internet.cache"/>
+      <plugin id="org.eclipse.wst.internet.monitor.core"/>
+      <plugin id="org.eclipse.wst.internet.monitor.ui"/>
+      <plugin id="org.eclipse.wst.jsdt.core"/>
+      <plugin id="org.eclipse.wst.jsdt.doc"/>
+      <plugin id="org.eclipse.wst.jsdt.manipulation"/>
+      <plugin id="org.eclipse.wst.jsdt.support.firefox"/>
+      <plugin id="org.eclipse.wst.jsdt.support.ie"/>
+      <plugin id="org.eclipse.wst.jsdt.ui"/>
+      <plugin id="org.eclipse.wst.jsdt.web.core"/>
+      <plugin id="org.eclipse.wst.jsdt.web.support.jsp"/>
+      <plugin id="org.eclipse.wst.jsdt.web.ui"/>
+      <plugin id="org.eclipse.wst.server.core"/>
+      <plugin id="org.eclipse.wst.server.discovery"/>
+      <plugin id="org.eclipse.wst.server.ui"/>
+      <plugin id="org.eclipse.wst.server.ui.doc.user"/>
+      <plugin id="org.eclipse.wst.server.ui.infopop"/>
+      <plugin id="org.eclipse.wst.sse.core"/>
+      <plugin id="org.eclipse.wst.sse.doc.user"/>
+      <plugin id="org.eclipse.wst.sse.ui"/>
+      <plugin id="org.eclipse.wst.sse.ui.infopop"/>
+      <plugin id="org.eclipse.wst.standard.schemas"/>
+      <plugin id="org.eclipse.wst.validation"/>
+      <plugin id="org.eclipse.wst.validation.infopop"/>
+      <plugin id="org.eclipse.wst.validation.ui"/>
+      <plugin id="org.eclipse.wst.web"/>
+      <plugin id="org.eclipse.wst.web.ui"/>
+      <plugin id="org.eclipse.wst.web.ui.infopop"/>
+      <plugin id="org.eclipse.wst.webtools.doc.user"/>
+      <plugin id="org.eclipse.wst.ws"/>
+      <plugin id="org.eclipse.wst.ws.explorer"/>
+      <plugin id="org.eclipse.wst.ws.infopop"/>
+      <plugin id="org.eclipse.wst.ws.parser"/>
+      <plugin id="org.eclipse.wst.ws.service.policy"/>
+      <plugin id="org.eclipse.wst.ws.service.policy.ui"/>
+      <plugin id="org.eclipse.wst.ws.ui"/>
+      <plugin id="org.eclipse.wst.wsdl"/>
+      <plugin id="org.eclipse.wst.wsdl.ui"/>
+      <plugin id="org.eclipse.wst.wsdl.ui.doc.user"/>
+      <plugin id="org.eclipse.wst.wsdl.validation"/>
+      <plugin id="org.eclipse.wst.wsi"/>
+      <plugin id="org.eclipse.wst.wsi.ui"/>
+      <plugin id="org.eclipse.wst.wsi.ui.doc.user"/>
+      <plugin id="org.eclipse.wst.xml.core"/>
+      <plugin id="org.eclipse.wst.xml.ui"/>
+      <plugin id="org.eclipse.wst.xml.ui.infopop"/>
+      <plugin id="org.eclipse.wst.xml.xpath.core"/>
+      <plugin id="org.eclipse.wst.xml.xpath.ui"/>
+      <plugin id="org.eclipse.wst.xml.xpath2.processor"/>
+      <plugin id="org.eclipse.wst.xmleditor.doc.user"/>
+      <plugin id="org.eclipse.wst.xsd.core"/>
+      <plugin id="org.eclipse.wst.xsd.ui"/>
+      <plugin id="org.eclipse.wst.xsdeditor.doc.user"/>
+      <plugin id="org.eclipse.wst.xsl"/>
+      <plugin id="org.eclipse.wst.xsl.core"/>
+      <plugin id="org.eclipse.wst.xsl.debug.ui"/>
+      <plugin id="org.eclipse.wst.xsl.doc"/>
+      <plugin id="org.eclipse.wst.xsl.jaxp.debug"/>
+      <plugin id="org.eclipse.wst.xsl.jaxp.debug.ui"/>
+      <plugin id="org.eclipse.wst.xsl.jaxp.launching"/>
+      <plugin id="org.eclipse.wst.xsl.launching"/>
+      <plugin id="org.eclipse.wst.xsl.saxon"/>
+      <plugin id="org.eclipse.wst.xsl.ui"/>
+      <plugin id="org.eclipse.wst.xsl.xalan"/>
+      <plugin id="org.eclipse.xsd"/>
+      <plugin id="org.eclipse.xsd.cheatsheets"/>
+      <plugin id="org.eclipse.xsd.doc"/>
+      <plugin id="org.eclipse.xsd.ecore.converter"/>
+      <plugin id="org.eclipse.xsd.ecore.exporter"/>
+      <plugin id="org.eclipse.xsd.ecore.importer"/>
+      <plugin id="org.eclipse.xsd.edit"/>
+      <plugin id="org.eclipse.xsd.editor"/>
+      <plugin id="org.eclipse.xsd.example.installer"/>
+      <plugin id="org.eclipse.xsd.mapping"/>
+      <plugin id="org.eclipse.xsd.mapping.editor"/>
+      <plugin id="org.hamcrest.core"/>
+      <plugin id="org.junit"/>
+      <plugin id="org.junit4"/>
+      <plugin id="org.mortbay.jetty.server"/>
+      <plugin id="org.mortbay.jetty.util"/>
+      <plugin id="org.objectweb.asm"/>
+      <plugin id="org.sat4j.core"/>
+      <plugin id="org.sat4j.pb"/>
+      <plugin id="org.tigris.subversion.clientadapter"/>
+      <plugin id="org.tigris.subversion.clientadapter.javahl"/>
+      <plugin id="org.tigris.subversion.clientadapter.svnkit"/>
+      <plugin id="org.tigris.subversion.subclipse.core"/>
+      <plugin id="org.tigris.subversion.subclipse.doc"/>
+      <plugin id="org.tigris.subversion.subclipse.graph"/>
+      <plugin id="org.tigris.subversion.subclipse.mylyn"/>
+      <plugin id="org.tigris.subversion.subclipse.ui"/>
+      <plugin id="org.tmatesoft.svnkit"/>
+      <plugin id="org.uddi4j"/>
+      <plugin id="org.w3c.css.sac"/>
+      <plugin id="org.w3c.dom.events"/>
+      <plugin id="org.w3c.dom.smil"/>
+      <plugin id="org.w3c.dom.svg"/>
+   </plugins>
+
+   <features>
+      <feature id="org.argeo.slc.ide" version="0.12.1.D20100107_1516"/>
+      <feature id="org.eclipse.cvs" version="1.1.101.R35x_v20090811-7E79FEd9KKF5H2YDWFLLBL01A16"/>
+      <feature id="org.eclipse.cvs.source" version="1.1.101.R35x_v20090811-7E79FEd9KKF5H2YDWFLLBL01A16"/>
+      <feature id="org.eclipse.epp.package.rcp.feature" version="1.2.1.20090918-0703"/>
+      <feature id="org.eclipse.epp.usagedata.feature" version="1.1.0.R200906100410"/>
+      <feature id="org.eclipse.equinox.p2.user.ui" version="1.1.1.R35x_v20090811-7u6FbEFYXk1qWdbS0gnpRg2932"/>
+      <feature id="org.eclipse.equinox.p2.user.ui.source" version="1.1.1.R35x_v20090811-7u6FbEFYXk1qWdbS0gnpRg2932"/>
+      <feature id="org.eclipse.help" version="1.1.1.R35x_v20090811-7e7eFAnFEx2XZoYz0uPgIfwD"/>
+      <feature id="org.eclipse.help.source" version="1.1.1.R35x_v20090811-7e7eFAnFEx2XZoYz0uPgIfwD"/>
+      <feature id="org.eclipse.jdt" version="3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ"/>
+      <feature id="org.eclipse.jdt.source" version="3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ"/>
+      <feature id="org.eclipse.pde" version="3.5.1.R35x_v20090811-7Z7_F9zFDX-aT6Ywvh8_S93"/>
+      <feature id="org.eclipse.pde.source" version="3.5.1.R35x_v20090811-7Z7_F9zFDX-aT6Ywvh8_S93"/>
+      <feature id="org.eclipse.platform" version="3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7"/>
+      <feature id="org.eclipse.platform.source" version="3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7"/>
+      <feature id="org.eclipse.rcp" version="3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6"/>
+      <feature id="org.eclipse.rcp.source" version="3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6"/>
+      <feature id="org.eclipse.wst.common_core.feature" version="3.1.1.v200908102300-7B77FZ3F7RZHIVI9QdN4PM"/>
+      <feature id="org.eclipse.wst.common_ui.feature" version="3.1.1.v200908102300-7B5FRGDhdMNPnndenAjpWJAReO5Q"/>
+      <feature id="org.eclipse.wst.xml_core.feature" version="3.1.1.v200907161031-7C7OFPgF7RZHIXHvT5MhWA"/>
+      <feature id="org.eclipse.wst.xml_ui.feature" version="3.1.1.v200907161031-7H6FM_DxtkM-7aeTHKEBbQqcZOZ2"/>
+      <feature id="org.eclipse.wst.xml_userdoc.feature" version="3.1.1.v200906020459-50FR7AkF77f7MESDKEF"/>
+      <feature id="org.eclipse.mylyn.bugzilla_feature" version="3.2.2.v20090912-0400-e3x"/>
+      <feature id="org.eclipse.mylyn.context_feature" version="3.2.2.v20090912-0400-e3x"/>
+      <feature id="org.eclipse.mylyn.ide_feature" version="3.2.2.v20090912-0400-e3x"/>
+      <feature id="org.eclipse.mylyn.java_feature" version="3.2.2.v20090912-0400-e3x"/>
+      <feature id="org.eclipse.mylyn.pde_feature" version="3.2.2.v20090912-0400-e3x"/>
+      <feature id="org.eclipse.mylyn.sdk_feature" version="3.2.2.v20090912-0400-e3x"/>
+      <feature id="org.eclipse.mylyn.team_feature" version="3.2.2.v20090912-0400-e3x"/>
+      <feature id="org.eclipse.mylyn.wikitext_feature" version="1.1.2.v20090912-0400-e3x"/>
+      <feature id="org.eclipse.mylyn_feature" version="3.2.2.v20090912-0400-e3x"/>
+   </features>
+
+
+</product>
diff --git a/ide/plugins/org.argeo.slc.ide.branding/plugin.xml b/ide/plugins/org.argeo.slc.ide.branding/plugin.xml
new file mode 100644 (file)
index 0000000..19b35d1
--- /dev/null
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.4"?>
+<plugin>
+
+   <extension
+         id="product"
+         point="org.eclipse.core.runtime.products">
+      <product
+            application="org.eclipse.ui.ide.workbench"
+            name="Argeo SLC IDE">
+         <property
+               name="windowImages"
+               value="icons/argeo-icon-100104-256.png,icons/argeo-icon-100104-256.png,icons/argeo-icon-100104-256.png,icons/argeo-icon-100104-256.png,icons/argeo-icon-100104-256.png">
+         </property>
+         <property
+               name="aboutText"
+               value="%productBlurb">
+         </property>
+         <property
+               name="aboutImage"
+               value="eclipse_lg.gif">
+         </property>
+         <property
+               name="startupForegroundColor"
+               value="0066D0">
+         </property>
+         <property
+               name="startupProgressRect"
+               value="0,280,455,15">
+         </property>
+         <property
+               name="startupMessageRect"
+               value="7,220,441,20">
+         </property>
+         <property
+               name="appName"
+               value="Argeo SLC IDE">
+         </property>
+         <property
+               name="preferenceCustomization"
+               value="plugin_customization.ini">
+         </property>
+      </product>
+   </extension>
+</plugin>
diff --git a/ide/plugins/org.argeo.slc.ide.branding/plugin_customization.ini b/ide/plugins/org.argeo.slc.ide.branding/plugin_customization.ini
new file mode 100644 (file)
index 0000000..5344da0
--- /dev/null
@@ -0,0 +1,2 @@
+org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP=true
+org.eclipse.ui/defaultPerspectiveId=org.argeo.slc.ide.ui.slcPerspective
diff --git a/ide/plugins/org.argeo.slc.ide.branding/slc-ide.target b/ide/plugins/org.argeo.slc.ide.branding/slc-ide.target
new file mode 100644 (file)
index 0000000..cbd5555
--- /dev/null
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?pde version="3.5"?>
+
+<target name="SLC IDE">
+<locations>
+<location path="${system_property:user.home}/dev/tools/eclipse-3.5.1-delta-pack" type="Directory"/>
+<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
+<unit id="org.tmatesoft.svnkit.feature.group" version="1.3.1.6109"/>
+<unit id="com.sun.jna.feature.group" version="3.1.0"/>
+<unit id="com.collabnet.subversion.merge.feature.feature.group" version="1.10.0"/>
+<unit id="org.tigris.subversion.subclipse.feature.group" version="1.6.5"/>
+<unit id="org.tigris.subversion.subclipse.mylyn.feature.group" version="3.0.0"/>
+<unit id="org.tigris.subversion.clientadapter.feature.feature.group" version="1.6.4.1"/>
+<unit id="org.tigris.subversion.clientadapter.javahl.feature.feature.group" version="1.6.6"/>
+<unit id="org.tigris.subversion.subclipse.graph.feature.feature.group" version="1.0.7"/>
+<unit id="org.tigris.subversion.clientadapter.svnkit.feature.feature.group" version="1.6.4"/>
+<repository location="http://subclipse.tigris.org/update_1.6.x"/>
+</location>
+<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
+<unit id="org.eclipse.cvs.feature.group" version="1.1.101.R35x_v20090811-7E79FEd9KKF5H2YDWFLLBL01A16"/>
+<unit id="org.eclipse.mylyn.ide_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
+<unit id="org.eclipse.mylyn.java_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
+<unit id="org.eclipse.mylyn.pde_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
+<unit id="org.eclipse.mylyn.team_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
+<unit id="org.eclipse.mylyn.bugzilla_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
+<unit id="org.eclipse.mylyn_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
+<unit id="org.eclipse.mylyn.context_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
+<unit id="org.eclipse.mylyn.wikitext_feature.feature.group" version="1.1.2.v20090912-0400-e3x"/>
+<unit id="org.eclipse.equinox.sdk.feature.group" version="3.5.1.r351_v20090901-7G7MAA7lQiEeE7LKsaYgOK58fdAa"/>
+<unit id="org.eclipse.pde.feature.group" version="3.5.1.R35x_v20090811-7Z7_F9zFDX-aT6Ywvh8_S93"/>
+<unit id="org.eclipse.rse.feature.group" version="3.1.1.v200907301400-7L5AE8wqaHPUdsOqKFUpxnbxGiz-"/>
+<unit id="org.eclipse.tm.terminal.sdk.feature.group" version="3.0.1.v200907301400-7N-FBaC5OqdP-0Zr1iqaZNOEG"/>
+<unit id="org.eclipse.emf.sdk.feature.group" version="2.5.0.v200906151043"/>
+<unit id="org.eclipse.emf.compare.sdk.feature.group" version="1.0.1.v200909161031"/>
+<unit id="org.eclipse.gmf.sdk.feature.group" version="2.2.1.v20090814-1000-7C7F1BLxlfAqjMDHunFV5S-_YY-Q"/>
+<unit id="org.eclipse.xsd.sdk.feature.group" version="2.5.0.v200906151043"/>
+<unit id="org.eclipse.jdt.feature.group" version="3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ"/>
+<unit id="org.eclipse.wst.xml_ui.feature.feature.group" version="3.1.1.v200907161031-7H6FM_DxtkM-7aeTHKEBbQqcZOZ2"/>
+<unit id="org.eclipse.wst.jsdt.feature.feature.group" version="1.1.2.v200908101420-77-FGCCcNBC-BhLcE_Pm"/>
+<unit id="org.eclipse.wst.common.fproj.feature.group" version="3.1.1.v200908111817-37718s733L3J555J5H"/>
+<unit id="org.eclipse.jst.common.fproj.enablement.jdt.feature.group" version="3.1.1.v200908111817-37718s733L3J555J5H"/>
+<unit id="org.eclipse.wst.web_ui.feature.feature.group" version="3.1.1.v200908120400-7R77FSpEVw2xXR0CtKvX6bG6a2qU"/>
+<unit id="org.eclipse.wst.xsl.feature.feature.group" version="1.0.2.v200908271520-7R7T8sFIhIehWg454rq_U1"/>
+<unit id="org.eclipse.jst.server_ui.feature.feature.group" version="3.1.1.v20090817-7A2FBa9xFaGovXGKcCWMK2355"/>
+<unit id="org.eclipse.jst.web_ui.feature.feature.group" version="3.1.1.v200908121609-7E77FBfDlwYa_9sdy2q77doi14gl"/>
+<repository location="http://download.eclipse.org/releases/galileo"/>
+</location>
+</locations>
+<implicitDependencies>
+<plugin id="org.eclipse.wst.xml.ui"/>
+</implicitDependencies>
+</target>
diff --git a/ide/plugins/org.argeo.slc.ide.branding/splash.bmp b/ide/plugins/org.argeo.slc.ide.branding/splash.bmp
new file mode 100644 (file)
index 0000000..ee502f3
Binary files /dev/null and b/ide/plugins/org.argeo.slc.ide.branding/splash.bmp differ
diff --git a/ide/plugins/org.argeo.slc.ide.ui/.classpath b/ide/plugins/org.argeo.slc.ide.ui/.classpath
new file mode 100644 (file)
index 0000000..b0a38d8
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+       <classpathentry kind="src" path="src/main/java"/>
+       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
+       <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/ide/plugins/org.argeo.slc.ide.ui/.project b/ide/plugins/org.argeo.slc.ide.ui/.project
new file mode 100644 (file)
index 0000000..ad44979
--- /dev/null
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<projectDescription>\r
+       <name>org.argeo.slc.ide.ui</name>\r
+       <comment></comment>\r
+       <projects>\r
+       </projects>\r
+       <buildSpec>\r
+               <buildCommand>\r
+                       <name>org.eclipse.jdt.core.javabuilder</name>\r
+                       <arguments>\r
+                       </arguments>\r
+               </buildCommand>\r
+               <buildCommand>\r
+                       <name>org.eclipse.pde.ManifestBuilder</name>\r
+                       <arguments>\r
+                       </arguments>\r
+               </buildCommand>\r
+               <buildCommand>\r
+                       <name>org.eclipse.pde.SchemaBuilder</name>\r
+                       <arguments>\r
+                       </arguments>\r
+               </buildCommand>\r
+       </buildSpec>\r
+       <natures>\r
+               <nature>org.eclipse.pde.PluginNature</nature>\r
+               <nature>org.eclipse.jdt.core.javanature</nature>\r
+       </natures>\r
+</projectDescription>\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/.settings/org.eclipse.jdt.core.prefs b/ide/plugins/org.argeo.slc.ide.ui/.settings/org.eclipse.jdt.core.prefs
new file mode 100644 (file)
index 0000000..05eb256
--- /dev/null
@@ -0,0 +1,12 @@
+#Fri Aug 29 11:26:23 CEST 2008
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.debug.lineNumber=generate
+org.eclipse.jdt.core.compiler.debug.localVariable=generate
+org.eclipse.jdt.core.compiler.debug.sourceFile=generate
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
diff --git a/ide/plugins/org.argeo.slc.ide.ui/META-INF/MANIFEST.MF b/ide/plugins/org.argeo.slc.ide.ui/META-INF/MANIFEST.MF
new file mode 100644 (file)
index 0000000..d0f8768
--- /dev/null
@@ -0,0 +1,22 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: SLC IDE
+Bundle-SymbolicName: org.argeo.slc.ide.ui;singleton:=true
+Bundle-Version: 1.1.1.qualifier
+Bundle-Activator: org.argeo.slc.ide.ui.SlcIdeUiPlugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.debug.core,
+ org.eclipse.jdt.launching,
+ org.eclipse.debug.ui,
+ org.eclipse.jdt.core,
+ org.eclipse.ui.console,
+ org.eclipse.jdt.debug.ui,
+ org.eclipse.ui.ide,
+ org.eclipse.core.variables,
+ org.eclipse.pde.build,
+ org.eclipse.pde.ui;bundle-version="3.4.0",
+ org.eclipse.jdt.ui;bundle-version="3.4.2"
+Bundle-RequiredExecutionEnvironment: J2SE-1.5
+Bundle-Vendor: Argeo GmbH
+Bundle-ActivationPolicy: lazy
diff --git a/ide/plugins/org.argeo.slc.ide.ui/build.properties b/ide/plugins/org.argeo.slc.ide.ui/build.properties
new file mode 100644 (file)
index 0000000..92544c5
--- /dev/null
@@ -0,0 +1,6 @@
+source.. = src/main/java/\r
+bin.includes = META-INF/,\\r
+               .,\\r
+               plugin.xml,\\r
+               icons/,\\r
+               targets/\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/icons/argeo-icon-100104-256.png b/ide/plugins/org.argeo.slc.ide.ui/icons/argeo-icon-100104-256.png
new file mode 100644 (file)
index 0000000..a9af088
Binary files /dev/null and b/ide/plugins/org.argeo.slc.ide.ui/icons/argeo-icon-100104-256.png differ
diff --git a/ide/plugins/org.argeo.slc.ide.ui/icons/eclipse-launch.gif b/ide/plugins/org.argeo.slc.ide.ui/icons/eclipse-launch.gif
new file mode 100644 (file)
index 0000000..4b42e57
Binary files /dev/null and b/ide/plugins/org.argeo.slc.ide.ui/icons/eclipse-launch.gif differ
diff --git a/ide/plugins/org.argeo.slc.ide.ui/icons/slc-launch.gif b/ide/plugins/org.argeo.slc.ide.ui/icons/slc-launch.gif
new file mode 100644 (file)
index 0000000..b8ca14a
Binary files /dev/null and b/ide/plugins/org.argeo.slc.ide.ui/icons/slc-launch.gif differ
diff --git a/ide/plugins/org.argeo.slc.ide.ui/plugin.xml b/ide/plugins/org.argeo.slc.ide.ui/plugin.xml
new file mode 100644 (file)
index 0000000..bb9c5f0
--- /dev/null
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>\r
+<?eclipse version="3.2"?>\r
+<plugin>\r
+<extension \r
+       point="org.eclipse.ui.preferencePages"> \r
+      <page \r
+         id="org.argeo.slc.ide.ui.mainPreferencePage" \r
+         name="SLC" \r
+         class="org.argeo.slc.ide.ui.SlcMainPreferencePage"> \r
+       </page> \r
+</extension> \r
+<extension\r
+      point="org.eclipse.ui.perspectives">\r
+   <perspective\r
+         class="org.argeo.slc.ide.ui.SlcPerspectiveFactory"\r
+         icon="icons/argeo-icon-100104-256.png"\r
+         id="org.argeo.slc.ide.ui.slcPerspective"\r
+         name="SLC">\r
+   </perspective>\r
+</extension>\r
+<extension\r
+      point="org.eclipse.debug.ui.launchShortcuts">\r
+   <shortcut\r
+         class="org.argeo.slc.ide.ui.launch.osgi.EclipseBootLaunchShortcut"\r
+         icon="icons/eclipse-launch.gif"\r
+         id="org.argeo.slc.ide.ui.eclipseBootLaunchShortcut"\r
+         label="Eclipse Boot (RCP)"\r
+         modes="run,debug">\r
+         <contextualLaunch>\r
+            <enablement>\r
+            <with variable="selection">\r
+               <count value="1"/>\r
+               <iterate>\r
+                 <or>\r
+                   <test property="org.eclipse.debug.ui.matchesPattern" value="*.properties"/>\r
+                   <test property="org.eclipse.debug.ui.matchesPattern" value="config.ini"/>\r
+                 </or>\r
+                </iterate>\r
+             </with>\r
+           </enablement>\r
+         </contextualLaunch>         \r
+   </shortcut>\r
+   <shortcut\r
+         class="org.argeo.slc.ide.ui.launch.osgi.OsgiBootLaunchShortcut"\r
+         icon="icons/slc-launch.gif"\r
+         id="org.argeo.slc.ide.ui.osgiBootLaunchShortcut"\r
+         label="OSGi Boot (Equinox, RAP)"\r
+         modes="run,debug">\r
+         <contextualLaunch>\r
+            <enablement>\r
+            <with variable="selection">\r
+               <count value="1"/>\r
+               <iterate>\r
+                 <or>\r
+                   <test property="org.eclipse.debug.ui.matchesPattern" value="*.properties"/>\r
+                   <test property="org.eclipse.debug.ui.matchesPattern" value="config.ini"/>\r
+                 </or>\r
+                </iterate>\r
+             </with>\r
+           </enablement>\r
+         </contextualLaunch>         \r
+   </shortcut>\r
+</extension>\r
+  <extension\r
+         point="org.eclipse.debug.core.launchConfigurationTypes">\r
+      <launchConfigurationType\r
+            id="org.argeo.slc.ide.ui.OsgiBootEquinoxLauncher"\r
+            name="OSGi Boot Equinox"\r
+            delegate="org.argeo.slc.ide.ui.launch.osgi.OsgiBootEquinoxLaunchConfiguration"\r
+            modes="run, debug"\r
+            sourceLocatorId="org.eclipse.pde.ui.launcher.PDESourceLookupDirector"\r
+            sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"/>\r
+      <launchConfigurationType\r
+            id="org.argeo.slc.ide.ui.EclipseBootLauncher"\r
+            name="Eclipse Boot"\r
+            delegate="org.argeo.slc.ide.ui.launch.osgi.EclipseBootLaunchConfiguration"\r
+            modes="run, debug"\r
+            sourceLocatorId="org.eclipse.pde.ui.launcher.PDESourceLookupDirector"\r
+            sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"/>\r
+   </extension>\r
+  <extension\r
+         point="org.eclipse.debug.ui.launchConfigurationTabGroups">\r
+      <launchConfigurationTabGroup\r
+            type="org.argeo.slc.ide.ui.OsgiBootEquinoxLauncher"\r
+            class="org.argeo.slc.ide.ui.launch.osgi.OsgiBootLauncherTabGroup"\r
+            id="org.argeo.slc.ide.ui.OsgiBootLauncherTabGroup">\r
+      </launchConfigurationTabGroup>\r
+      <launchConfigurationTabGroup\r
+            type="org.argeo.slc.ide.ui.EclipseBootLauncher"\r
+            class="org.argeo.slc.ide.ui.launch.osgi.EclipseBootLauncherTabGroup"\r
+            id="org.argeo.slc.ide.ui.EclipseBootLauncherTabGroup">\r
+      </launchConfigurationTabGroup>\r
+  </extension>\r
+   <extension\r
+         point="org.eclipse.debug.ui.launchConfigurationTypeImages">\r
+      <launchConfigurationTypeImage\r
+            icon="icons/slc-launch.gif"\r
+            configTypeID="org.argeo.slc.ide.ui.OsgiBootEquinoxLauncher"\r
+            id="org.argeo.slc.ide.ui.OsgiBootEquinoxLauncherImage">\r
+      </launchConfigurationTypeImage>\r
+      <launchConfigurationTypeImage\r
+            icon="icons/eclipse-launch.gif"\r
+            configTypeID="org.argeo.slc.ide.ui.EclipseBootLauncher"\r
+            id="org.argeo.slc.ide.ui.EclipseBootLauncherImage">\r
+      </launchConfigurationTypeImage>\r
+   </extension>\r
+   \r
+   <extension point = "org.eclipse.pde.core.targets">\r
+     <target \r
+       id="org.eclipse.pde.core.rcpTarget"\r
+       name="Managed"\r
+       definition="targets/managedTarget.target"/>\r
+   </extension>\r
+</plugin>\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/DeployedSlcSystem.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/DeployedSlcSystem.java
new file mode 100644 (file)
index 0000000..8992432
--- /dev/null
@@ -0,0 +1,50 @@
+package org.argeo.slc.ide.ui;\r
+\r
+import java.io.File;\r
+import java.io.IOException;\r
+import java.util.List;\r
+import java.util.Vector;\r
+\r
+import org.eclipse.core.runtime.CoreException;\r
+import org.eclipse.jdt.launching.IVMInstall;\r
+import org.eclipse.jdt.launching.JavaRuntime;\r
+\r
+public class DeployedSlcSystem implements SlcSystem {\r
+       private File baseDir;\r
+       private String relLibDir = "lib";\r
+\r
+       public DeployedSlcSystem(String baseDirPath) {\r
+               try {\r
+                       this.baseDir = new File(baseDirPath).getCanonicalFile();\r
+               } catch (IOException e) {\r
+                       throw new RuntimeException("Cannot get path for " + baseDirPath, e);\r
+               }\r
+       }\r
+\r
+       public String[] getClasspath() throws CoreException {\r
+               List<String> classpath = new Vector<String>();\r
+               File libDir = new File(baseDir.getPath() + File.separator + relLibDir);\r
+               File[] files = libDir.listFiles();\r
+               for (File file : files) {\r
+                       try {\r
+                               classpath.add(file.getCanonicalPath());\r
+                       } catch (IOException e) {\r
+                               throw new RuntimeException("Cannot get path for " + file, e);\r
+                       }\r
+               }\r
+               return classpath.toArray(new String[classpath.size()]);\r
+       }\r
+\r
+       public IVMInstall getVmInstall() throws CoreException {\r
+               return JavaRuntime.getDefaultVMInstall();\r
+       }\r
+\r
+       public String getAntHome() {\r
+               return baseDir.getPath();\r
+       }\r
+\r
+       public String getJavaLibraryPath() {\r
+               return baseDir.getPath() + File.separator + "bin";\r
+       }\r
+\r
+}\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/EmbeddedSlcSystem.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/EmbeddedSlcSystem.java
new file mode 100644 (file)
index 0000000..e2414e0
--- /dev/null
@@ -0,0 +1,34 @@
+package org.argeo.slc.ide.ui;
+
+import org.argeo.slc.ide.ui.launch.preferences.SlcLaunchPreferencePage;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.jdt.core.IJavaProject;
+import org.eclipse.jdt.launching.IVMInstall;
+import org.eclipse.jdt.launching.JavaRuntime;
+
+public class EmbeddedSlcSystem implements SlcSystem {
+       private final IJavaProject project;
+
+       public EmbeddedSlcSystem(IJavaProject project) {
+               this.project = project;
+       }
+
+       public String[] getClasspath() throws CoreException {
+               return JavaRuntime.computeDefaultRuntimeClassPath(project);
+       }
+
+       public String getJavaLibraryPath() {
+               String javaLibPath = SlcIdeUiPlugin.getDefault()
+                               .getPreferenceStore().getString(
+                                               SlcLaunchPreferencePage.PREF_SLC_RUNTIME_LOCATION);
+               if (javaLibPath == null || javaLibPath.equals(""))
+                       return null;
+               else
+                       return javaLibPath;
+       }
+
+       public IVMInstall getVmInstall() throws CoreException {
+               return JavaRuntime.getVMInstall(project);
+       }
+
+}
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcIdeUiPlugin.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcIdeUiPlugin.java
new file mode 100644 (file)
index 0000000..3570a61
--- /dev/null
@@ -0,0 +1,122 @@
+package org.argeo.slc.ide.ui;\r
+\r
+import java.net.URL;\r
+\r
+import org.eclipse.core.resources.IResource;\r
+import org.eclipse.core.runtime.CoreException;\r
+import org.eclipse.debug.core.DebugEvent;\r
+import org.eclipse.debug.core.DebugPlugin;\r
+import org.eclipse.debug.core.IDebugEventSetListener;\r
+import org.eclipse.debug.core.ILaunch;\r
+import org.eclipse.debug.core.model.IProcess;\r
+import org.eclipse.jface.resource.ImageDescriptor;\r
+import org.eclipse.jface.resource.ImageRegistry;\r
+import org.eclipse.pde.core.plugin.TargetPlatform;\r
+import org.eclipse.swt.graphics.Image;\r
+import org.eclipse.ui.plugin.AbstractUIPlugin;\r
+import org.osgi.framework.BundleContext;\r
+\r
+/**\r
+ * The activator class controls the plug-in life cycle\r
+ */\r
+public class SlcIdeUiPlugin extends AbstractUIPlugin {\r
+\r
+       // The plug-in ID\r
+       public static final String ID = "org.argeo.slc.ide.ui";\r
+\r
+       // The shared instance\r
+       private static SlcIdeUiPlugin plugin;\r
+\r
+       /**\r
+        * The constructor\r
+        */\r
+       public SlcIdeUiPlugin() {\r
+       }\r
+\r
+       @Override\r
+       public void start(BundleContext context) throws Exception {\r
+               super.start(context);\r
+               plugin = this;\r
+               DebugPlugin.getDefault()\r
+                               .addDebugEventListener(new DebugEventListener());\r
+\r
+               String location = TargetPlatform.getLocation();\r
+               System.out.println(location);\r
+       }\r
+\r
+       @Override\r
+       public void stop(BundleContext context) throws Exception {\r
+               plugin = null;\r
+               super.stop(context);\r
+       }\r
+\r
+       /**\r
+        * Returns the shared instance\r
+        * \r
+        * @return the shared instance\r
+        */\r
+       public static SlcIdeUiPlugin getDefault() {\r
+               return plugin;\r
+       }\r
+\r
+       public Image getImage(String relativeURL) {\r
+               ImageRegistry imageRegistry = getImageRegistry();\r
+               Image image = imageRegistry.get(relativeURL);\r
+               if (image == null) {\r
+                       URL imageURL = getBundle().getEntry(relativeURL);\r
+                       ImageDescriptor descriptor = ImageDescriptor\r
+                                       .createFromURL(imageURL);\r
+                       image = descriptor.createImage();\r
+                       imageRegistry.put(relativeURL, image);\r
+               }\r
+               return image;\r
+       }\r
+\r
+       protected static class DebugEventListener implements IDebugEventSetListener {\r
+               public void handleDebugEvents(DebugEvent[] events) {\r
+                       if (events == null)\r
+                               return;\r
+\r
+                       for (int i = 0; i < events.length; i++) {\r
+                               DebugEvent event = events[i];\r
+                               if (event == null)\r
+                                       continue;\r
+                               Object source = event.getSource();\r
+                               if (source instanceof IProcess\r
+                                               && event.getKind() == DebugEvent.TERMINATE) {\r
+                                       IProcess process = (IProcess) source;\r
+//                                     if (process == null)\r
+//                                             continue;\r
+                                       ILaunch launch = process.getLaunch();\r
+                                       if (launch != null)\r
+                                               refreshOsgiBootLaunch(launch);\r
+                               }\r
+                       }\r
+               }\r
+\r
+               protected void refreshOsgiBootLaunch(ILaunch launch) {\r
+                       try {\r
+                               if (launch == null)\r
+                                       return;\r
+                               IResource[] resources = launch.getLaunchConfiguration()\r
+                                               .getMappedResources();\r
+                               if (resources == null)\r
+                                       return;\r
+                               if (resources.length > 0) {\r
+                                       IResource propertiesFile = resources[0];\r
+                                       if (propertiesFile.getParent() == null)\r
+                                               return;\r
+                                       propertiesFile.getParent().refreshLocal(\r
+                                                       IResource.DEPTH_INFINITE, null);\r
+                                       // System.out.println("Refreshed "\r
+                                       // + propertiesFile.getParent());\r
+                               }\r
+                       } catch (CoreException e) {\r
+                               e.printStackTrace();\r
+                       }\r
+\r
+               }\r
+\r
+       }\r
+\r
+}\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcMainPreferencePage.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcMainPreferencePage.java
new file mode 100644 (file)
index 0000000..d091715
--- /dev/null
@@ -0,0 +1,26 @@
+package org.argeo.slc.ide.ui;\r
+\r
+import org.eclipse.jface.preference.FieldEditorPreferencePage;\r
+import org.eclipse.ui.IWorkbench;\r
+import org.eclipse.ui.IWorkbenchPreferencePage;\r
+\r
+public class SlcMainPreferencePage extends FieldEditorPreferencePage implements\r
+               IWorkbenchPreferencePage {\r
+       public SlcMainPreferencePage() {\r
+//             IPreferenceStore store = SlcIdePlugin.getDefault().getPreferenceStore();\r
+//             setPreferenceStore(store);\r
+               setDescription("Argeo SLC Preferences");\r
+       }\r
+\r
+       @Override\r
+       protected void createFieldEditors() {\r
+//             addField(new DirectoryFieldEditor(PREF_SLC_RUNTIME_LOCATION,\r
+//                             "SLC Runtime", getFieldEditorParent()));\r
+//             addField(new DirectoryFieldEditor(PREF_EMBEDDED_JAVA_LIBRARY_PATH,\r
+//                             "Embedded Java Library Path", getFieldEditorParent()));\r
+       }\r
+\r
+       public void init(IWorkbench workbench) {\r
+       }\r
+\r
+}\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcPerspectiveFactory.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcPerspectiveFactory.java
new file mode 100644 (file)
index 0000000..7c0084e
--- /dev/null
@@ -0,0 +1,27 @@
+package org.argeo.slc.ide.ui;\r
+\r
+import org.eclipse.jdt.ui.JavaUI;\r
+import org.eclipse.ui.IFolderLayout;\r
+import org.eclipse.ui.IPageLayout;\r
+import org.eclipse.ui.IPerspectiveFactory;\r
+import org.eclipse.ui.console.IConsoleConstants;\r
+\r
+public class SlcPerspectiveFactory implements IPerspectiveFactory {\r
+\r
+       public void createInitialLayout(IPageLayout layout) {\r
+               // Get the editor area.\r
+               String editorArea = layout.getEditorArea();\r
+\r
+               IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.25f,\r
+                       editorArea);\r
+               topLeft.addView(JavaUI.ID_PACKAGES);\r
+\r
+               IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.66f,\r
+                               editorArea);\r
+               bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);\r
+               bottom.addView(IPageLayout.ID_TASK_LIST);\r
+               \r
+               layout.addActionSet("org.eclipse.debug.ui.launchActionSet");\r
+       }\r
+\r
+}\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcSystem.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcSystem.java
new file mode 100644 (file)
index 0000000..ff797c6
--- /dev/null
@@ -0,0 +1,10 @@
+package org.argeo.slc.ide.ui;\r
+\r
+import org.eclipse.core.runtime.CoreException;\r
+import org.eclipse.jdt.launching.IVMInstall;\r
+\r
+public interface SlcSystem {\r
+       public String[] getClasspath() throws CoreException;\r
+       public String getJavaLibraryPath();\r
+       public IVMInstall getVmInstall() throws CoreException;\r
+}\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLaunchConfiguration.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLaunchConfiguration.java
new file mode 100644 (file)
index 0000000..d03b90a
--- /dev/null
@@ -0,0 +1,42 @@
+package org.argeo.slc.ide.ui.launch.osgi;
+
+import org.argeo.slc.ide.ui.SlcIdeUiPlugin;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.debug.core.ILaunch;
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.pde.launching.EclipseApplicationLaunchConfiguration;
+
+/** OSGiBoot launch configuration. */
+public class EclipseBootLaunchConfiguration extends
+               EclipseApplicationLaunchConfiguration {
+       public final static String ID = SlcIdeUiPlugin.ID + ".EclipseBootLauncher";
+
+       @Override
+       public void launch(ILaunchConfiguration configuration, String mode,
+                       ILaunch launch, IProgressMonitor monitor) throws CoreException {
+               super.launch(configuration, mode, launch, monitor);
+               // Refresh resources before launching
+               final IFile propertiesFile = (IFile) configuration.getMappedResources()[0];
+               propertiesFile.getParent().refreshLocal(IResource.DEPTH_INFINITE,
+                               monitor);
+       }
+
+       @Override
+       protected void preLaunchCheck(ILaunchConfiguration configuration,
+                       ILaunch launch, IProgressMonitor monitor) throws CoreException {
+               ILaunchConfigurationWorkingCopy wc = configuration.getWorkingCopy();
+               OsgiLaunchHelper.updateLaunchConfiguration(wc, true);
+               wc.doSave();
+
+               super.preLaunchCheck(configuration, launch, monitor);
+
+               // Note that if a Java project contains a build.properties it has to
+               // declare the sources otherwise it will be skipped in the generation of
+               // the dev.properties file!
+       }
+
+}
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLaunchShortcut.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLaunchShortcut.java
new file mode 100644 (file)
index 0000000..aa7f861
--- /dev/null
@@ -0,0 +1,72 @@
+package org.argeo.slc.ide.ui.launch.osgi;
+
+import java.util.Iterator;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.debug.core.DebugPlugin;
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.debug.core.ILaunchConfigurationType;
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.pde.ui.launcher.EclipseLaunchShortcut;
+
+/**
+ * Launch shortcut simplifying the launch of an Eclipse application (typically
+ * an RCP).
+ */
+public class EclipseBootLaunchShortcut extends EclipseLaunchShortcut implements
+               OsgiLauncherConstants {
+       private StringBuffer name = null;
+       private IFile propertiesFile = null;
+
+       @Override
+       protected String getLaunchConfigurationTypeName() {
+               return EclipseBootLaunchConfiguration.ID;
+       }
+
+       @Override
+       public void launch(ISelection selection, String mode) {
+               // we assume that only one file is selected
+               IStructuredSelection sSelection = (IStructuredSelection) selection;
+               Iterator<?> it = sSelection.iterator();
+               propertiesFile = (IFile) it.next();
+
+               name = new StringBuffer(OsgiLaunchHelper.extractName(propertiesFile));
+
+               super.launch(selection, mode);
+       }
+
+       @Override
+       protected void initializeConfiguration(ILaunchConfigurationWorkingCopy wc) {
+               IResource[] resources = { propertiesFile };
+               wc.setMappedResources(resources);
+               super.initializeConfiguration(wc);
+
+               OsgiLaunchHelper.setDefaults(wc, true);
+               wc.setAttribute(
+                               IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY,
+                               OsgiLaunchHelper.findWorkingDirectory(propertiesFile));
+
+               OsgiLaunchHelper.updateLaunchConfiguration(wc, true);
+       }
+
+       protected String getName(ILaunchConfigurationType type) {
+               if (name != null && !name.toString().trim().equals(""))
+                       return DebugPlugin.getDefault().getLaunchManager()
+                                       .generateLaunchConfigurationName(name.toString());
+               else
+                       return DebugPlugin.getDefault().getLaunchManager()
+                                       .generateLaunchConfigurationName("SLC");
+       }
+
+       @Override
+       protected boolean isGoodMatch(ILaunchConfiguration configuration) {
+               if (name != null) {
+                       return name.toString().equals(configuration.getName());
+               }
+               return super.isGoodMatch(configuration);
+       }
+}
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLauncherTabGroup.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLauncherTabGroup.java
new file mode 100644 (file)
index 0000000..53794ed
--- /dev/null
@@ -0,0 +1,50 @@
+package org.argeo.slc.ide.ui.launch.osgi;
+
+import org.eclipse.debug.ui.CommonTab;
+import org.eclipse.debug.ui.EnvironmentTab;
+import org.eclipse.debug.ui.ILaunchConfigurationDialog;
+import org.eclipse.debug.ui.ILaunchConfigurationTab;
+import org.eclipse.pde.ui.launcher.EclipseLauncherTabGroup;
+import org.eclipse.pde.ui.launcher.MainTab;
+import org.eclipse.pde.ui.launcher.OSGiSettingsTab;
+import org.eclipse.pde.ui.launcher.PluginsTab;
+import org.eclipse.pde.ui.launcher.TracingTab;
+
+/** Definition of the set of tabs used in Eclipse Boot launch configuration UI. */
+public class EclipseBootLauncherTabGroup extends EclipseLauncherTabGroup {
+
+       @Override
+       public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
+               ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
+                               new OsgiBootMainTab(true),
+                               new MainTab(),
+                               new PluginsTab(),
+                               // new PluginsTab() {
+                               // private boolean activating = false;
+                               //
+                               // @Override
+                               // public void performApply(
+                               // ILaunchConfigurationWorkingCopy config) {
+                               // super.performApply(config);
+                               // if (activating) {
+                               // try {
+                               // config.doSave();
+                               // } catch (CoreException e) {
+                               // e.printStackTrace();
+                               // }
+                               // activating = false;
+                               // }
+                               // }
+                               //
+                               // @Override
+                               // public void activated(
+                               // ILaunchConfigurationWorkingCopy workingCopy) {
+                               // activating = true;
+                               // }
+                               // },
+                               new OSGiSettingsTab(), new EnvironmentTab(), new TracingTab(),
+                               new CommonTab() };
+               setTabs(tabs);
+       }
+
+}
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootEquinoxLaunchConfiguration.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootEquinoxLaunchConfiguration.java
new file mode 100644 (file)
index 0000000..19cdee1
--- /dev/null
@@ -0,0 +1,55 @@
+package org.argeo.slc.ide.ui.launch.osgi;
+
+import org.argeo.slc.ide.ui.SlcIdeUiPlugin;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.debug.core.ILaunch;
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.pde.launching.EquinoxLaunchConfiguration;
+
+/** OSGiBoot launch configuration. */
+public class OsgiBootEquinoxLaunchConfiguration extends
+               EquinoxLaunchConfiguration {
+       public final static String ID = SlcIdeUiPlugin.ID
+                       + ".OsgiBootEquinoxLauncher";
+
+       @Override
+       public void launch(ILaunchConfiguration configuration, String mode,
+                       ILaunch launch, IProgressMonitor monitor) throws CoreException {
+               super.launch(configuration, mode, launch, monitor);
+
+//             System.out.println("targetBundles="
+//                             + configuration.getAttribute(
+//                                             IPDELauncherConstants.TARGET_BUNDLES, ""));
+//             System.out.println("workspaceBundles="
+//                             + configuration.getAttribute(
+//                                             IPDELauncherConstants.WORKSPACE_BUNDLES, ""));
+
+               // Refresh resources before launching
+               final IFile propertiesFile = (IFile) configuration.getMappedResources()[0];
+               propertiesFile.getParent().refreshLocal(IResource.DEPTH_INFINITE,
+                               monitor);
+       }
+
+       @Override
+       protected void preLaunchCheck(ILaunchConfiguration configuration,
+                       ILaunch launch, IProgressMonitor monitor) throws CoreException {
+               // System.out.println("Launching... " + launch);
+               ILaunchConfigurationWorkingCopy wc = configuration.getWorkingCopy();
+               OsgiLaunchHelper.updateLaunchConfiguration(wc, false);
+               wc.doSave();
+               super.preLaunchCheck(configuration, launch, monitor);
+
+               // Note that if a Java project contains a build.properties it has to
+               // declare the sources otherwise it will be skipped in the generation of
+               // the dev.properties file!
+
+               // for(Object bundleId:fAllBundles.keySet()){
+               // System.out.println(bundleId+"="+fAllBundles.get(bundleId));
+               // }
+       }
+
+}
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootLaunchShortcut.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootLaunchShortcut.java
new file mode 100644 (file)
index 0000000..b73b612
--- /dev/null
@@ -0,0 +1,71 @@
+package org.argeo.slc.ide.ui.launch.osgi;
+
+import java.util.Iterator;
+
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.debug.core.DebugPlugin;
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.debug.core.ILaunchConfigurationType;
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.pde.ui.launcher.OSGiLaunchShortcut;
+
+/** Launch shortcut simplifying the launch of a pure OSGi runtime */
+public class OsgiBootLaunchShortcut extends OSGiLaunchShortcut implements
+               OsgiLauncherConstants {
+       private StringBuffer name = null;
+       private IFile propertiesFile = null;
+
+       @Override
+       protected String getLaunchConfigurationTypeName() {
+               return OsgiBootEquinoxLaunchConfiguration.ID;
+       }
+
+       @Override
+       public void launch(ISelection selection, String mode) {
+               // we assume that only one file is selected
+               IStructuredSelection sSelection = (IStructuredSelection) selection;
+               Iterator<?> it = sSelection.iterator();
+               propertiesFile = (IFile) it.next();
+
+               name = new StringBuffer(OsgiLaunchHelper.extractName(propertiesFile));
+
+               super.launch(selection, mode);
+       }
+
+       @Override
+       protected void initializeConfiguration(ILaunchConfigurationWorkingCopy wc) {
+               IResource[] resources = { propertiesFile };
+               wc.setMappedResources(resources);
+               super.initializeConfiguration(wc);
+
+               OsgiLaunchHelper.setDefaults(wc, true);
+
+               wc.setAttribute(
+                               IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY,
+                               OsgiLaunchHelper.findWorkingDirectory(propertiesFile));
+
+               OsgiLaunchHelper.updateLaunchConfiguration(wc, false);
+       }
+
+       protected String getName(ILaunchConfigurationType type) {
+               if (name != null && !name.toString().trim().equals(""))
+                       return DebugPlugin.getDefault().getLaunchManager()
+                                       .generateLaunchConfigurationName(name.toString());
+               else
+                       return DebugPlugin.getDefault().getLaunchManager()
+                                       .generateLaunchConfigurationName("SLC");
+       }
+
+       @Override
+       protected boolean isGoodMatch(ILaunchConfiguration configuration) {
+               if (name != null) {
+                       return name.toString().equals(configuration.getName());
+               }
+               return super.isGoodMatch(configuration);
+       }
+
+}
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootLauncherTabGroup.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootLauncherTabGroup.java
new file mode 100644 (file)
index 0000000..837a7c3
--- /dev/null
@@ -0,0 +1,46 @@
+package org.argeo.slc.ide.ui.launch.osgi;
+
+import org.eclipse.debug.ui.CommonTab;
+import org.eclipse.debug.ui.EnvironmentTab;
+import org.eclipse.debug.ui.ILaunchConfigurationDialog;
+import org.eclipse.debug.ui.ILaunchConfigurationTab;
+import org.eclipse.pde.ui.launcher.BundlesTab;
+import org.eclipse.pde.ui.launcher.OSGiLauncherTabGroup;
+import org.eclipse.pde.ui.launcher.OSGiSettingsTab;
+import org.eclipse.pde.ui.launcher.TracingTab;
+
+/** Definition of the set of tabs used in OSGi Boot launch configuration UI. */
+public class OsgiBootLauncherTabGroup extends OSGiLauncherTabGroup {
+
+       @Override
+       public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
+               ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
+                               new OsgiBootMainTab(false),
+                               new BundlesTab() {
+//                                     private boolean activating = false;
+//
+//                                     @Override
+//                                     public void performApply(
+//                                                     ILaunchConfigurationWorkingCopy config) {
+//                                             super.performApply(config);
+//                                             if (activating) {
+//                                                     try {
+//                                                             config.doSave();
+//                                                     } catch (CoreException e) {
+//                                                             e.printStackTrace();
+//                                                     }
+//                                                     activating = false;
+//                                             }
+//                                     }
+//
+//                                     @Override
+//                                     public void activated(
+//                                                     ILaunchConfigurationWorkingCopy workingCopy) {
+//                                             activating = true;
+//                                     }
+                               }, new OSGiSettingsTab(), new EnvironmentTab(),
+                               new TracingTab(), new CommonTab() };
+               setTabs(tabs);
+       }
+
+}
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootMainTab.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootMainTab.java
new file mode 100644 (file)
index 0000000..0bd5331
--- /dev/null
@@ -0,0 +1,268 @@
+package org.argeo.slc.ide.ui.launch.osgi;
+
+import org.argeo.slc.ide.ui.SlcIdeUiPlugin;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;
+import org.eclipse.jface.dialogs.Dialog;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.ModifyEvent;
+import org.eclipse.swt.events.ModifyListener;
+import org.eclipse.swt.events.SelectionAdapter;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.graphics.Image;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Group;
+import org.eclipse.swt.widgets.Label;
+import org.eclipse.swt.widgets.Text;
+
+/** Main tab of OSGiBoot launch configuration UI. */
+public class OsgiBootMainTab extends AbstractLaunchConfigurationTab implements
+               OsgiLauncherConstants {
+       private Listener listener = new Listener();
+
+       private Button syncBundles;
+       private Button clearDataDirectory;
+
+       private Button addJvmPaths;
+       private Text additionalVmArgs;
+
+       private Text additionalProgramArgs;
+
+       // private final Boolean isEclipse;
+
+       public OsgiBootMainTab(Boolean isEclipse) {
+               super();
+               // this.isEclipse = isEclipse;
+       }
+
+       public void createControl(Composite parent) {
+               Composite container = new Composite(parent, SWT.NONE);
+               container.setLayout(new GridLayout());
+               container.setLayoutData(new GridData(GridData.FILL_BOTH));
+
+               createAdditionalProgramArgs(container);
+               createAdditionalVmArgumentBlock(container);
+               createAdvanced(container);
+               Dialog.applyDialogFont(container);
+               setControl(container);
+       }
+
+       /** Init UI for programs arguments */
+       protected void createAdditionalProgramArgs(Composite parent) {
+               Group container = new Group(parent, SWT.NONE);
+               container.setText("Additional Program Arguments");
+               GridLayout layout = new GridLayout();
+               layout.numColumns = 2;
+               container.setLayout(layout);
+               container.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+
+               additionalProgramArgs = new Text(container, SWT.MULTI | SWT.WRAP
+                               | SWT.BORDER | SWT.V_SCROLL);
+               GridData gd = new GridData(GridData.FILL_BOTH);
+               gd.heightHint = 60;
+               gd.widthHint = 100;
+               gd.horizontalSpan = 2;
+               additionalProgramArgs.setLayoutData(gd);
+               additionalProgramArgs.addModifyListener(listener);
+       }
+
+       /** Init UI for VM arguments */
+       protected void createAdditionalVmArgumentBlock(Composite parent) {
+               Group container = new Group(parent, SWT.NONE);
+               container.setText("Additional VM Arguments");
+               GridLayout layout = new GridLayout();
+               layout.numColumns = 2;
+               container.setLayout(layout);
+               container.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+
+               additionalVmArgs = new Text(container, SWT.MULTI | SWT.WRAP
+                               | SWT.BORDER | SWT.V_SCROLL);
+               GridData gd = new GridData(GridData.FILL_BOTH);
+               gd.heightHint = 60;
+               gd.widthHint = 100;
+               gd.horizontalSpan = 2;
+               additionalVmArgs.setLayoutData(gd);
+               additionalVmArgs.addModifyListener(listener);
+
+       }
+
+       /** Init UI for Advanced section */
+       protected void createAdvanced(Composite parent) {
+               Group container = new Group(parent, SWT.NONE);
+               container.setText("Advanced");
+               GridLayout layout = new GridLayout();
+               layout.numColumns = 2;
+               container.setLayout(layout);
+               container.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
+
+               syncBundles = new Button(container, SWT.CHECK);
+               syncBundles.addSelectionListener(listener);
+               new Label(container, SWT.NONE)
+                               .setText("Keep bundles in line with target platform and workspace (recommended)");
+               clearDataDirectory = new Button(container, SWT.CHECK);
+               clearDataDirectory.addSelectionListener(listener);
+               new Label(container, SWT.NONE)
+                               .setText("Clear data directory before launch");
+
+               addJvmPaths = new Button(container, SWT.CHECK);
+               addJvmPaths.addSelectionListener(listener);
+               new Label(container, SWT.NONE)
+                               .setText("Add workspace JVM paths as non-standard system properties");
+
+       }
+
+       public String getName() {
+               return "OSGi Boot";
+       }
+
+       @Override
+       public Image getImage() {
+               return SlcIdeUiPlugin.getDefault().getImage("icons/slc-launch.gif");
+       }
+
+       public void initializeFrom(ILaunchConfiguration configuration) {
+               // System.out.println("initializeFrom");
+               try {
+                       syncBundles.setSelection(configuration.getAttribute(
+                                       ATTR_SYNC_BUNDLES, true));
+                       clearDataDirectory.setSelection(configuration.getAttribute(
+                                       ATTR_CLEAR_DATA_DIRECTORY, false));
+
+                       additionalProgramArgs.setText(configuration.getAttribute(
+                                       ATTR_ADDITIONAL_PROGRAM_ARGS, ""));
+                       addJvmPaths.setSelection(configuration.getAttribute(
+                                       ATTR_ADD_JVM_PATHS, false));
+                       additionalVmArgs.setText(configuration.getAttribute(
+                                       ATTR_ADDITIONAL_VM_ARGS, ""));
+                       // readProperties(configuration);
+               } catch (CoreException e) {
+                       e.printStackTrace();
+               }
+       }
+
+       public void performApply(ILaunchConfigurationWorkingCopy configuration) {
+               // System.out.println("performApply");
+               configuration.setAttribute(ATTR_SYNC_BUNDLES,
+                               syncBundles.getSelection());
+               configuration.setAttribute(ATTR_CLEAR_DATA_DIRECTORY,
+                               clearDataDirectory.getSelection());
+
+               configuration.setAttribute(ATTR_ADDITIONAL_PROGRAM_ARGS,
+                               additionalProgramArgs.getText());
+               configuration.setAttribute(ATTR_ADDITIONAL_VM_ARGS,
+                               additionalVmArgs.getText());
+               configuration.setAttribute(ATTR_ADD_JVM_PATHS,
+                               addJvmPaths.getSelection());
+               // writeProperties(configuration);
+
+               // OsgiLaunchHelper.updateLaunchConfiguration(configuration, isEclipse);
+       }
+
+       public void setDefaults(ILaunchConfigurationWorkingCopy configuration) {
+               // System.out.println("setDefaults");
+               configuration.setAttribute(ATTR_SYNC_BUNDLES, true);
+               configuration.setAttribute(ATTR_CLEAR_DATA_DIRECTORY, false);
+               configuration.setAttribute(ATTR_ADD_JVM_PATHS, false);
+               configuration.setAttribute(ATTR_ADDITIONAL_VM_ARGS, "-Xmx128m");
+               configuration.setAttribute(ATTR_ADDITIONAL_PROGRAM_ARGS, "-console");
+       }
+
+       @Override
+       public void activated(ILaunchConfigurationWorkingCopy workingCopy) {
+               initializeFrom(workingCopy);
+               try {
+                       workingCopy.doSave();
+               } catch (CoreException e) {
+                       e.printStackTrace();
+               }
+       }
+
+       @Override
+       public void deactivated(ILaunchConfigurationWorkingCopy workingCopy) {
+               // do nothing
+       }
+
+       class Listener extends SelectionAdapter implements ModifyListener {
+               public void widgetSelected(SelectionEvent e) {
+                       // Object source = e.getSource();
+                       // setDirty(true);
+                       updateLaunchConfigurationDialog();
+               }
+
+               public void modifyText(ModifyEvent e) {
+                       // System.out.println("modifyText : " + e);
+                       // setDirty(true);
+                       updateLaunchConfigurationDialog();
+               }
+       }
+
+       // private void readProperties(ILaunchConfiguration configuration) {
+       // BufferedReader reader = null;
+       // try {
+       // IFile propertiesFile = (IFile) configuration.getMappedResources()[0];
+       // propertiesFile.refreshLocal(IResource.DEPTH_ONE, null);
+       // reader = new BufferedReader(new InputStreamReader(propertiesFile
+       // .getContents()));
+       // String line = null;
+       // StringBuffer buf = new StringBuffer("");
+       // while ((line = reader.readLine()) != null) {
+       // buf.append(line);
+       // buf.append("\n");
+       // }
+       // propertiesText.setText(buf.toString());
+       // } catch (CoreException e) {
+       // ErrorDialog.openError(Display.getCurrent().getActiveShell(),
+       // "Error", "Cannot read properties", e.getStatus());
+       // return;
+       // } catch (Exception e) {
+       // ErrorDialog.openError(Display.getCurrent().getActiveShell(),
+       // "Error", "Cannot read properties",
+       // new Status(IStatus.ERROR, SlcIdeUiPlugin.ID,
+       // e.getMessage(), e));
+       // return;
+       // } finally {
+       // if (reader != null)
+       // try {
+       // reader.close();
+       // } catch (IOException e) {
+       // // silent
+       // }
+       // }
+       //
+       // }
+       //
+       // private void writeProperties(ILaunchConfiguration configuration) {
+       // InputStream in = null;
+       // IFile propertiesFile = null;
+       // try {
+       // propertiesFile = (IFile) configuration.getMappedResources()[0];
+       // in = new ByteArrayInputStream(propertiesText.getText().getBytes());
+       // propertiesFile.setContents(in, true, true, null);
+       // propertiesFile.refreshLocal(IResource.DEPTH_ONE, null);
+       // } catch (CoreException e) {
+       // ErrorDialog.openError(Display.getCurrent().getActiveShell(),
+       // "Error", "Cannot write properties", e.getStatus());
+       // return;
+       // } catch (Exception e) {
+       // ErrorDialog.openError(Display.getCurrent().getActiveShell(),
+       // "Error", "Cannot write properties",
+       // new Status(IStatus.ERROR, SlcIdeUiPlugin.ID,
+       // e.getMessage(), e));
+       // return;
+       // } finally {
+       // if (in != null)
+       // try {
+       // in.close();
+       // } catch (IOException e) {
+       // // silent
+       // }
+       // }
+       //
+       // }
+
+}
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiLaunchHelper.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiLaunchHelper.java
new file mode 100644 (file)
index 0000000..11135f2
--- /dev/null
@@ -0,0 +1,620 @@
+package org.argeo.slc.ide.ui.launch.osgi;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.HashMap;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+import java.util.Properties;
+import java.util.Set;
+import java.util.StringTokenizer;
+import java.util.TreeMap;
+import java.util.TreeSet;
+
+import org.argeo.slc.ide.ui.SlcIdeUiPlugin;
+import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IFolder;
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.runtime.Assert;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.IPath;
+import org.eclipse.core.runtime.IStatus;
+import org.eclipse.core.runtime.Status;
+import org.eclipse.core.variables.IStringVariableManager;
+import org.eclipse.core.variables.VariablesPlugin;
+import org.eclipse.debug.core.ILaunchConfiguration;
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
+import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
+import org.eclipse.jdt.launching.IVMInstall;
+import org.eclipse.jdt.launching.IVMInstall2;
+import org.eclipse.jdt.launching.IVMInstallType;
+import org.eclipse.jdt.launching.JavaRuntime;
+import org.eclipse.jface.dialogs.ErrorDialog;
+import org.eclipse.jface.viewers.ISelection;
+import org.eclipse.jface.viewers.IStructuredSelection;
+import org.eclipse.osgi.service.resolver.BundleDescription;
+import org.eclipse.pde.core.plugin.IPluginModelBase;
+import org.eclipse.pde.core.plugin.PluginRegistry;
+import org.eclipse.pde.internal.build.IPDEBuildConstants;
+import org.eclipse.pde.launching.IPDELauncherConstants;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
+
+/**
+ * Most of the actual logic is concentrated in this class which manipulates
+ * {@link ILaunchConfigurationWorkingCopy}. Static method are used since the
+ * shortcut and launch configuration classes are already extending PDE classes.
+ */
+@SuppressWarnings("restriction")
+public class OsgiLaunchHelper implements OsgiLauncherConstants {
+       private static Boolean debug = true;
+
+       private final static String DEFAULT_DATA_DIR = "data";
+       private final static String DEFAULT_EXEC_DIR = "exec";
+       private final static String DEFAULT_VMARGS = "-Xmx256m";
+       private final static String DEFAULT_PROGRAM_ARGS = "-console";
+
+       /** Sets default values on this configuration. */
+       public static void setDefaults(ILaunchConfigurationWorkingCopy wc,
+                       Boolean isEclipse) {
+               try {
+                       if (isEclipse) {
+                               wc.setAttribute(IPDELauncherConstants.USE_DEFAULT, false);
+                               wc.setAttribute(IPDELauncherConstants.USE_PRODUCT, false);
+                       }
+
+                       wc.setAttribute(ATTR_ADD_JVM_PATHS, false);
+                       wc.setAttribute(ATTR_ADDITIONAL_VM_ARGS, DEFAULT_VMARGS);
+                       wc.setAttribute(ATTR_ADDITIONAL_PROGRAM_ARGS, DEFAULT_PROGRAM_ARGS);
+
+                       // Defaults
+                       String originalVmArgs = wc.getAttribute(
+                                       IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS, "");
+                       wc.setAttribute(ATTR_DEFAULT_VM_ARGS, originalVmArgs);
+
+                       // clear config area by default
+                       wc.setAttribute(IPDELauncherConstants.CONFIG_CLEAR_AREA, true);
+               } catch (CoreException e) {
+                       Shell shell = Display.getCurrent().getActiveShell();
+                       ErrorDialog.openError(shell, "Error",
+                                       "Cannot execute initalize configuration", e.getStatus());
+               }
+       }
+
+       /** Find the working directory based on this properties file. */
+       public static String findWorkingDirectory(IFile propertiesFile) {
+               try {
+                       IProject project = propertiesFile.getProject();
+                       IPath parent = propertiesFile.getProjectRelativePath()
+                                       .removeLastSegments(1);
+                       IFolder execFolder = project.getFolder(parent
+                                       .append(DEFAULT_EXEC_DIR));
+                       if (!execFolder.exists())
+                               execFolder.create(true, true, null);
+                       IFolder launchFolder = project.getFolder(execFolder
+                                       .getProjectRelativePath().append(
+                                                       extractName(propertiesFile)));
+                       if (!launchFolder.exists())
+                               launchFolder.create(true, true, null);
+                       return "${workspace_loc:"
+                                       + launchFolder.getFullPath().toString().substring(1) + "}";
+               } catch (Exception e) {
+                       e.printStackTrace();
+                       throw new RuntimeException("Cannot create working directory", e);
+               }
+       }
+
+       /** Extract the launch configuration name from the properties file. */
+       public static String extractName(IFile propertiesFile) {
+               IPath path = propertiesFile.getFullPath();
+               IPath pathNoExt = path.removeFileExtension();
+               return pathNoExt.segment(pathNoExt.segmentCount() - 1);
+
+       }
+
+       /** Expects properties file to be set as mapped resources */
+       @SuppressWarnings("unchecked")
+       public static void updateLaunchConfiguration(
+                       ILaunchConfigurationWorkingCopy wc, Boolean isEclipse) {
+               try {
+                       if (debug)
+                               debug("##\n## Launch " + wc.getName() + " - " + new Date()
+                                               + "\n##");
+
+                       // Finds the properties file and load it
+                       IFile propertiesFile = (IFile) wc.getMappedResources()[0];
+                       propertiesFile.refreshLocal(IResource.DEPTH_ONE, null);
+                       Properties properties = readProperties(propertiesFile);
+
+                       // Extract information from the properties file
+                       Map<String, Integer> bundlesToStart = new TreeMap<String, Integer>();
+                       Map<String, String> systemPropertiesToAppend = new HashMap<String, String>();
+                       String applicationId = interpretProperties(properties,
+                                       bundlesToStart, systemPropertiesToAppend);
+
+                       if (applicationId != null)
+                               wc.setAttribute(IPDELauncherConstants.APPLICATION,
+                                               applicationId);
+                       else {
+                               if (isEclipse)
+                                       throw new Exception("No application defined,"
+                                                       + " please set the 'eclipse.application' property"
+                                                       + " in the properties file");
+                       }
+
+                       // Define directories
+                       File workingDir = getWorkingDirectory(wc);
+                       File dataDir = new File(workingDir, DEFAULT_DATA_DIR);
+
+                       // Update the launch configuration accordingly
+                       updateLaunchConfiguration(wc, bundlesToStart,
+                                       systemPropertiesToAppend, dataDir.getAbsolutePath(),
+                                       isEclipse);
+
+                       if (debug) {
+                               Map<String, ?> attrs = new TreeMap<String, Object>(
+                                               (Map<String, String>) wc.getAttributes());
+                               for (String key : attrs.keySet())
+                                       OsgiLaunchHelper.debug(key + "=" + attrs.get(key));
+                       }
+               } catch (Exception e) {
+                       e.printStackTrace();
+                       Shell shell = SlcIdeUiPlugin.getDefault().getWorkbench()
+                                       .getActiveWorkbenchWindow().getShell();
+                       // Shell shell= Display.getCurrent().getActiveShell();
+                       ErrorDialog.openError(shell, "Error",
+                                       "Cannot prepare launch configuration",
+                                       new Status(IStatus.ERROR, SlcIdeUiPlugin.ID,
+                                                       e.getMessage(), e));
+                       return;
+               }
+       }
+
+       /**
+        * Actually modifies the launch configuration in order to reflect the
+        * current state read from the properties file and the launch configuration
+        * UI.
+        */
+       protected static void updateLaunchConfiguration(
+                       ILaunchConfigurationWorkingCopy wc,
+                       Map<String, Integer> bundlesToStart,
+                       Map<String, String> systemPropertiesToAppend, String dataDir,
+                       Boolean isEclipse) throws CoreException {
+               // Convert bundle lists
+               final String targetBundles;
+               final String wkSpaceBundles;
+               if (wc.getAttribute(ATTR_SYNC_BUNDLES, true)) {
+                       StringBuffer tBuf = new StringBuffer();
+                       for (IPluginModelBase model : PluginRegistry.getExternalModels()) {
+                               tBuf.append(model.getBundleDescription().getSymbolicName());
+                               tBuf.append(',');
+                       }
+                       targetBundles = tBuf.toString();
+                       StringBuffer wBuf = new StringBuffer();
+                       models: for (IPluginModelBase model : PluginRegistry
+                                       .getWorkspaceModels()) {
+                               if (model.getBundleDescription() == null) {
+                                       System.err.println("No bundle description for " + model);
+                                       continue models;
+                               }
+                               wBuf.append(model.getBundleDescription().getSymbolicName());
+                               wBuf.append(',');
+                       }
+                       wkSpaceBundles = wBuf.toString();
+               } else {
+                       targetBundles = wc.getAttribute(targetBundlesAttr(isEclipse), "");
+                       wkSpaceBundles = wc.getAttribute(workspaceBundlesAttr(isEclipse),
+                                       "");
+               }
+               wc.setAttribute(targetBundlesAttr(isEclipse),
+                               convertBundleList(bundlesToStart, targetBundles));
+
+               wc.setAttribute(workspaceBundlesAttr(isEclipse),
+                               convertBundleList(bundlesToStart, wkSpaceBundles));
+
+               // Update other default information
+               wc.setAttribute(IPDELauncherConstants.DEFAULT_AUTO_START, false);
+
+               wc.setAttribute(IPDELauncherConstants.USE_CUSTOM_FEATURES, false);
+               if (!isEclipse)
+                       wc.setAttribute(IPDELauncherConstants.USE_DEFAULT, true);
+
+               // VM arguments (system properties)
+               String defaultVmArgs = wc.getAttribute(
+                               OsgiLauncherConstants.ATTR_DEFAULT_VM_ARGS, "");
+               StringBuffer vmArgs = new StringBuffer(defaultVmArgs);
+
+               // Data dir system property
+               if (dataDir != null) {
+                       addSysProperty(vmArgs, OsgiLauncherConstants.ARGEO_OSGI_DATA_DIR,
+                                       dataDir);
+                       if (isEclipse) {
+                               wc.setAttribute(IPDELauncherConstants.LOCATION, dataDir);
+                       }
+               }
+
+               // Add locations of JVMs
+               if (wc.getAttribute(ATTR_ADD_JVM_PATHS, false))
+                       addVms(vmArgs);
+
+               // Add other system properties
+               for (String key : systemPropertiesToAppend.keySet())
+                       addSysProperty(vmArgs, key, systemPropertiesToAppend.get(key));
+
+               vmArgs.append(" ").append(wc.getAttribute(ATTR_ADDITIONAL_VM_ARGS, ""));
+
+               wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS,
+                               vmArgs.toString());
+
+               // Program arguments
+               StringBuffer progArgs = new StringBuffer("");
+               if (dataDir != null) {
+                       progArgs.append("-data ");
+                       progArgs.append(surroundSpaces(dataDir));
+
+                       if (wc.getAttribute(ATTR_CLEAR_DATA_DIRECTORY, false)) {
+                               File dataDirFile = new File(dataDir);
+                               deleteDir(dataDirFile);
+                               dataDirFile.mkdirs();
+                       }
+               }
+               String additionalProgramArgs = wc.getAttribute(
+                               OsgiLauncherConstants.ATTR_ADDITIONAL_PROGRAM_ARGS, "");
+               progArgs.append(' ').append(additionalProgramArgs);
+               wc.setAttribute(
+                               IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS,
+                               progArgs.toString());
+       }
+
+       /** The launch configuration attribute to use for target bundles */
+       protected static String targetBundlesAttr(Boolean isEclipse) {
+               return isEclipse ? IPDELauncherConstants.SELECTED_TARGET_PLUGINS
+                               : IPDELauncherConstants.TARGET_BUNDLES;
+       }
+
+       /** The launch configuration attribute to use for workspace bundles */
+       protected static String workspaceBundlesAttr(Boolean isEclipse) {
+               return isEclipse ? IPDELauncherConstants.SELECTED_WORKSPACE_PLUGINS
+                               : IPDELauncherConstants.WORKSPACE_BUNDLES;
+       }
+
+       /**
+        * Interprets special properties and register the others as system
+        * properties to append.
+        * 
+        * @return the application id defined by
+        *         {@link OsgiLauncherConstants#ECLIPSE_APPLICATION}, or null if not
+        *         found
+        */
+       protected static String interpretProperties(Properties properties,
+                       Map<String, Integer> bundlesToStart,
+                       Map<String, String> systemPropertiesToAppend) {
+               computeBundlesToStart(bundlesToStart, properties, null);
+
+               String applicationId = null;
+               propKeys: for (Object keyObj : properties.keySet()) {
+                       String key = keyObj.toString();
+                       if (OsgiLauncherConstants.ARGEO_OSGI_START.equals(key))
+                               continue propKeys;
+                       if (key.startsWith(OsgiLauncherConstants.ARGEO_OSGI_START + "."))
+                               continue propKeys;
+                       else if (OsgiLauncherConstants.ARGEO_OSGI_BUNDLES.equals(key))
+                               continue propKeys;
+                       else if (OsgiLauncherConstants.ARGEO_OSGI_LOCATIONS.equals(key))
+                               continue propKeys;
+                       else if (OsgiLauncherConstants.OSGI_BUNDLES.equals(key))
+                               continue propKeys;
+                       else if (OsgiLauncherConstants.ECLIPSE_APPLICATION.equals(key))
+                               applicationId = properties.getProperty(key);
+                       else
+                               systemPropertiesToAppend.put(key, properties.getProperty(key));
+               }
+               return applicationId;
+       }
+
+       /** Adds a regular system property. */
+       protected static void addSysProperty(StringBuffer vmArgs, String key,
+                       String value) {
+               surroundSpaces(value);
+               String str = "-D" + key + "=" + value;
+               vmArgs.append(' ').append(str);
+       }
+
+       /** Adds JVMS registered in the workspace as special system properties. */
+       protected static void addVms(StringBuffer vmArgs) {
+               addVmSysProperty(vmArgs, "default", JavaRuntime.getDefaultVMInstall());
+               IVMInstallType[] vmTypes = JavaRuntime.getVMInstallTypes();
+               for (IVMInstallType vmType : vmTypes) {
+                       for (IVMInstall vmInstall : vmType.getVMInstalls()) {
+                               // properties based on name
+                               addVmSysProperty(vmArgs, vmInstall.getName(), vmInstall);
+                               if (vmInstall instanceof IVMInstall2) {
+                                       // properties based on version
+                                       IVMInstall2 vmInstall2 = (IVMInstall2) vmInstall;
+                                       String version = vmInstall2.getJavaVersion();
+                                       addVmSysProperty(vmArgs, version, vmInstall);
+
+                                       List<String> tokens = new ArrayList<String>();
+                                       StringTokenizer st = new StringTokenizer(version, ".");
+                                       while (st.hasMoreTokens())
+                                               tokens.add(st.nextToken());
+                                       if (tokens.size() >= 2)
+                                               addVmSysProperty(vmArgs,
+                                                               tokens.get(0) + "." + tokens.get(1), vmInstall);
+                               }
+                       }
+               }
+
+       }
+
+       /** Adds a special system property pointing to one of the registered JVMs. */
+       protected static void addVmSysProperty(StringBuffer vmArgs, String suffix,
+                       IVMInstall vmInstall) {
+               addSysProperty(vmArgs, OsgiLauncherConstants.VMS_PROPERTY_PREFIX + "."
+                               + suffix, vmInstall.getInstallLocation().getPath());
+       }
+
+       /** Surround the string with quotes if it contains spaces. */
+       protected static String surroundSpaces(String str) {
+               if (str.indexOf(' ') >= 0)
+                       return '\"' + str + '\"';
+               else
+                       return str;
+       }
+
+       /**
+        * Reformat the bundle list in order to reflect which bundles have to be
+        * started.
+        */
+       protected static String convertBundleList(
+                       Map<String, Integer> bundlesToStart, String original) {
+               StringTokenizer stComa = new StringTokenizer(original, ",");
+               // sort by bundle symbolic name
+               Set<String> bundleIds = new TreeSet<String>();
+               bundles: while (stComa.hasMoreTokens()) {
+
+                       String bundleId = stComa.nextToken();
+                       if (bundleId.indexOf('*') >= 0)
+                               throw new RuntimeException(
+                                               "Bundle id "
+                                                               + bundleId
+                                                               + " not properly formatted, clean your workspace projects");
+
+                       int indexAt = bundleId.indexOf('@');
+                       if (indexAt >= 0) {
+                               bundleId = bundleId.substring(0, indexAt);
+                       }
+
+                       // We can now rely on bundleId value
+
+                       if (bundleId.endsWith(".source")) {
+                               // debug("Skip source bundle " + bundleId);
+                               continue bundles;
+                       } else if (bundleId
+                                       .equals(IPDEBuildConstants.BUNDLE_SIMPLE_CONFIGURATOR)) {
+                               // skip simple configurator in order to avoid side-effects
+                               continue bundles;
+                       }
+                       bundleIds.add(bundleId);
+               }
+
+               StringBuffer bufBundles = new StringBuffer(1024);
+               boolean first = true;
+               for (String bundleId : bundleIds) {
+                       if (first)
+                               first = false;
+                       else
+                               bufBundles.append(',');
+                       boolean modified = false;
+                       if (bundlesToStart.containsKey(bundleId)) {
+                               Integer startLevel = bundlesToStart.get(bundleId);
+                               String startLevelStr = startLevel != null ? startLevel
+                                               .toString() : "default";
+                               bufBundles.append(bundleId).append('@').append(startLevelStr)
+                                               .append(":true");
+                               modified = true;
+                               debug("Will start " + bundleId + " at level " + startLevelStr);
+                       }
+
+                       if (!modified)
+                               bufBundles.append(bundleId);
+
+               }
+               String output = bufBundles.toString();
+               return output;
+       }
+
+       // UTILITIES
+       /** Recursively deletes a directory tree. */
+       private static void deleteDir(File dir) {
+               File[] files = dir.listFiles();
+               for (File file : files) {
+                       if (file.isDirectory())
+                               deleteDir(file);
+                       else
+                               file.delete();
+               }
+               dir.delete();
+       }
+
+       /** Loads a properties file. */
+       private static Properties readProperties(IFile file) throws CoreException {
+               Properties props = new Properties();
+
+               InputStream in = null;
+               try {
+                       in = file.getContents();
+                       props.load(in);
+               } catch (Exception e) {
+                       throw new CoreException(new Status(IStatus.ERROR,
+                                       SlcIdeUiPlugin.ID, "Cannot read properties file", e));
+               } finally {
+                       if (in != null)
+                               try {
+                                       in.close();
+                               } catch (IOException e) {
+                                       // silent
+                               }
+               }
+               return props;
+       }
+
+       /** Determines the start levels for the bundles */
+       private static void computeBundlesToStart(
+                       Map<String, Integer> bundlesToStart, Properties properties,
+                       Integer defaultStartLevel) {
+
+               // default (and previously, only behaviour)
+               appendBundlesToStart(bundlesToStart, defaultStartLevel,
+                               properties.getProperty(OsgiLauncherConstants.ARGEO_OSGI_START,
+                                               ""));
+
+               // list argeo.osgi.start.* system properties
+               Iterator<Object> keys = properties.keySet().iterator();
+               final String prefix = OsgiLauncherConstants.ARGEO_OSGI_START + ".";
+               while (keys.hasNext()) {
+                       String key = (String) keys.next();
+                       if (key.startsWith(prefix)) {
+                               Integer startLevel;
+                               String suffix = key.substring(prefix.length());
+                               String[] tokens = suffix.split("\\.");
+                               if (tokens.length > 0 && !tokens[0].trim().equals(""))
+                                       try {
+                                               // first token is start level
+                                               startLevel = new Integer(tokens[0]);
+                                       } catch (NumberFormatException e) {
+                                               startLevel = defaultStartLevel;
+                                       }
+                               else
+                                       startLevel = defaultStartLevel;
+
+                               // append bundle names
+                               String bundleNames = properties.getProperty(key);
+                               appendBundlesToStart(bundlesToStart, startLevel, bundleNames);
+                       }
+               }
+       }
+
+       /** Append a comma-separated list of bundles to the start levels. */
+       private static void appendBundlesToStart(
+                       Map<String, Integer> bundlesToStart, Integer startLevel, String str) {
+               if (str == null || str.trim().equals(""))
+                       return;
+
+               String[] bundleNames = str.split(",");
+               for (int i = 0; i < bundleNames.length; i++) {
+                       if (bundleNames[i] != null && !bundleNames[i].trim().equals(""))
+                               bundlesToStart.put(bundleNames[i], startLevel);
+               }
+       }
+
+       /*
+        * HACKED UTILITIES
+        */
+       // Hacked from
+       // org.eclipse.pde.internal.ui.launcher.LaunchArgumentsHelper.getWorkingDirectory(ILaunchConfiguration)
+       private static File getWorkingDirectory(ILaunchConfiguration configuration)
+                       throws CoreException {
+               String working;
+               try {
+                       working = configuration.getAttribute(
+                                       IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY,
+                                       new File(".").getCanonicalPath()); //$NON-NLS-1$
+               } catch (IOException e) {
+                       working = "${workspace_loc}/../"; //$NON-NLS-1$
+               }
+               File dir;
+               try {
+                       dir = new File(getSubstitutedString(working));
+               } catch (Exception e) {
+                       // the directory was most probably deleted
+                       IFile propertiesFile = (IFile) configuration.getMappedResources()[0];
+                       working = findWorkingDirectory(propertiesFile);
+                       dir = new File(getSubstitutedString(working));
+               }
+               if (!dir.exists())
+                       dir.mkdirs();
+               return dir;
+       }
+
+       // Hacked from
+       // org.eclipse.pde.internal.ui.launcher.LaunchArgumentsHelper.getSubstitutedString(String)
+       private static String getSubstitutedString(String text)
+                       throws CoreException {
+               if (text == null)
+                       return ""; //$NON-NLS-1$
+               IStringVariableManager mgr = VariablesPlugin.getDefault()
+                               .getStringVariableManager();
+               return mgr.performStringSubstitution(text);
+       }
+
+       /**
+        * Not used anymore, but kept because this routine may be useful in the
+        * future.
+        */
+       protected void addSelectedProjects(StringBuffer name, ISelection selection,
+                       List<String> bundlesToStart) {
+               Assert.isNotNull(selection);
+
+               Map<String, IPluginModelBase> bundleProjects = new HashMap<String, IPluginModelBase>();
+               for (IPluginModelBase modelBase : PluginRegistry.getWorkspaceModels()) {
+                       IProject bundleProject = modelBase.getUnderlyingResource()
+                                       .getProject();
+                       bundleProjects.put(bundleProject.getName(), modelBase);
+               }
+
+               IStructuredSelection sSelection = (IStructuredSelection) selection;
+               for (Iterator<?> it = sSelection.iterator(); it.hasNext();) {
+                       Object obj = it.next();
+                       if (obj instanceof IProject) {
+                               IProject project = (IProject) obj;
+                               if (bundleProjects.containsKey(project.getName())) {
+                                       IPluginModelBase modelBase = bundleProjects.get(project
+                                                       .getName());
+
+                                       BundleDescription bundleDescription = null;
+                                       if (modelBase.isFragmentModel()) {
+                                               BundleDescription[] hosts = modelBase
+                                                               .getBundleDescription().getHost().getHosts();
+                                               for (BundleDescription bd : hosts) {
+                                                       if (debug)
+                                                               System.out.println("Host for "
+                                                                               + modelBase.getBundleDescription()
+                                                                                               .getSymbolicName() + ": "
+                                                                               + bd.getSymbolicName());
+                                                       bundleDescription = bd;
+                                               }
+                                       } else {
+                                               bundleDescription = modelBase.getBundleDescription();
+                                       }
+
+                                       if (bundleDescription != null) {
+                                               String symbolicName = bundleDescription
+                                                               .getSymbolicName();
+                                               String bundleName = bundleDescription.getName();
+
+                                               bundlesToStart.add(symbolicName);
+
+                                               if (name.length() > 0)
+                                                       name.append(" ");
+                                               if (bundleName != null)
+                                                       name.append(bundleName);
+                                               else
+                                                       name.append(symbolicName);
+                                       }
+                               }
+                       }
+               }
+       }
+
+       static void debug(Object obj) {
+               if (debug)
+                       System.out.println(obj);
+       }
+
+}
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiLauncherConstants.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiLauncherConstants.java
new file mode 100644 (file)
index 0000000..8ada527
--- /dev/null
@@ -0,0 +1,32 @@
+package org.argeo.slc.ide.ui.launch.osgi;
+
+import org.argeo.slc.ide.ui.SlcIdeUiPlugin;
+
+/** Constants used by OSGi launch. */
+public interface OsgiLauncherConstants {
+
+       public final static String OSGI_BUNDLES = "osgi.bundles";
+       public final static String ECLIPSE_APPLICATION = "eclipse.application";
+
+       public final static String ARGEO_OSGI_START = "argeo.osgi.start";
+       public final static String ARGEO_OSGI_BUNDLES = "argeo.osgi.bundles";
+       public final static String ARGEO_OSGI_LOCATIONS = "argeo.osgi.locations";
+       public final static String ARGEO_OSGI_DATA_DIR = "argeo.osgi.data.dir";
+       public final static String VMS_PROPERTY_PREFIX = "slc.launch.vm";
+
+       // Configuration
+       public final static String ATTR_SYNC_BUNDLES = SlcIdeUiPlugin.ID
+                       + ".syncBundles";
+       public final static String ATTR_CLEAR_DATA_DIRECTORY = SlcIdeUiPlugin.ID
+                       + ".clearDataDirectory";
+
+       public final static String ATTR_DEFAULT_VM_ARGS = SlcIdeUiPlugin.ID
+                       + ".defaultVmArgs";
+       public final static String ATTR_ADDITIONAL_PROGRAM_ARGS = SlcIdeUiPlugin.ID
+                       + ".additionalProgramArgs";
+       public final static String ATTR_ADDITIONAL_VM_ARGS = SlcIdeUiPlugin.ID
+                       + ".additionalVmArgs";
+       public final static String ATTR_ADD_JVM_PATHS = SlcIdeUiPlugin.ID
+                       + ".addJvmPaths";
+       public final static String ATTR_DATADIR = SlcIdeUiPlugin.ID + ".dataDir";
+}
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/preferences/SlcLaunchPreferencePage.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/preferences/SlcLaunchPreferencePage.java
new file mode 100644 (file)
index 0000000..24c6757
--- /dev/null
@@ -0,0 +1,34 @@
+package org.argeo.slc.ide.ui.launch.preferences;\r
+\r
+import org.argeo.slc.ide.ui.SlcIdeUiPlugin;\r
+import org.eclipse.jface.preference.DirectoryFieldEditor;\r
+import org.eclipse.jface.preference.FieldEditorPreferencePage;\r
+import org.eclipse.ui.IWorkbench;\r
+import org.eclipse.ui.IWorkbenchPreferencePage;\r
+\r
+public class SlcLaunchPreferencePage extends FieldEditorPreferencePage implements\r
+               IWorkbenchPreferencePage {\r
+       public final static String PREF_SLC_RUNTIME_LOCATION = SlcIdeUiPlugin.ID\r
+                       + ".slcRuntimeLocation";\r
+       public final static String PREF_EMBEDDED_JAVA_LIBRARY_PATH = SlcIdeUiPlugin.ID\r
+                       + ".embeddedJavaLibraryPath";\r
+\r
+       public SlcLaunchPreferencePage() {\r
+//             IPreferenceStore store = SlcUiLaunchPlugin.getDefault()\r
+//                             .getPreferenceStore();\r
+//             setPreferenceStore(store);\r
+               setDescription("Argeo SLC Launch Preferences");\r
+       }\r
+\r
+       @Override\r
+       protected void createFieldEditors() {\r
+               addField(new DirectoryFieldEditor(PREF_SLC_RUNTIME_LOCATION,\r
+                               "SLC Runtime", getFieldEditorParent()));\r
+               addField(new DirectoryFieldEditor(PREF_EMBEDDED_JAVA_LIBRARY_PATH,\r
+                               "Embedded Java Library Path", getFieldEditorParent()));\r
+       }\r
+\r
+       public void init(IWorkbench workbench) {\r
+       }\r
+\r
+}\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchConfigurationTab.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchConfigurationTab.java
new file mode 100644 (file)
index 0000000..f73a8ca
--- /dev/null
@@ -0,0 +1,191 @@
+package org.argeo.slc.ide.ui.launch.script;\r
+\r
+import org.eclipse.core.resources.IResource;\r
+import org.eclipse.core.resources.ResourcesPlugin;\r
+import org.eclipse.core.runtime.CoreException;\r
+import org.eclipse.debug.core.ILaunchConfiguration;\r
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;\r
+import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;\r
+import org.eclipse.jface.window.Window;\r
+import org.eclipse.swt.SWT;\r
+import org.eclipse.swt.events.ModifyEvent;\r
+import org.eclipse.swt.events.ModifyListener;\r
+import org.eclipse.swt.events.SelectionEvent;\r
+import org.eclipse.swt.events.SelectionListener;\r
+import org.eclipse.swt.layout.GridData;\r
+import org.eclipse.swt.layout.GridLayout;\r
+import org.eclipse.swt.widgets.Button;\r
+import org.eclipse.swt.widgets.Composite;\r
+import org.eclipse.swt.widgets.Label;\r
+import org.eclipse.swt.widgets.Text;\r
+import org.eclipse.ui.dialogs.ResourceSelectionDialog;\r
+\r
+public class SlcScriptLaunchConfigurationTab extends\r
+               AbstractLaunchConfigurationTab {\r
+\r
+       private Text scriptTF;\r
+       private Text propertiesTF;\r
+       private Text runtimeTF;\r
+       private Text targetsTF;\r
+       private Button pre093B;\r
+\r
+       public void createControl(Composite parent) {\r
+               Composite body = new Composite(parent, SWT.NONE);\r
+               setControl(body);\r
+               body.setLayout(new GridLayout(1, false));\r
+               body.setFont(parent.getFont());\r
+\r
+               createLabel(body, "Script location");\r
+               scriptTF = createSingleText(body);\r
+               createWorkspaceButton(body);\r
+\r
+               createLabel(body, "Runtime");\r
+               runtimeTF = createSingleText(body);\r
+\r
+               createLabel(body, "Targets");\r
+               targetsTF = createSingleText(body);\r
+\r
+               createLabel(body, "Properties");\r
+               propertiesTF = createMultipleText(body, 10);\r
+\r
+               pre093B = createCheckBox(body, "Pre SLC v0.9.3");\r
+       }\r
+\r
+       public String getName() {\r
+               return "SLC";\r
+       }\r
+\r
+       public void initializeFrom(ILaunchConfiguration configuration) {\r
+               try {\r
+                       scriptTF.setText(configuration.getAttribute(\r
+                                       SlcScriptUtils.ATTR_SCRIPT, ""));\r
+\r
+                       boolean pre093 = configuration.getAttribute(\r
+                                       SlcScriptUtils.ATTR_PRE093, false);\r
+\r
+                       propertiesTF.setText(configuration.getAttribute(\r
+                                       SlcScriptUtils.ATTR_PROPERTIES, ""));\r
+                       runtimeTF.setText(configuration.getAttribute(\r
+                                       SlcScriptUtils.ATTR_RUNTIME, ""));\r
+                       targetsTF.setText(configuration.getAttribute(\r
+                                       SlcScriptUtils.ATTR_TARGETS, ""));\r
+                       pre093B.setSelection(pre093);\r
+               } catch (CoreException e) {\r
+                       throw new RuntimeException("Cannot initialize tab", e);\r
+               }\r
+\r
+       }\r
+\r
+       public void performApply(ILaunchConfigurationWorkingCopy configuration) {\r
+               configuration.setAttribute(SlcScriptUtils.ATTR_SCRIPT, scriptTF\r
+                               .getText());\r
+               configuration.setAttribute(SlcScriptUtils.ATTR_PROPERTIES, propertiesTF\r
+                               .getText());\r
+               configuration.setAttribute(SlcScriptUtils.ATTR_RUNTIME, runtimeTF\r
+                               .getText());\r
+               configuration.setAttribute(SlcScriptUtils.ATTR_TARGETS, targetsTF\r
+                               .getText());\r
+               configuration.setAttribute(SlcScriptUtils.ATTR_PRE093, pre093B\r
+                               .getSelection());\r
+       }\r
+\r
+       public void setDefaults(ILaunchConfigurationWorkingCopy configuration) {\r
+               configuration.setAttribute(SlcScriptUtils.ATTR_SCRIPT, "");\r
+               configuration.setAttribute(SlcScriptUtils.ATTR_PROPERTIES, "");\r
+               configuration.setAttribute(SlcScriptUtils.ATTR_RUNTIME, "");\r
+               configuration.setAttribute(SlcScriptUtils.ATTR_TARGETS, "");\r
+               configuration.setAttribute(SlcScriptUtils.ATTR_PRE093, false);\r
+       }\r
+\r
+       // UI Utils\r
+       protected Label createLabel(Composite parent, String text) {\r
+               Label t = new Label(parent, SWT.NONE | SWT.WRAP);\r
+               t.setText(text);\r
+               t.setFont(parent.getFont());\r
+               GridData gd = new GridData(GridData.FILL_HORIZONTAL);\r
+               gd.horizontalSpan = 1;\r
+               t.setLayoutData(gd);\r
+               return t;\r
+       }\r
+\r
+       protected Text createSingleText(Composite parent) {\r
+               Text t = new Text(parent, SWT.SINGLE | SWT.BORDER);\r
+               t.setFont(parent.getFont());\r
+               GridData gd = new GridData(GridData.FILL_HORIZONTAL);\r
+               gd.horizontalSpan = 1;\r
+               t.setLayoutData(gd);\r
+               t.addModifyListener(modifyListener);\r
+               return t;\r
+       }\r
+\r
+       protected Text createMultipleText(Composite parent, int verticalSpan) {\r
+               Text t = new Text(parent, SWT.MULTI | SWT.BORDER);\r
+               t.setFont(parent.getFont());\r
+               GridData gd = new GridData(GridData.FILL, GridData.FILL, true, true);\r
+               gd.horizontalSpan = 1;\r
+               gd.verticalSpan = verticalSpan;\r
+               t.setLayoutData(gd);\r
+               t.addModifyListener(modifyListener);\r
+               return t;\r
+       }\r
+\r
+       protected Button createCheckBox(Composite parent, String label) {\r
+               Button b = new Button(parent, SWT.CHECK);\r
+               b.setFont(parent.getFont());\r
+               b.setText(label);\r
+               b.addSelectionListener(selectionListener);\r
+               return b;\r
+\r
+       }\r
+\r
+       protected Button createWorkspaceButton(Composite parent) {\r
+               Button b = new Button(parent, SWT.PUSH);\r
+               b.setFont(parent.getFont());\r
+               b.setText("Workspace...");\r
+               b.addSelectionListener(new SelectionListener() {\r
+                       public void widgetDefaultSelected(SelectionEvent e) {\r
+                       }\r
+\r
+                       public void widgetSelected(SelectionEvent e) {\r
+                               handleWorkspaceLocationButtonSelected();\r
+                       }\r
+               });\r
+               return b;\r
+       }\r
+\r
+       protected void handleWorkspaceLocationButtonSelected() {\r
+               ResourceSelectionDialog dialog;\r
+               dialog = new ResourceSelectionDialog(getShell(), ResourcesPlugin\r
+                               .getWorkspace().getRoot(), "Select a file");\r
+               if (dialog.open() == Window.OK) {\r
+                       Object[] results = dialog.getResult();\r
+                       if (results == null || results.length < 1) {\r
+                               return;\r
+                       }\r
+                       IResource resource = (IResource) results[0];\r
+                       scriptTF.setText(SlcScriptUtils\r
+                                       .convertToWorkspaceLocation(resource));\r
+                       updateLaunchConfigurationDialog();\r
+               }\r
+       }\r
+\r
+       // LISTENERS\r
+       /**\r
+        * Modify listener that simply updates the owning launch configuration\r
+        * dialog.\r
+        */\r
+       private ModifyListener modifyListener = new ModifyListener() {\r
+               public void modifyText(ModifyEvent evt) {\r
+                       updateLaunchConfigurationDialog();\r
+               }\r
+       };\r
+       private SelectionListener selectionListener = new SelectionListener() {\r
+               public void widgetDefaultSelected(SelectionEvent e) {\r
+               }\r
+\r
+               public void widgetSelected(SelectionEvent e) {\r
+                       updateLaunchConfigurationDialog();\r
+               }\r
+       };\r
+\r
+}\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchConfigurationTabGroup.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchConfigurationTabGroup.java
new file mode 100644 (file)
index 0000000..e7d54a3
--- /dev/null
@@ -0,0 +1,16 @@
+package org.argeo.slc.ide.ui.launch.script;\r
+\r
+import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;\r
+import org.eclipse.debug.ui.CommonTab;\r
+import org.eclipse.debug.ui.ILaunchConfigurationDialog;\r
+import org.eclipse.debug.ui.ILaunchConfigurationTab;\r
+\r
+public class SlcScriptLaunchConfigurationTabGroup extends\r
+               AbstractLaunchConfigurationTabGroup {\r
+\r
+       public void createTabs(ILaunchConfigurationDialog dialog, String mode) {\r
+               ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {\r
+                               new SlcScriptLaunchConfigurationTab(), new CommonTab() };\r
+               setTabs(tabs);\r
+       }\r
+}\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchDelegate.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchDelegate.java
new file mode 100644 (file)
index 0000000..75d8ce7
--- /dev/null
@@ -0,0 +1,258 @@
+package org.argeo.slc.ide.ui.launch.script;\r
+\r
+import java.io.ByteArrayInputStream;\r
+import java.io.IOException;\r
+import java.util.List;\r
+import java.util.Properties;\r
+import java.util.Vector;\r
+\r
+import org.argeo.slc.ide.ui.DeployedSlcSystem;\r
+import org.argeo.slc.ide.ui.EmbeddedSlcSystem;\r
+import org.argeo.slc.ide.ui.SlcSystem;\r
+import org.argeo.slc.ide.ui.SlcIdeUiPlugin;\r
+import org.argeo.slc.ide.ui.launch.preferences.SlcLaunchPreferencePage;\r
+import org.eclipse.core.resources.IFile;\r
+import org.eclipse.core.resources.IProject;\r
+import org.eclipse.core.resources.ResourcesPlugin;\r
+import org.eclipse.core.runtime.CoreException;\r
+import org.eclipse.core.runtime.IPath;\r
+import org.eclipse.core.runtime.IProgressMonitor;\r
+import org.eclipse.core.runtime.IStatus;\r
+import org.eclipse.core.runtime.Path;\r
+import org.eclipse.core.runtime.Status;\r
+import org.eclipse.core.variables.IStringVariableManager;\r
+import org.eclipse.core.variables.VariablesPlugin;\r
+import org.eclipse.debug.core.DebugPlugin;\r
+import org.eclipse.debug.core.ILaunch;\r
+import org.eclipse.debug.core.ILaunchConfiguration;\r
+import org.eclipse.debug.core.ILaunchManager;\r
+import org.eclipse.jdt.core.IJavaProject;\r
+import org.eclipse.jdt.core.IType;\r
+import org.eclipse.jdt.core.JavaCore;\r
+import org.eclipse.jdt.core.JavaModelException;\r
+import org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate;\r
+import org.eclipse.jdt.launching.IVMRunner;\r
+import org.eclipse.jdt.launching.VMRunnerConfiguration;\r
+import org.eclipse.jface.dialogs.ErrorDialog;\r
+import org.eclipse.swt.widgets.Shell;\r
+\r
+public class SlcScriptLaunchDelegate extends\r
+               AbstractJavaLaunchConfigurationDelegate {\r
+       public static final String ID = "org.argeo.slc.launch.slcScriptLaunchType";\r
+\r
+       public final static String ANT_MAIN = "org.apache.tools.ant.Main";\r
+       public final static String SLC_MAIN = "org.argeo.slc.cli.SlcMain";\r
+\r
+       @SuppressWarnings("deprecation")\r
+       public void launch(ILaunchConfiguration configuration, String mode,\r
+                       ILaunch launch, IProgressMonitor monitor) throws CoreException {\r
+               if (!saveBeforeLaunch(configuration, mode, monitor))\r
+                       return;\r
+\r
+               String scriptLocation = configuration.getAttribute(\r
+                               SlcScriptUtils.ATTR_SCRIPT, "");\r
+               if (scriptLocation.equals(""))\r
+                       abort("Script has to be provided", null, 1);\r
+\r
+               IStringVariableManager manager = VariablesPlugin.getDefault()\r
+                               .getStringVariableManager();\r
+               scriptLocation = manager.performStringSubstitution(scriptLocation);\r
+               IPath path = new Path(scriptLocation);\r
+               IFile[] files = ResourcesPlugin.getWorkspace().getRoot()\r
+                               .findFilesForLocation(path);\r
+\r
+               if (files.length == 0)\r
+                       abort("Coulkd not find related file", null, 1);\r
+\r
+               IFile file = (IFile) files[0];\r
+               DebugPlugin\r
+                               .logMessage("Launching " + file.getLocation().toFile(), null);\r
+\r
+               boolean pre093 = configuration.getAttribute(SlcScriptUtils.ATTR_PRE093,\r
+                               false);\r
+\r
+               // Retrieve SLC Runtime\r
+               SlcSystem slcSystem = findSlcSystem(file, pre093);\r
+               if (slcSystem == null)\r
+                       return;\r
+\r
+               IVMRunner vmRunner = slcSystem.getVmInstall().getVMRunner(mode);\r
+               final VMRunnerConfiguration vmConfig;\r
+               if (pre093) {\r
+                       vmConfig = createPre093Config(slcSystem, file, mode);\r
+               } else {\r
+                       vmConfig = createConfig(slcSystem, file, mode, configuration);\r
+               }\r
+               vmRunner.run(vmConfig, launch, monitor);\r
+       }\r
+\r
+       protected SlcSystem findSlcSystem(IFile file, boolean pre093)\r
+                       throws CoreException {\r
+               SlcSystem slcSystem = null;\r
+\r
+               IProject project = file.getProject();\r
+               if (project.getNature("org.eclipse.jdt.core.javanature") != null) {\r
+                       IJavaProject javaProject = JavaCore.create(project);\r
+                       if (checkProjectForEmbedded(javaProject, pre093)) {\r
+                               slcSystem = new EmbeddedSlcSystem(javaProject);\r
+                       }\r
+               }\r
+\r
+               if (slcSystem == null) {\r
+                       String slcRuntimePath = SlcIdeUiPlugin.getDefault()\r
+                                       .getPreferenceStore().getString(\r
+                                                       SlcLaunchPreferencePage.PREF_SLC_RUNTIME_LOCATION);\r
+                       if (slcRuntimePath == null || slcRuntimePath.equals("")) {\r
+                               showError("SLC Runtime path is not set. Set it in Windows > Preferences > SLC");\r
+                               return null;\r
+                       }\r
+\r
+                       slcSystem = new DeployedSlcSystem(slcRuntimePath);\r
+               }\r
+\r
+               return slcSystem;\r
+       }\r
+\r
+       protected boolean checkProjectForEmbedded(IJavaProject project,\r
+                       boolean pre093) {\r
+               try {\r
+                       IType mainType = null;\r
+                       if (pre093)\r
+                               mainType = project.findType(ANT_MAIN);\r
+                       else\r
+                               mainType = project.findType(SLC_MAIN);\r
+\r
+                       if (mainType == null)\r
+                               return false;\r
+                       else\r
+                               return true;\r
+               } catch (JavaModelException e) {\r
+                       e.printStackTrace();\r
+                       return false;\r
+               }\r
+       }\r
+\r
+       // Regular SLC\r
+       protected VMRunnerConfiguration createConfig(SlcSystem deployedSlc,\r
+                       IFile file, String mode, ILaunchConfiguration configuration)\r
+                       throws CoreException {\r
+               VMRunnerConfiguration vmConfig = new VMRunnerConfiguration(SLC_MAIN,\r
+                               deployedSlc.getClasspath());\r
+               vmConfig.setVMArguments(getVmArguments(deployedSlc));\r
+               vmConfig.setWorkingDirectory(file.getLocation().toFile().getParent());\r
+               vmConfig.setProgramArguments(getProgramArguments(deployedSlc, file,\r
+                               mode, configuration));\r
+               return vmConfig;\r
+       }\r
+\r
+       protected String[] getVmArguments(SlcSystem deployedSlc) {\r
+               List<String> list = new Vector<String>();\r
+               if (deployedSlc.getJavaLibraryPath() != null)\r
+                       list.add("-Djava.library.path=" + deployedSlc.getJavaLibraryPath());\r
+               return list.toArray(new String[list.size()]);\r
+       }\r
+\r
+       protected String[] getProgramArguments(SlcSystem deployedSlc, IFile file,\r
+                       String mode, ILaunchConfiguration configuration)\r
+                       throws CoreException {\r
+               List<String> list = new Vector<String>();\r
+\r
+               list.add("--mode");\r
+               list.add("single");\r
+\r
+               // Script\r
+               list.add("--script");\r
+               list.add(file.getLocation().toFile().getAbsolutePath());\r
+\r
+               // Runtime\r
+               String runtime = configuration.getAttribute(\r
+                               SlcScriptUtils.ATTR_RUNTIME, "");\r
+               if (!runtime.equals("")) {\r
+                       list.add("--runtime");\r
+                       list.add(runtime);\r
+               }\r
+\r
+               // Targets\r
+               String targets = configuration.getAttribute(\r
+                               SlcScriptUtils.ATTR_TARGETS, "");\r
+               if (!targets.equals("")) {\r
+                       list.add("--targets");\r
+                       list.add(targets);\r
+               }\r
+\r
+               // Properties\r
+               Properties properties = new Properties();\r
+               String str = configuration.getAttribute(SlcScriptUtils.ATTR_PROPERTIES,\r
+                               "");\r
+               ByteArrayInputStream in = new ByteArrayInputStream(str.getBytes());\r
+               try {\r
+                       properties.load(in);\r
+               } catch (IOException e) {\r
+                       throw new RuntimeException("Cannot read properties", e);\r
+               } finally {\r
+                       if (in != null)\r
+                               try {\r
+                                       in.close();\r
+                               } catch (IOException e) {\r
+                                       // silent\r
+                               }\r
+               }\r
+\r
+               for (Object key : properties.keySet()) {\r
+                       list.add("-p");\r
+                       StringBuffer buf = new StringBuffer("");\r
+                       buf.append(key).append('=').append(properties.get(key));\r
+                       list.add(buf.toString());\r
+               }\r
+\r
+               // Debug mode\r
+               if (mode.equals(ILaunchManager.DEBUG_MODE)) {\r
+                       list.add("--property");\r
+                       list.add("log4j.logger.org.argeo.slc=DEBUG");\r
+               }\r
+               return list.toArray(new String[list.size()]);\r
+       }\r
+\r
+       // Pre SLC v0.9.3\r
+       protected VMRunnerConfiguration createPre093Config(SlcSystem deployedSlc,\r
+                       IFile file, String mode) throws CoreException {\r
+               VMRunnerConfiguration vmConfig = new VMRunnerConfiguration(ANT_MAIN,\r
+                               deployedSlc.getClasspath());\r
+               vmConfig.setVMArguments(getPre093VmArguments(deployedSlc));\r
+               vmConfig.setWorkingDirectory(file.getLocation().toFile().getParent());\r
+               vmConfig.setProgramArguments(getPre093ProgramArguments(deployedSlc,\r
+                               file, mode));\r
+               return vmConfig;\r
+       }\r
+\r
+       protected String[] getPre093VmArguments(SlcSystem deployedSlc) {\r
+               List<String> list = new Vector<String>();\r
+               // list.add("-Dant.home=" + deployedSlc.getAntHome());\r
+               if (deployedSlc.getJavaLibraryPath() != null)\r
+                       list.add("-Djava.library.path=" + deployedSlc.getJavaLibraryPath());\r
+               return list.toArray(new String[list.size()]);\r
+       }\r
+\r
+       protected String[] getPre093ProgramArguments(SlcSystem deployedSlc,\r
+                       IFile file, String mode) {\r
+               List<String> list = new Vector<String>();\r
+               list.add("-f");\r
+               list.add(file.getLocation().toFile().getAbsolutePath());\r
+               if (mode.equals(ILaunchManager.DEBUG_MODE)) {\r
+                       list.add("-d");\r
+               }\r
+               return list.toArray(new String[list.size()]);\r
+       }\r
+\r
+       // Utilities\r
+       private static void showError(String message) {\r
+               Shell shell = SlcIdeUiPlugin.getDefault().getWorkbench()\r
+                               .getActiveWorkbenchWindow().getShell();\r
+\r
+               IStatus status = new Status(IStatus.ERROR, SlcIdeUiPlugin.ID,\r
+                               message);\r
+               ErrorDialog.openError(shell, "Error", "Cannot launch SLC script",\r
+                               status);\r
+       }\r
+\r
+}\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchShortcut.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchShortcut.java
new file mode 100644 (file)
index 0000000..dfb0044
--- /dev/null
@@ -0,0 +1,127 @@
+package org.argeo.slc.ide.ui.launch.script;\r
+\r
+import org.argeo.slc.ide.ui.SlcIdeUiPlugin;\r
+import org.eclipse.core.resources.IFile;\r
+import org.eclipse.core.runtime.CoreException;\r
+import org.eclipse.core.runtime.IPath;\r
+import org.eclipse.core.runtime.IStatus;\r
+import org.eclipse.core.runtime.Status;\r
+import org.eclipse.debug.core.DebugPlugin;\r
+import org.eclipse.debug.core.ILaunchConfiguration;\r
+import org.eclipse.debug.core.ILaunchConfigurationType;\r
+import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;\r
+import org.eclipse.debug.core.ILaunchManager;\r
+import org.eclipse.debug.ui.DebugUITools;\r
+import org.eclipse.debug.ui.IDebugUIConstants;\r
+import org.eclipse.debug.ui.ILaunchShortcut;\r
+import org.eclipse.jface.dialogs.ErrorDialog;\r
+import org.eclipse.jface.viewers.ISelection;\r
+import org.eclipse.jface.viewers.IStructuredSelection;\r
+import org.eclipse.swt.widgets.Shell;\r
+import org.eclipse.ui.IEditorPart;\r
+\r
+public class SlcScriptLaunchShortcut implements ILaunchShortcut {\r
+       private boolean showDialog = false;\r
+\r
+       public void launch(ISelection selection, String mode) {\r
+               try {\r
+                       if (!(selection instanceof IStructuredSelection)) {\r
+                               throw new RuntimeException("Unknown selection "\r
+                                               + selection.getClass());\r
+                       }\r
+                       IStructuredSelection sSelection = (IStructuredSelection) selection;\r
+                       if (sSelection.size() != 1) {\r
+                               throw new RuntimeException("Can only launch one SLC script.");\r
+                       }\r
+                       Object obj = sSelection.iterator().next();\r
+                       if (!(obj instanceof IFile)) {\r
+                               throw new RuntimeException("Can only launch files.");\r
+                       }\r
+                       IFile file = ((IFile) obj);\r
+\r
+                       ILaunchManager manager = DebugPlugin.getDefault()\r
+                                       .getLaunchManager();\r
+                       ILaunchConfigurationType type = manager\r
+                                       .getLaunchConfigurationType(SlcScriptLaunchDelegate.ID);\r
+\r
+                       // Find or create config\r
+                       String configLocation = SlcScriptUtils\r
+                                       .convertToWorkspaceLocation(file);\r
+                       ILaunchConfiguration config = findLaunchConfiguration(\r
+                                       configLocation, manager.getLaunchConfigurations(type));\r
+                       if (config == null) {\r
+                               ILaunchConfigurationWorkingCopy wc = type.newInstance(null,\r
+                                               generateName(file));\r
+                               wc.setAttribute(SlcScriptUtils.ATTR_SCRIPT, configLocation);\r
+                               wc.setMappedResources(new IFile[] { file });\r
+                               config = wc.doSave();\r
+                       }\r
+\r
+                       // Launch\r
+                       launch(config, mode);\r
+               } catch (CoreException e) {\r
+                       Shell shell = SlcIdeUiPlugin.getDefault().getWorkbench()\r
+                                       .getActiveWorkbenchWindow().getShell();\r
+                       ErrorDialog.openError(shell, "Error",\r
+                                       "Cannot execute SLC launch shortcut", e.getStatus());\r
+               }\r
+\r
+       }\r
+\r
+       protected String generateName(IFile file) {\r
+               IPath relativePath = file.getProjectRelativePath();\r
+               String name = relativePath.toString();\r
+               int idx = name.lastIndexOf(".xml");\r
+               if (idx > 0)\r
+                       name = name.substring(0, idx);\r
+\r
+               if (name.startsWith("src/main/slc/root/"))\r
+                       name = name.substring("src/main/slc/root/".length());\r
+               else if (name.startsWith("src/main/slc/"))\r
+                       name = name.substring("src/main/slc/".length());\r
+\r
+               name = name.replace('/', '.');// otherwise not properly saved\r
+               return name;\r
+       }\r
+\r
+       protected ILaunchConfiguration findLaunchConfiguration(\r
+                       String configLocation, ILaunchConfiguration[] configs)\r
+                       throws CoreException {\r
+               for (ILaunchConfiguration config : configs) {\r
+                       String loc = config.getAttribute(SlcScriptUtils.ATTR_SCRIPT, "");\r
+                       if (loc.equals(configLocation)) {\r
+                               return config;\r
+                       }\r
+               }\r
+               return null;\r
+       }\r
+\r
+       protected void launch(ILaunchConfiguration configuration, String mode)\r
+                       throws CoreException {\r
+               if (showDialog) {\r
+                       IStatus status = new Status(IStatus.INFO, SlcIdeUiPlugin.ID,\r
+                                       "Configure SLC Launch");\r
+                       String groupId;\r
+                       if (mode.equals(ILaunchManager.DEBUG_MODE)) {\r
+                               groupId = IDebugUIConstants.ID_DEBUG_LAUNCH_GROUP;\r
+                       } else {\r
+                               groupId = IDebugUIConstants.ID_RUN_LAUNCH_GROUP;\r
+                       }\r
+                       DebugUITools.openLaunchConfigurationDialog(SlcIdeUiPlugin\r
+                                       .getDefault().getWorkbench().getActiveWorkbenchWindow()\r
+                                       .getShell(), configuration, groupId, status);\r
+               } else {\r
+                       DebugUITools.launch(configuration, mode);\r
+               }\r
+\r
+       }\r
+\r
+       public void launch(IEditorPart editor, String mode) {\r
+               // not (yet) implemented\r
+       }\r
+\r
+       public void setShowDialog(boolean showDialog) {\r
+               this.showDialog = showDialog;\r
+       }\r
+\r
+}\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchShortcutWithDialog.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchShortcutWithDialog.java
new file mode 100644 (file)
index 0000000..9e8dd3e
--- /dev/null
@@ -0,0 +1,11 @@
+package org.argeo.slc.ide.ui.launch.script;\r
+\r
+\r
+public class SlcScriptLaunchShortcutWithDialog extends SlcScriptLaunchShortcut {\r
+\r
+       public SlcScriptLaunchShortcutWithDialog() {\r
+               super();\r
+               setShowDialog(true);\r
+       }\r
+\r
+}\r
diff --git a/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptUtils.java b/ide/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptUtils.java
new file mode 100644 (file)
index 0000000..9a5bc42
--- /dev/null
@@ -0,0 +1,23 @@
+package org.argeo.slc.ide.ui.launch.script;
+
+import org.eclipse.core.resources.IResource;
+import org.eclipse.core.variables.VariablesPlugin;
+
+public class SlcScriptUtils {
+
+       public final static String ATTR_SCRIPT = "script";
+       public final static String ATTR_PROPERTIES = "properties";
+       public final static String ATTR_RUNTIME = "runtime";
+       public final static String ATTR_TARGETS = "targets";
+       public final static String ATTR_PRE093 = "pre093";
+
+       public static String convertToWorkspaceLocation(IResource resource) {
+               return VariablesPlugin.getDefault().getStringVariableManager()
+                               .generateVariableExpression("workspace_loc",
+                                               resource.getFullPath().toString());
+       }
+
+       private SlcScriptUtils() {
+
+       }
+}
diff --git a/ide/plugins/org.argeo.slc.ide.ui/targets/managedTarget.target b/ide/plugins/org.argeo.slc.ide.ui/targets/managedTarget.target
new file mode 100644 (file)
index 0000000..c9183da
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?pde version="3.6"?>
+
+<target name="Managed Target">
+<locations>
+<location path="${workspace_loc}/targets/managed" type="Directory"/>
+</locations>
+</target>
diff --git a/plugins/org.argeo.slc.ide.branding/.classpath b/plugins/org.argeo.slc.ide.branding/.classpath
deleted file mode 100644 (file)
index b0a38d8..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-       <classpathentry kind="src" path="src/main/java"/>
-       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
-       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
-       <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.argeo.slc.ide.branding/.project b/plugins/org.argeo.slc.ide.branding/.project
deleted file mode 100644 (file)
index c757652..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
-       <name>org.argeo.slc.ide.branding</name>
-       <comment></comment>
-       <projects>
-       </projects>
-       <buildSpec>
-               <buildCommand>
-                       <name>org.eclipse.jdt.core.javabuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.ManifestBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-               <buildCommand>
-                       <name>org.eclipse.pde.SchemaBuilder</name>
-                       <arguments>
-                       </arguments>
-               </buildCommand>
-       </buildSpec>
-       <natures>
-               <nature>org.eclipse.pde.PluginNature</nature>
-               <nature>org.eclipse.jdt.core.javanature</nature>
-       </natures>
-</projectDescription>
diff --git a/plugins/org.argeo.slc.ide.branding/META-INF/MANIFEST.MF b/plugins/org.argeo.slc.ide.branding/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index f1381c2..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Argeo IDE
-Bundle-SymbolicName: org.argeo.slc.ide.branding;singleton:=true
-Bundle-Version: 1.1.1.D20121107_1340
-Bundle-Vendor: Argeo.org
-Require-Bundle: org.eclipse.ui;bundle-version="3.5.1",
- org.eclipse.osgi;bundle-version="3.5.1",
- org.eclipse.core.runtime;bundle-version="3.5.0",
- org.eclipse.jdt.ui;bundle-version="3.5.1",
- org.eclipse.ui.console;bundle-version="3.4.0"
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
diff --git a/plugins/org.argeo.slc.ide.branding/build.properties b/plugins/org.argeo.slc.ide.branding/build.properties
deleted file mode 100644 (file)
index b06e874..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-bin.includes = META-INF/,\
-               plugin_customization.ini,\
-               plugin.xml,\
-               icons/,\
-               splash.bmp,\
-               .
-source.. = src/main/java/
diff --git a/plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png b/plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png
deleted file mode 100644 (file)
index a9af088..0000000
Binary files a/plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png and /dev/null differ
diff --git a/plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.xpm b/plugins/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.xpm
deleted file mode 100644 (file)
index 3d3ad76..0000000
+++ /dev/null
@@ -1,479 +0,0 @@
-/* XPM */
-static char * argeo_icon_100104_256_xpm[] = {
-"256 256 220 2",
-"      c None",
-".     c #FE8F00",
-"+     c #FD8F01",
-"@     c #FD8E01",
-"#     c #FD8F00",
-"$     c #FC8E01",
-"%     c #FA8D02",
-"&     c #F78C03",
-"*     c #F68C04",
-"=     c #F58C04",
-"-     c #F48B05",
-";     c #EE8907",
-">     c #DC820F",
-",     c #C0781B",
-"'     c #F98D02",
-")     c #EA8809",
-"!     c #D47F12",
-"~     c #BC761D",
-"{     c #A16C28",
-"]     c #E6860A",
-"^     c #B37321",
-"/     c #ED8908",
-"(     c #CD7D15",
-"_     c #C67A18",
-":     c #C2781A",
-"<     c #BD771C",
-"[     c #B8751E",
-"}     c #AD7123",
-"|     c #A96F25",
-"1     c #A46D27",
-"2     c #C97B17",
-"3     c #EB8808",
-"4     c #7A5E39",
-"5     c #F88D02",
-"6     c #D68012",
-"7     c #AF7122",
-"8     c #896333",
-"9     c #625544",
-"0     c #4D4D4D",
-"a     c #5A5247",
-"b     c #7C5F38",
-"c     c #9E6B2A",
-"d     c #BF771B",
-"e     c #E1840D",
-"f     c #BE771C",
-"g     c #97692D",
-"h     c #715A3D",
-"i     c #504E4B",
-"j     c #55504A",
-"k     c #94672E",
-"l     c #A26D28",
-"m     c #FB8E01",
-"n     c #826136",
-"o     c #4F4E4C",
-"p     c #7D5F38",
-"q     c #CA7C17",
-"r     c #F88D03",
-"s     c #705A3E",
-"t     c #E2850C",
-"u     c #5D5346",
-"v     c #675742",
-"w     c #B27321",
-"x     c #D17E14",
-"y     c #F68C03",
-"z     c #BB761D",
-"A     c #765C3B",
-"B     c #575149",
-"C     c #A06C29",
-"D     c #95682E",
-"E     c #DF830E",
-"F     c #92672F",
-"G     c #555049",
-"H     c #6C5840",
-"I     c #ED8907",
-"J     c #4E4E4C",
-"K     c #524F4B",
-"L     c #9A6A2B",
-"M     c #A76F26",
-"N     c #806037",
-"O     c #605445",
-"P     c #5C5346",
-"Q     c #CB7C16",
-"R     c #D27E13",
-"S     c #99692C",
-"T     c #F28A05",
-"U     c #585148",
-"V     c #EF8907",
-"W     c #846135",
-"X     c #8C6532",
-"Y     c #A56E27",
-"Z     c #D98110",
-"`     c #93672F",
-" .    c #F48B04",
-"..    c #BA761E",
-"+.    c #9D6B2A",
-"@.    c #AB7024",
-"#.    c #FB8E02",
-"$.    c #A76E26",
-"%.    c #5C5247",
-"&.    c #755C3B",
-"*.    c #AE7123",
-"=.    c #9B6A2B",
-"-.    c #5E5345",
-";.    c #B47420",
-">.    c #DB820F",
-",.    c #514F4B",
-"'.    c #6A5840",
-").    c #DD830E",
-"!.    c #5F5445",
-"~.    c #EA8709",
-"{.    c #4E4D4D",
-"].    c #6D593F",
-"^.    c #795E3A",
-"/.    c #7E5F38",
-"(.    c #E7860A",
-"_.    c #534F4A",
-":.    c #896433",
-"<.    c #E5860B",
-"[.    c #E4850B",
-"}.    c #856235",
-"|.    c #575148",
-"1.    c #D37F13",
-"2.    c #816036",
-"3.    c #565049",
-"4.    c #A86F25",
-"5.    c #D88111",
-"6.    c #8D6531",
-"7.    c #AA7025",
-"8.    c #91662F",
-"9.    c #D68011",
-"0.    c #CF7D15",
-"a.    c #7B5E39",
-"b.    c #645643",
-"c.    c #B47320",
-"d.    c #635543",
-"e.    c #504E4C",
-"f.    c #E8870A",
-"g.    c #906630",
-"h.    c #836135",
-"i.    c #A36D28",
-"j.    c #775D3B",
-"k.    c #6C593F",
-"l.    c #635544",
-"m.    c #F18A06",
-"n.    c #A66E26",
-"o.    c #E98709",
-"p.    c #7C5E39",
-"q.    c #E0840D",
-"r.    c #8E6531",
-"s.    c #D58012",
-"t.    c #8A6432",
-"u.    c #6B5840",
-"v.    c #8F6630",
-"w.    c #B17222",
-"x.    c #615544",
-"y.    c #F08A06",
-"z.    c #A46E27",
-"A.    c #595248",
-"B.    c #E88709",
-"C.    c #54504A",
-"D.    c #B07222",
-"E.    c #CE7D15",
-"F.    c #C77B18",
-"G.    c #755C3C",
-"H.    c #695841",
-"I.    c #EF8A06",
-"J.    c #595148",
-"K.    c #8B6432",
-"L.    c #CC7C16",
-"M.    c #D27F13",
-"N.    c #7F6037",
-"O.    c #735B3C",
-"P.    c #685741",
-"Q.    c #C2791A",
-"R.    c #96682D",
-"S.    c #534F4B",
-"T.    c #D07E14",
-"U.    c #C47A19",
-"V.    c #725B3D",
-"W.    c #B9751E",
-"X.    c #AC7024",
-"Y.    c #94682E",
-"Z.    c #886333",
-"`.    c #C3791A",
-" +    c #B7751F",
-".+    c #665642",
-"++    c #5E5346",
-"@+    c #9F6C29",
-"#+    c #DA8210",
-"$+    c #876234",
-"%+    c #6F5A3E",
-"&+    c #B6741F",
-"*+    c #655642",
-"=+    c #F38B05",
-"-+    c #EC8808",
-";+    c #E3850C",
-">+    c #6E593F",
-",+    c #F28B05",
-"'+    c #9C6B2B",
-")+    c #E2840C",
-"!+    c #D78111",
-"~+    c #785D3A",
-"{+    c #DA8110",
-"]+    c #F78D03",
-"^+    c #FA8E02",
-"/+    c #B8751F",
-"(+    c #C67A19",
-"_+    c #C57A19",
-":+    c #B7741F",
-"<+    c #A86F26",
-"[+    c #CF7E14",
-"}+    c #9A6A2C",
-"|+    c #795D3A",
-"1+    c #C1781B",
-"2+    c #5B5247",
-"3+    c #695741",
-"4+    c #97682D",
-"5+    c #98692C",
-"6+    c #B57420",
-"7+    c #866234",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                          . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                                                                         ",
-"                                                                                                                                                                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                                                               ",
-"                                                                                                                                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                                                     ",
-"                                                                                                                                                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                                               ",
-"                                                                                                                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                                       ",
-"                                                                                                                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                                 ",
-"                                                                                                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                             ",
-"                                                                                                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                         ",
-"                                                                                                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                                   ",
-"                                                                                                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                               ",
-"                                                                                                                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                           ",
-"                                                                                                                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                         ",
-"                                                                                                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                     ",
-"                                                                                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                                 ",
-"                                                                                                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                               ",
-"                                                                                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                           ",
-"                                                                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                         ",
-"                                                                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                     ",
-"                                                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                   ",
-"                                                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                                 ",
-"                                                                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                             ",
-"                                                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                                           ",
-"                                                                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +                                                                                                                                         ",
-"                                                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @                                                                                                                                       ",
-"                                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #                                                                                                                                     ",
-"                                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $                                                                                                                                   ",
-"                                                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . %                                                                                                                                 ",
-"                                                                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . &                                                                                                                               ",
-"                                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . *                                                                                                                             ",
-"                                                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . =                                                                                                                           ",
-"                                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -                                                                                                                         ",
-"                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ;                                                                                                                       ",
-"                                                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . >                                                                                                                     ",
-"                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ,                                                                                                                   ",
-"                                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . '                                                                                                                   ",
-"                                                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . )                                                                                                                 ",
-"                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . !                                                                                                               ",
-"                                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~                                                                                                             ",
-"                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ {                                                                                                           ",
-"                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ]                                                                                                           ",
-"                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ^                                                                                                         ",
-"                                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . / ( _ : < [ ^ } | 1 | 2 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ 4                                                                                                       ",
-"                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 6 7 8 9 0 0 0 0 0 0 0 0 0 0 0 0 0 a b c d e $ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . >                                                                                                       ",
-"                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . / f g h i 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 j k e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . l                                                                                                     ",
-"                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m _ n o 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 p q # . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . r s                                                                                                   ",
-"                                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . t c u 0 0 0 0 0 0 0 0 0 0 0 0 0                             0 0 0 0 0 0 0 v w * . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x                                                                                                   ",
-"                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y z A 0 0 0 0 0 0 0 0 0 0 0 0                                               0 0 0 0 B C 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D                                                                                                 ",
-"                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E F G 0 0 0 0 0 0 0 0 0 0                                                             0 0 0 H E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 G                                                                                               ",
-"                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I F J 0 0 0 0 0 0 0 0 0                                                                       0 0 K w . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . L                                                                                               ",
-"                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . & M G 0 0 0 0 0 0 0 0 0                                                                               0 0 N ; . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ; G                                                                                             ",
-"                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # < O 0 0 0 0 0 0 0 0                                                                                         0 P Q . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C                                                                                             ",
-"                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . R s 0 0 0 0 0 0 0 0                                                                                                 0 S m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T U                                                                                           ",
-"                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V W 0 0 0 0 0 0 0 0                                                                                                       0 X @ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Y                                                                                           ",
-"                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Z O 0 0 0 0 0 0 0                                                                                                             0 ` # . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  .a                                                                                         ",
-"                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..K 0 0 0 0 0 0                                                                                                                     +.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @.0                                                                                       ",
-"                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #.D 0 0 0 0 0 0 0                                                                                                                         $.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y %.                                                                                      ",
-"                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . / &.0 0 0 0 0 0                                                                                                                               *.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . =.0                                                                                     ",
-"                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 -.0 0 0 0 0 0                                                                                                                                   ;.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . >.0                                                                                     ",
-"                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Q ,.0 0 0 0 0 0                                                                                                                                       ~ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . '.0                                                                                   ",
-"                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ).G 0 0 0 0 0                                                                                                                                             ).. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @.0                                                                                   ",
-"                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 !.0 0 0 0 0                                                                                                                                                 r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~.{.                                                                                  ",
-"                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  .].0 0 0 0 0                                                                                                                                                   ( . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ^.0                                                                                 ",
-"                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m /.0 0 0 0 0                                                                                                                                                       (.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..0                                                                                 ",
-"                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F 0 0 0 0 0                                                                                                                                                            .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  ._.                                                                                ",
-"                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @.0 0 0 0 0                                                                                                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . :.0                                                                               ",
-"                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <.i 0 0 0 0                                                                                                                                                                 [.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . q 0                                                                               ",
-"                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . }.0 0 0 0 0                                                                                                                                                                   V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m |.0                                                                             ",
-"                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.0 0 0 0 0                                                                                                                                                                       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.0                                                                             ",
-"                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # s 0 0 0 0                                                                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . } 0                                                                             ",
-"                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . < 0 0 0 0                                                                                                                                                                   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Z 0 0                                                                           ",
-"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . r O 0 0 0 0                                                                                                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ 3.0                                                                           ",
-"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4.0 0 0 0                                                                                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N 0                                                                           ",
-"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 3.0 0 0 0                                                                                                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @.0                                                                           ",
-"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . _ 0 0 0 0                                                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5.0 0                                                                         ",
-"                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.0 0 0 0                                                                                                                                                 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m G 0                                                                         ",
-"                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . % |.0 0 0                                                                                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . /.0                                                                         ",
-"                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Q 0 0 0 0                                                                                                                                           . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7.0                                                                         ",
-"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8.0 0 0                                                                                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.0 0                                                                       ",
-"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m a 0 0 0                                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #.j 0                                                                       ",
-"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.0 0 0 0                                                                                                                                 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . p 0                                                                       ",
-"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . g 0 0 0                                                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | 0                                                                       ",
-"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . a.0 0 0                                                                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ! 0 0                                                                     ",
-"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . b.0 0 0                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . r c.d.0 0                                                                     ",
-"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m e.0 0                                                                                                                   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T M %.0 0 0 0                                                                     ",
-"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . f.0 0 0                                                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 =.G 0 0 0 0 0 0                                                                     ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x 0 0 0                                                                                                           . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . e g.i 0 0 0 0 0 0 0 0                                                                     ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..0 0 0                                                                                                       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9.h.{.0 0 0 0 0 0 0 0                                                                         ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . i.0 0 0                                                                                                 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # q j.0 0 0 0 0 0 0 0 0                                                                             ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X 0 0 0                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m f k.0 0 0 0 0 0 0 0 0                                                                                 ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . A 0 0                                                                                           . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . & w l.0 0 0 0 0 0 0 0 0                                                                                     ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . h 0 0                                                                                       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m.n.a 0 0 0 0 0 0 0 0 0                                                                                         ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . j.0 0                                                                                   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . o.L j 0 0 0 0 0 0 0 0                                                                                               ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . p.0 0                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . q.r.e.0 0 0 0 0 0 0 0                                                                                                   ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N 0 0                                                                           . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . s.n {.0 0 0 0 0 0 0 0                                                                                                       ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . }.0 0                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # 2 A 0 0 0 0 0 0 0 0 0                                                                                                           ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . t.0 0                                                                 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #.< u.0 0 0 0 0 0 0 0 0                                                                                                               ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . v.0 0                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y w.x.0 0 0 0 0 0 0 0 0                                                                                                                   ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . k 0 0                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y.z.A.0 0 0 0 0 0 0 0 0                                                                                                                       ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . S 0 0                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B.S C.0 0 0 0 0 0 0 0                                                                                                                             ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . c 0 0                                                 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E 6.e.0 0 0 0 0 0 0 0                                                                                                                                 ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D.0 0                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ! N 0 0 0 0 0 0 0 0 0                                                                                                                                     ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.0 0                                       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # F.G.0 0 0 0 0 0 0 0 0                                                                                                                                         ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 0 0                                   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #.z H.0 0 0 0 0 0 0 0 0                                                                                                                                             ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |.0                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . * D.O 0 0 0 0 0 0 0 0 0                                                                                                                                                 ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . G.0                           . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.i.J.0 0 0 0 0 0 0 0 0                                                                                                                                                     ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . F 0 0                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (.g _.0 0 0 0 0 0 0 0                                                                                                                                                           ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 0 0                 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ).K.o 0 0 0 0 0 0 0 0                                                                                                                                                               ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . L.0 0             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M.N.0 0 0 0 0 0 0 0 0                                                                                                                                                                   ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ~.0 0       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # _ O.0 0 0 0 0 0 0 0 0                                                                                                                                                                       ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3.0   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . % ..P.0 0 0 0 0 0 0 0 0                                                                                                                                                                           ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . k Q.# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = *.O 0 0 0 0 0 0 0 0 0                                                                                                                                                                               ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V l U 0 0 0 0 0 0 0 0 0                                                                                                                                                                                   ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ] R.S.0 0 0 0 0 0 0 0                                                                                                                                                                                         ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . > :.o 0 0 0 0 0 0 0 0                                                                                                                                                                                             ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T./.0 0 0 0 0 0 0 0 0                                                                                                                                                                                                 ",
-"                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ U.V.0 0 0 0 0 0 0 0 0                                                                                                                                                                                                     ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ' W.v 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                         ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  .X.-.0 0 0 0 0 0 0 0 0                                                                                                                                                                                                             ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ; C |.0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                 ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . <.Y.K 0 0 0 0 0 0 0 0                                                                                                                                                                                                                       ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . >.Z.J 0 0 0 0 0 0 0 0                                                                                                                                                                                                                           ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.b 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                               ",
-"                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ `.s 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                   ",
-"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . '  +.+0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                       ",
-"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . - @.++0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                           ",
-"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . / @+B 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                               ",
-"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [.` K 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                                     ",
-"                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #+$+J 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                                         ",
-"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ( a.0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                                             ",
-"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ : %+0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                                                 ",
-"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 &+*+0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                                                     ",
-"                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . =+| u 0 0 0 0 0 0 0 0 0                                                                                                                                                       . .                                                                                                               ",
-"                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . -+c 3.0 0 0 0 0 0 0 0 0                                                                                                                                                           . . . .                                                                                                           ",
-"                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ;+F ,.0 0 0 0 0 0 0 0                                                                                                                                                               . . . . . .                                                                                                         ",
-"                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Z }.J 0 0 0 0 0 0 0 0                                                                                                                                                                   . . . . . . .                                                                                                       ",
-"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . L.^.0 0 0 0 0 0 0 0 0                                                                                                                                                                     . . . . . . . . . .                                                                                                   ",
-"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ , >+0 0 0 0 0 0 0 0 0                                                                                                                                                                         . . . . . . . . . . .                                                                                                 ",
-"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . r ;.b.0 0 0 0 0 0 0 0 0                                                                                                                                                                           . . . . . . . . . . . . .                                                                                               ",
-"                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ,+4.%.0 0 0 0 0 0 0 0 0                                                                                                                                                                               . . . . . . . . . . . . . .                                                                                             ",
-"                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 '+G 0 0 0 0 0 0 0 0 0                                                                                                                                                                                 . . . . . . . . . . . . . . . . .                                                                                         ",
-"                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . )+g.i 0 0 0 0 0 0 0 0                                                                                                                                                                                     . . . . . . . . . . . . . . . . . . .                                                                                       ",
-"                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . !+W {.0 0 0 0 0 0 0 0                                                                                                                                                                                         . . . . . . . . . . . . . . . . . . . .                                                                                     ",
-"                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Q ~+0 0 0 0 0 0 0 0 0                                                                                                                                                                                           . . . . . . . . . . . . . . . . . . . . . .                                                                                   ",
-"                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m d ].0 0 0 0 0 0 0 0 0                                                                                                                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . .                                                                               ",
-"                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . z d.0 0 0 0 0 0 0 0 0                                                                                                                                                                                                 . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                             ",
-"                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . W.0 0 0 0 0 0 0 0                                                                                                                                                                                                   . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                           ",
-"                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # ^.0 0 0 0 0                                                                                                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                       ",
-"                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [.S.0                                                                                                                                                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                     ",
-"                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @.                                                                                                                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                   ",
-"                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m j.                                                                                                                                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                 ",
-"                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . #+                                                                                                                                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                             ",
-"                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . C                                                                                                                                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                           ",
-"                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . & >+                                                                                                                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                         ",
-"                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . E.                                                                                                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                       ",
-"                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . D                                                                                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                   ",
-"                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . & h.                                                                                                                                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                 ",
-"                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I                                                                                                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m                                                 ",
-"                                                                      . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . e                                                                                                                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . X.0                                               ",
-"                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . {+                                                                                                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . I.B 0 0                                             ",
-"                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . >.                                                                                                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . R.0 0 0 0                                           ",
-"                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . f.                                                                                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . e o 0 0 0 0                                           ",
-"                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T                                                                                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . N 0 0 0 0                                             ",
-"                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y                                                                                                                                               . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ( 0 0 0 0                                               ",
-"                                                                            . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . '                                                                                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y v 0 0 0 0                                               ",
-"                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $                                                                                                                                   . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . g.0 0 0 0                                                 ",
-"                                                                              . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . , 0 0 0 0 0                                                 ",
-"                                                                                @ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                                       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (.B 0 0 0 0                                                   ",
-"                                                                                  . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m O.0 0 0 0                                                     ",
-"                                                                                  ' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                                       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . { 0 0 0 0 0                                                     ",
-"                                                                                    . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                             . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T.J 0 0 0 0                                                       ",
-"                                                                                    ]+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                                     . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . f.++0 0 0 0                                                         ",
-"                                                                                      % . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y.v 0 0 0 0 0                                                         ",
-"                                                                                        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                                           . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . & V.0 0 0 0 0                                                           ",
-"                                                                                        & . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .                                         . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m N 0 0 0 0 0                                                             ",
-"                                                                                          . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .       . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . g.0 0 0 0 0                                                               ",
-"                                                                                          r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . { 0 0 0 0 0                                                                 ",
-"                                                                                            T . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ^ 0 0 0 0 0                                                                   ",
-"                                                                                              ' . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ^ {.0 0 0 0                                                                     ",
-"                                                                                                . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . n.0 0 0 0 0 0                                                                     ",
-"                                                                                                ).. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # S 0 0 0 0 0 0                                                                       ",
-"                                                                                                  -+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m X 0 0 0 0 0 0                                                                         ",
-"                                                                                                    ^+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . r 2.0 0 0 0 0 0                                                                           ",
-"                                                                                                    !+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . - j.0 0 0 0 0 0                                                                             ",
-"                                                                                                      e . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . o.>+0 0 0 0 0 0                                                                               ",
-"                                                                                                        ) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ( a 0 0 0 0 0                                                                                   ",
-"                                                                                                          V . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ n.J 0 0 0 0 0                                                                                     ",
-"                                                                                                            = . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m.N.0 0 0 0 0 0                                                                                       ",
-"                                                                                                            g % . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Z l.0 0 0 0 0 0                                                                                         ",
-"                                                                                                              c # . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . &+K 0 0 0 0 0 0                                                                                           ",
-"                                                                                                                @.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . * r.0 0 0 0 0 0 0                                                                                             ",
-"                                                                                                                  /+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . x b.0 0 0 0 0 0                                                                                                 ",
-"                                                                                                                    (+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . * R.{.0 0 0 0 0 0                                                                                                   ",
-"                                                                                                                      _+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . T.d.0 0 0 0 0 0 0                                                                                                     ",
-"                                                                                                                        :+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . * R.{.0 0 0 0 0 0                                                                                                         ",
-"                                                                                                                          <+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [+d.0 0 0 0 0 0 0                                                                                                           ",
-"                                                                                                                            }+# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  .D {.0 0 0 0 0 0                                                                                                               ",
-"                                                                                                                              6.m . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ [ P 0 0 0 0 0 0 0                                                                                                                 ",
-"                                                                                                                                n & . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . M.>+0 0 0 0 0 0 0                                                                                                                     ",
-"                                                                                                                                  |+=+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . (.$+0 0 0 0 0 0 0 0                                                                                                                       ",
-"                                                                                                                                    P.#+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = C K 0 0 0 0 0 0 0                                                                                                                           ",
-"                                                                                                                                      ,.7 # . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ z ++0 0 0 0 0 0 0                                                                                                                               ",
-"                                                                                                                                        0 N y.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.s 0 0 0 0 0 0 0 0                                                                                                                                 ",
-"                                                                                                                                          0 !.x . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [+j.0 0 0 0 0 0 0 0                                                                                                                                     ",
-"                                                                                                                                              J 1 $ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [+j.0 0 0 0 0 0 0 0                                                                                                                                         ",
-"                                                                                                                                                0 j.o.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [+j.0 0 0 0 0 0 0 0                                                                                                                                             ",
-"                                                                                                                                                  0 C.$.r . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [+j.0 0 0 0 0 0 0 0 0                                                                                                                                               ",
-"                                                                                                                                                      0 9 1+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [+j.0 0 0 0 0 0 0 0 0                                                                                                                                                   ",
-"                                                                                                                                                        0 0 A #+. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ' ~ h 0 0 0 0 0 0 0 0 0                                                                                                                                                       ",
-"                                                                                                                                                            0 {.v./ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . o.C 2+0 0 0 0 0 0 0 0 0                                                                                                                                                           ",
-"                                                                                                                                                              0 0 G | = . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 0.W o 0 0 0 0 0 0 0 0 0                                                                                                                                                               ",
-"                                                                                                                                                                  0 0 B L <.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . = ^ 3+0 0 0 0 0 0 0 0 0 0                                                                                                                                                                   ",
-"                                                                                                                                                                      0 0 J n 0.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . # 9.4+3.0 0 0 0 0 0 0 0 0                                                                                                                                                                         ",
-"                                                                                                                                                                        0 0 0 0 '.:+& . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @ ! S O 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                             ",
-"                                                                                                                                                                            0 0 0 0 J.c > . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . $ T.4+++0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                   ",
-"                                                                                                                                                                                  0 0 0 0 9 5+0.#.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . m ( ` %.0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                       ",
-"                                                                                                                                                                                      0 0 0 0 0 |.K.:  .. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . y T.$.p G 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                             ",
-"                                                                                                                                                                                          0 0 0 0 0 0 ,./.} E.y.. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ; U.=.h e.0 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                   ",
-"                                                                                                                                                                                                0 0 0 0 0 0 0 0 O n 1 _ f.. . . . . . . . . . . . . . . . . . . . . . . . . . . m.Z 1+| r..+0 0 0 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                         ",
-"                                                                                                                                                                                                      0 0 0 0 0 0 0 0 0 0 U ~+t.5+n.c.1+0.).3 5 . # '  .V ~.<.q.>.6 L.6+c 7+>+B 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                               ",
-"                                                                                                                                                                                                              0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 i 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                       ",
-"                                                                                                                                                                                                                      0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                               ",
-"                                                                                                                                                                                                                                0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0                                                                                                                                                                                                                                             ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ",
-"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                "};
diff --git a/plugins/org.argeo.slc.ide.branding/org.argeo.slc.ide.product b/plugins/org.argeo.slc.ide.branding/org.argeo.slc.ide.product
deleted file mode 100644 (file)
index eef57c6..0000000
+++ /dev/null
@@ -1,833 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?pde version="3.5"?>
-
-<product name="Argeo SLC IDE" uid="org.argeo.slc.ide" id="org.argeo.slc.ide.branding.product" application="org.eclipse.ui.ide.workbench" version="0.12.1.D20100107_1317" useFeatures="false" includeLaunchers="true">
-
-   <aboutInfo>
-      <image path="eclipse_lg.gif"/>
-      <text>
-         %productBlurb
-      </text>
-   </aboutInfo>
-
-   <configIni use="default">
-   </configIni>
-
-   <launcherArgs>
-      <vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts</vmArgsMac>
-   </launcherArgs>
-
-   <windowImages i16="/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png" i32="/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png" i48="/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png" i64="/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png" i128="/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.png"/>
-
-   <splash
-      location="org.argeo.slc.ide.branding"
-      startupProgressRect="0,280,455,15"
-      startupMessageRect="7,220,441,20"
-      startupForegroundColor="0066D0" />
-   <launcher name="ArgeoSLC">
-      <linux icon="/org.argeo.slc.ide.branding/icons/argeo-icon-100104-256.xpm"/>
-      <solaris/>
-      <win useIco="false">
-         <bmp/>
-      </win>
-   </launcher>
-
-   <vm>
-      <linux>org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6</linux>
-   </vm>
-
-   <license>
-        <url>http://www.eclipse.org/legal/epl-v10.html</url>
-        <text>
-   Eclipse Public License - v 1.0
-
-THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC LICENSE (&quot;AGREEMENT&quot;). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT&apos;S ACCEPTANCE OF THIS AGREEMENT.
-
-1. DEFINITIONS
-
-&quot;Contribution&quot; means:
-
-a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and
-
-b) in the case of each subsequent Contributor:
-
-i) changes to the Program, and
-
-ii) additions to the Program;
-
-where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution &apos;originates&apos; from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor&apos;s behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
-
-&quot;Contributor&quot; means any person or entity that distributes the Program.
-
-&quot;Licensed Patents&quot; mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
-
-&quot;Program&quot; means the Contributions distributed in accordance with this Agreement.
-
-&quot;Recipient&quot; means anyone who receives the Program under this Agreement, including all Contributors.
-
-2. GRANT OF RIGHTS
-
-a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
-
-b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
-
-c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient&apos;s responsibility to acquire that license before distributing the Program.
-
-d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
-
-3. REQUIREMENTS
-
-A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
-
-a) it complies with the terms and conditions of this Agreement; and
-
-b) its license agreement:
-
-i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
-
-ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
-
-iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
-
-iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
-
-When the Program is made available in source code form:
-
-a) it must be made available under this Agreement; and
-
-b) a copy of this Agreement must be included with each copy of the Program.
-
-Contributors may not remove or alter any copyright notices contained within the Program.
-
-Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
-
-4. COMMERCIAL DISTRIBUTION
-
-Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor (&quot;Commercial Contributor&quot;) hereby agrees to defend and indemnify every other Contributor (&quot;Indemnified Contributor&quot;) against any losses, damages and costs (collectively &quot;Losses&quot;) arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
-
-For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor&apos;s responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
-
-5. NO WARRANTY
-
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN &quot;AS IS&quot; BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement , including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
-
-6. DISCLAIMER OF LIABILITY
-
-EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
-
-7. GENERAL
-
-If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
-
-If Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient&apos;s patent(s), then such Recipient&apos;s rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
-
-All Recipient&apos;s rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient&apos;s rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient&apos;s obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
-
-Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. The Eclipse Foundation is the initial Agreement Steward. The Eclipse Foundation may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
-
-This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.
-         </text>
-   </license>
-
-   <plugins>
-      <plugin id="com.collabnet.subversion.merge"/>
-      <plugin id="com.ibm.icu"/>
-      <plugin id="com.jcraft.jsch"/>
-      <plugin id="com.sun.jna"/>
-      <plugin id="java_cup.runtime"/>
-      <plugin id="javax.activation"/>
-      <plugin id="javax.mail"/>
-      <plugin id="javax.servlet"/>
-      <plugin id="javax.servlet.jsp"/>
-      <plugin id="javax.wsdl"/>
-      <plugin id="javax.xml"/>
-      <plugin id="javax.xml.rpc"/>
-      <plugin id="javax.xml.soap"/>
-      <plugin id="net.sourceforge.lpg.lpgjavaruntime"/>
-      <plugin id="org.apache.ant"/>
-      <plugin id="org.apache.axis"/>
-      <plugin id="org.apache.batik.bridge"/>
-      <plugin id="org.apache.batik.css"/>
-      <plugin id="org.apache.batik.dom"/>
-      <plugin id="org.apache.batik.dom.svg"/>
-      <plugin id="org.apache.batik.ext.awt"/>
-      <plugin id="org.apache.batik.parser"/>
-      <plugin id="org.apache.batik.pdf"/>
-      <plugin id="org.apache.batik.svggen"/>
-      <plugin id="org.apache.batik.transcoder"/>
-      <plugin id="org.apache.batik.util"/>
-      <plugin id="org.apache.batik.util.gui"/>
-      <plugin id="org.apache.batik.xml"/>
-      <plugin id="org.apache.bcel"/>
-      <plugin id="org.apache.commons.codec"/>
-      <plugin id="org.apache.commons.discovery"/>
-      <plugin id="org.apache.commons.el"/>
-      <plugin id="org.apache.commons.httpclient"/>
-      <plugin id="org.apache.commons.jxpath"/>
-      <plugin id="org.apache.commons.lang"/>
-      <plugin id="org.apache.commons.logging"/>
-      <plugin id="org.apache.commons.net"/>
-      <plugin id="org.apache.jasper"/>
-      <plugin id="org.apache.log4j"/>
-      <plugin id="org.apache.lucene"/>
-      <plugin id="org.apache.lucene.analysis"/>
-      <plugin id="org.apache.wsil4j"/>
-      <plugin id="org.apache.xalan"/>
-      <plugin id="org.apache.xerces"/>
-      <plugin id="org.apache.xml.resolver"/>
-      <plugin id="org.apache.xml.serializer"/>
-      <plugin id="org.argeo.slc.ide.branding"/>
-      <plugin id="org.argeo.slc.ide.ui"/>
-      <plugin id="org.eclipse.ant.core"/>
-      <plugin id="org.eclipse.ant.ui"/>
-      <plugin id="org.eclipse.compare"/>
-      <plugin id="org.eclipse.compare.core"/>
-      <plugin id="org.eclipse.compare.win32"/>
-      <plugin id="org.eclipse.core.boot"/>
-      <plugin id="org.eclipse.core.commands"/>
-      <plugin id="org.eclipse.core.contenttype"/>
-      <plugin id="org.eclipse.core.databinding"/>
-      <plugin id="org.eclipse.core.databinding.beans"/>
-      <plugin id="org.eclipse.core.databinding.observable"/>
-      <plugin id="org.eclipse.core.databinding.property"/>
-      <plugin id="org.eclipse.core.expressions"/>
-      <plugin id="org.eclipse.core.filebuffers"/>
-      <plugin id="org.eclipse.core.filesystem"/>
-      <plugin id="org.eclipse.core.filesystem.hpux.PA_RISC" fragment="true"/>
-      <plugin id="org.eclipse.core.filesystem.hpux.ia64_32" fragment="true"/>
-      <plugin id="org.eclipse.core.filesystem.linux.ppc" fragment="true"/>
-      <plugin id="org.eclipse.core.filesystem.linux.x86" fragment="true"/>
-      <plugin id="org.eclipse.core.filesystem.macosx" fragment="true"/>
-      <plugin id="org.eclipse.core.filesystem.qnx.x86" fragment="true"/>
-      <plugin id="org.eclipse.core.filesystem.solaris.sparc" fragment="true"/>
-      <plugin id="org.eclipse.core.filesystem.win32.x86" fragment="true"/>
-      <plugin id="org.eclipse.core.filesystem.win32.x86_64" fragment="true"/>
-      <plugin id="org.eclipse.core.jobs"/>
-      <plugin id="org.eclipse.core.net"/>
-      <plugin id="org.eclipse.core.net.linux.x86" fragment="true"/>
-      <plugin id="org.eclipse.core.net.win32.x86" fragment="true"/>
-      <plugin id="org.eclipse.core.net.win32.x86_64" fragment="true"/>
-      <plugin id="org.eclipse.core.resources"/>
-      <plugin id="org.eclipse.core.resources.compatibility" fragment="true"/>
-      <plugin id="org.eclipse.core.resources.win32.x86" fragment="true"/>
-      <plugin id="org.eclipse.core.runtime"/>
-      <plugin id="org.eclipse.core.runtime.compatibility"/>
-      <plugin id="org.eclipse.core.runtime.compatibility.auth"/>
-      <plugin id="org.eclipse.core.runtime.compatibility.registry" fragment="true"/>
-      <plugin id="org.eclipse.core.variables"/>
-      <plugin id="org.eclipse.cvs"/>
-      <plugin id="org.eclipse.debug.core"/>
-      <plugin id="org.eclipse.debug.ui"/>
-      <plugin id="org.eclipse.draw2d"/>
-      <plugin id="org.eclipse.dstore.core"/>
-      <plugin id="org.eclipse.dstore.extra"/>
-      <plugin id="org.eclipse.ecf"/>
-      <plugin id="org.eclipse.ecf.filetransfer"/>
-      <plugin id="org.eclipse.ecf.identity"/>
-      <plugin id="org.eclipse.ecf.provider.filetransfer"/>
-      <plugin id="org.eclipse.ecf.provider.filetransfer.httpclient"/>
-      <plugin id="org.eclipse.ecf.provider.filetransfer.httpclient.ssl" fragment="true"/>
-      <plugin id="org.eclipse.ecf.provider.filetransfer.ssl" fragment="true"/>
-      <plugin id="org.eclipse.ecf.ssl" fragment="true"/>
-      <plugin id="org.eclipse.emf"/>
-      <plugin id="org.eclipse.emf.ant"/>
-      <plugin id="org.eclipse.emf.cheatsheets"/>
-      <plugin id="org.eclipse.emf.codegen"/>
-      <plugin id="org.eclipse.emf.codegen.ecore"/>
-      <plugin id="org.eclipse.emf.codegen.ecore.ui"/>
-      <plugin id="org.eclipse.emf.codegen.ui"/>
-      <plugin id="org.eclipse.emf.common"/>
-      <plugin id="org.eclipse.emf.common.ui"/>
-      <plugin id="org.eclipse.emf.compare"/>
-      <plugin id="org.eclipse.emf.compare.diff"/>
-      <plugin id="org.eclipse.emf.compare.diff.edit"/>
-      <plugin id="org.eclipse.emf.compare.doc"/>
-      <plugin id="org.eclipse.emf.compare.epatch"/>
-      <plugin id="org.eclipse.emf.compare.match"/>
-      <plugin id="org.eclipse.emf.compare.ui"/>
-      <plugin id="org.eclipse.emf.converter"/>
-      <plugin id="org.eclipse.emf.databinding"/>
-      <plugin id="org.eclipse.emf.databinding.edit"/>
-      <plugin id="org.eclipse.emf.doc"/>
-      <plugin id="org.eclipse.emf.ecore"/>
-      <plugin id="org.eclipse.emf.ecore.change"/>
-      <plugin id="org.eclipse.emf.ecore.change.edit"/>
-      <plugin id="org.eclipse.emf.ecore.edit"/>
-      <plugin id="org.eclipse.emf.ecore.editor"/>
-      <plugin id="org.eclipse.emf.ecore.xmi"/>
-      <plugin id="org.eclipse.emf.edit"/>
-      <plugin id="org.eclipse.emf.edit.ui"/>
-      <plugin id="org.eclipse.emf.example.installer"/>
-      <plugin id="org.eclipse.emf.exporter"/>
-      <plugin id="org.eclipse.emf.importer"/>
-      <plugin id="org.eclipse.emf.importer.ecore"/>
-      <plugin id="org.eclipse.emf.importer.java"/>
-      <plugin id="org.eclipse.emf.importer.rose"/>
-      <plugin id="org.eclipse.emf.mapping"/>
-      <plugin id="org.eclipse.emf.mapping.ecore"/>
-      <plugin id="org.eclipse.emf.mapping.ecore.editor"/>
-      <plugin id="org.eclipse.emf.mapping.ecore2ecore"/>
-      <plugin id="org.eclipse.emf.mapping.ecore2ecore.editor"/>
-      <plugin id="org.eclipse.emf.mapping.ecore2xml"/>
-      <plugin id="org.eclipse.emf.mapping.ecore2xml.ui"/>
-      <plugin id="org.eclipse.emf.mapping.ui"/>
-      <plugin id="org.eclipse.emf.mapping.xsd2ecore"/>
-      <plugin id="org.eclipse.emf.mapping.xsd2ecore.editor"/>
-      <plugin id="org.eclipse.emf.transaction"/>
-      <plugin id="org.eclipse.emf.transaction.ui"/>
-      <plugin id="org.eclipse.emf.validation"/>
-      <plugin id="org.eclipse.emf.validation.ui"/>
-      <plugin id="org.eclipse.emf.validation.ui.ide"/>
-      <plugin id="org.eclipse.emf.workspace"/>
-      <plugin id="org.eclipse.emf.workspace.ui"/>
-      <plugin id="org.eclipse.equinox.app"/>
-      <plugin id="org.eclipse.equinox.cm"/>
-      <plugin id="org.eclipse.equinox.common"/>
-      <plugin id="org.eclipse.equinox.concurrent"/>
-      <plugin id="org.eclipse.equinox.device"/>
-      <plugin id="org.eclipse.equinox.ds"/>
-      <plugin id="org.eclipse.equinox.event"/>
-      <plugin id="org.eclipse.equinox.frameworkadmin"/>
-      <plugin id="org.eclipse.equinox.frameworkadmin.equinox"/>
-      <plugin id="org.eclipse.equinox.http"/>
-      <plugin id="org.eclipse.equinox.http.jetty"/>
-      <plugin id="org.eclipse.equinox.http.registry"/>
-      <plugin id="org.eclipse.equinox.http.servlet"/>
-      <plugin id="org.eclipse.equinox.http.servletbridge"/>
-      <plugin id="org.eclipse.equinox.io"/>
-      <plugin id="org.eclipse.equinox.ip"/>
-      <plugin id="org.eclipse.equinox.jsp.jasper"/>
-      <plugin id="org.eclipse.equinox.jsp.jasper.registry"/>
-      <plugin id="org.eclipse.equinox.launcher"/>
-      <plugin id="org.eclipse.equinox.launcher.carbon.macosx" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.cocoa.macosx" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.cocoa.macosx.x86_64" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.gtk.linux.ppc" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.gtk.linux.s390" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.gtk.linux.s390x" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.gtk.linux.x86" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.gtk.solaris.sparc" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.gtk.solaris.x86" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.motif.aix.ppc" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.motif.hpux.PA_RISC" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.motif.hpux.ia64_32" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.motif.linux.x86" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.motif.solaris.sparc" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.win32.win32.x86" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.win32.win32.x86_64" fragment="true"/>
-      <plugin id="org.eclipse.equinox.launcher.wpf.win32.x86" fragment="true"/>
-      <plugin id="org.eclipse.equinox.log"/>
-      <plugin id="org.eclipse.equinox.metatype"/>
-      <plugin id="org.eclipse.equinox.p2.artifact.repository"/>
-      <plugin id="org.eclipse.equinox.p2.console"/>
-      <plugin id="org.eclipse.equinox.p2.core"/>
-      <plugin id="org.eclipse.equinox.p2.director"/>
-      <plugin id="org.eclipse.equinox.p2.director.app"/>
-      <plugin id="org.eclipse.equinox.p2.directorywatcher"/>
-      <plugin id="org.eclipse.equinox.p2.engine"/>
-      <plugin id="org.eclipse.equinox.p2.exemplarysetup"/>
-      <plugin id="org.eclipse.equinox.p2.extensionlocation"/>
-      <plugin id="org.eclipse.equinox.p2.garbagecollector"/>
-      <plugin id="org.eclipse.equinox.p2.installer"/>
-      <plugin id="org.eclipse.equinox.p2.jarprocessor"/>
-      <plugin id="org.eclipse.equinox.p2.metadata"/>
-      <plugin id="org.eclipse.equinox.p2.metadata.generator"/>
-      <plugin id="org.eclipse.equinox.p2.metadata.repository"/>
-      <plugin id="org.eclipse.equinox.p2.publisher"/>
-      <plugin id="org.eclipse.equinox.p2.reconciler.dropins"/>
-      <plugin id="org.eclipse.equinox.p2.repository"/>
-      <plugin id="org.eclipse.equinox.p2.repository.tools"/>
-      <plugin id="org.eclipse.equinox.p2.tools"/>
-      <plugin id="org.eclipse.equinox.p2.touchpoint.eclipse"/>
-      <plugin id="org.eclipse.equinox.p2.touchpoint.natives"/>
-      <plugin id="org.eclipse.equinox.p2.ui"/>
-      <plugin id="org.eclipse.equinox.p2.ui.admin"/>
-      <plugin id="org.eclipse.equinox.p2.ui.admin.rcp"/>
-      <plugin id="org.eclipse.equinox.p2.ui.sdk"/>
-      <plugin id="org.eclipse.equinox.p2.ui.sdk.scheduler"/>
-      <plugin id="org.eclipse.equinox.p2.updatechecker"/>
-      <plugin id="org.eclipse.equinox.p2.updatesite"/>
-      <plugin id="org.eclipse.equinox.preferences"/>
-      <plugin id="org.eclipse.equinox.registry"/>
-      <plugin id="org.eclipse.equinox.security"/>
-      <plugin id="org.eclipse.equinox.security.macosx" fragment="true"/>
-      <plugin id="org.eclipse.equinox.security.ui"/>
-      <plugin id="org.eclipse.equinox.security.win32.x86" fragment="true"/>
-      <plugin id="org.eclipse.equinox.servletbridge"/>
-      <plugin id="org.eclipse.equinox.simpleconfigurator"/>
-      <plugin id="org.eclipse.equinox.simpleconfigurator.manipulator"/>
-      <plugin id="org.eclipse.equinox.supplement"/>
-      <plugin id="org.eclipse.equinox.transforms.hook" fragment="true"/>
-      <plugin id="org.eclipse.equinox.transforms.xslt"/>
-      <plugin id="org.eclipse.equinox.useradmin"/>
-      <plugin id="org.eclipse.equinox.util"/>
-      <plugin id="org.eclipse.equinox.wireadmin"/>
-      <plugin id="org.eclipse.gef"/>
-      <plugin id="org.eclipse.gmf"/>
-      <plugin id="org.eclipse.gmf.bridge"/>
-      <plugin id="org.eclipse.gmf.bridge.trace"/>
-      <plugin id="org.eclipse.gmf.bridge.ui"/>
-      <plugin id="org.eclipse.gmf.bridge.ui.dashboard"/>
-      <plugin id="org.eclipse.gmf.codegen"/>
-      <plugin id="org.eclipse.gmf.codegen.edit"/>
-      <plugin id="org.eclipse.gmf.codegen.ui"/>
-      <plugin id="org.eclipse.gmf.common"/>
-      <plugin id="org.eclipse.gmf.doc"/>
-      <plugin id="org.eclipse.gmf.doc.ui"/>
-      <plugin id="org.eclipse.gmf.ecore.editor"/>
-      <plugin id="org.eclipse.gmf.examples"/>
-      <plugin id="org.eclipse.gmf.examples.ui.pde"/>
-      <plugin id="org.eclipse.gmf.graphdef"/>
-      <plugin id="org.eclipse.gmf.graphdef.codegen"/>
-      <plugin id="org.eclipse.gmf.graphdef.codegen.ui"/>
-      <plugin id="org.eclipse.gmf.graphdef.edit"/>
-      <plugin id="org.eclipse.gmf.map"/>
-      <plugin id="org.eclipse.gmf.map.edit"/>
-      <plugin id="org.eclipse.gmf.runtime.common.core"/>
-      <plugin id="org.eclipse.gmf.runtime.common.ui"/>
-      <plugin id="org.eclipse.gmf.runtime.common.ui.action"/>
-      <plugin id="org.eclipse.gmf.runtime.common.ui.action.ide"/>
-      <plugin id="org.eclipse.gmf.runtime.common.ui.printing"/>
-      <plugin id="org.eclipse.gmf.runtime.common.ui.printing.win32" fragment="true"/>
-      <plugin id="org.eclipse.gmf.runtime.common.ui.services"/>
-      <plugin id="org.eclipse.gmf.runtime.common.ui.services.action"/>
-      <plugin id="org.eclipse.gmf.runtime.common.ui.services.dnd"/>
-      <plugin id="org.eclipse.gmf.runtime.common.ui.services.dnd.ide"/>
-      <plugin id="org.eclipse.gmf.runtime.common.ui.services.properties"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.core"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.ui"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.ui.actions"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.ui.dnd"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.ui.geoshapes"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.ui.printing"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.ui.printing.render"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.ui.properties"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.ui.providers"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.ui.providers.ide"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.ui.render"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.ui.resources.editor"/>
-      <plugin id="org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide"/>
-      <plugin id="org.eclipse.gmf.runtime.draw2d.ui"/>
-      <plugin id="org.eclipse.gmf.runtime.draw2d.ui.render"/>
-      <plugin id="org.eclipse.gmf.runtime.draw2d.ui.render.awt"/>
-      <plugin id="org.eclipse.gmf.runtime.emf.clipboard.core"/>
-      <plugin id="org.eclipse.gmf.runtime.emf.commands.core"/>
-      <plugin id="org.eclipse.gmf.runtime.emf.core"/>
-      <plugin id="org.eclipse.gmf.runtime.emf.type.core"/>
-      <plugin id="org.eclipse.gmf.runtime.emf.type.ui"/>
-      <plugin id="org.eclipse.gmf.runtime.emf.ui"/>
-      <plugin id="org.eclipse.gmf.runtime.emf.ui.properties"/>
-      <plugin id="org.eclipse.gmf.runtime.gef.ui"/>
-      <plugin id="org.eclipse.gmf.runtime.notation"/>
-      <plugin id="org.eclipse.gmf.runtime.notation.edit"/>
-      <plugin id="org.eclipse.gmf.runtime.notation.providers"/>
-      <plugin id="org.eclipse.gmf.sdk"/>
-      <plugin id="org.eclipse.gmf.templates.legacy"/>
-      <plugin id="org.eclipse.gmf.tooldef"/>
-      <plugin id="org.eclipse.gmf.tooldef.edit"/>
-      <plugin id="org.eclipse.gmf.tooling"/>
-      <plugin id="org.eclipse.gmf.validate"/>
-      <plugin id="org.eclipse.gmf.xpand"/>
-      <plugin id="org.eclipse.gmf.xpand.editor"/>
-      <plugin id="org.eclipse.gmf.xpand.migration"/>
-      <plugin id="org.eclipse.gmf.xpand.qvtlibrary"/>
-      <plugin id="org.eclipse.help"/>
-      <plugin id="org.eclipse.help.appserver"/>
-      <plugin id="org.eclipse.help.base"/>
-      <plugin id="org.eclipse.help.ui"/>
-      <plugin id="org.eclipse.help.webapp"/>
-      <plugin id="org.eclipse.jdt"/>
-      <plugin id="org.eclipse.jdt.apt.core"/>
-      <plugin id="org.eclipse.jdt.apt.pluggable.core"/>
-      <plugin id="org.eclipse.jdt.apt.ui"/>
-      <plugin id="org.eclipse.jdt.compiler.apt" fragment="true"/>
-      <plugin id="org.eclipse.jdt.compiler.tool" fragment="true"/>
-      <plugin id="org.eclipse.jdt.core"/>
-      <plugin id="org.eclipse.jdt.core.manipulation"/>
-      <plugin id="org.eclipse.jdt.debug"/>
-      <plugin id="org.eclipse.jdt.debug.ui"/>
-      <plugin id="org.eclipse.jdt.doc.user"/>
-      <plugin id="org.eclipse.jdt.junit"/>
-      <plugin id="org.eclipse.jdt.junit.runtime"/>
-      <plugin id="org.eclipse.jdt.junit4.runtime"/>
-      <plugin id="org.eclipse.jdt.launching"/>
-      <plugin id="org.eclipse.jdt.launching.macosx"/>
-      <plugin id="org.eclipse.jdt.launching.ui.macosx"/>
-      <plugin id="org.eclipse.jdt.ui"/>
-      <plugin id="org.eclipse.jem"/>
-      <plugin id="org.eclipse.jem.beaninfo"/>
-      <plugin id="org.eclipse.jem.beaninfo.vm"/>
-      <plugin id="org.eclipse.jem.beaninfo.vm.common"/>
-      <plugin id="org.eclipse.jem.proxy"/>
-      <plugin id="org.eclipse.jem.util"/>
-      <plugin id="org.eclipse.jem.workbench"/>
-      <plugin id="org.eclipse.jface"/>
-      <plugin id="org.eclipse.jface.databinding"/>
-      <plugin id="org.eclipse.jface.text"/>
-      <plugin id="org.eclipse.jsch.core"/>
-      <plugin id="org.eclipse.jsch.ui"/>
-      <plugin id="org.eclipse.jst.common.annotations.controller"/>
-      <plugin id="org.eclipse.jst.common.annotations.core"/>
-      <plugin id="org.eclipse.jst.common.annotations.ui"/>
-      <plugin id="org.eclipse.jst.common.frameworks"/>
-      <plugin id="org.eclipse.jst.common.project.facet.core"/>
-      <plugin id="org.eclipse.jst.common.project.facet.ui"/>
-      <plugin id="org.eclipse.jst.j2ee"/>
-      <plugin id="org.eclipse.jst.j2ee.core"/>
-      <plugin id="org.eclipse.jst.j2ee.jca"/>
-      <plugin id="org.eclipse.jst.j2ee.web"/>
-      <plugin id="org.eclipse.jst.jee"/>
-      <plugin id="org.eclipse.jst.jee.web"/>
-      <plugin id="org.eclipse.jst.jsf.common"/>
-      <plugin id="org.eclipse.jst.jsf.common.runtime"/>
-      <plugin id="org.eclipse.jst.jsf.common.ui"/>
-      <plugin id="org.eclipse.jst.jsf.core"/>
-      <plugin id="org.eclipse.jst.jsf.doc.user"/>
-      <plugin id="org.eclipse.jst.jsf.facesconfig"/>
-      <plugin id="org.eclipse.jst.jsf.facesconfig.ui"/>
-      <plugin id="org.eclipse.jst.jsf.standard.tagsupport"/>
-      <plugin id="org.eclipse.jst.jsf.ui"/>
-      <plugin id="org.eclipse.jst.jsp.core"/>
-      <plugin id="org.eclipse.jst.jsp.ui"/>
-      <plugin id="org.eclipse.jst.jsp.ui.infopop"/>
-      <plugin id="org.eclipse.jst.server.core"/>
-      <plugin id="org.eclipse.jst.server.generic.core"/>
-      <plugin id="org.eclipse.jst.server.generic.ui"/>
-      <plugin id="org.eclipse.jst.server.ui"/>
-      <plugin id="org.eclipse.jst.server.ui.doc.user"/>
-      <plugin id="org.eclipse.jst.server.ui.infopop"/>
-      <plugin id="org.eclipse.jst.standard.schemas"/>
-      <plugin id="org.eclipse.ltk.core.refactoring"/>
-      <plugin id="org.eclipse.ltk.ui.refactoring"/>
-      <plugin id="org.eclipse.m2m.qvt.oml"/>
-      <plugin id="org.eclipse.m2m.qvt.oml.common"/>
-      <plugin id="org.eclipse.m2m.qvt.oml.cst.parser"/>
-      <plugin id="org.eclipse.m2m.qvt.oml.ecore.imperativeocl"/>
-      <plugin id="org.eclipse.m2m.qvt.oml.emf.util"/>
-      <plugin id="org.eclipse.m2m.qvt.oml.project"/>
-      <plugin id="org.eclipse.m2m.qvt.oml.runtime"/>
-      <plugin id="org.eclipse.mylyn"/>
-      <plugin id="org.eclipse.mylyn.bugzilla.core"/>
-      <plugin id="org.eclipse.mylyn.bugzilla.ide"/>
-      <plugin id="org.eclipse.mylyn.bugzilla.ui"/>
-      <plugin id="org.eclipse.mylyn.commons.core"/>
-      <plugin id="org.eclipse.mylyn.commons.net"/>
-      <plugin id="org.eclipse.mylyn.commons.ui"/>
-      <plugin id="org.eclipse.mylyn.compatibility"/>
-      <plugin id="org.eclipse.mylyn.context.core"/>
-      <plugin id="org.eclipse.mylyn.context.ui"/>
-      <plugin id="org.eclipse.mylyn.discovery.core"/>
-      <plugin id="org.eclipse.mylyn.discovery.ui"/>
-      <plugin id="org.eclipse.mylyn.help.ui"/>
-      <plugin id="org.eclipse.mylyn.ide.ant"/>
-      <plugin id="org.eclipse.mylyn.ide.ui"/>
-      <plugin id="org.eclipse.mylyn.java.tasks"/>
-      <plugin id="org.eclipse.mylyn.java.ui"/>
-      <plugin id="org.eclipse.mylyn.monitor.core"/>
-      <plugin id="org.eclipse.mylyn.monitor.ui"/>
-      <plugin id="org.eclipse.mylyn.pde.ui"/>
-      <plugin id="org.eclipse.mylyn.resources.ui"/>
-      <plugin id="org.eclipse.mylyn.tasks.bugs"/>
-      <plugin id="org.eclipse.mylyn.tasks.core"/>
-      <plugin id="org.eclipse.mylyn.tasks.ui"/>
-      <plugin id="org.eclipse.mylyn.team.cvs"/>
-      <plugin id="org.eclipse.mylyn.team.ui"/>
-      <plugin id="org.eclipse.mylyn.wikitext.confluence.core"/>
-      <plugin id="org.eclipse.mylyn.wikitext.confluence.ui"/>
-      <plugin id="org.eclipse.mylyn.wikitext.core"/>
-      <plugin id="org.eclipse.mylyn.wikitext.help.ui"/>
-      <plugin id="org.eclipse.mylyn.wikitext.mediawiki.core"/>
-      <plugin id="org.eclipse.mylyn.wikitext.mediawiki.ui"/>
-      <plugin id="org.eclipse.mylyn.wikitext.tasks.ui"/>
-      <plugin id="org.eclipse.mylyn.wikitext.textile.core"/>
-      <plugin id="org.eclipse.mylyn.wikitext.textile.ui"/>
-      <plugin id="org.eclipse.mylyn.wikitext.tracwiki.core"/>
-      <plugin id="org.eclipse.mylyn.wikitext.tracwiki.ui"/>
-      <plugin id="org.eclipse.mylyn.wikitext.twiki.core"/>
-      <plugin id="org.eclipse.mylyn.wikitext.twiki.ui"/>
-      <plugin id="org.eclipse.mylyn.wikitext.ui"/>
-      <plugin id="org.eclipse.ocl"/>
-      <plugin id="org.eclipse.ocl.ecore"/>
-      <plugin id="org.eclipse.osgi"/>
-      <plugin id="org.eclipse.osgi.services"/>
-      <plugin id="org.eclipse.osgi.util"/>
-      <plugin id="org.eclipse.pde"/>
-      <plugin id="org.eclipse.pde.api.tools"/>
-      <plugin id="org.eclipse.pde.api.tools.ui"/>
-      <plugin id="org.eclipse.pde.build"/>
-      <plugin id="org.eclipse.pde.core"/>
-      <plugin id="org.eclipse.pde.doc.user"/>
-      <plugin id="org.eclipse.pde.ds.core"/>
-      <plugin id="org.eclipse.pde.ds.ui"/>
-      <plugin id="org.eclipse.pde.junit.runtime"/>
-      <plugin id="org.eclipse.pde.runtime"/>
-      <plugin id="org.eclipse.pde.ua.core"/>
-      <plugin id="org.eclipse.pde.ua.ui"/>
-      <plugin id="org.eclipse.pde.ui"/>
-      <plugin id="org.eclipse.pde.ui.templates"/>
-      <plugin id="org.eclipse.platform"/>
-      <plugin id="org.eclipse.platform.doc.user"/>
-      <plugin id="org.eclipse.rcp"/>
-      <plugin id="org.eclipse.rse"/>
-      <plugin id="org.eclipse.rse.connectorservice.dstore"/>
-      <plugin id="org.eclipse.rse.connectorservice.local"/>
-      <plugin id="org.eclipse.rse.connectorservice.ssh"/>
-      <plugin id="org.eclipse.rse.connectorservice.telnet"/>
-      <plugin id="org.eclipse.rse.core"/>
-      <plugin id="org.eclipse.rse.doc.user"/>
-      <plugin id="org.eclipse.rse.dstore.security"/>
-      <plugin id="org.eclipse.rse.efs"/>
-      <plugin id="org.eclipse.rse.efs.ui"/>
-      <plugin id="org.eclipse.rse.files.ui"/>
-      <plugin id="org.eclipse.rse.importexport"/>
-      <plugin id="org.eclipse.rse.processes.ui"/>
-      <plugin id="org.eclipse.rse.services"/>
-      <plugin id="org.eclipse.rse.services.dstore"/>
-      <plugin id="org.eclipse.rse.services.files.ftp"/>
-      <plugin id="org.eclipse.rse.services.local"/>
-      <plugin id="org.eclipse.rse.services.ssh"/>
-      <plugin id="org.eclipse.rse.services.telnet"/>
-      <plugin id="org.eclipse.rse.shells.ui"/>
-      <plugin id="org.eclipse.rse.subsystems.files.core"/>
-      <plugin id="org.eclipse.rse.subsystems.files.dstore"/>
-      <plugin id="org.eclipse.rse.subsystems.files.ftp"/>
-      <plugin id="org.eclipse.rse.subsystems.files.local"/>
-      <plugin id="org.eclipse.rse.subsystems.files.ssh"/>
-      <plugin id="org.eclipse.rse.subsystems.processes.core"/>
-      <plugin id="org.eclipse.rse.subsystems.processes.dstore"/>
-      <plugin id="org.eclipse.rse.subsystems.processes.local"/>
-      <plugin id="org.eclipse.rse.subsystems.processes.shell.linux"/>
-      <plugin id="org.eclipse.rse.subsystems.shells.core"/>
-      <plugin id="org.eclipse.rse.subsystems.shells.dstore"/>
-      <plugin id="org.eclipse.rse.subsystems.shells.local"/>
-      <plugin id="org.eclipse.rse.subsystems.shells.ssh"/>
-      <plugin id="org.eclipse.rse.subsystems.shells.telnet"/>
-      <plugin id="org.eclipse.rse.subsystems.terminals.core"/>
-      <plugin id="org.eclipse.rse.subsystems.terminals.ssh"/>
-      <plugin id="org.eclipse.rse.terminals.ui"/>
-      <plugin id="org.eclipse.rse.ui"/>
-      <plugin id="org.eclipse.search"/>
-      <plugin id="org.eclipse.swt"/>
-      <plugin id="org.eclipse.swt.carbon.macosx" fragment="true"/>
-      <plugin id="org.eclipse.swt.cocoa.macosx" fragment="true"/>
-      <plugin id="org.eclipse.swt.cocoa.macosx.x86_64" fragment="true"/>
-      <plugin id="org.eclipse.swt.gtk.linux.ppc" fragment="true"/>
-      <plugin id="org.eclipse.swt.gtk.linux.s390" fragment="true"/>
-      <plugin id="org.eclipse.swt.gtk.linux.s390x" fragment="true"/>
-      <plugin id="org.eclipse.swt.gtk.linux.x86" fragment="true"/>
-      <plugin id="org.eclipse.swt.gtk.solaris.sparc" fragment="true"/>
-      <plugin id="org.eclipse.swt.gtk.solaris.x86" fragment="true"/>
-      <plugin id="org.eclipse.swt.motif.aix.ppc" fragment="true"/>
-      <plugin id="org.eclipse.swt.motif.hpux.PA_RISC" fragment="true"/>
-      <plugin id="org.eclipse.swt.motif.hpux.ia64_32" fragment="true"/>
-      <plugin id="org.eclipse.swt.motif.linux.x86" fragment="true"/>
-      <plugin id="org.eclipse.swt.motif.solaris.sparc" fragment="true"/>
-      <plugin id="org.eclipse.swt.photon.qnx.x86" fragment="true"/>
-      <plugin id="org.eclipse.swt.win32.win32.x86" fragment="true"/>
-      <plugin id="org.eclipse.swt.win32.win32.x86_64" fragment="true"/>
-      <plugin id="org.eclipse.swt.wpf.win32.x86" fragment="true"/>
-      <plugin id="org.eclipse.team.core"/>
-      <plugin id="org.eclipse.team.cvs.core"/>
-      <plugin id="org.eclipse.team.cvs.ssh"/>
-      <plugin id="org.eclipse.team.cvs.ssh2"/>
-      <plugin id="org.eclipse.team.cvs.ui"/>
-      <plugin id="org.eclipse.team.ui"/>
-      <plugin id="org.eclipse.text"/>
-      <plugin id="org.eclipse.tm.terminal"/>
-      <plugin id="org.eclipse.tm.terminal.serial"/>
-      <plugin id="org.eclipse.tm.terminal.ssh"/>
-      <plugin id="org.eclipse.tm.terminal.telnet"/>
-      <plugin id="org.eclipse.tm.terminal.view"/>
-      <plugin id="org.eclipse.ui"/>
-      <plugin id="org.eclipse.ui.browser"/>
-      <plugin id="org.eclipse.ui.carbon" fragment="true"/>
-      <plugin id="org.eclipse.ui.cheatsheets"/>
-      <plugin id="org.eclipse.ui.cocoa" fragment="true"/>
-      <plugin id="org.eclipse.ui.console"/>
-      <plugin id="org.eclipse.ui.editors"/>
-      <plugin id="org.eclipse.ui.externaltools"/>
-      <plugin id="org.eclipse.ui.forms"/>
-      <plugin id="org.eclipse.ui.ide"/>
-      <plugin id="org.eclipse.ui.ide.application"/>
-      <plugin id="org.eclipse.ui.intro"/>
-      <plugin id="org.eclipse.ui.intro.universal"/>
-      <plugin id="org.eclipse.ui.navigator"/>
-      <plugin id="org.eclipse.ui.navigator.resources"/>
-      <plugin id="org.eclipse.ui.net"/>
-      <plugin id="org.eclipse.ui.presentations.r21"/>
-      <plugin id="org.eclipse.ui.views"/>
-      <plugin id="org.eclipse.ui.views.log"/>
-      <plugin id="org.eclipse.ui.views.properties.tabbed"/>
-      <plugin id="org.eclipse.ui.win32" fragment="true"/>
-      <plugin id="org.eclipse.ui.workbench"/>
-      <plugin id="org.eclipse.ui.workbench.compatibility" fragment="true"/>
-      <plugin id="org.eclipse.ui.workbench.texteditor"/>
-      <plugin id="org.eclipse.update.configurator"/>
-      <plugin id="org.eclipse.update.core"/>
-      <plugin id="org.eclipse.update.core.linux" fragment="true"/>
-      <plugin id="org.eclipse.update.core.win32" fragment="true"/>
-      <plugin id="org.eclipse.update.scheduler"/>
-      <plugin id="org.eclipse.update.ui"/>
-      <plugin id="org.eclipse.wst.command.env"/>
-      <plugin id="org.eclipse.wst.command.env.core"/>
-      <plugin id="org.eclipse.wst.command.env.doc.user"/>
-      <plugin id="org.eclipse.wst.command.env.infopop"/>
-      <plugin id="org.eclipse.wst.command.env.ui"/>
-      <plugin id="org.eclipse.wst.common.core"/>
-      <plugin id="org.eclipse.wst.common.emf"/>
-      <plugin id="org.eclipse.wst.common.emfworkbench.integration"/>
-      <plugin id="org.eclipse.wst.common.environment"/>
-      <plugin id="org.eclipse.wst.common.frameworks"/>
-      <plugin id="org.eclipse.wst.common.frameworks.ui"/>
-      <plugin id="org.eclipse.wst.common.infopop"/>
-      <plugin id="org.eclipse.wst.common.modulecore"/>
-      <plugin id="org.eclipse.wst.common.project.facet.core"/>
-      <plugin id="org.eclipse.wst.common.project.facet.ui"/>
-      <plugin id="org.eclipse.wst.common.snippets"/>
-      <plugin id="org.eclipse.wst.common.ui"/>
-      <plugin id="org.eclipse.wst.common.uriresolver"/>
-      <plugin id="org.eclipse.wst.css.core"/>
-      <plugin id="org.eclipse.wst.css.ui"/>
-      <plugin id="org.eclipse.wst.doc.user"/>
-      <plugin id="org.eclipse.wst.dtd.core"/>
-      <plugin id="org.eclipse.wst.dtd.ui"/>
-      <plugin id="org.eclipse.wst.dtd.ui.infopop"/>
-      <plugin id="org.eclipse.wst.dtdeditor.doc.user"/>
-      <plugin id="org.eclipse.wst.html.core"/>
-      <plugin id="org.eclipse.wst.html.ui"/>
-      <plugin id="org.eclipse.wst.html.ui.infopop"/>
-      <plugin id="org.eclipse.wst.internet.cache"/>
-      <plugin id="org.eclipse.wst.internet.monitor.core"/>
-      <plugin id="org.eclipse.wst.internet.monitor.ui"/>
-      <plugin id="org.eclipse.wst.jsdt.core"/>
-      <plugin id="org.eclipse.wst.jsdt.doc"/>
-      <plugin id="org.eclipse.wst.jsdt.manipulation"/>
-      <plugin id="org.eclipse.wst.jsdt.support.firefox"/>
-      <plugin id="org.eclipse.wst.jsdt.support.ie"/>
-      <plugin id="org.eclipse.wst.jsdt.ui"/>
-      <plugin id="org.eclipse.wst.jsdt.web.core"/>
-      <plugin id="org.eclipse.wst.jsdt.web.support.jsp"/>
-      <plugin id="org.eclipse.wst.jsdt.web.ui"/>
-      <plugin id="org.eclipse.wst.server.core"/>
-      <plugin id="org.eclipse.wst.server.discovery"/>
-      <plugin id="org.eclipse.wst.server.ui"/>
-      <plugin id="org.eclipse.wst.server.ui.doc.user"/>
-      <plugin id="org.eclipse.wst.server.ui.infopop"/>
-      <plugin id="org.eclipse.wst.sse.core"/>
-      <plugin id="org.eclipse.wst.sse.doc.user"/>
-      <plugin id="org.eclipse.wst.sse.ui"/>
-      <plugin id="org.eclipse.wst.sse.ui.infopop"/>
-      <plugin id="org.eclipse.wst.standard.schemas"/>
-      <plugin id="org.eclipse.wst.validation"/>
-      <plugin id="org.eclipse.wst.validation.infopop"/>
-      <plugin id="org.eclipse.wst.validation.ui"/>
-      <plugin id="org.eclipse.wst.web"/>
-      <plugin id="org.eclipse.wst.web.ui"/>
-      <plugin id="org.eclipse.wst.web.ui.infopop"/>
-      <plugin id="org.eclipse.wst.webtools.doc.user"/>
-      <plugin id="org.eclipse.wst.ws"/>
-      <plugin id="org.eclipse.wst.ws.explorer"/>
-      <plugin id="org.eclipse.wst.ws.infopop"/>
-      <plugin id="org.eclipse.wst.ws.parser"/>
-      <plugin id="org.eclipse.wst.ws.service.policy"/>
-      <plugin id="org.eclipse.wst.ws.service.policy.ui"/>
-      <plugin id="org.eclipse.wst.ws.ui"/>
-      <plugin id="org.eclipse.wst.wsdl"/>
-      <plugin id="org.eclipse.wst.wsdl.ui"/>
-      <plugin id="org.eclipse.wst.wsdl.ui.doc.user"/>
-      <plugin id="org.eclipse.wst.wsdl.validation"/>
-      <plugin id="org.eclipse.wst.wsi"/>
-      <plugin id="org.eclipse.wst.wsi.ui"/>
-      <plugin id="org.eclipse.wst.wsi.ui.doc.user"/>
-      <plugin id="org.eclipse.wst.xml.core"/>
-      <plugin id="org.eclipse.wst.xml.ui"/>
-      <plugin id="org.eclipse.wst.xml.ui.infopop"/>
-      <plugin id="org.eclipse.wst.xml.xpath.core"/>
-      <plugin id="org.eclipse.wst.xml.xpath.ui"/>
-      <plugin id="org.eclipse.wst.xml.xpath2.processor"/>
-      <plugin id="org.eclipse.wst.xmleditor.doc.user"/>
-      <plugin id="org.eclipse.wst.xsd.core"/>
-      <plugin id="org.eclipse.wst.xsd.ui"/>
-      <plugin id="org.eclipse.wst.xsdeditor.doc.user"/>
-      <plugin id="org.eclipse.wst.xsl"/>
-      <plugin id="org.eclipse.wst.xsl.core"/>
-      <plugin id="org.eclipse.wst.xsl.debug.ui"/>
-      <plugin id="org.eclipse.wst.xsl.doc"/>
-      <plugin id="org.eclipse.wst.xsl.jaxp.debug"/>
-      <plugin id="org.eclipse.wst.xsl.jaxp.debug.ui"/>
-      <plugin id="org.eclipse.wst.xsl.jaxp.launching"/>
-      <plugin id="org.eclipse.wst.xsl.launching"/>
-      <plugin id="org.eclipse.wst.xsl.saxon"/>
-      <plugin id="org.eclipse.wst.xsl.ui"/>
-      <plugin id="org.eclipse.wst.xsl.xalan"/>
-      <plugin id="org.eclipse.xsd"/>
-      <plugin id="org.eclipse.xsd.cheatsheets"/>
-      <plugin id="org.eclipse.xsd.doc"/>
-      <plugin id="org.eclipse.xsd.ecore.converter"/>
-      <plugin id="org.eclipse.xsd.ecore.exporter"/>
-      <plugin id="org.eclipse.xsd.ecore.importer"/>
-      <plugin id="org.eclipse.xsd.edit"/>
-      <plugin id="org.eclipse.xsd.editor"/>
-      <plugin id="org.eclipse.xsd.example.installer"/>
-      <plugin id="org.eclipse.xsd.mapping"/>
-      <plugin id="org.eclipse.xsd.mapping.editor"/>
-      <plugin id="org.hamcrest.core"/>
-      <plugin id="org.junit"/>
-      <plugin id="org.junit4"/>
-      <plugin id="org.mortbay.jetty.server"/>
-      <plugin id="org.mortbay.jetty.util"/>
-      <plugin id="org.objectweb.asm"/>
-      <plugin id="org.sat4j.core"/>
-      <plugin id="org.sat4j.pb"/>
-      <plugin id="org.tigris.subversion.clientadapter"/>
-      <plugin id="org.tigris.subversion.clientadapter.javahl"/>
-      <plugin id="org.tigris.subversion.clientadapter.svnkit"/>
-      <plugin id="org.tigris.subversion.subclipse.core"/>
-      <plugin id="org.tigris.subversion.subclipse.doc"/>
-      <plugin id="org.tigris.subversion.subclipse.graph"/>
-      <plugin id="org.tigris.subversion.subclipse.mylyn"/>
-      <plugin id="org.tigris.subversion.subclipse.ui"/>
-      <plugin id="org.tmatesoft.svnkit"/>
-      <plugin id="org.uddi4j"/>
-      <plugin id="org.w3c.css.sac"/>
-      <plugin id="org.w3c.dom.events"/>
-      <plugin id="org.w3c.dom.smil"/>
-      <plugin id="org.w3c.dom.svg"/>
-   </plugins>
-
-   <features>
-      <feature id="org.argeo.slc.ide" version="0.12.1.D20100107_1516"/>
-      <feature id="org.eclipse.cvs" version="1.1.101.R35x_v20090811-7E79FEd9KKF5H2YDWFLLBL01A16"/>
-      <feature id="org.eclipse.cvs.source" version="1.1.101.R35x_v20090811-7E79FEd9KKF5H2YDWFLLBL01A16"/>
-      <feature id="org.eclipse.epp.package.rcp.feature" version="1.2.1.20090918-0703"/>
-      <feature id="org.eclipse.epp.usagedata.feature" version="1.1.0.R200906100410"/>
-      <feature id="org.eclipse.equinox.p2.user.ui" version="1.1.1.R35x_v20090811-7u6FbEFYXk1qWdbS0gnpRg2932"/>
-      <feature id="org.eclipse.equinox.p2.user.ui.source" version="1.1.1.R35x_v20090811-7u6FbEFYXk1qWdbS0gnpRg2932"/>
-      <feature id="org.eclipse.help" version="1.1.1.R35x_v20090811-7e7eFAnFEx2XZoYz0uPgIfwD"/>
-      <feature id="org.eclipse.help.source" version="1.1.1.R35x_v20090811-7e7eFAnFEx2XZoYz0uPgIfwD"/>
-      <feature id="org.eclipse.jdt" version="3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ"/>
-      <feature id="org.eclipse.jdt.source" version="3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ"/>
-      <feature id="org.eclipse.pde" version="3.5.1.R35x_v20090811-7Z7_F9zFDX-aT6Ywvh8_S93"/>
-      <feature id="org.eclipse.pde.source" version="3.5.1.R35x_v20090811-7Z7_F9zFDX-aT6Ywvh8_S93"/>
-      <feature id="org.eclipse.platform" version="3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7"/>
-      <feature id="org.eclipse.platform.source" version="3.5.1.R35x_v20090910-9gEeG1_FthkNDSP2odXdThaOu9GFDPn83DGB7"/>
-      <feature id="org.eclipse.rcp" version="3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6"/>
-      <feature id="org.eclipse.rcp.source" version="3.5.1.R35x_v20090811-9SA0FxVFqE70OL1ARMrfcO6e7BA6"/>
-      <feature id="org.eclipse.wst.common_core.feature" version="3.1.1.v200908102300-7B77FZ3F7RZHIVI9QdN4PM"/>
-      <feature id="org.eclipse.wst.common_ui.feature" version="3.1.1.v200908102300-7B5FRGDhdMNPnndenAjpWJAReO5Q"/>
-      <feature id="org.eclipse.wst.xml_core.feature" version="3.1.1.v200907161031-7C7OFPgF7RZHIXHvT5MhWA"/>
-      <feature id="org.eclipse.wst.xml_ui.feature" version="3.1.1.v200907161031-7H6FM_DxtkM-7aeTHKEBbQqcZOZ2"/>
-      <feature id="org.eclipse.wst.xml_userdoc.feature" version="3.1.1.v200906020459-50FR7AkF77f7MESDKEF"/>
-      <feature id="org.eclipse.mylyn.bugzilla_feature" version="3.2.2.v20090912-0400-e3x"/>
-      <feature id="org.eclipse.mylyn.context_feature" version="3.2.2.v20090912-0400-e3x"/>
-      <feature id="org.eclipse.mylyn.ide_feature" version="3.2.2.v20090912-0400-e3x"/>
-      <feature id="org.eclipse.mylyn.java_feature" version="3.2.2.v20090912-0400-e3x"/>
-      <feature id="org.eclipse.mylyn.pde_feature" version="3.2.2.v20090912-0400-e3x"/>
-      <feature id="org.eclipse.mylyn.sdk_feature" version="3.2.2.v20090912-0400-e3x"/>
-      <feature id="org.eclipse.mylyn.team_feature" version="3.2.2.v20090912-0400-e3x"/>
-      <feature id="org.eclipse.mylyn.wikitext_feature" version="1.1.2.v20090912-0400-e3x"/>
-      <feature id="org.eclipse.mylyn_feature" version="3.2.2.v20090912-0400-e3x"/>
-   </features>
-
-
-</product>
diff --git a/plugins/org.argeo.slc.ide.branding/plugin.xml b/plugins/org.argeo.slc.ide.branding/plugin.xml
deleted file mode 100644 (file)
index 19b35d1..0000000
+++ /dev/null
@@ -1,45 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
-
-   <extension
-         id="product"
-         point="org.eclipse.core.runtime.products">
-      <product
-            application="org.eclipse.ui.ide.workbench"
-            name="Argeo SLC IDE">
-         <property
-               name="windowImages"
-               value="icons/argeo-icon-100104-256.png,icons/argeo-icon-100104-256.png,icons/argeo-icon-100104-256.png,icons/argeo-icon-100104-256.png,icons/argeo-icon-100104-256.png">
-         </property>
-         <property
-               name="aboutText"
-               value="%productBlurb">
-         </property>
-         <property
-               name="aboutImage"
-               value="eclipse_lg.gif">
-         </property>
-         <property
-               name="startupForegroundColor"
-               value="0066D0">
-         </property>
-         <property
-               name="startupProgressRect"
-               value="0,280,455,15">
-         </property>
-         <property
-               name="startupMessageRect"
-               value="7,220,441,20">
-         </property>
-         <property
-               name="appName"
-               value="Argeo SLC IDE">
-         </property>
-         <property
-               name="preferenceCustomization"
-               value="plugin_customization.ini">
-         </property>
-      </product>
-   </extension>
-</plugin>
diff --git a/plugins/org.argeo.slc.ide.branding/plugin_customization.ini b/plugins/org.argeo.slc.ide.branding/plugin_customization.ini
deleted file mode 100644 (file)
index 5344da0..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-org.eclipse.ui/SHOW_PROGRESS_ON_STARTUP=true
-org.eclipse.ui/defaultPerspectiveId=org.argeo.slc.ide.ui.slcPerspective
diff --git a/plugins/org.argeo.slc.ide.branding/slc-ide.target b/plugins/org.argeo.slc.ide.branding/slc-ide.target
deleted file mode 100644 (file)
index cbd5555..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?pde version="3.5"?>
-
-<target name="SLC IDE">
-<locations>
-<location path="${system_property:user.home}/dev/tools/eclipse-3.5.1-delta-pack" type="Directory"/>
-<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
-<unit id="org.tmatesoft.svnkit.feature.group" version="1.3.1.6109"/>
-<unit id="com.sun.jna.feature.group" version="3.1.0"/>
-<unit id="com.collabnet.subversion.merge.feature.feature.group" version="1.10.0"/>
-<unit id="org.tigris.subversion.subclipse.feature.group" version="1.6.5"/>
-<unit id="org.tigris.subversion.subclipse.mylyn.feature.group" version="3.0.0"/>
-<unit id="org.tigris.subversion.clientadapter.feature.feature.group" version="1.6.4.1"/>
-<unit id="org.tigris.subversion.clientadapter.javahl.feature.feature.group" version="1.6.6"/>
-<unit id="org.tigris.subversion.subclipse.graph.feature.feature.group" version="1.0.7"/>
-<unit id="org.tigris.subversion.clientadapter.svnkit.feature.feature.group" version="1.6.4"/>
-<repository location="http://subclipse.tigris.org/update_1.6.x"/>
-</location>
-<location includeAllPlatforms="false" includeMode="planner" type="InstallableUnit">
-<unit id="org.eclipse.cvs.feature.group" version="1.1.101.R35x_v20090811-7E79FEd9KKF5H2YDWFLLBL01A16"/>
-<unit id="org.eclipse.mylyn.ide_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
-<unit id="org.eclipse.mylyn.java_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
-<unit id="org.eclipse.mylyn.pde_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
-<unit id="org.eclipse.mylyn.team_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
-<unit id="org.eclipse.mylyn.bugzilla_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
-<unit id="org.eclipse.mylyn_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
-<unit id="org.eclipse.mylyn.context_feature.feature.group" version="3.2.2.v20090912-0400-e3x"/>
-<unit id="org.eclipse.mylyn.wikitext_feature.feature.group" version="1.1.2.v20090912-0400-e3x"/>
-<unit id="org.eclipse.equinox.sdk.feature.group" version="3.5.1.r351_v20090901-7G7MAA7lQiEeE7LKsaYgOK58fdAa"/>
-<unit id="org.eclipse.pde.feature.group" version="3.5.1.R35x_v20090811-7Z7_F9zFDX-aT6Ywvh8_S93"/>
-<unit id="org.eclipse.rse.feature.group" version="3.1.1.v200907301400-7L5AE8wqaHPUdsOqKFUpxnbxGiz-"/>
-<unit id="org.eclipse.tm.terminal.sdk.feature.group" version="3.0.1.v200907301400-7N-FBaC5OqdP-0Zr1iqaZNOEG"/>
-<unit id="org.eclipse.emf.sdk.feature.group" version="2.5.0.v200906151043"/>
-<unit id="org.eclipse.emf.compare.sdk.feature.group" version="1.0.1.v200909161031"/>
-<unit id="org.eclipse.gmf.sdk.feature.group" version="2.2.1.v20090814-1000-7C7F1BLxlfAqjMDHunFV5S-_YY-Q"/>
-<unit id="org.eclipse.xsd.sdk.feature.group" version="2.5.0.v200906151043"/>
-<unit id="org.eclipse.jdt.feature.group" version="3.5.1.r351_v20090810-0600-7r88FEoFI0WTo6Az-1qFRHm37ChJ"/>
-<unit id="org.eclipse.wst.xml_ui.feature.feature.group" version="3.1.1.v200907161031-7H6FM_DxtkM-7aeTHKEBbQqcZOZ2"/>
-<unit id="org.eclipse.wst.jsdt.feature.feature.group" version="1.1.2.v200908101420-77-FGCCcNBC-BhLcE_Pm"/>
-<unit id="org.eclipse.wst.common.fproj.feature.group" version="3.1.1.v200908111817-37718s733L3J555J5H"/>
-<unit id="org.eclipse.jst.common.fproj.enablement.jdt.feature.group" version="3.1.1.v200908111817-37718s733L3J555J5H"/>
-<unit id="org.eclipse.wst.web_ui.feature.feature.group" version="3.1.1.v200908120400-7R77FSpEVw2xXR0CtKvX6bG6a2qU"/>
-<unit id="org.eclipse.wst.xsl.feature.feature.group" version="1.0.2.v200908271520-7R7T8sFIhIehWg454rq_U1"/>
-<unit id="org.eclipse.jst.server_ui.feature.feature.group" version="3.1.1.v20090817-7A2FBa9xFaGovXGKcCWMK2355"/>
-<unit id="org.eclipse.jst.web_ui.feature.feature.group" version="3.1.1.v200908121609-7E77FBfDlwYa_9sdy2q77doi14gl"/>
-<repository location="http://download.eclipse.org/releases/galileo"/>
-</location>
-</locations>
-<implicitDependencies>
-<plugin id="org.eclipse.wst.xml.ui"/>
-</implicitDependencies>
-</target>
diff --git a/plugins/org.argeo.slc.ide.branding/splash.bmp b/plugins/org.argeo.slc.ide.branding/splash.bmp
deleted file mode 100644 (file)
index ee502f3..0000000
Binary files a/plugins/org.argeo.slc.ide.branding/splash.bmp and /dev/null differ
diff --git a/plugins/org.argeo.slc.ide.ui/.classpath b/plugins/org.argeo.slc.ide.ui/.classpath
deleted file mode 100644 (file)
index b0a38d8..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
-       <classpathentry kind="src" path="src/main/java"/>
-       <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
-       <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
-       <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/plugins/org.argeo.slc.ide.ui/.project b/plugins/org.argeo.slc.ide.ui/.project
deleted file mode 100644 (file)
index ad44979..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<projectDescription>\r
-       <name>org.argeo.slc.ide.ui</name>\r
-       <comment></comment>\r
-       <projects>\r
-       </projects>\r
-       <buildSpec>\r
-               <buildCommand>\r
-                       <name>org.eclipse.jdt.core.javabuilder</name>\r
-                       <arguments>\r
-                       </arguments>\r
-               </buildCommand>\r
-               <buildCommand>\r
-                       <name>org.eclipse.pde.ManifestBuilder</name>\r
-                       <arguments>\r
-                       </arguments>\r
-               </buildCommand>\r
-               <buildCommand>\r
-                       <name>org.eclipse.pde.SchemaBuilder</name>\r
-                       <arguments>\r
-                       </arguments>\r
-               </buildCommand>\r
-       </buildSpec>\r
-       <natures>\r
-               <nature>org.eclipse.pde.PluginNature</nature>\r
-               <nature>org.eclipse.jdt.core.javanature</nature>\r
-       </natures>\r
-</projectDescription>\r
diff --git a/plugins/org.argeo.slc.ide.ui/.settings/org.eclipse.jdt.core.prefs b/plugins/org.argeo.slc.ide.ui/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644 (file)
index 05eb256..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#Fri Aug 29 11:26:23 CEST 2008
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/plugins/org.argeo.slc.ide.ui/META-INF/MANIFEST.MF b/plugins/org.argeo.slc.ide.ui/META-INF/MANIFEST.MF
deleted file mode 100644 (file)
index d0f8768..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: SLC IDE
-Bundle-SymbolicName: org.argeo.slc.ide.ui;singleton:=true
-Bundle-Version: 1.1.1.qualifier
-Bundle-Activator: org.argeo.slc.ide.ui.SlcIdeUiPlugin
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.debug.core,
- org.eclipse.jdt.launching,
- org.eclipse.debug.ui,
- org.eclipse.jdt.core,
- org.eclipse.ui.console,
- org.eclipse.jdt.debug.ui,
- org.eclipse.ui.ide,
- org.eclipse.core.variables,
- org.eclipse.pde.build,
- org.eclipse.pde.ui;bundle-version="3.4.0",
- org.eclipse.jdt.ui;bundle-version="3.4.2"
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-Vendor: Argeo GmbH
-Bundle-ActivationPolicy: lazy
diff --git a/plugins/org.argeo.slc.ide.ui/build.properties b/plugins/org.argeo.slc.ide.ui/build.properties
deleted file mode 100644 (file)
index 92544c5..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/main/java/\r
-bin.includes = META-INF/,\\r
-               .,\\r
-               plugin.xml,\\r
-               icons/,\\r
-               targets/\r
diff --git a/plugins/org.argeo.slc.ide.ui/icons/argeo-icon-100104-256.png b/plugins/org.argeo.slc.ide.ui/icons/argeo-icon-100104-256.png
deleted file mode 100644 (file)
index a9af088..0000000
Binary files a/plugins/org.argeo.slc.ide.ui/icons/argeo-icon-100104-256.png and /dev/null differ
diff --git a/plugins/org.argeo.slc.ide.ui/icons/eclipse-launch.gif b/plugins/org.argeo.slc.ide.ui/icons/eclipse-launch.gif
deleted file mode 100644 (file)
index 4b42e57..0000000
Binary files a/plugins/org.argeo.slc.ide.ui/icons/eclipse-launch.gif and /dev/null differ
diff --git a/plugins/org.argeo.slc.ide.ui/icons/slc-launch.gif b/plugins/org.argeo.slc.ide.ui/icons/slc-launch.gif
deleted file mode 100644 (file)
index b8ca14a..0000000
Binary files a/plugins/org.argeo.slc.ide.ui/icons/slc-launch.gif and /dev/null differ
diff --git a/plugins/org.argeo.slc.ide.ui/plugin.xml b/plugins/org.argeo.slc.ide.ui/plugin.xml
deleted file mode 100644 (file)
index bb9c5f0..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>\r
-<?eclipse version="3.2"?>\r
-<plugin>\r
-<extension \r
-       point="org.eclipse.ui.preferencePages"> \r
-      <page \r
-         id="org.argeo.slc.ide.ui.mainPreferencePage" \r
-         name="SLC" \r
-         class="org.argeo.slc.ide.ui.SlcMainPreferencePage"> \r
-       </page> \r
-</extension> \r
-<extension\r
-      point="org.eclipse.ui.perspectives">\r
-   <perspective\r
-         class="org.argeo.slc.ide.ui.SlcPerspectiveFactory"\r
-         icon="icons/argeo-icon-100104-256.png"\r
-         id="org.argeo.slc.ide.ui.slcPerspective"\r
-         name="SLC">\r
-   </perspective>\r
-</extension>\r
-<extension\r
-      point="org.eclipse.debug.ui.launchShortcuts">\r
-   <shortcut\r
-         class="org.argeo.slc.ide.ui.launch.osgi.EclipseBootLaunchShortcut"\r
-         icon="icons/eclipse-launch.gif"\r
-         id="org.argeo.slc.ide.ui.eclipseBootLaunchShortcut"\r
-         label="Eclipse Boot (RCP)"\r
-         modes="run,debug">\r
-         <contextualLaunch>\r
-            <enablement>\r
-            <with variable="selection">\r
-               <count value="1"/>\r
-               <iterate>\r
-                 <or>\r
-                   <test property="org.eclipse.debug.ui.matchesPattern" value="*.properties"/>\r
-                   <test property="org.eclipse.debug.ui.matchesPattern" value="config.ini"/>\r
-                 </or>\r
-                </iterate>\r
-             </with>\r
-           </enablement>\r
-         </contextualLaunch>         \r
-   </shortcut>\r
-   <shortcut\r
-         class="org.argeo.slc.ide.ui.launch.osgi.OsgiBootLaunchShortcut"\r
-         icon="icons/slc-launch.gif"\r
-         id="org.argeo.slc.ide.ui.osgiBootLaunchShortcut"\r
-         label="OSGi Boot (Equinox, RAP)"\r
-         modes="run,debug">\r
-         <contextualLaunch>\r
-            <enablement>\r
-            <with variable="selection">\r
-               <count value="1"/>\r
-               <iterate>\r
-                 <or>\r
-                   <test property="org.eclipse.debug.ui.matchesPattern" value="*.properties"/>\r
-                   <test property="org.eclipse.debug.ui.matchesPattern" value="config.ini"/>\r
-                 </or>\r
-                </iterate>\r
-             </with>\r
-           </enablement>\r
-         </contextualLaunch>         \r
-   </shortcut>\r
-</extension>\r
-  <extension\r
-         point="org.eclipse.debug.core.launchConfigurationTypes">\r
-      <launchConfigurationType\r
-            id="org.argeo.slc.ide.ui.OsgiBootEquinoxLauncher"\r
-            name="OSGi Boot Equinox"\r
-            delegate="org.argeo.slc.ide.ui.launch.osgi.OsgiBootEquinoxLaunchConfiguration"\r
-            modes="run, debug"\r
-            sourceLocatorId="org.eclipse.pde.ui.launcher.PDESourceLookupDirector"\r
-            sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"/>\r
-      <launchConfigurationType\r
-            id="org.argeo.slc.ide.ui.EclipseBootLauncher"\r
-            name="Eclipse Boot"\r
-            delegate="org.argeo.slc.ide.ui.launch.osgi.EclipseBootLaunchConfiguration"\r
-            modes="run, debug"\r
-            sourceLocatorId="org.eclipse.pde.ui.launcher.PDESourceLookupDirector"\r
-            sourcePathComputerId="org.eclipse.jdt.launching.sourceLookup.javaSourcePathComputer"/>\r
-   </extension>\r
-  <extension\r
-         point="org.eclipse.debug.ui.launchConfigurationTabGroups">\r
-      <launchConfigurationTabGroup\r
-            type="org.argeo.slc.ide.ui.OsgiBootEquinoxLauncher"\r
-            class="org.argeo.slc.ide.ui.launch.osgi.OsgiBootLauncherTabGroup"\r
-            id="org.argeo.slc.ide.ui.OsgiBootLauncherTabGroup">\r
-      </launchConfigurationTabGroup>\r
-      <launchConfigurationTabGroup\r
-            type="org.argeo.slc.ide.ui.EclipseBootLauncher"\r
-            class="org.argeo.slc.ide.ui.launch.osgi.EclipseBootLauncherTabGroup"\r
-            id="org.argeo.slc.ide.ui.EclipseBootLauncherTabGroup">\r
-      </launchConfigurationTabGroup>\r
-  </extension>\r
-   <extension\r
-         point="org.eclipse.debug.ui.launchConfigurationTypeImages">\r
-      <launchConfigurationTypeImage\r
-            icon="icons/slc-launch.gif"\r
-            configTypeID="org.argeo.slc.ide.ui.OsgiBootEquinoxLauncher"\r
-            id="org.argeo.slc.ide.ui.OsgiBootEquinoxLauncherImage">\r
-      </launchConfigurationTypeImage>\r
-      <launchConfigurationTypeImage\r
-            icon="icons/eclipse-launch.gif"\r
-            configTypeID="org.argeo.slc.ide.ui.EclipseBootLauncher"\r
-            id="org.argeo.slc.ide.ui.EclipseBootLauncherImage">\r
-      </launchConfigurationTypeImage>\r
-   </extension>\r
-   \r
-   <extension point = "org.eclipse.pde.core.targets">\r
-     <target \r
-       id="org.eclipse.pde.core.rcpTarget"\r
-       name="Managed"\r
-       definition="targets/managedTarget.target"/>\r
-   </extension>\r
-</plugin>\r
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/DeployedSlcSystem.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/DeployedSlcSystem.java
deleted file mode 100644 (file)
index 8992432..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-package org.argeo.slc.ide.ui;\r
-\r
-import java.io.File;\r
-import java.io.IOException;\r
-import java.util.List;\r
-import java.util.Vector;\r
-\r
-import org.eclipse.core.runtime.CoreException;\r
-import org.eclipse.jdt.launching.IVMInstall;\r
-import org.eclipse.jdt.launching.JavaRuntime;\r
-\r
-public class DeployedSlcSystem implements SlcSystem {\r
-       private File baseDir;\r
-       private String relLibDir = "lib";\r
-\r
-       public DeployedSlcSystem(String baseDirPath) {\r
-               try {\r
-                       this.baseDir = new File(baseDirPath).getCanonicalFile();\r
-               } catch (IOException e) {\r
-                       throw new RuntimeException("Cannot get path for " + baseDirPath, e);\r
-               }\r
-       }\r
-\r
-       public String[] getClasspath() throws CoreException {\r
-               List<String> classpath = new Vector<String>();\r
-               File libDir = new File(baseDir.getPath() + File.separator + relLibDir);\r
-               File[] files = libDir.listFiles();\r
-               for (File file : files) {\r
-                       try {\r
-                               classpath.add(file.getCanonicalPath());\r
-                       } catch (IOException e) {\r
-                               throw new RuntimeException("Cannot get path for " + file, e);\r
-                       }\r
-               }\r
-               return classpath.toArray(new String[classpath.size()]);\r
-       }\r
-\r
-       public IVMInstall getVmInstall() throws CoreException {\r
-               return JavaRuntime.getDefaultVMInstall();\r
-       }\r
-\r
-       public String getAntHome() {\r
-               return baseDir.getPath();\r
-       }\r
-\r
-       public String getJavaLibraryPath() {\r
-               return baseDir.getPath() + File.separator + "bin";\r
-       }\r
-\r
-}\r
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/EmbeddedSlcSystem.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/EmbeddedSlcSystem.java
deleted file mode 100644 (file)
index e2414e0..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-package org.argeo.slc.ide.ui;
-
-import org.argeo.slc.ide.ui.launch.preferences.SlcLaunchPreferencePage;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.launching.IVMInstall;
-import org.eclipse.jdt.launching.JavaRuntime;
-
-public class EmbeddedSlcSystem implements SlcSystem {
-       private final IJavaProject project;
-
-       public EmbeddedSlcSystem(IJavaProject project) {
-               this.project = project;
-       }
-
-       public String[] getClasspath() throws CoreException {
-               return JavaRuntime.computeDefaultRuntimeClassPath(project);
-       }
-
-       public String getJavaLibraryPath() {
-               String javaLibPath = SlcIdeUiPlugin.getDefault()
-                               .getPreferenceStore().getString(
-                                               SlcLaunchPreferencePage.PREF_SLC_RUNTIME_LOCATION);
-               if (javaLibPath == null || javaLibPath.equals(""))
-                       return null;
-               else
-                       return javaLibPath;
-       }
-
-       public IVMInstall getVmInstall() throws CoreException {
-               return JavaRuntime.getVMInstall(project);
-       }
-
-}
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcIdeUiPlugin.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcIdeUiPlugin.java
deleted file mode 100644 (file)
index 3570a61..0000000
+++ /dev/null
@@ -1,122 +0,0 @@
-package org.argeo.slc.ide.ui;\r
-\r
-import java.net.URL;\r
-\r
-import org.eclipse.core.resources.IResource;\r
-import org.eclipse.core.runtime.CoreException;\r
-import org.eclipse.debug.core.DebugEvent;\r
-import org.eclipse.debug.core.DebugPlugin;\r
-import org.eclipse.debug.core.IDebugEventSetListener;\r
-import org.eclipse.debug.core.ILaunch;\r
-import org.eclipse.debug.core.model.IProcess;\r
-import org.eclipse.jface.resource.ImageDescriptor;\r
-import org.eclipse.jface.resource.ImageRegistry;\r
-import org.eclipse.pde.core.plugin.TargetPlatform;\r
-import org.eclipse.swt.graphics.Image;\r
-import org.eclipse.ui.plugin.AbstractUIPlugin;\r
-import org.osgi.framework.BundleContext;\r
-\r
-/**\r
- * The activator class controls the plug-in life cycle\r
- */\r
-public class SlcIdeUiPlugin extends AbstractUIPlugin {\r
-\r
-       // The plug-in ID\r
-       public static final String ID = "org.argeo.slc.ide.ui";\r
-\r
-       // The shared instance\r
-       private static SlcIdeUiPlugin plugin;\r
-\r
-       /**\r
-        * The constructor\r
-        */\r
-       public SlcIdeUiPlugin() {\r
-       }\r
-\r
-       @Override\r
-       public void start(BundleContext context) throws Exception {\r
-               super.start(context);\r
-               plugin = this;\r
-               DebugPlugin.getDefault()\r
-                               .addDebugEventListener(new DebugEventListener());\r
-\r
-               String location = TargetPlatform.getLocation();\r
-               System.out.println(location);\r
-       }\r
-\r
-       @Override\r
-       public void stop(BundleContext context) throws Exception {\r
-               plugin = null;\r
-               super.stop(context);\r
-       }\r
-\r
-       /**\r
-        * Returns the shared instance\r
-        * \r
-        * @return the shared instance\r
-        */\r
-       public static SlcIdeUiPlugin getDefault() {\r
-               return plugin;\r
-       }\r
-\r
-       public Image getImage(String relativeURL) {\r
-               ImageRegistry imageRegistry = getImageRegistry();\r
-               Image image = imageRegistry.get(relativeURL);\r
-               if (image == null) {\r
-                       URL imageURL = getBundle().getEntry(relativeURL);\r
-                       ImageDescriptor descriptor = ImageDescriptor\r
-                                       .createFromURL(imageURL);\r
-                       image = descriptor.createImage();\r
-                       imageRegistry.put(relativeURL, image);\r
-               }\r
-               return image;\r
-       }\r
-\r
-       protected static class DebugEventListener implements IDebugEventSetListener {\r
-               public void handleDebugEvents(DebugEvent[] events) {\r
-                       if (events == null)\r
-                               return;\r
-\r
-                       for (int i = 0; i < events.length; i++) {\r
-                               DebugEvent event = events[i];\r
-                               if (event == null)\r
-                                       continue;\r
-                               Object source = event.getSource();\r
-                               if (source instanceof IProcess\r
-                                               && event.getKind() == DebugEvent.TERMINATE) {\r
-                                       IProcess process = (IProcess) source;\r
-//                                     if (process == null)\r
-//                                             continue;\r
-                                       ILaunch launch = process.getLaunch();\r
-                                       if (launch != null)\r
-                                               refreshOsgiBootLaunch(launch);\r
-                               }\r
-                       }\r
-               }\r
-\r
-               protected void refreshOsgiBootLaunch(ILaunch launch) {\r
-                       try {\r
-                               if (launch == null)\r
-                                       return;\r
-                               IResource[] resources = launch.getLaunchConfiguration()\r
-                                               .getMappedResources();\r
-                               if (resources == null)\r
-                                       return;\r
-                               if (resources.length > 0) {\r
-                                       IResource propertiesFile = resources[0];\r
-                                       if (propertiesFile.getParent() == null)\r
-                                               return;\r
-                                       propertiesFile.getParent().refreshLocal(\r
-                                                       IResource.DEPTH_INFINITE, null);\r
-                                       // System.out.println("Refreshed "\r
-                                       // + propertiesFile.getParent());\r
-                               }\r
-                       } catch (CoreException e) {\r
-                               e.printStackTrace();\r
-                       }\r
-\r
-               }\r
-\r
-       }\r
-\r
-}\r
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcMainPreferencePage.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcMainPreferencePage.java
deleted file mode 100644 (file)
index d091715..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-package org.argeo.slc.ide.ui;\r
-\r
-import org.eclipse.jface.preference.FieldEditorPreferencePage;\r
-import org.eclipse.ui.IWorkbench;\r
-import org.eclipse.ui.IWorkbenchPreferencePage;\r
-\r
-public class SlcMainPreferencePage extends FieldEditorPreferencePage implements\r
-               IWorkbenchPreferencePage {\r
-       public SlcMainPreferencePage() {\r
-//             IPreferenceStore store = SlcIdePlugin.getDefault().getPreferenceStore();\r
-//             setPreferenceStore(store);\r
-               setDescription("Argeo SLC Preferences");\r
-       }\r
-\r
-       @Override\r
-       protected void createFieldEditors() {\r
-//             addField(new DirectoryFieldEditor(PREF_SLC_RUNTIME_LOCATION,\r
-//                             "SLC Runtime", getFieldEditorParent()));\r
-//             addField(new DirectoryFieldEditor(PREF_EMBEDDED_JAVA_LIBRARY_PATH,\r
-//                             "Embedded Java Library Path", getFieldEditorParent()));\r
-       }\r
-\r
-       public void init(IWorkbench workbench) {\r
-       }\r
-\r
-}\r
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcPerspectiveFactory.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcPerspectiveFactory.java
deleted file mode 100644 (file)
index 7c0084e..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-package org.argeo.slc.ide.ui;\r
-\r
-import org.eclipse.jdt.ui.JavaUI;\r
-import org.eclipse.ui.IFolderLayout;\r
-import org.eclipse.ui.IPageLayout;\r
-import org.eclipse.ui.IPerspectiveFactory;\r
-import org.eclipse.ui.console.IConsoleConstants;\r
-\r
-public class SlcPerspectiveFactory implements IPerspectiveFactory {\r
-\r
-       public void createInitialLayout(IPageLayout layout) {\r
-               // Get the editor area.\r
-               String editorArea = layout.getEditorArea();\r
-\r
-               IFolderLayout topLeft = layout.createFolder("topLeft", IPageLayout.LEFT, 0.25f,\r
-                       editorArea);\r
-               topLeft.addView(JavaUI.ID_PACKAGES);\r
-\r
-               IFolderLayout bottom = layout.createFolder("bottom", IPageLayout.BOTTOM, 0.66f,\r
-                               editorArea);\r
-               bottom.addView(IConsoleConstants.ID_CONSOLE_VIEW);\r
-               bottom.addView(IPageLayout.ID_TASK_LIST);\r
-               \r
-               layout.addActionSet("org.eclipse.debug.ui.launchActionSet");\r
-       }\r
-\r
-}\r
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcSystem.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/SlcSystem.java
deleted file mode 100644 (file)
index ff797c6..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-package org.argeo.slc.ide.ui;\r
-\r
-import org.eclipse.core.runtime.CoreException;\r
-import org.eclipse.jdt.launching.IVMInstall;\r
-\r
-public interface SlcSystem {\r
-       public String[] getClasspath() throws CoreException;\r
-       public String getJavaLibraryPath();\r
-       public IVMInstall getVmInstall() throws CoreException;\r
-}\r
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLaunchConfiguration.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLaunchConfiguration.java
deleted file mode 100644 (file)
index d03b90a..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-package org.argeo.slc.ide.ui.launch.osgi;
-
-import org.argeo.slc.ide.ui.SlcIdeUiPlugin;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.debug.core.ILaunch;
-import org.eclipse.debug.core.ILaunchConfiguration;
-import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
-import org.eclipse.pde.launching.EclipseApplicationLaunchConfiguration;
-
-/** OSGiBoot launch configuration. */
-public class EclipseBootLaunchConfiguration extends
-               EclipseApplicationLaunchConfiguration {
-       public final static String ID = SlcIdeUiPlugin.ID + ".EclipseBootLauncher";
-
-       @Override
-       public void launch(ILaunchConfiguration configuration, String mode,
-                       ILaunch launch, IProgressMonitor monitor) throws CoreException {
-               super.launch(configuration, mode, launch, monitor);
-               // Refresh resources before launching
-               final IFile propertiesFile = (IFile) configuration.getMappedResources()[0];
-               propertiesFile.getParent().refreshLocal(IResource.DEPTH_INFINITE,
-                               monitor);
-       }
-
-       @Override
-       protected void preLaunchCheck(ILaunchConfiguration configuration,
-                       ILaunch launch, IProgressMonitor monitor) throws CoreException {
-               ILaunchConfigurationWorkingCopy wc = configuration.getWorkingCopy();
-               OsgiLaunchHelper.updateLaunchConfiguration(wc, true);
-               wc.doSave();
-
-               super.preLaunchCheck(configuration, launch, monitor);
-
-               // Note that if a Java project contains a build.properties it has to
-               // declare the sources otherwise it will be skipped in the generation of
-               // the dev.properties file!
-       }
-
-}
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLaunchShortcut.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLaunchShortcut.java
deleted file mode 100644 (file)
index aa7f861..0000000
+++ /dev/null
@@ -1,72 +0,0 @@
-package org.argeo.slc.ide.ui.launch.osgi;
-
-import java.util.Iterator;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.debug.core.DebugPlugin;
-import org.eclipse.debug.core.ILaunchConfiguration;
-import org.eclipse.debug.core.ILaunchConfigurationType;
-import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
-import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.pde.ui.launcher.EclipseLaunchShortcut;
-
-/**
- * Launch shortcut simplifying the launch of an Eclipse application (typically
- * an RCP).
- */
-public class EclipseBootLaunchShortcut extends EclipseLaunchShortcut implements
-               OsgiLauncherConstants {
-       private StringBuffer name = null;
-       private IFile propertiesFile = null;
-
-       @Override
-       protected String getLaunchConfigurationTypeName() {
-               return EclipseBootLaunchConfiguration.ID;
-       }
-
-       @Override
-       public void launch(ISelection selection, String mode) {
-               // we assume that only one file is selected
-               IStructuredSelection sSelection = (IStructuredSelection) selection;
-               Iterator<?> it = sSelection.iterator();
-               propertiesFile = (IFile) it.next();
-
-               name = new StringBuffer(OsgiLaunchHelper.extractName(propertiesFile));
-
-               super.launch(selection, mode);
-       }
-
-       @Override
-       protected void initializeConfiguration(ILaunchConfigurationWorkingCopy wc) {
-               IResource[] resources = { propertiesFile };
-               wc.setMappedResources(resources);
-               super.initializeConfiguration(wc);
-
-               OsgiLaunchHelper.setDefaults(wc, true);
-               wc.setAttribute(
-                               IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY,
-                               OsgiLaunchHelper.findWorkingDirectory(propertiesFile));
-
-               OsgiLaunchHelper.updateLaunchConfiguration(wc, true);
-       }
-
-       protected String getName(ILaunchConfigurationType type) {
-               if (name != null && !name.toString().trim().equals(""))
-                       return DebugPlugin.getDefault().getLaunchManager()
-                                       .generateLaunchConfigurationName(name.toString());
-               else
-                       return DebugPlugin.getDefault().getLaunchManager()
-                                       .generateLaunchConfigurationName("SLC");
-       }
-
-       @Override
-       protected boolean isGoodMatch(ILaunchConfiguration configuration) {
-               if (name != null) {
-                       return name.toString().equals(configuration.getName());
-               }
-               return super.isGoodMatch(configuration);
-       }
-}
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLauncherTabGroup.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/EclipseBootLauncherTabGroup.java
deleted file mode 100644 (file)
index 53794ed..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-package org.argeo.slc.ide.ui.launch.osgi;
-
-import org.eclipse.debug.ui.CommonTab;
-import org.eclipse.debug.ui.EnvironmentTab;
-import org.eclipse.debug.ui.ILaunchConfigurationDialog;
-import org.eclipse.debug.ui.ILaunchConfigurationTab;
-import org.eclipse.pde.ui.launcher.EclipseLauncherTabGroup;
-import org.eclipse.pde.ui.launcher.MainTab;
-import org.eclipse.pde.ui.launcher.OSGiSettingsTab;
-import org.eclipse.pde.ui.launcher.PluginsTab;
-import org.eclipse.pde.ui.launcher.TracingTab;
-
-/** Definition of the set of tabs used in Eclipse Boot launch configuration UI. */
-public class EclipseBootLauncherTabGroup extends EclipseLauncherTabGroup {
-
-       @Override
-       public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
-               ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
-                               new OsgiBootMainTab(true),
-                               new MainTab(),
-                               new PluginsTab(),
-                               // new PluginsTab() {
-                               // private boolean activating = false;
-                               //
-                               // @Override
-                               // public void performApply(
-                               // ILaunchConfigurationWorkingCopy config) {
-                               // super.performApply(config);
-                               // if (activating) {
-                               // try {
-                               // config.doSave();
-                               // } catch (CoreException e) {
-                               // e.printStackTrace();
-                               // }
-                               // activating = false;
-                               // }
-                               // }
-                               //
-                               // @Override
-                               // public void activated(
-                               // ILaunchConfigurationWorkingCopy workingCopy) {
-                               // activating = true;
-                               // }
-                               // },
-                               new OSGiSettingsTab(), new EnvironmentTab(), new TracingTab(),
-                               new CommonTab() };
-               setTabs(tabs);
-       }
-
-}
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootEquinoxLaunchConfiguration.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootEquinoxLaunchConfiguration.java
deleted file mode 100644 (file)
index 19cdee1..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-package org.argeo.slc.ide.ui.launch.osgi;
-
-import org.argeo.slc.ide.ui.SlcIdeUiPlugin;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.debug.core.ILaunch;
-import org.eclipse.debug.core.ILaunchConfiguration;
-import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
-import org.eclipse.pde.launching.EquinoxLaunchConfiguration;
-
-/** OSGiBoot launch configuration. */
-public class OsgiBootEquinoxLaunchConfiguration extends
-               EquinoxLaunchConfiguration {
-       public final static String ID = SlcIdeUiPlugin.ID
-                       + ".OsgiBootEquinoxLauncher";
-
-       @Override
-       public void launch(ILaunchConfiguration configuration, String mode,
-                       ILaunch launch, IProgressMonitor monitor) throws CoreException {
-               super.launch(configuration, mode, launch, monitor);
-
-//             System.out.println("targetBundles="
-//                             + configuration.getAttribute(
-//                                             IPDELauncherConstants.TARGET_BUNDLES, ""));
-//             System.out.println("workspaceBundles="
-//                             + configuration.getAttribute(
-//                                             IPDELauncherConstants.WORKSPACE_BUNDLES, ""));
-
-               // Refresh resources before launching
-               final IFile propertiesFile = (IFile) configuration.getMappedResources()[0];
-               propertiesFile.getParent().refreshLocal(IResource.DEPTH_INFINITE,
-                               monitor);
-       }
-
-       @Override
-       protected void preLaunchCheck(ILaunchConfiguration configuration,
-                       ILaunch launch, IProgressMonitor monitor) throws CoreException {
-               // System.out.println("Launching... " + launch);
-               ILaunchConfigurationWorkingCopy wc = configuration.getWorkingCopy();
-               OsgiLaunchHelper.updateLaunchConfiguration(wc, false);
-               wc.doSave();
-               super.preLaunchCheck(configuration, launch, monitor);
-
-               // Note that if a Java project contains a build.properties it has to
-               // declare the sources otherwise it will be skipped in the generation of
-               // the dev.properties file!
-
-               // for(Object bundleId:fAllBundles.keySet()){
-               // System.out.println(bundleId+"="+fAllBundles.get(bundleId));
-               // }
-       }
-
-}
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootLaunchShortcut.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootLaunchShortcut.java
deleted file mode 100644 (file)
index b73b612..0000000
+++ /dev/null
@@ -1,71 +0,0 @@
-package org.argeo.slc.ide.ui.launch.osgi;
-
-import java.util.Iterator;
-
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.debug.core.DebugPlugin;
-import org.eclipse.debug.core.ILaunchConfiguration;
-import org.eclipse.debug.core.ILaunchConfigurationType;
-import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
-import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.pde.ui.launcher.OSGiLaunchShortcut;
-
-/** Launch shortcut simplifying the launch of a pure OSGi runtime */
-public class OsgiBootLaunchShortcut extends OSGiLaunchShortcut implements
-               OsgiLauncherConstants {
-       private StringBuffer name = null;
-       private IFile propertiesFile = null;
-
-       @Override
-       protected String getLaunchConfigurationTypeName() {
-               return OsgiBootEquinoxLaunchConfiguration.ID;
-       }
-
-       @Override
-       public void launch(ISelection selection, String mode) {
-               // we assume that only one file is selected
-               IStructuredSelection sSelection = (IStructuredSelection) selection;
-               Iterator<?> it = sSelection.iterator();
-               propertiesFile = (IFile) it.next();
-
-               name = new StringBuffer(OsgiLaunchHelper.extractName(propertiesFile));
-
-               super.launch(selection, mode);
-       }
-
-       @Override
-       protected void initializeConfiguration(ILaunchConfigurationWorkingCopy wc) {
-               IResource[] resources = { propertiesFile };
-               wc.setMappedResources(resources);
-               super.initializeConfiguration(wc);
-
-               OsgiLaunchHelper.setDefaults(wc, true);
-
-               wc.setAttribute(
-                               IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY,
-                               OsgiLaunchHelper.findWorkingDirectory(propertiesFile));
-
-               OsgiLaunchHelper.updateLaunchConfiguration(wc, false);
-       }
-
-       protected String getName(ILaunchConfigurationType type) {
-               if (name != null && !name.toString().trim().equals(""))
-                       return DebugPlugin.getDefault().getLaunchManager()
-                                       .generateLaunchConfigurationName(name.toString());
-               else
-                       return DebugPlugin.getDefault().getLaunchManager()
-                                       .generateLaunchConfigurationName("SLC");
-       }
-
-       @Override
-       protected boolean isGoodMatch(ILaunchConfiguration configuration) {
-               if (name != null) {
-                       return name.toString().equals(configuration.getName());
-               }
-               return super.isGoodMatch(configuration);
-       }
-
-}
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootLauncherTabGroup.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootLauncherTabGroup.java
deleted file mode 100644 (file)
index 837a7c3..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-package org.argeo.slc.ide.ui.launch.osgi;
-
-import org.eclipse.debug.ui.CommonTab;
-import org.eclipse.debug.ui.EnvironmentTab;
-import org.eclipse.debug.ui.ILaunchConfigurationDialog;
-import org.eclipse.debug.ui.ILaunchConfigurationTab;
-import org.eclipse.pde.ui.launcher.BundlesTab;
-import org.eclipse.pde.ui.launcher.OSGiLauncherTabGroup;
-import org.eclipse.pde.ui.launcher.OSGiSettingsTab;
-import org.eclipse.pde.ui.launcher.TracingTab;
-
-/** Definition of the set of tabs used in OSGi Boot launch configuration UI. */
-public class OsgiBootLauncherTabGroup extends OSGiLauncherTabGroup {
-
-       @Override
-       public void createTabs(ILaunchConfigurationDialog dialog, String mode) {
-               ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {
-                               new OsgiBootMainTab(false),
-                               new BundlesTab() {
-//                                     private boolean activating = false;
-//
-//                                     @Override
-//                                     public void performApply(
-//                                                     ILaunchConfigurationWorkingCopy config) {
-//                                             super.performApply(config);
-//                                             if (activating) {
-//                                                     try {
-//                                                             config.doSave();
-//                                                     } catch (CoreException e) {
-//                                                             e.printStackTrace();
-//                                                     }
-//                                                     activating = false;
-//                                             }
-//                                     }
-//
-//                                     @Override
-//                                     public void activated(
-//                                                     ILaunchConfigurationWorkingCopy workingCopy) {
-//                                             activating = true;
-//                                     }
-                               }, new OSGiSettingsTab(), new EnvironmentTab(),
-                               new TracingTab(), new CommonTab() };
-               setTabs(tabs);
-       }
-
-}
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootMainTab.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiBootMainTab.java
deleted file mode 100644 (file)
index 0bd5331..0000000
+++ /dev/null
@@ -1,268 +0,0 @@
-package org.argeo.slc.ide.ui.launch.osgi;
-
-import org.argeo.slc.ide.ui.SlcIdeUiPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.debug.core.ILaunchConfiguration;
-import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
-import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;
-import org.eclipse.jface.dialogs.Dialog;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.events.ModifyEvent;
-import org.eclipse.swt.events.ModifyListener;
-import org.eclipse.swt.events.SelectionAdapter;
-import org.eclipse.swt.events.SelectionEvent;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.layout.GridData;
-import org.eclipse.swt.layout.GridLayout;
-import org.eclipse.swt.widgets.Button;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Group;
-import org.eclipse.swt.widgets.Label;
-import org.eclipse.swt.widgets.Text;
-
-/** Main tab of OSGiBoot launch configuration UI. */
-public class OsgiBootMainTab extends AbstractLaunchConfigurationTab implements
-               OsgiLauncherConstants {
-       private Listener listener = new Listener();
-
-       private Button syncBundles;
-       private Button clearDataDirectory;
-
-       private Button addJvmPaths;
-       private Text additionalVmArgs;
-
-       private Text additionalProgramArgs;
-
-       // private final Boolean isEclipse;
-
-       public OsgiBootMainTab(Boolean isEclipse) {
-               super();
-               // this.isEclipse = isEclipse;
-       }
-
-       public void createControl(Composite parent) {
-               Composite container = new Composite(parent, SWT.NONE);
-               container.setLayout(new GridLayout());
-               container.setLayoutData(new GridData(GridData.FILL_BOTH));
-
-               createAdditionalProgramArgs(container);
-               createAdditionalVmArgumentBlock(container);
-               createAdvanced(container);
-               Dialog.applyDialogFont(container);
-               setControl(container);
-       }
-
-       /** Init UI for programs arguments */
-       protected void createAdditionalProgramArgs(Composite parent) {
-               Group container = new Group(parent, SWT.NONE);
-               container.setText("Additional Program Arguments");
-               GridLayout layout = new GridLayout();
-               layout.numColumns = 2;
-               container.setLayout(layout);
-               container.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
-               additionalProgramArgs = new Text(container, SWT.MULTI | SWT.WRAP
-                               | SWT.BORDER | SWT.V_SCROLL);
-               GridData gd = new GridData(GridData.FILL_BOTH);
-               gd.heightHint = 60;
-               gd.widthHint = 100;
-               gd.horizontalSpan = 2;
-               additionalProgramArgs.setLayoutData(gd);
-               additionalProgramArgs.addModifyListener(listener);
-       }
-
-       /** Init UI for VM arguments */
-       protected void createAdditionalVmArgumentBlock(Composite parent) {
-               Group container = new Group(parent, SWT.NONE);
-               container.setText("Additional VM Arguments");
-               GridLayout layout = new GridLayout();
-               layout.numColumns = 2;
-               container.setLayout(layout);
-               container.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
-               additionalVmArgs = new Text(container, SWT.MULTI | SWT.WRAP
-                               | SWT.BORDER | SWT.V_SCROLL);
-               GridData gd = new GridData(GridData.FILL_BOTH);
-               gd.heightHint = 60;
-               gd.widthHint = 100;
-               gd.horizontalSpan = 2;
-               additionalVmArgs.setLayoutData(gd);
-               additionalVmArgs.addModifyListener(listener);
-
-       }
-
-       /** Init UI for Advanced section */
-       protected void createAdvanced(Composite parent) {
-               Group container = new Group(parent, SWT.NONE);
-               container.setText("Advanced");
-               GridLayout layout = new GridLayout();
-               layout.numColumns = 2;
-               container.setLayout(layout);
-               container.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
-
-               syncBundles = new Button(container, SWT.CHECK);
-               syncBundles.addSelectionListener(listener);
-               new Label(container, SWT.NONE)
-                               .setText("Keep bundles in line with target platform and workspace (recommended)");
-               clearDataDirectory = new Button(container, SWT.CHECK);
-               clearDataDirectory.addSelectionListener(listener);
-               new Label(container, SWT.NONE)
-                               .setText("Clear data directory before launch");
-
-               addJvmPaths = new Button(container, SWT.CHECK);
-               addJvmPaths.addSelectionListener(listener);
-               new Label(container, SWT.NONE)
-                               .setText("Add workspace JVM paths as non-standard system properties");
-
-       }
-
-       public String getName() {
-               return "OSGi Boot";
-       }
-
-       @Override
-       public Image getImage() {
-               return SlcIdeUiPlugin.getDefault().getImage("icons/slc-launch.gif");
-       }
-
-       public void initializeFrom(ILaunchConfiguration configuration) {
-               // System.out.println("initializeFrom");
-               try {
-                       syncBundles.setSelection(configuration.getAttribute(
-                                       ATTR_SYNC_BUNDLES, true));
-                       clearDataDirectory.setSelection(configuration.getAttribute(
-                                       ATTR_CLEAR_DATA_DIRECTORY, false));
-
-                       additionalProgramArgs.setText(configuration.getAttribute(
-                                       ATTR_ADDITIONAL_PROGRAM_ARGS, ""));
-                       addJvmPaths.setSelection(configuration.getAttribute(
-                                       ATTR_ADD_JVM_PATHS, false));
-                       additionalVmArgs.setText(configuration.getAttribute(
-                                       ATTR_ADDITIONAL_VM_ARGS, ""));
-                       // readProperties(configuration);
-               } catch (CoreException e) {
-                       e.printStackTrace();
-               }
-       }
-
-       public void performApply(ILaunchConfigurationWorkingCopy configuration) {
-               // System.out.println("performApply");
-               configuration.setAttribute(ATTR_SYNC_BUNDLES,
-                               syncBundles.getSelection());
-               configuration.setAttribute(ATTR_CLEAR_DATA_DIRECTORY,
-                               clearDataDirectory.getSelection());
-
-               configuration.setAttribute(ATTR_ADDITIONAL_PROGRAM_ARGS,
-                               additionalProgramArgs.getText());
-               configuration.setAttribute(ATTR_ADDITIONAL_VM_ARGS,
-                               additionalVmArgs.getText());
-               configuration.setAttribute(ATTR_ADD_JVM_PATHS,
-                               addJvmPaths.getSelection());
-               // writeProperties(configuration);
-
-               // OsgiLaunchHelper.updateLaunchConfiguration(configuration, isEclipse);
-       }
-
-       public void setDefaults(ILaunchConfigurationWorkingCopy configuration) {
-               // System.out.println("setDefaults");
-               configuration.setAttribute(ATTR_SYNC_BUNDLES, true);
-               configuration.setAttribute(ATTR_CLEAR_DATA_DIRECTORY, false);
-               configuration.setAttribute(ATTR_ADD_JVM_PATHS, false);
-               configuration.setAttribute(ATTR_ADDITIONAL_VM_ARGS, "-Xmx128m");
-               configuration.setAttribute(ATTR_ADDITIONAL_PROGRAM_ARGS, "-console");
-       }
-
-       @Override
-       public void activated(ILaunchConfigurationWorkingCopy workingCopy) {
-               initializeFrom(workingCopy);
-               try {
-                       workingCopy.doSave();
-               } catch (CoreException e) {
-                       e.printStackTrace();
-               }
-       }
-
-       @Override
-       public void deactivated(ILaunchConfigurationWorkingCopy workingCopy) {
-               // do nothing
-       }
-
-       class Listener extends SelectionAdapter implements ModifyListener {
-               public void widgetSelected(SelectionEvent e) {
-                       // Object source = e.getSource();
-                       // setDirty(true);
-                       updateLaunchConfigurationDialog();
-               }
-
-               public void modifyText(ModifyEvent e) {
-                       // System.out.println("modifyText : " + e);
-                       // setDirty(true);
-                       updateLaunchConfigurationDialog();
-               }
-       }
-
-       // private void readProperties(ILaunchConfiguration configuration) {
-       // BufferedReader reader = null;
-       // try {
-       // IFile propertiesFile = (IFile) configuration.getMappedResources()[0];
-       // propertiesFile.refreshLocal(IResource.DEPTH_ONE, null);
-       // reader = new BufferedReader(new InputStreamReader(propertiesFile
-       // .getContents()));
-       // String line = null;
-       // StringBuffer buf = new StringBuffer("");
-       // while ((line = reader.readLine()) != null) {
-       // buf.append(line);
-       // buf.append("\n");
-       // }
-       // propertiesText.setText(buf.toString());
-       // } catch (CoreException e) {
-       // ErrorDialog.openError(Display.getCurrent().getActiveShell(),
-       // "Error", "Cannot read properties", e.getStatus());
-       // return;
-       // } catch (Exception e) {
-       // ErrorDialog.openError(Display.getCurrent().getActiveShell(),
-       // "Error", "Cannot read properties",
-       // new Status(IStatus.ERROR, SlcIdeUiPlugin.ID,
-       // e.getMessage(), e));
-       // return;
-       // } finally {
-       // if (reader != null)
-       // try {
-       // reader.close();
-       // } catch (IOException e) {
-       // // silent
-       // }
-       // }
-       //
-       // }
-       //
-       // private void writeProperties(ILaunchConfiguration configuration) {
-       // InputStream in = null;
-       // IFile propertiesFile = null;
-       // try {
-       // propertiesFile = (IFile) configuration.getMappedResources()[0];
-       // in = new ByteArrayInputStream(propertiesText.getText().getBytes());
-       // propertiesFile.setContents(in, true, true, null);
-       // propertiesFile.refreshLocal(IResource.DEPTH_ONE, null);
-       // } catch (CoreException e) {
-       // ErrorDialog.openError(Display.getCurrent().getActiveShell(),
-       // "Error", "Cannot write properties", e.getStatus());
-       // return;
-       // } catch (Exception e) {
-       // ErrorDialog.openError(Display.getCurrent().getActiveShell(),
-       // "Error", "Cannot write properties",
-       // new Status(IStatus.ERROR, SlcIdeUiPlugin.ID,
-       // e.getMessage(), e));
-       // return;
-       // } finally {
-       // if (in != null)
-       // try {
-       // in.close();
-       // } catch (IOException e) {
-       // // silent
-       // }
-       // }
-       //
-       // }
-
-}
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiLaunchHelper.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiLaunchHelper.java
deleted file mode 100644 (file)
index 11135f2..0000000
+++ /dev/null
@@ -1,620 +0,0 @@
-package org.argeo.slc.ide.ui.launch.osgi;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStream;
-import java.util.ArrayList;
-import java.util.Date;
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.Properties;
-import java.util.Set;
-import java.util.StringTokenizer;
-import java.util.TreeMap;
-import java.util.TreeSet;
-
-import org.argeo.slc.ide.ui.SlcIdeUiPlugin;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IFolder;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.runtime.Assert;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.variables.IStringVariableManager;
-import org.eclipse.core.variables.VariablesPlugin;
-import org.eclipse.debug.core.ILaunchConfiguration;
-import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
-import org.eclipse.jdt.launching.IJavaLaunchConfigurationConstants;
-import org.eclipse.jdt.launching.IVMInstall;
-import org.eclipse.jdt.launching.IVMInstall2;
-import org.eclipse.jdt.launching.IVMInstallType;
-import org.eclipse.jdt.launching.JavaRuntime;
-import org.eclipse.jface.dialogs.ErrorDialog;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.osgi.service.resolver.BundleDescription;
-import org.eclipse.pde.core.plugin.IPluginModelBase;
-import org.eclipse.pde.core.plugin.PluginRegistry;
-import org.eclipse.pde.internal.build.IPDEBuildConstants;
-import org.eclipse.pde.launching.IPDELauncherConstants;
-import org.eclipse.swt.widgets.Display;
-import org.eclipse.swt.widgets.Shell;
-
-/**
- * Most of the actual logic is concentrated in this class which manipulates
- * {@link ILaunchConfigurationWorkingCopy}. Static method are used since the
- * shortcut and launch configuration classes are already extending PDE classes.
- */
-@SuppressWarnings("restriction")
-public class OsgiLaunchHelper implements OsgiLauncherConstants {
-       private static Boolean debug = true;
-
-       private final static String DEFAULT_DATA_DIR = "data";
-       private final static String DEFAULT_EXEC_DIR = "exec";
-       private final static String DEFAULT_VMARGS = "-Xmx256m";
-       private final static String DEFAULT_PROGRAM_ARGS = "-console";
-
-       /** Sets default values on this configuration. */
-       public static void setDefaults(ILaunchConfigurationWorkingCopy wc,
-                       Boolean isEclipse) {
-               try {
-                       if (isEclipse) {
-                               wc.setAttribute(IPDELauncherConstants.USE_DEFAULT, false);
-                               wc.setAttribute(IPDELauncherConstants.USE_PRODUCT, false);
-                       }
-
-                       wc.setAttribute(ATTR_ADD_JVM_PATHS, false);
-                       wc.setAttribute(ATTR_ADDITIONAL_VM_ARGS, DEFAULT_VMARGS);
-                       wc.setAttribute(ATTR_ADDITIONAL_PROGRAM_ARGS, DEFAULT_PROGRAM_ARGS);
-
-                       // Defaults
-                       String originalVmArgs = wc.getAttribute(
-                                       IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS, "");
-                       wc.setAttribute(ATTR_DEFAULT_VM_ARGS, originalVmArgs);
-
-                       // clear config area by default
-                       wc.setAttribute(IPDELauncherConstants.CONFIG_CLEAR_AREA, true);
-               } catch (CoreException e) {
-                       Shell shell = Display.getCurrent().getActiveShell();
-                       ErrorDialog.openError(shell, "Error",
-                                       "Cannot execute initalize configuration", e.getStatus());
-               }
-       }
-
-       /** Find the working directory based on this properties file. */
-       public static String findWorkingDirectory(IFile propertiesFile) {
-               try {
-                       IProject project = propertiesFile.getProject();
-                       IPath parent = propertiesFile.getProjectRelativePath()
-                                       .removeLastSegments(1);
-                       IFolder execFolder = project.getFolder(parent
-                                       .append(DEFAULT_EXEC_DIR));
-                       if (!execFolder.exists())
-                               execFolder.create(true, true, null);
-                       IFolder launchFolder = project.getFolder(execFolder
-                                       .getProjectRelativePath().append(
-                                                       extractName(propertiesFile)));
-                       if (!launchFolder.exists())
-                               launchFolder.create(true, true, null);
-                       return "${workspace_loc:"
-                                       + launchFolder.getFullPath().toString().substring(1) + "}";
-               } catch (Exception e) {
-                       e.printStackTrace();
-                       throw new RuntimeException("Cannot create working directory", e);
-               }
-       }
-
-       /** Extract the launch configuration name from the properties file. */
-       public static String extractName(IFile propertiesFile) {
-               IPath path = propertiesFile.getFullPath();
-               IPath pathNoExt = path.removeFileExtension();
-               return pathNoExt.segment(pathNoExt.segmentCount() - 1);
-
-       }
-
-       /** Expects properties file to be set as mapped resources */
-       @SuppressWarnings("unchecked")
-       public static void updateLaunchConfiguration(
-                       ILaunchConfigurationWorkingCopy wc, Boolean isEclipse) {
-               try {
-                       if (debug)
-                               debug("##\n## Launch " + wc.getName() + " - " + new Date()
-                                               + "\n##");
-
-                       // Finds the properties file and load it
-                       IFile propertiesFile = (IFile) wc.getMappedResources()[0];
-                       propertiesFile.refreshLocal(IResource.DEPTH_ONE, null);
-                       Properties properties = readProperties(propertiesFile);
-
-                       // Extract information from the properties file
-                       Map<String, Integer> bundlesToStart = new TreeMap<String, Integer>();
-                       Map<String, String> systemPropertiesToAppend = new HashMap<String, String>();
-                       String applicationId = interpretProperties(properties,
-                                       bundlesToStart, systemPropertiesToAppend);
-
-                       if (applicationId != null)
-                               wc.setAttribute(IPDELauncherConstants.APPLICATION,
-                                               applicationId);
-                       else {
-                               if (isEclipse)
-                                       throw new Exception("No application defined,"
-                                                       + " please set the 'eclipse.application' property"
-                                                       + " in the properties file");
-                       }
-
-                       // Define directories
-                       File workingDir = getWorkingDirectory(wc);
-                       File dataDir = new File(workingDir, DEFAULT_DATA_DIR);
-
-                       // Update the launch configuration accordingly
-                       updateLaunchConfiguration(wc, bundlesToStart,
-                                       systemPropertiesToAppend, dataDir.getAbsolutePath(),
-                                       isEclipse);
-
-                       if (debug) {
-                               Map<String, ?> attrs = new TreeMap<String, Object>(
-                                               (Map<String, String>) wc.getAttributes());
-                               for (String key : attrs.keySet())
-                                       OsgiLaunchHelper.debug(key + "=" + attrs.get(key));
-                       }
-               } catch (Exception e) {
-                       e.printStackTrace();
-                       Shell shell = SlcIdeUiPlugin.getDefault().getWorkbench()
-                                       .getActiveWorkbenchWindow().getShell();
-                       // Shell shell= Display.getCurrent().getActiveShell();
-                       ErrorDialog.openError(shell, "Error",
-                                       "Cannot prepare launch configuration",
-                                       new Status(IStatus.ERROR, SlcIdeUiPlugin.ID,
-                                                       e.getMessage(), e));
-                       return;
-               }
-       }
-
-       /**
-        * Actually modifies the launch configuration in order to reflect the
-        * current state read from the properties file and the launch configuration
-        * UI.
-        */
-       protected static void updateLaunchConfiguration(
-                       ILaunchConfigurationWorkingCopy wc,
-                       Map<String, Integer> bundlesToStart,
-                       Map<String, String> systemPropertiesToAppend, String dataDir,
-                       Boolean isEclipse) throws CoreException {
-               // Convert bundle lists
-               final String targetBundles;
-               final String wkSpaceBundles;
-               if (wc.getAttribute(ATTR_SYNC_BUNDLES, true)) {
-                       StringBuffer tBuf = new StringBuffer();
-                       for (IPluginModelBase model : PluginRegistry.getExternalModels()) {
-                               tBuf.append(model.getBundleDescription().getSymbolicName());
-                               tBuf.append(',');
-                       }
-                       targetBundles = tBuf.toString();
-                       StringBuffer wBuf = new StringBuffer();
-                       models: for (IPluginModelBase model : PluginRegistry
-                                       .getWorkspaceModels()) {
-                               if (model.getBundleDescription() == null) {
-                                       System.err.println("No bundle description for " + model);
-                                       continue models;
-                               }
-                               wBuf.append(model.getBundleDescription().getSymbolicName());
-                               wBuf.append(',');
-                       }
-                       wkSpaceBundles = wBuf.toString();
-               } else {
-                       targetBundles = wc.getAttribute(targetBundlesAttr(isEclipse), "");
-                       wkSpaceBundles = wc.getAttribute(workspaceBundlesAttr(isEclipse),
-                                       "");
-               }
-               wc.setAttribute(targetBundlesAttr(isEclipse),
-                               convertBundleList(bundlesToStart, targetBundles));
-
-               wc.setAttribute(workspaceBundlesAttr(isEclipse),
-                               convertBundleList(bundlesToStart, wkSpaceBundles));
-
-               // Update other default information
-               wc.setAttribute(IPDELauncherConstants.DEFAULT_AUTO_START, false);
-
-               wc.setAttribute(IPDELauncherConstants.USE_CUSTOM_FEATURES, false);
-               if (!isEclipse)
-                       wc.setAttribute(IPDELauncherConstants.USE_DEFAULT, true);
-
-               // VM arguments (system properties)
-               String defaultVmArgs = wc.getAttribute(
-                               OsgiLauncherConstants.ATTR_DEFAULT_VM_ARGS, "");
-               StringBuffer vmArgs = new StringBuffer(defaultVmArgs);
-
-               // Data dir system property
-               if (dataDir != null) {
-                       addSysProperty(vmArgs, OsgiLauncherConstants.ARGEO_OSGI_DATA_DIR,
-                                       dataDir);
-                       if (isEclipse) {
-                               wc.setAttribute(IPDELauncherConstants.LOCATION, dataDir);
-                       }
-               }
-
-               // Add locations of JVMs
-               if (wc.getAttribute(ATTR_ADD_JVM_PATHS, false))
-                       addVms(vmArgs);
-
-               // Add other system properties
-               for (String key : systemPropertiesToAppend.keySet())
-                       addSysProperty(vmArgs, key, systemPropertiesToAppend.get(key));
-
-               vmArgs.append(" ").append(wc.getAttribute(ATTR_ADDITIONAL_VM_ARGS, ""));
-
-               wc.setAttribute(IJavaLaunchConfigurationConstants.ATTR_VM_ARGUMENTS,
-                               vmArgs.toString());
-
-               // Program arguments
-               StringBuffer progArgs = new StringBuffer("");
-               if (dataDir != null) {
-                       progArgs.append("-data ");
-                       progArgs.append(surroundSpaces(dataDir));
-
-                       if (wc.getAttribute(ATTR_CLEAR_DATA_DIRECTORY, false)) {
-                               File dataDirFile = new File(dataDir);
-                               deleteDir(dataDirFile);
-                               dataDirFile.mkdirs();
-                       }
-               }
-               String additionalProgramArgs = wc.getAttribute(
-                               OsgiLauncherConstants.ATTR_ADDITIONAL_PROGRAM_ARGS, "");
-               progArgs.append(' ').append(additionalProgramArgs);
-               wc.setAttribute(
-                               IJavaLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS,
-                               progArgs.toString());
-       }
-
-       /** The launch configuration attribute to use for target bundles */
-       protected static String targetBundlesAttr(Boolean isEclipse) {
-               return isEclipse ? IPDELauncherConstants.SELECTED_TARGET_PLUGINS
-                               : IPDELauncherConstants.TARGET_BUNDLES;
-       }
-
-       /** The launch configuration attribute to use for workspace bundles */
-       protected static String workspaceBundlesAttr(Boolean isEclipse) {
-               return isEclipse ? IPDELauncherConstants.SELECTED_WORKSPACE_PLUGINS
-                               : IPDELauncherConstants.WORKSPACE_BUNDLES;
-       }
-
-       /**
-        * Interprets special properties and register the others as system
-        * properties to append.
-        * 
-        * @return the application id defined by
-        *         {@link OsgiLauncherConstants#ECLIPSE_APPLICATION}, or null if not
-        *         found
-        */
-       protected static String interpretProperties(Properties properties,
-                       Map<String, Integer> bundlesToStart,
-                       Map<String, String> systemPropertiesToAppend) {
-               computeBundlesToStart(bundlesToStart, properties, null);
-
-               String applicationId = null;
-               propKeys: for (Object keyObj : properties.keySet()) {
-                       String key = keyObj.toString();
-                       if (OsgiLauncherConstants.ARGEO_OSGI_START.equals(key))
-                               continue propKeys;
-                       if (key.startsWith(OsgiLauncherConstants.ARGEO_OSGI_START + "."))
-                               continue propKeys;
-                       else if (OsgiLauncherConstants.ARGEO_OSGI_BUNDLES.equals(key))
-                               continue propKeys;
-                       else if (OsgiLauncherConstants.ARGEO_OSGI_LOCATIONS.equals(key))
-                               continue propKeys;
-                       else if (OsgiLauncherConstants.OSGI_BUNDLES.equals(key))
-                               continue propKeys;
-                       else if (OsgiLauncherConstants.ECLIPSE_APPLICATION.equals(key))
-                               applicationId = properties.getProperty(key);
-                       else
-                               systemPropertiesToAppend.put(key, properties.getProperty(key));
-               }
-               return applicationId;
-       }
-
-       /** Adds a regular system property. */
-       protected static void addSysProperty(StringBuffer vmArgs, String key,
-                       String value) {
-               surroundSpaces(value);
-               String str = "-D" + key + "=" + value;
-               vmArgs.append(' ').append(str);
-       }
-
-       /** Adds JVMS registered in the workspace as special system properties. */
-       protected static void addVms(StringBuffer vmArgs) {
-               addVmSysProperty(vmArgs, "default", JavaRuntime.getDefaultVMInstall());
-               IVMInstallType[] vmTypes = JavaRuntime.getVMInstallTypes();
-               for (IVMInstallType vmType : vmTypes) {
-                       for (IVMInstall vmInstall : vmType.getVMInstalls()) {
-                               // properties based on name
-                               addVmSysProperty(vmArgs, vmInstall.getName(), vmInstall);
-                               if (vmInstall instanceof IVMInstall2) {
-                                       // properties based on version
-                                       IVMInstall2 vmInstall2 = (IVMInstall2) vmInstall;
-                                       String version = vmInstall2.getJavaVersion();
-                                       addVmSysProperty(vmArgs, version, vmInstall);
-
-                                       List<String> tokens = new ArrayList<String>();
-                                       StringTokenizer st = new StringTokenizer(version, ".");
-                                       while (st.hasMoreTokens())
-                                               tokens.add(st.nextToken());
-                                       if (tokens.size() >= 2)
-                                               addVmSysProperty(vmArgs,
-                                                               tokens.get(0) + "." + tokens.get(1), vmInstall);
-                               }
-                       }
-               }
-
-       }
-
-       /** Adds a special system property pointing to one of the registered JVMs. */
-       protected static void addVmSysProperty(StringBuffer vmArgs, String suffix,
-                       IVMInstall vmInstall) {
-               addSysProperty(vmArgs, OsgiLauncherConstants.VMS_PROPERTY_PREFIX + "."
-                               + suffix, vmInstall.getInstallLocation().getPath());
-       }
-
-       /** Surround the string with quotes if it contains spaces. */
-       protected static String surroundSpaces(String str) {
-               if (str.indexOf(' ') >= 0)
-                       return '\"' + str + '\"';
-               else
-                       return str;
-       }
-
-       /**
-        * Reformat the bundle list in order to reflect which bundles have to be
-        * started.
-        */
-       protected static String convertBundleList(
-                       Map<String, Integer> bundlesToStart, String original) {
-               StringTokenizer stComa = new StringTokenizer(original, ",");
-               // sort by bundle symbolic name
-               Set<String> bundleIds = new TreeSet<String>();
-               bundles: while (stComa.hasMoreTokens()) {
-
-                       String bundleId = stComa.nextToken();
-                       if (bundleId.indexOf('*') >= 0)
-                               throw new RuntimeException(
-                                               "Bundle id "
-                                                               + bundleId
-                                                               + " not properly formatted, clean your workspace projects");
-
-                       int indexAt = bundleId.indexOf('@');
-                       if (indexAt >= 0) {
-                               bundleId = bundleId.substring(0, indexAt);
-                       }
-
-                       // We can now rely on bundleId value
-
-                       if (bundleId.endsWith(".source")) {
-                               // debug("Skip source bundle " + bundleId);
-                               continue bundles;
-                       } else if (bundleId
-                                       .equals(IPDEBuildConstants.BUNDLE_SIMPLE_CONFIGURATOR)) {
-                               // skip simple configurator in order to avoid side-effects
-                               continue bundles;
-                       }
-                       bundleIds.add(bundleId);
-               }
-
-               StringBuffer bufBundles = new StringBuffer(1024);
-               boolean first = true;
-               for (String bundleId : bundleIds) {
-                       if (first)
-                               first = false;
-                       else
-                               bufBundles.append(',');
-                       boolean modified = false;
-                       if (bundlesToStart.containsKey(bundleId)) {
-                               Integer startLevel = bundlesToStart.get(bundleId);
-                               String startLevelStr = startLevel != null ? startLevel
-                                               .toString() : "default";
-                               bufBundles.append(bundleId).append('@').append(startLevelStr)
-                                               .append(":true");
-                               modified = true;
-                               debug("Will start " + bundleId + " at level " + startLevelStr);
-                       }
-
-                       if (!modified)
-                               bufBundles.append(bundleId);
-
-               }
-               String output = bufBundles.toString();
-               return output;
-       }
-
-       // UTILITIES
-       /** Recursively deletes a directory tree. */
-       private static void deleteDir(File dir) {
-               File[] files = dir.listFiles();
-               for (File file : files) {
-                       if (file.isDirectory())
-                               deleteDir(file);
-                       else
-                               file.delete();
-               }
-               dir.delete();
-       }
-
-       /** Loads a properties file. */
-       private static Properties readProperties(IFile file) throws CoreException {
-               Properties props = new Properties();
-
-               InputStream in = null;
-               try {
-                       in = file.getContents();
-                       props.load(in);
-               } catch (Exception e) {
-                       throw new CoreException(new Status(IStatus.ERROR,
-                                       SlcIdeUiPlugin.ID, "Cannot read properties file", e));
-               } finally {
-                       if (in != null)
-                               try {
-                                       in.close();
-                               } catch (IOException e) {
-                                       // silent
-                               }
-               }
-               return props;
-       }
-
-       /** Determines the start levels for the bundles */
-       private static void computeBundlesToStart(
-                       Map<String, Integer> bundlesToStart, Properties properties,
-                       Integer defaultStartLevel) {
-
-               // default (and previously, only behaviour)
-               appendBundlesToStart(bundlesToStart, defaultStartLevel,
-                               properties.getProperty(OsgiLauncherConstants.ARGEO_OSGI_START,
-                                               ""));
-
-               // list argeo.osgi.start.* system properties
-               Iterator<Object> keys = properties.keySet().iterator();
-               final String prefix = OsgiLauncherConstants.ARGEO_OSGI_START + ".";
-               while (keys.hasNext()) {
-                       String key = (String) keys.next();
-                       if (key.startsWith(prefix)) {
-                               Integer startLevel;
-                               String suffix = key.substring(prefix.length());
-                               String[] tokens = suffix.split("\\.");
-                               if (tokens.length > 0 && !tokens[0].trim().equals(""))
-                                       try {
-                                               // first token is start level
-                                               startLevel = new Integer(tokens[0]);
-                                       } catch (NumberFormatException e) {
-                                               startLevel = defaultStartLevel;
-                                       }
-                               else
-                                       startLevel = defaultStartLevel;
-
-                               // append bundle names
-                               String bundleNames = properties.getProperty(key);
-                               appendBundlesToStart(bundlesToStart, startLevel, bundleNames);
-                       }
-               }
-       }
-
-       /** Append a comma-separated list of bundles to the start levels. */
-       private static void appendBundlesToStart(
-                       Map<String, Integer> bundlesToStart, Integer startLevel, String str) {
-               if (str == null || str.trim().equals(""))
-                       return;
-
-               String[] bundleNames = str.split(",");
-               for (int i = 0; i < bundleNames.length; i++) {
-                       if (bundleNames[i] != null && !bundleNames[i].trim().equals(""))
-                               bundlesToStart.put(bundleNames[i], startLevel);
-               }
-       }
-
-       /*
-        * HACKED UTILITIES
-        */
-       // Hacked from
-       // org.eclipse.pde.internal.ui.launcher.LaunchArgumentsHelper.getWorkingDirectory(ILaunchConfiguration)
-       private static File getWorkingDirectory(ILaunchConfiguration configuration)
-                       throws CoreException {
-               String working;
-               try {
-                       working = configuration.getAttribute(
-                                       IJavaLaunchConfigurationConstants.ATTR_WORKING_DIRECTORY,
-                                       new File(".").getCanonicalPath()); //$NON-NLS-1$
-               } catch (IOException e) {
-                       working = "${workspace_loc}/../"; //$NON-NLS-1$
-               }
-               File dir;
-               try {
-                       dir = new File(getSubstitutedString(working));
-               } catch (Exception e) {
-                       // the directory was most probably deleted
-                       IFile propertiesFile = (IFile) configuration.getMappedResources()[0];
-                       working = findWorkingDirectory(propertiesFile);
-                       dir = new File(getSubstitutedString(working));
-               }
-               if (!dir.exists())
-                       dir.mkdirs();
-               return dir;
-       }
-
-       // Hacked from
-       // org.eclipse.pde.internal.ui.launcher.LaunchArgumentsHelper.getSubstitutedString(String)
-       private static String getSubstitutedString(String text)
-                       throws CoreException {
-               if (text == null)
-                       return ""; //$NON-NLS-1$
-               IStringVariableManager mgr = VariablesPlugin.getDefault()
-                               .getStringVariableManager();
-               return mgr.performStringSubstitution(text);
-       }
-
-       /**
-        * Not used anymore, but kept because this routine may be useful in the
-        * future.
-        */
-       protected void addSelectedProjects(StringBuffer name, ISelection selection,
-                       List<String> bundlesToStart) {
-               Assert.isNotNull(selection);
-
-               Map<String, IPluginModelBase> bundleProjects = new HashMap<String, IPluginModelBase>();
-               for (IPluginModelBase modelBase : PluginRegistry.getWorkspaceModels()) {
-                       IProject bundleProject = modelBase.getUnderlyingResource()
-                                       .getProject();
-                       bundleProjects.put(bundleProject.getName(), modelBase);
-               }
-
-               IStructuredSelection sSelection = (IStructuredSelection) selection;
-               for (Iterator<?> it = sSelection.iterator(); it.hasNext();) {
-                       Object obj = it.next();
-                       if (obj instanceof IProject) {
-                               IProject project = (IProject) obj;
-                               if (bundleProjects.containsKey(project.getName())) {
-                                       IPluginModelBase modelBase = bundleProjects.get(project
-                                                       .getName());
-
-                                       BundleDescription bundleDescription = null;
-                                       if (modelBase.isFragmentModel()) {
-                                               BundleDescription[] hosts = modelBase
-                                                               .getBundleDescription().getHost().getHosts();
-                                               for (BundleDescription bd : hosts) {
-                                                       if (debug)
-                                                               System.out.println("Host for "
-                                                                               + modelBase.getBundleDescription()
-                                                                                               .getSymbolicName() + ": "
-                                                                               + bd.getSymbolicName());
-                                                       bundleDescription = bd;
-                                               }
-                                       } else {
-                                               bundleDescription = modelBase.getBundleDescription();
-                                       }
-
-                                       if (bundleDescription != null) {
-                                               String symbolicName = bundleDescription
-                                                               .getSymbolicName();
-                                               String bundleName = bundleDescription.getName();
-
-                                               bundlesToStart.add(symbolicName);
-
-                                               if (name.length() > 0)
-                                                       name.append(" ");
-                                               if (bundleName != null)
-                                                       name.append(bundleName);
-                                               else
-                                                       name.append(symbolicName);
-                                       }
-                               }
-                       }
-               }
-       }
-
-       static void debug(Object obj) {
-               if (debug)
-                       System.out.println(obj);
-       }
-
-}
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiLauncherConstants.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/osgi/OsgiLauncherConstants.java
deleted file mode 100644 (file)
index 8ada527..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-package org.argeo.slc.ide.ui.launch.osgi;
-
-import org.argeo.slc.ide.ui.SlcIdeUiPlugin;
-
-/** Constants used by OSGi launch. */
-public interface OsgiLauncherConstants {
-
-       public final static String OSGI_BUNDLES = "osgi.bundles";
-       public final static String ECLIPSE_APPLICATION = "eclipse.application";
-
-       public final static String ARGEO_OSGI_START = "argeo.osgi.start";
-       public final static String ARGEO_OSGI_BUNDLES = "argeo.osgi.bundles";
-       public final static String ARGEO_OSGI_LOCATIONS = "argeo.osgi.locations";
-       public final static String ARGEO_OSGI_DATA_DIR = "argeo.osgi.data.dir";
-       public final static String VMS_PROPERTY_PREFIX = "slc.launch.vm";
-
-       // Configuration
-       public final static String ATTR_SYNC_BUNDLES = SlcIdeUiPlugin.ID
-                       + ".syncBundles";
-       public final static String ATTR_CLEAR_DATA_DIRECTORY = SlcIdeUiPlugin.ID
-                       + ".clearDataDirectory";
-
-       public final static String ATTR_DEFAULT_VM_ARGS = SlcIdeUiPlugin.ID
-                       + ".defaultVmArgs";
-       public final static String ATTR_ADDITIONAL_PROGRAM_ARGS = SlcIdeUiPlugin.ID
-                       + ".additionalProgramArgs";
-       public final static String ATTR_ADDITIONAL_VM_ARGS = SlcIdeUiPlugin.ID
-                       + ".additionalVmArgs";
-       public final static String ATTR_ADD_JVM_PATHS = SlcIdeUiPlugin.ID
-                       + ".addJvmPaths";
-       public final static String ATTR_DATADIR = SlcIdeUiPlugin.ID + ".dataDir";
-}
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/preferences/SlcLaunchPreferencePage.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/preferences/SlcLaunchPreferencePage.java
deleted file mode 100644 (file)
index 24c6757..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-package org.argeo.slc.ide.ui.launch.preferences;\r
-\r
-import org.argeo.slc.ide.ui.SlcIdeUiPlugin;\r
-import org.eclipse.jface.preference.DirectoryFieldEditor;\r
-import org.eclipse.jface.preference.FieldEditorPreferencePage;\r
-import org.eclipse.ui.IWorkbench;\r
-import org.eclipse.ui.IWorkbenchPreferencePage;\r
-\r
-public class SlcLaunchPreferencePage extends FieldEditorPreferencePage implements\r
-               IWorkbenchPreferencePage {\r
-       public final static String PREF_SLC_RUNTIME_LOCATION = SlcIdeUiPlugin.ID\r
-                       + ".slcRuntimeLocation";\r
-       public final static String PREF_EMBEDDED_JAVA_LIBRARY_PATH = SlcIdeUiPlugin.ID\r
-                       + ".embeddedJavaLibraryPath";\r
-\r
-       public SlcLaunchPreferencePage() {\r
-//             IPreferenceStore store = SlcUiLaunchPlugin.getDefault()\r
-//                             .getPreferenceStore();\r
-//             setPreferenceStore(store);\r
-               setDescription("Argeo SLC Launch Preferences");\r
-       }\r
-\r
-       @Override\r
-       protected void createFieldEditors() {\r
-               addField(new DirectoryFieldEditor(PREF_SLC_RUNTIME_LOCATION,\r
-                               "SLC Runtime", getFieldEditorParent()));\r
-               addField(new DirectoryFieldEditor(PREF_EMBEDDED_JAVA_LIBRARY_PATH,\r
-                               "Embedded Java Library Path", getFieldEditorParent()));\r
-       }\r
-\r
-       public void init(IWorkbench workbench) {\r
-       }\r
-\r
-}\r
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchConfigurationTab.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchConfigurationTab.java
deleted file mode 100644 (file)
index f73a8ca..0000000
+++ /dev/null
@@ -1,191 +0,0 @@
-package org.argeo.slc.ide.ui.launch.script;\r
-\r
-import org.eclipse.core.resources.IResource;\r
-import org.eclipse.core.resources.ResourcesPlugin;\r
-import org.eclipse.core.runtime.CoreException;\r
-import org.eclipse.debug.core.ILaunchConfiguration;\r
-import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;\r
-import org.eclipse.debug.ui.AbstractLaunchConfigurationTab;\r
-import org.eclipse.jface.window.Window;\r
-import org.eclipse.swt.SWT;\r
-import org.eclipse.swt.events.ModifyEvent;\r
-import org.eclipse.swt.events.ModifyListener;\r
-import org.eclipse.swt.events.SelectionEvent;\r
-import org.eclipse.swt.events.SelectionListener;\r
-import org.eclipse.swt.layout.GridData;\r
-import org.eclipse.swt.layout.GridLayout;\r
-import org.eclipse.swt.widgets.Button;\r
-import org.eclipse.swt.widgets.Composite;\r
-import org.eclipse.swt.widgets.Label;\r
-import org.eclipse.swt.widgets.Text;\r
-import org.eclipse.ui.dialogs.ResourceSelectionDialog;\r
-\r
-public class SlcScriptLaunchConfigurationTab extends\r
-               AbstractLaunchConfigurationTab {\r
-\r
-       private Text scriptTF;\r
-       private Text propertiesTF;\r
-       private Text runtimeTF;\r
-       private Text targetsTF;\r
-       private Button pre093B;\r
-\r
-       public void createControl(Composite parent) {\r
-               Composite body = new Composite(parent, SWT.NONE);\r
-               setControl(body);\r
-               body.setLayout(new GridLayout(1, false));\r
-               body.setFont(parent.getFont());\r
-\r
-               createLabel(body, "Script location");\r
-               scriptTF = createSingleText(body);\r
-               createWorkspaceButton(body);\r
-\r
-               createLabel(body, "Runtime");\r
-               runtimeTF = createSingleText(body);\r
-\r
-               createLabel(body, "Targets");\r
-               targetsTF = createSingleText(body);\r
-\r
-               createLabel(body, "Properties");\r
-               propertiesTF = createMultipleText(body, 10);\r
-\r
-               pre093B = createCheckBox(body, "Pre SLC v0.9.3");\r
-       }\r
-\r
-       public String getName() {\r
-               return "SLC";\r
-       }\r
-\r
-       public void initializeFrom(ILaunchConfiguration configuration) {\r
-               try {\r
-                       scriptTF.setText(configuration.getAttribute(\r
-                                       SlcScriptUtils.ATTR_SCRIPT, ""));\r
-\r
-                       boolean pre093 = configuration.getAttribute(\r
-                                       SlcScriptUtils.ATTR_PRE093, false);\r
-\r
-                       propertiesTF.setText(configuration.getAttribute(\r
-                                       SlcScriptUtils.ATTR_PROPERTIES, ""));\r
-                       runtimeTF.setText(configuration.getAttribute(\r
-                                       SlcScriptUtils.ATTR_RUNTIME, ""));\r
-                       targetsTF.setText(configuration.getAttribute(\r
-                                       SlcScriptUtils.ATTR_TARGETS, ""));\r
-                       pre093B.setSelection(pre093);\r
-               } catch (CoreException e) {\r
-                       throw new RuntimeException("Cannot initialize tab", e);\r
-               }\r
-\r
-       }\r
-\r
-       public void performApply(ILaunchConfigurationWorkingCopy configuration) {\r
-               configuration.setAttribute(SlcScriptUtils.ATTR_SCRIPT, scriptTF\r
-                               .getText());\r
-               configuration.setAttribute(SlcScriptUtils.ATTR_PROPERTIES, propertiesTF\r
-                               .getText());\r
-               configuration.setAttribute(SlcScriptUtils.ATTR_RUNTIME, runtimeTF\r
-                               .getText());\r
-               configuration.setAttribute(SlcScriptUtils.ATTR_TARGETS, targetsTF\r
-                               .getText());\r
-               configuration.setAttribute(SlcScriptUtils.ATTR_PRE093, pre093B\r
-                               .getSelection());\r
-       }\r
-\r
-       public void setDefaults(ILaunchConfigurationWorkingCopy configuration) {\r
-               configuration.setAttribute(SlcScriptUtils.ATTR_SCRIPT, "");\r
-               configuration.setAttribute(SlcScriptUtils.ATTR_PROPERTIES, "");\r
-               configuration.setAttribute(SlcScriptUtils.ATTR_RUNTIME, "");\r
-               configuration.setAttribute(SlcScriptUtils.ATTR_TARGETS, "");\r
-               configuration.setAttribute(SlcScriptUtils.ATTR_PRE093, false);\r
-       }\r
-\r
-       // UI Utils\r
-       protected Label createLabel(Composite parent, String text) {\r
-               Label t = new Label(parent, SWT.NONE | SWT.WRAP);\r
-               t.setText(text);\r
-               t.setFont(parent.getFont());\r
-               GridData gd = new GridData(GridData.FILL_HORIZONTAL);\r
-               gd.horizontalSpan = 1;\r
-               t.setLayoutData(gd);\r
-               return t;\r
-       }\r
-\r
-       protected Text createSingleText(Composite parent) {\r
-               Text t = new Text(parent, SWT.SINGLE | SWT.BORDER);\r
-               t.setFont(parent.getFont());\r
-               GridData gd = new GridData(GridData.FILL_HORIZONTAL);\r
-               gd.horizontalSpan = 1;\r
-               t.setLayoutData(gd);\r
-               t.addModifyListener(modifyListener);\r
-               return t;\r
-       }\r
-\r
-       protected Text createMultipleText(Composite parent, int verticalSpan) {\r
-               Text t = new Text(parent, SWT.MULTI | SWT.BORDER);\r
-               t.setFont(parent.getFont());\r
-               GridData gd = new GridData(GridData.FILL, GridData.FILL, true, true);\r
-               gd.horizontalSpan = 1;\r
-               gd.verticalSpan = verticalSpan;\r
-               t.setLayoutData(gd);\r
-               t.addModifyListener(modifyListener);\r
-               return t;\r
-       }\r
-\r
-       protected Button createCheckBox(Composite parent, String label) {\r
-               Button b = new Button(parent, SWT.CHECK);\r
-               b.setFont(parent.getFont());\r
-               b.setText(label);\r
-               b.addSelectionListener(selectionListener);\r
-               return b;\r
-\r
-       }\r
-\r
-       protected Button createWorkspaceButton(Composite parent) {\r
-               Button b = new Button(parent, SWT.PUSH);\r
-               b.setFont(parent.getFont());\r
-               b.setText("Workspace...");\r
-               b.addSelectionListener(new SelectionListener() {\r
-                       public void widgetDefaultSelected(SelectionEvent e) {\r
-                       }\r
-\r
-                       public void widgetSelected(SelectionEvent e) {\r
-                               handleWorkspaceLocationButtonSelected();\r
-                       }\r
-               });\r
-               return b;\r
-       }\r
-\r
-       protected void handleWorkspaceLocationButtonSelected() {\r
-               ResourceSelectionDialog dialog;\r
-               dialog = new ResourceSelectionDialog(getShell(), ResourcesPlugin\r
-                               .getWorkspace().getRoot(), "Select a file");\r
-               if (dialog.open() == Window.OK) {\r
-                       Object[] results = dialog.getResult();\r
-                       if (results == null || results.length < 1) {\r
-                               return;\r
-                       }\r
-                       IResource resource = (IResource) results[0];\r
-                       scriptTF.setText(SlcScriptUtils\r
-                                       .convertToWorkspaceLocation(resource));\r
-                       updateLaunchConfigurationDialog();\r
-               }\r
-       }\r
-\r
-       // LISTENERS\r
-       /**\r
-        * Modify listener that simply updates the owning launch configuration\r
-        * dialog.\r
-        */\r
-       private ModifyListener modifyListener = new ModifyListener() {\r
-               public void modifyText(ModifyEvent evt) {\r
-                       updateLaunchConfigurationDialog();\r
-               }\r
-       };\r
-       private SelectionListener selectionListener = new SelectionListener() {\r
-               public void widgetDefaultSelected(SelectionEvent e) {\r
-               }\r
-\r
-               public void widgetSelected(SelectionEvent e) {\r
-                       updateLaunchConfigurationDialog();\r
-               }\r
-       };\r
-\r
-}\r
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchConfigurationTabGroup.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchConfigurationTabGroup.java
deleted file mode 100644 (file)
index e7d54a3..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-package org.argeo.slc.ide.ui.launch.script;\r
-\r
-import org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup;\r
-import org.eclipse.debug.ui.CommonTab;\r
-import org.eclipse.debug.ui.ILaunchConfigurationDialog;\r
-import org.eclipse.debug.ui.ILaunchConfigurationTab;\r
-\r
-public class SlcScriptLaunchConfigurationTabGroup extends\r
-               AbstractLaunchConfigurationTabGroup {\r
-\r
-       public void createTabs(ILaunchConfigurationDialog dialog, String mode) {\r
-               ILaunchConfigurationTab[] tabs = new ILaunchConfigurationTab[] {\r
-                               new SlcScriptLaunchConfigurationTab(), new CommonTab() };\r
-               setTabs(tabs);\r
-       }\r
-}\r
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchDelegate.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchDelegate.java
deleted file mode 100644 (file)
index 75d8ce7..0000000
+++ /dev/null
@@ -1,258 +0,0 @@
-package org.argeo.slc.ide.ui.launch.script;\r
-\r
-import java.io.ByteArrayInputStream;\r
-import java.io.IOException;\r
-import java.util.List;\r
-import java.util.Properties;\r
-import java.util.Vector;\r
-\r
-import org.argeo.slc.ide.ui.DeployedSlcSystem;\r
-import org.argeo.slc.ide.ui.EmbeddedSlcSystem;\r
-import org.argeo.slc.ide.ui.SlcSystem;\r
-import org.argeo.slc.ide.ui.SlcIdeUiPlugin;\r
-import org.argeo.slc.ide.ui.launch.preferences.SlcLaunchPreferencePage;\r
-import org.eclipse.core.resources.IFile;\r
-import org.eclipse.core.resources.IProject;\r
-import org.eclipse.core.resources.ResourcesPlugin;\r
-import org.eclipse.core.runtime.CoreException;\r
-import org.eclipse.core.runtime.IPath;\r
-import org.eclipse.core.runtime.IProgressMonitor;\r
-import org.eclipse.core.runtime.IStatus;\r
-import org.eclipse.core.runtime.Path;\r
-import org.eclipse.core.runtime.Status;\r
-import org.eclipse.core.variables.IStringVariableManager;\r
-import org.eclipse.core.variables.VariablesPlugin;\r
-import org.eclipse.debug.core.DebugPlugin;\r
-import org.eclipse.debug.core.ILaunch;\r
-import org.eclipse.debug.core.ILaunchConfiguration;\r
-import org.eclipse.debug.core.ILaunchManager;\r
-import org.eclipse.jdt.core.IJavaProject;\r
-import org.eclipse.jdt.core.IType;\r
-import org.eclipse.jdt.core.JavaCore;\r
-import org.eclipse.jdt.core.JavaModelException;\r
-import org.eclipse.jdt.launching.AbstractJavaLaunchConfigurationDelegate;\r
-import org.eclipse.jdt.launching.IVMRunner;\r
-import org.eclipse.jdt.launching.VMRunnerConfiguration;\r
-import org.eclipse.jface.dialogs.ErrorDialog;\r
-import org.eclipse.swt.widgets.Shell;\r
-\r
-public class SlcScriptLaunchDelegate extends\r
-               AbstractJavaLaunchConfigurationDelegate {\r
-       public static final String ID = "org.argeo.slc.launch.slcScriptLaunchType";\r
-\r
-       public final static String ANT_MAIN = "org.apache.tools.ant.Main";\r
-       public final static String SLC_MAIN = "org.argeo.slc.cli.SlcMain";\r
-\r
-       @SuppressWarnings("deprecation")\r
-       public void launch(ILaunchConfiguration configuration, String mode,\r
-                       ILaunch launch, IProgressMonitor monitor) throws CoreException {\r
-               if (!saveBeforeLaunch(configuration, mode, monitor))\r
-                       return;\r
-\r
-               String scriptLocation = configuration.getAttribute(\r
-                               SlcScriptUtils.ATTR_SCRIPT, "");\r
-               if (scriptLocation.equals(""))\r
-                       abort("Script has to be provided", null, 1);\r
-\r
-               IStringVariableManager manager = VariablesPlugin.getDefault()\r
-                               .getStringVariableManager();\r
-               scriptLocation = manager.performStringSubstitution(scriptLocation);\r
-               IPath path = new Path(scriptLocation);\r
-               IFile[] files = ResourcesPlugin.getWorkspace().getRoot()\r
-                               .findFilesForLocation(path);\r
-\r
-               if (files.length == 0)\r
-                       abort("Coulkd not find related file", null, 1);\r
-\r
-               IFile file = (IFile) files[0];\r
-               DebugPlugin\r
-                               .logMessage("Launching " + file.getLocation().toFile(), null);\r
-\r
-               boolean pre093 = configuration.getAttribute(SlcScriptUtils.ATTR_PRE093,\r
-                               false);\r
-\r
-               // Retrieve SLC Runtime\r
-               SlcSystem slcSystem = findSlcSystem(file, pre093);\r
-               if (slcSystem == null)\r
-                       return;\r
-\r
-               IVMRunner vmRunner = slcSystem.getVmInstall().getVMRunner(mode);\r
-               final VMRunnerConfiguration vmConfig;\r
-               if (pre093) {\r
-                       vmConfig = createPre093Config(slcSystem, file, mode);\r
-               } else {\r
-                       vmConfig = createConfig(slcSystem, file, mode, configuration);\r
-               }\r
-               vmRunner.run(vmConfig, launch, monitor);\r
-       }\r
-\r
-       protected SlcSystem findSlcSystem(IFile file, boolean pre093)\r
-                       throws CoreException {\r
-               SlcSystem slcSystem = null;\r
-\r
-               IProject project = file.getProject();\r
-               if (project.getNature("org.eclipse.jdt.core.javanature") != null) {\r
-                       IJavaProject javaProject = JavaCore.create(project);\r
-                       if (checkProjectForEmbedded(javaProject, pre093)) {\r
-                               slcSystem = new EmbeddedSlcSystem(javaProject);\r
-                       }\r
-               }\r
-\r
-               if (slcSystem == null) {\r
-                       String slcRuntimePath = SlcIdeUiPlugin.getDefault()\r
-                                       .getPreferenceStore().getString(\r
-                                                       SlcLaunchPreferencePage.PREF_SLC_RUNTIME_LOCATION);\r
-                       if (slcRuntimePath == null || slcRuntimePath.equals("")) {\r
-                               showError("SLC Runtime path is not set. Set it in Windows > Preferences > SLC");\r
-                               return null;\r
-                       }\r
-\r
-                       slcSystem = new DeployedSlcSystem(slcRuntimePath);\r
-               }\r
-\r
-               return slcSystem;\r
-       }\r
-\r
-       protected boolean checkProjectForEmbedded(IJavaProject project,\r
-                       boolean pre093) {\r
-               try {\r
-                       IType mainType = null;\r
-                       if (pre093)\r
-                               mainType = project.findType(ANT_MAIN);\r
-                       else\r
-                               mainType = project.findType(SLC_MAIN);\r
-\r
-                       if (mainType == null)\r
-                               return false;\r
-                       else\r
-                               return true;\r
-               } catch (JavaModelException e) {\r
-                       e.printStackTrace();\r
-                       return false;\r
-               }\r
-       }\r
-\r
-       // Regular SLC\r
-       protected VMRunnerConfiguration createConfig(SlcSystem deployedSlc,\r
-                       IFile file, String mode, ILaunchConfiguration configuration)\r
-                       throws CoreException {\r
-               VMRunnerConfiguration vmConfig = new VMRunnerConfiguration(SLC_MAIN,\r
-                               deployedSlc.getClasspath());\r
-               vmConfig.setVMArguments(getVmArguments(deployedSlc));\r
-               vmConfig.setWorkingDirectory(file.getLocation().toFile().getParent());\r
-               vmConfig.setProgramArguments(getProgramArguments(deployedSlc, file,\r
-                               mode, configuration));\r
-               return vmConfig;\r
-       }\r
-\r
-       protected String[] getVmArguments(SlcSystem deployedSlc) {\r
-               List<String> list = new Vector<String>();\r
-               if (deployedSlc.getJavaLibraryPath() != null)\r
-                       list.add("-Djava.library.path=" + deployedSlc.getJavaLibraryPath());\r
-               return list.toArray(new String[list.size()]);\r
-       }\r
-\r
-       protected String[] getProgramArguments(SlcSystem deployedSlc, IFile file,\r
-                       String mode, ILaunchConfiguration configuration)\r
-                       throws CoreException {\r
-               List<String> list = new Vector<String>();\r
-\r
-               list.add("--mode");\r
-               list.add("single");\r
-\r
-               // Script\r
-               list.add("--script");\r
-               list.add(file.getLocation().toFile().getAbsolutePath());\r
-\r
-               // Runtime\r
-               String runtime = configuration.getAttribute(\r
-                               SlcScriptUtils.ATTR_RUNTIME, "");\r
-               if (!runtime.equals("")) {\r
-                       list.add("--runtime");\r
-                       list.add(runtime);\r
-               }\r
-\r
-               // Targets\r
-               String targets = configuration.getAttribute(\r
-                               SlcScriptUtils.ATTR_TARGETS, "");\r
-               if (!targets.equals("")) {\r
-                       list.add("--targets");\r
-                       list.add(targets);\r
-               }\r
-\r
-               // Properties\r
-               Properties properties = new Properties();\r
-               String str = configuration.getAttribute(SlcScriptUtils.ATTR_PROPERTIES,\r
-                               "");\r
-               ByteArrayInputStream in = new ByteArrayInputStream(str.getBytes());\r
-               try {\r
-                       properties.load(in);\r
-               } catch (IOException e) {\r
-                       throw new RuntimeException("Cannot read properties", e);\r
-               } finally {\r
-                       if (in != null)\r
-                               try {\r
-                                       in.close();\r
-                               } catch (IOException e) {\r
-                                       // silent\r
-                               }\r
-               }\r
-\r
-               for (Object key : properties.keySet()) {\r
-                       list.add("-p");\r
-                       StringBuffer buf = new StringBuffer("");\r
-                       buf.append(key).append('=').append(properties.get(key));\r
-                       list.add(buf.toString());\r
-               }\r
-\r
-               // Debug mode\r
-               if (mode.equals(ILaunchManager.DEBUG_MODE)) {\r
-                       list.add("--property");\r
-                       list.add("log4j.logger.org.argeo.slc=DEBUG");\r
-               }\r
-               return list.toArray(new String[list.size()]);\r
-       }\r
-\r
-       // Pre SLC v0.9.3\r
-       protected VMRunnerConfiguration createPre093Config(SlcSystem deployedSlc,\r
-                       IFile file, String mode) throws CoreException {\r
-               VMRunnerConfiguration vmConfig = new VMRunnerConfiguration(ANT_MAIN,\r
-                               deployedSlc.getClasspath());\r
-               vmConfig.setVMArguments(getPre093VmArguments(deployedSlc));\r
-               vmConfig.setWorkingDirectory(file.getLocation().toFile().getParent());\r
-               vmConfig.setProgramArguments(getPre093ProgramArguments(deployedSlc,\r
-                               file, mode));\r
-               return vmConfig;\r
-       }\r
-\r
-       protected String[] getPre093VmArguments(SlcSystem deployedSlc) {\r
-               List<String> list = new Vector<String>();\r
-               // list.add("-Dant.home=" + deployedSlc.getAntHome());\r
-               if (deployedSlc.getJavaLibraryPath() != null)\r
-                       list.add("-Djava.library.path=" + deployedSlc.getJavaLibraryPath());\r
-               return list.toArray(new String[list.size()]);\r
-       }\r
-\r
-       protected String[] getPre093ProgramArguments(SlcSystem deployedSlc,\r
-                       IFile file, String mode) {\r
-               List<String> list = new Vector<String>();\r
-               list.add("-f");\r
-               list.add(file.getLocation().toFile().getAbsolutePath());\r
-               if (mode.equals(ILaunchManager.DEBUG_MODE)) {\r
-                       list.add("-d");\r
-               }\r
-               return list.toArray(new String[list.size()]);\r
-       }\r
-\r
-       // Utilities\r
-       private static void showError(String message) {\r
-               Shell shell = SlcIdeUiPlugin.getDefault().getWorkbench()\r
-                               .getActiveWorkbenchWindow().getShell();\r
-\r
-               IStatus status = new Status(IStatus.ERROR, SlcIdeUiPlugin.ID,\r
-                               message);\r
-               ErrorDialog.openError(shell, "Error", "Cannot launch SLC script",\r
-                               status);\r
-       }\r
-\r
-}\r
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchShortcut.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchShortcut.java
deleted file mode 100644 (file)
index dfb0044..0000000
+++ /dev/null
@@ -1,127 +0,0 @@
-package org.argeo.slc.ide.ui.launch.script;\r
-\r
-import org.argeo.slc.ide.ui.SlcIdeUiPlugin;\r
-import org.eclipse.core.resources.IFile;\r
-import org.eclipse.core.runtime.CoreException;\r
-import org.eclipse.core.runtime.IPath;\r
-import org.eclipse.core.runtime.IStatus;\r
-import org.eclipse.core.runtime.Status;\r
-import org.eclipse.debug.core.DebugPlugin;\r
-import org.eclipse.debug.core.ILaunchConfiguration;\r
-import org.eclipse.debug.core.ILaunchConfigurationType;\r
-import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;\r
-import org.eclipse.debug.core.ILaunchManager;\r
-import org.eclipse.debug.ui.DebugUITools;\r
-import org.eclipse.debug.ui.IDebugUIConstants;\r
-import org.eclipse.debug.ui.ILaunchShortcut;\r
-import org.eclipse.jface.dialogs.ErrorDialog;\r
-import org.eclipse.jface.viewers.ISelection;\r
-import org.eclipse.jface.viewers.IStructuredSelection;\r
-import org.eclipse.swt.widgets.Shell;\r
-import org.eclipse.ui.IEditorPart;\r
-\r
-public class SlcScriptLaunchShortcut implements ILaunchShortcut {\r
-       private boolean showDialog = false;\r
-\r
-       public void launch(ISelection selection, String mode) {\r
-               try {\r
-                       if (!(selection instanceof IStructuredSelection)) {\r
-                               throw new RuntimeException("Unknown selection "\r
-                                               + selection.getClass());\r
-                       }\r
-                       IStructuredSelection sSelection = (IStructuredSelection) selection;\r
-                       if (sSelection.size() != 1) {\r
-                               throw new RuntimeException("Can only launch one SLC script.");\r
-                       }\r
-                       Object obj = sSelection.iterator().next();\r
-                       if (!(obj instanceof IFile)) {\r
-                               throw new RuntimeException("Can only launch files.");\r
-                       }\r
-                       IFile file = ((IFile) obj);\r
-\r
-                       ILaunchManager manager = DebugPlugin.getDefault()\r
-                                       .getLaunchManager();\r
-                       ILaunchConfigurationType type = manager\r
-                                       .getLaunchConfigurationType(SlcScriptLaunchDelegate.ID);\r
-\r
-                       // Find or create config\r
-                       String configLocation = SlcScriptUtils\r
-                                       .convertToWorkspaceLocation(file);\r
-                       ILaunchConfiguration config = findLaunchConfiguration(\r
-                                       configLocation, manager.getLaunchConfigurations(type));\r
-                       if (config == null) {\r
-                               ILaunchConfigurationWorkingCopy wc = type.newInstance(null,\r
-                                               generateName(file));\r
-                               wc.setAttribute(SlcScriptUtils.ATTR_SCRIPT, configLocation);\r
-                               wc.setMappedResources(new IFile[] { file });\r
-                               config = wc.doSave();\r
-                       }\r
-\r
-                       // Launch\r
-                       launch(config, mode);\r
-               } catch (CoreException e) {\r
-                       Shell shell = SlcIdeUiPlugin.getDefault().getWorkbench()\r
-                                       .getActiveWorkbenchWindow().getShell();\r
-                       ErrorDialog.openError(shell, "Error",\r
-                                       "Cannot execute SLC launch shortcut", e.getStatus());\r
-               }\r
-\r
-       }\r
-\r
-       protected String generateName(IFile file) {\r
-               IPath relativePath = file.getProjectRelativePath();\r
-               String name = relativePath.toString();\r
-               int idx = name.lastIndexOf(".xml");\r
-               if (idx > 0)\r
-                       name = name.substring(0, idx);\r
-\r
-               if (name.startsWith("src/main/slc/root/"))\r
-                       name = name.substring("src/main/slc/root/".length());\r
-               else if (name.startsWith("src/main/slc/"))\r
-                       name = name.substring("src/main/slc/".length());\r
-\r
-               name = name.replace('/', '.');// otherwise not properly saved\r
-               return name;\r
-       }\r
-\r
-       protected ILaunchConfiguration findLaunchConfiguration(\r
-                       String configLocation, ILaunchConfiguration[] configs)\r
-                       throws CoreException {\r
-               for (ILaunchConfiguration config : configs) {\r
-                       String loc = config.getAttribute(SlcScriptUtils.ATTR_SCRIPT, "");\r
-                       if (loc.equals(configLocation)) {\r
-                               return config;\r
-                       }\r
-               }\r
-               return null;\r
-       }\r
-\r
-       protected void launch(ILaunchConfiguration configuration, String mode)\r
-                       throws CoreException {\r
-               if (showDialog) {\r
-                       IStatus status = new Status(IStatus.INFO, SlcIdeUiPlugin.ID,\r
-                                       "Configure SLC Launch");\r
-                       String groupId;\r
-                       if (mode.equals(ILaunchManager.DEBUG_MODE)) {\r
-                               groupId = IDebugUIConstants.ID_DEBUG_LAUNCH_GROUP;\r
-                       } else {\r
-                               groupId = IDebugUIConstants.ID_RUN_LAUNCH_GROUP;\r
-                       }\r
-                       DebugUITools.openLaunchConfigurationDialog(SlcIdeUiPlugin\r
-                                       .getDefault().getWorkbench().getActiveWorkbenchWindow()\r
-                                       .getShell(), configuration, groupId, status);\r
-               } else {\r
-                       DebugUITools.launch(configuration, mode);\r
-               }\r
-\r
-       }\r
-\r
-       public void launch(IEditorPart editor, String mode) {\r
-               // not (yet) implemented\r
-       }\r
-\r
-       public void setShowDialog(boolean showDialog) {\r
-               this.showDialog = showDialog;\r
-       }\r
-\r
-}\r
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchShortcutWithDialog.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptLaunchShortcutWithDialog.java
deleted file mode 100644 (file)
index 9e8dd3e..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-package org.argeo.slc.ide.ui.launch.script;\r
-\r
-\r
-public class SlcScriptLaunchShortcutWithDialog extends SlcScriptLaunchShortcut {\r
-\r
-       public SlcScriptLaunchShortcutWithDialog() {\r
-               super();\r
-               setShowDialog(true);\r
-       }\r
-\r
-}\r
diff --git a/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptUtils.java b/plugins/org.argeo.slc.ide.ui/src/main/java/org/argeo/slc/ide/ui/launch/script/SlcScriptUtils.java
deleted file mode 100644 (file)
index 9a5bc42..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-package org.argeo.slc.ide.ui.launch.script;
-
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.variables.VariablesPlugin;
-
-public class SlcScriptUtils {
-
-       public final static String ATTR_SCRIPT = "script";
-       public final static String ATTR_PROPERTIES = "properties";
-       public final static String ATTR_RUNTIME = "runtime";
-       public final static String ATTR_TARGETS = "targets";
-       public final static String ATTR_PRE093 = "pre093";
-
-       public static String convertToWorkspaceLocation(IResource resource) {
-               return VariablesPlugin.getDefault().getStringVariableManager()
-                               .generateVariableExpression("workspace_loc",
-                                               resource.getFullPath().toString());
-       }
-
-       private SlcScriptUtils() {
-
-       }
-}
diff --git a/plugins/org.argeo.slc.ide.ui/targets/managedTarget.target b/plugins/org.argeo.slc.ide.ui/targets/managedTarget.target
deleted file mode 100644 (file)
index c9183da..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<?pde version="3.6"?>
-
-<target name="Managed Target">
-<locations>
-<location path="${workspace_loc}/targets/managed" type="Directory"/>
-</locations>
-</target>