[savara-commits] savara SVN: r607 - in branches/experimental/2.0.x: bundles/org.savara.protocol/META-INF and 6 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Jan 21 18:20:41 EST 2011


Author: objectiser
Date: 2011-01-21 18:20:40 -0500 (Fri, 21 Jan 2011)
New Revision: 607

Added:
   branches/experimental/2.0.x/bundles/org.savara.protocol/src/main/java/org/savara/protocol/parser/
   branches/experimental/2.0.x/bundles/org.savara.protocol/src/main/java/org/savara/protocol/parser/AnnotationProcessor.java
Modified:
   branches/experimental/2.0.x/bundles/org.savara.protocol/META-INF/MANIFEST.MF
   branches/experimental/2.0.x/bundles/org.savara.protocol/pom.xml
   branches/experimental/2.0.x/tools/features/org.jboss.savara.tools.feature/
   branches/experimental/2.0.x/tools/features/org.savara.tools.feature/
   branches/experimental/2.0.x/tools/plugins/org.savara.tools.bpel/
   branches/experimental/2.0.x/tools/plugins/org.savara.tools.bpel/META-INF/MANIFEST.MF
Log:
Started localising the parsing and generation tests to the specific plugins. The current results for the protocol don't include the necessary annotations to carry the additional information.

Modified: branches/experimental/2.0.x/bundles/org.savara.protocol/META-INF/MANIFEST.MF
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.protocol/META-INF/MANIFEST.MF	2011-01-21 23:19:25 UTC (rev 606)
+++ branches/experimental/2.0.x/bundles/org.savara.protocol/META-INF/MANIFEST.MF	2011-01-21 23:20:40 UTC (rev 607)
@@ -9,7 +9,8 @@
 Import-Package: org.osgi.framework;version="1.3.0"
 Require-Bundle: org.scribble.common,
  org.scribble.protocol,
- org.savara.common
+ org.savara.common,
+ org.scribble.protocol.parser
 Export-Package: org.savara.protocol.model.annotation,
  org.savara.protocol.model.change,
  org.savara.protocol.model.util

Modified: branches/experimental/2.0.x/bundles/org.savara.protocol/pom.xml
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.protocol/pom.xml	2011-01-21 23:19:25 UTC (rev 606)
+++ branches/experimental/2.0.x/bundles/org.savara.protocol/pom.xml	2011-01-21 23:20:40 UTC (rev 607)
@@ -25,6 +25,11 @@
 			<version>${scribble.version}</version>
 		</dependency>
 		<dependency>
+			<groupId>org.scribble.bundles</groupId>
+			<artifactId>org.scribble.protocol.parser</artifactId>
+			<version>${scribble.version}</version>
+		</dependency>
+		<dependency>
 			<groupId>org.savara.bundles</groupId>
 			<artifactId>org.savara.common</artifactId>
 			<version>${savara.version}</version>

Added: branches/experimental/2.0.x/bundles/org.savara.protocol/src/main/java/org/savara/protocol/parser/AnnotationProcessor.java
===================================================================
--- branches/experimental/2.0.x/bundles/org.savara.protocol/src/main/java/org/savara/protocol/parser/AnnotationProcessor.java	                        (rev 0)
+++ branches/experimental/2.0.x/bundles/org.savara.protocol/src/main/java/org/savara/protocol/parser/AnnotationProcessor.java	2011-01-21 23:20:40 UTC (rev 607)
@@ -0,0 +1,30 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2008-11, Red Hat Middleware LLC, and others contributors as indicated
+ * by the @authors tag. All rights reserved.
+ * See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU Lesser General Public License, v. 2.1.
+ * This program is distributed in the hope that it will be useful, but WITHOUT A
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+ * PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more details.
+ * You should have received a copy of the GNU Lesser General Public License,
+ * v.2.1 along with this distribution; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA  02110-1301, USA.
+ */
+package org.savara.protocol.parser;
+
+import org.scribble.common.logging.Journal;
+import org.scribble.protocol.model.ModelObject;
+
+public class AnnotationProcessor implements org.scribble.protocol.parser.antlr.AnnotationProcessor {
+
+	public void process(String annotation, ModelObject modelObject,
+							Journal journal) {
+		System.out.println("ANNOTATION="+annotation+" MO="+modelObject);
+	}
+
+}


Property changes on: branches/experimental/2.0.x/tools/features/org.jboss.savara.tools.feature
___________________________________________________________________
Name: svn:ignore
   - target

   + target
.classpath
.project



Property changes on: branches/experimental/2.0.x/tools/features/org.savara.tools.feature
___________________________________________________________________
Name: svn:ignore
   - target

   + target
.classpath
.project



Property changes on: branches/experimental/2.0.x/tools/plugins/org.savara.tools.bpel
___________________________________________________________________
Name: svn:ignore
   - bin
.settings
target

   + bin
.settings
target
.classpath
.project


Modified: branches/experimental/2.0.x/tools/plugins/org.savara.tools.bpel/META-INF/MANIFEST.MF
===================================================================
--- branches/experimental/2.0.x/tools/plugins/org.savara.tools.bpel/META-INF/MANIFEST.MF	2011-01-21 23:19:25 UTC (rev 606)
+++ branches/experimental/2.0.x/tools/plugins/org.savara.tools.bpel/META-INF/MANIFEST.MF	2011-01-21 23:20:40 UTC (rev 607)
@@ -1,8 +1,8 @@
 Manifest-Version: 1.0
 Bundle-ManifestVersion: 2
-Bundle-Name: SAVARA Tools BPEL Plug-in
+Bundle-Name: Savara::Tools::Plugins::ToolsBPEL
 Bundle-SymbolicName: org.savara.tools.bpel;singleton:=true
-Bundle-Version: 2.0.0.qualifier
+Bundle-Version: 2.0.0.SNAPSHOT
 Bundle-Activator: org.savara.tools.bpel.osgi.Activator
 Require-Bundle: org.eclipse.ui,
  org.eclipse.core.runtime,
@@ -29,3 +29,13 @@
 Bundle-RequiredExecutionEnvironment: JavaSE-1.6
 Bundle-Vendor: www.savara.org
 Scribble-Extensions: org.savara.tools.bpel.editor.BPELEditorManager
+Bundle-ClassPath: .,
+ antlr-2.7.7.jar,
+ commons-logging-1.1.1.jar,
+ activation-1.1.jar,
+ jaxb-impl-2.1.jar,
+ jaxb-api-2.1.jar,
+ stax-api-1.0-2.jar,
+ antlr-runtime-3.2.jar,
+ stringtemplate-3.2.jar,
+ wsdl4j-1.6.2.jar



More information about the savara-commits mailing list