You are viewing a plain text version of this content. The canonical link for it is here.
Posted to kato-commits@incubator.apache.org by sp...@apache.org on 2010/01/12 13:14:08 UTC
svn commit: r898313 - in /incubator/kato/trunk/org.apache.kato: kato.distro/
kato.distro/src/main/assembly/ kato.distro/src/main/services/
kato.hprof.api/src/main/resources/META-INF/services/
Author: spoole
Date: Tue Jan 12 13:14:07 2010
New Revision: 898313
URL: http://svn.apache.org/viewvc?rev=898313&view=rev
Log:
added disto support to create eclipse plugin for the non API impls in Kato.
Added:
incubator/kato/trunk/org.apache.kato/kato.distro/src/main/assembly/eclipsesupport.xml
incubator/kato/trunk/org.apache.kato/kato.distro/src/main/services/
incubator/kato/trunk/org.apache.kato/kato.distro/src/main/services/javax.tools.diagnostics.image.ImageFactory
Modified:
incubator/kato/trunk/org.apache.kato/kato.distro/pom.xml
incubator/kato/trunk/org.apache.kato/kato.hprof.api/src/main/resources/META-INF/services/javax.tools.diagnostics.image.ImageFactory
Modified: incubator/kato/trunk/org.apache.kato/kato.distro/pom.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.distro/pom.xml?rev=898313&r1=898312&r2=898313&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.distro/pom.xml (original)
+++ incubator/kato/trunk/org.apache.kato/kato.distro/pom.xml Tue Jan 12 13:14:07 2010
@@ -184,6 +184,39 @@
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
</execution>
+ <execution>
+ <phase>package</phase>
+ <id>eclipse-support</id>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <finalName>apache-kato-${project.version}</finalName>
+ <descriptors>
+ <descriptor>src/main/assembly/eclipsesupport.xml</descriptor>
+ </descriptors>
+ <archive>
+ <manifest>
+ </manifest>
+ <manifestEntries>
+ <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
+ <Bundle-Name>Apache Kato Implementations</Bundle-Name>
+ <Bundle-SymbolicName>org.apache.kato.support.plugin;singleton:=true
+ </Bundle-SymbolicName>
+ <Bundle-Version>0.0.1</Bundle-Version>
+ <Bundle-ClassPath>.</Bundle-ClassPath>
+ <Bundle-Vendor>Apache Software Foundation</Bundle-Vendor>
+ <Bundle-RequiredExecutionEnvironment>JavaSE-1.6
+ </Bundle-RequiredExecutionEnvironment>
+ <Require-Bundle>org.apache.kato.api.plugin;bundle-version="0.0.1"</Require-Bundle>
+ <Export-Package>org.apache.kato.jvmti.process,org.apache.kato.hprof.image,org.apache.kato.jdump.image</Export-Package>
+
+ </manifestEntries>
+ </archive>
+
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </execution>
</executions>
<configuration>
<finalName>apache-kato-${project.version}</finalName>
Added: incubator/kato/trunk/org.apache.kato/kato.distro/src/main/assembly/eclipsesupport.xml
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.distro/src/main/assembly/eclipsesupport.xml?rev=898313&view=auto
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.distro/src/main/assembly/eclipsesupport.xml (added)
+++ incubator/kato/trunk/org.apache.kato/kato.distro/src/main/assembly/eclipsesupport.xml Tue Jan 12 13:14:07 2010
@@ -0,0 +1,97 @@
+<?xml version="1.0"?>
+<!--
+
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); 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
+ * "AS IS" 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.
+-->
+<assembly>
+ <id>eclipse-support</id>
+ <formats>
+ <format>jar</format>
+
+ </formats>
+ <baseDirectory>/</baseDirectory>
+ <fileSets>
+
+ <!--
+ Place readme into base directory, including other docs.
+ -->
+ <fileSet>
+ <directory>src/main/readme/</directory>
+ <outputDirectory>/</outputDirectory>
+ <filtered>true</filtered>
+ </fileSet>
+
+
+
+ <!--
+ Places the disclaimer, licence and notice files
+ from the project directory into the binary base directory.
+ -->
+ <fileSet>
+ <directory>..</directory>
+ <outputDirectory>/</outputDirectory>
+ <includes>
+ <include>DISCLAIMER.txt</include>
+ <include>NOTICE</include>
+ <include>LICENSE</include>
+ </includes>
+ <fileMode>644</fileMode>
+ </fileSet>
+
+ <!-- put the combined services file into meta-inf -->
+
+ <fileSet>
+ <directory>src/main/services</directory>
+ <outputDirectory>/META-INF/services</outputDirectory>
+ <includes>
+ <include>javax.tools.diagnostics.image.ImageFactory</include>
+ </includes>
+ <fileMode>644</fileMode>
+ </fileSet>
+ </fileSets>
+
+
+
+ <dependencySets>
+ <dependencySet>
+ <outputDirectory>/</outputDirectory>
+ <excludes>
+ <exclude>kato.api*</exclude>
+ <exclude>kato.tck*</exclude>
+ <exclude>*demo*</exclude>
+ <exclude>*junit*</exclude>
+ <exclude>org.apache.kato:kato.api:jar:javadoc:*</exclude>
+ <exclude>org.apache.kato:kato.api.vm:jar:javadoc:*</exclude>
+ </excludes>
+ <unpack>true</unpack>
+ <unpackOptions>
+ <excludes>
+ <exclude>**/pom.*</exclude>
+ <exclude>**/maven/**</exclude>
+ <exclude>**/LICENCE</exclude>
+ <exclude>**/NOTICE</exclude>
+ <exclude>**/DISCLAIMER.txt</exclude>
+ <exclude>**/DISCLAIMER.txt</exclude>
+ <exclude>**/javax.tools.diagnostics.image.ImageFactory</exclude>
+ </excludes>
+ </unpackOptions>
+ <scope>runtime</scope>
+ </dependencySet>
+
+ </dependencySets>
+</assembly>
Added: incubator/kato/trunk/org.apache.kato/kato.distro/src/main/services/javax.tools.diagnostics.image.ImageFactory
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.distro/src/main/services/javax.tools.diagnostics.image.ImageFactory?rev=898313&view=auto
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.distro/src/main/services/javax.tools.diagnostics.image.ImageFactory (added)
+++ incubator/kato/trunk/org.apache.kato/kato.distro/src/main/services/javax.tools.diagnostics.image.ImageFactory Tue Jan 12 13:14:07 2010
@@ -0,0 +1,3 @@
+org.apache.kato.jvmti.process.ImageFactoryImpl
+org.apache.kato.jdump.image.ImageFactoryImpl
+org.apache.kato.hprof.image.ImageFactoryImpl
\ No newline at end of file
Modified: incubator/kato/trunk/org.apache.kato/kato.hprof.api/src/main/resources/META-INF/services/javax.tools.diagnostics.image.ImageFactory
URL: http://svn.apache.org/viewvc/incubator/kato/trunk/org.apache.kato/kato.hprof.api/src/main/resources/META-INF/services/javax.tools.diagnostics.image.ImageFactory?rev=898313&r1=898312&r2=898313&view=diff
==============================================================================
--- incubator/kato/trunk/org.apache.kato/kato.hprof.api/src/main/resources/META-INF/services/javax.tools.diagnostics.image.ImageFactory (original)
+++ incubator/kato/trunk/org.apache.kato/kato.hprof.api/src/main/resources/META-INF/services/javax.tools.diagnostics.image.ImageFactory Tue Jan 12 13:14:07 2010
@@ -1 +1 @@
-org.apache.kato.jdump.image.ImageFactoryImpl
\ No newline at end of file
+org.apache.kato.hprof.image.ImageFactoryImpl
\ No newline at end of file