OW2 Consortium
Search OW2 Mail Archive: 

Advanced Search - Powered by Google


Mail Archive Home | fractal-commits List | July 2008 Index

<--  Date Index  --> <--  Thread Index  -->

[fractal-commits] [8326] trunk/fractal-bf/examples: activate complex example, using userdefined datatypes.


Title: [8326] trunk/fractal-bf/examples: activate complex example, using userdefined datatypes.
Revision
8326
Author
ervalerio
Date
2008-07-27 09:24:52 +0200 (Sun, 27 Jul 2008)

Log Message

activate complex example, using userdefined datatypes.
re-order module declaration;
cleanup poms

Modified Paths

Diff

Modified: trunk/fractal-bf/examples/complex/pom.xml (8325 => 8326)


--- trunk/fractal-bf/examples/complex/pom.xml	2008-07-27 07:16:59 UTC (rev 8325)
+++ trunk/fractal-bf/examples/complex/pom.xml	2008-07-27 07:24:52 UTC (rev 8326)
@@ -1,12 +1,11 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
-	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
 	<modelVersion>4.0.0</modelVersion>
 	<parent>
 		<groupId>org.objectweb.fractal.bf.examples</groupId>
 		<artifactId>fractal-bf-examples-parent</artifactId>
-		<version>0.2-SNAPSHOT</version>
+		<version>0.4-SNAPSHOT</version>
 	</parent>
 	<artifactId>fractal-bf-examples-complex</artifactId>
 	<name>Fractal-BF: HelloWorld with complex datatypes</name>
@@ -21,25 +20,17 @@
 			<artifactId>fractal-bf-core</artifactId>
 			<version>${project.version}</version>
 		</dependency>
-
 		<dependency>
 			<groupId>org.objectweb.fractal.bf.connectors</groupId>
 			<artifactId>fractal-bf-connectors-soap-cxf</artifactId>
 			<version>${project.version}</version>
 		</dependency>
-		
 	</dependencies>
-
 	<properties>
-		<server.adl>
-			org.objectweb.fractal.bf.ComplexService
-		</server.adl>
-		<client.adl>
-			org.objectweb.fractal.bf.ComplexClient
-		</client.adl>
+		<server.adl> org.objectweb.fractal.bf.ComplexService </server.adl>
+		<client.adl> org.objectweb.fractal.bf.ComplexClient </client.adl>
 		<fractaladl.itf>r</fractaladl.itf>
 	</properties>
-
 	<build>
 		<plugins>
 			<plugin>
@@ -51,9 +42,7 @@
 				</configuration>
 			</plugin>
 		</plugins>
-
 	</build>
-
 	<profiles>
 		<profile>
 			<id>run.server</id>
@@ -72,79 +61,56 @@
 							</execution>
 						</executions>
 						<configuration>
-							<mainClass>
-								org.objectweb.fractal.adl.Launcher
-							</mainClass>
+							<mainClass> org.objectweb.fractal.adl.Launcher </mainClass>
 							<arguments>
-								<argument>
-									-fractal.provider=org.objectweb.fractal.julia.Julia
+								<argument> -fractal.provider=org.objectweb.fractal.julia.Julia 
 								</argument>
 								<argument>
-									-fractaladl.backend=org.objectweb.fractal.bf.adl.MyFractalBackend
+									-fractaladl.backend=org.objectweb.fractal.bf.adl.MyFractalBackend 
 								</argument>
 								<argument>
-									-fractaladl.factory=org.objectweb.fractal.bf.adl.MyBasicFactory
+									-fractaladl.factory=org.objectweb.fractal.bf.adl.MyBasicFactory 
 								</argument>
-								<argument>
-									-fractaladl.definition=${server.adl}WS
-								</argument>
-								<argument>
-									-fractaladl.itf=${fractaladl.itf}
-								</argument>
+								<argument> -fractaladl.definition=${server.adl}WS </argument>
+								<argument> -fractaladl.itf=${fractaladl.itf} </argument>
 							</arguments>
 							<systemProperties>
 								<systemProperty>
 									<key>fractal.provider</key>
-									<value>
-										org.objectweb.fractal.julia.Julia
-									</value>
+									<value> org.objectweb.fractal.julia.Julia </value>
 								</systemProperty>
 							</systemProperties>
 							<!-- the project does not include Fractal ADL and Julia -->
-							<includePluginDependencies>
-								true
-							</includePluginDependencies>
+							<includePluginDependencies> true </includePluginDependencies>
 						</configuration>
 						<dependencies>
 							<dependency>
-								<groupId>
-									org.objectweb.fractal.fractaladl
-								</groupId>
+								<groupId> org.objectweb.fractal.fractaladl </groupId>
 								<artifactId>fractal-adl</artifactId>
 								<version>2.2</version>
 							</dependency>
 							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
+								<groupId> org.objectweb.fractal.julia </groupId>
 								<artifactId>julia-runtime</artifactId>
 								<version>2.5.2</version>
 							</dependency>
 							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
+								<groupId> org.objectweb.fractal.julia </groupId>
 								<artifactId>julia-asm</artifactId>
 								<version>2.5.2</version>
 							</dependency>
 							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
+								<groupId> org.objectweb.fractal.julia </groupId>
 								<artifactId>julia-mixins</artifactId>
 								<version>2.5.2</version>
 							</dependency>
 							<dependency>
-								<groupId>
-									org.objectweb.fractal.bf
-								</groupId>
+								<groupId> org.objectweb.fractal.bf </groupId>
 								<artifactId>fractal-bf-adl</artifactId>
 								<version>${project.version}</version>
 							</dependency>
 							<dependency>
-								<groupId>
-									org.objectweb.fractal.bf.connectors
-								</groupId>
+								<groupId> org.objectweb.fractal.bf.connectors </groupId>
 								<artifactId>fractal-bf-connectors-soap-cxf</artifactId>
 								<version>${project.version}</version>
 							</dependency>
@@ -152,116 +118,8 @@
 					</plugin>
 				</plugins>
 			</build>
-
 		</profile>
-
 		<profile>
-			<id>run.server-tcp</id>
-			<build>
-				<defaultGoal>compile</defaultGoal>
-				<plugins>
-					<plugin>
-						<groupId>org.codehaus.mojo</groupId>
-						<artifactId>exec-maven-plugin</artifactId>
-						<executions>
-							<execution>
-								<goals>
-									<goal>java</goal>
-								</goals>
-								<phase>compile</phase>
-							</execution>
-						</executions>
-						<configuration>
-							<mainClass>
-								org.objectweb.fractal.adl.Launcher
-							</mainClass>
-							<arguments>
-								<argument>
-									-fractal.provider=org.objectweb.fractal.julia.Julia
-								</argument>
-								<argument>
-									-fractaladl.backend=org.objectweb.fractal.bf.adl.MyFractalBackend
-								</argument>
-								<argument>
-									-fractaladl.factory=org.objectweb.fractal.bf.adl.MyBasicFactory
-								</argument>
-								<argument>
-									-fractaladl.definition=${server.adl}TCP
-								</argument>
-								<argument>
-									-fractaladl.itf=${fractaladl.itf}
-								</argument>
-							</arguments>
-							<systemProperties>
-								<systemProperty>
-									<key>fractal.provider</key>
-									<value>
-										org.objectweb.fractal.julia.Julia
-									</value>
-								</systemProperty>
-								<systemProperty>
-									<key>julia.config</key>
-									<value>
-										julia-dream-bf.cfg,julia-dream-activities.cfg
-									</value>
-								</systemProperty>
-							</systemProperties>
-							<!-- the project does not include Fractal ADL and Julia -->
-							<includePluginDependencies>
-								true
-							</includePluginDependencies>
-						</configuration>
-						<dependencies>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.fractaladl
-								</groupId>
-								<artifactId>fractal-adl</artifactId>
-								<version>2.2</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
-								<artifactId>julia-runtime</artifactId>
-								<version>2.5.2</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
-								<artifactId>julia-asm</artifactId>
-								<version>2.5.2</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
-								<artifactId>julia-mixins</artifactId>
-								<version>2.5.2</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.bf
-								</groupId>
-								<artifactId>adl</artifactId>
-								<version>0.1-SNAPSHOT</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.bf.connectors
-								</groupId>
-								<artifactId>tcp-dream</artifactId>
-								<version>${project.version}</version>
-							</dependency>
-						</dependencies>
-					</plugin>
-				</plugins>
-			</build>
-
-		</profile>
-
-		<profile>
 			<id>run.client</id>
 			<build>
 				<defaultGoal>compile</defaultGoal>
@@ -278,291 +136,65 @@
 							</execution>
 						</executions>
 						<configuration>
-							<mainClass>
-								org.objectweb.fractal.adl.Launcher
-							</mainClass>
+							<mainClass> org.objectweb.fractal.adl.Launcher </mainClass>
 							<arguments>
-								<argument>
-									-fractal.provider=org.objectweb.fractal.julia.Julia
+								<argument> -fractal.provider=org.objectweb.fractal.julia.Julia 
 								</argument>
 								<argument>
-									-fractaladl.backend=org.objectweb.fractal.bf.adl.MyFractalBackend
+									-fractaladl.backend=org.objectweb.fractal.bf.adl.MyFractalBackend 
 								</argument>
 								<argument>
-									-fractaladl.factory=org.objectweb.fractal.bf.adl.MyBasicFactory
+									-fractaladl.factory=org.objectweb.fractal.bf.adl.MyBasicFactory 
 								</argument>
-								<argument>
-									-fractaladl.definition=${client.adl}WS
-								</argument>
-								<argument>
-									-fractaladl.itf=${fractaladl.itf}
-								</argument>
+								<argument> -fractaladl.definition=${client.adl}WS </argument>
+								<argument> -fractaladl.itf=${fractaladl.itf} </argument>
 							</arguments>
 							<systemProperties>
 								<systemProperty>
 									<key>fractal.provider</key>
-									<value>
-										org.objectweb.fractal.julia.Julia
-									</value>
+									<value> org.objectweb.fractal.julia.Julia </value>
 								</systemProperty>
 							</systemProperties>
 							<!-- the project does not include Fractal ADL and Julia -->
-							<includePluginDependencies>
-								true
-							</includePluginDependencies>
+							<includePluginDependencies> true </includePluginDependencies>
 						</configuration>
 						<dependencies>
 							<dependency>
-								<groupId>
-									org.objectweb.fractal.fractaladl
-								</groupId>
+								<groupId> org.objectweb.fractal.fractaladl </groupId>
 								<artifactId>fractal-adl</artifactId>
 								<version>2.2</version>
 							</dependency>
 							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
+								<groupId> org.objectweb.fractal.julia </groupId>
 								<artifactId>julia-runtime</artifactId>
 								<version>2.5.2</version>
 							</dependency>
 							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
+								<groupId> org.objectweb.fractal.julia </groupId>
 								<artifactId>julia-asm</artifactId>
 								<version>2.5.2</version>
 							</dependency>
 							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
+								<groupId> org.objectweb.fractal.julia </groupId>
 								<artifactId>julia-mixins</artifactId>
 								<version>2.5.2</version>
 							</dependency>
 							<dependency>
-								<groupId>
-									org.objectweb.fractal.bf
-								</groupId>
-								<artifactId>adl</artifactId>
-								<version>0.1-SNAPSHOT</version>
-							</dependency>
-						</dependencies>
-					</plugin>
-				</plugins>
-			</build>
-
-		</profile>
-
-		<profile>
-			<id>run.client-tcp</id>
-			<build>
-				<defaultGoal>compile</defaultGoal>
-				<plugins>
-					<plugin>
-						<groupId>org.codehaus.mojo</groupId>
-						<artifactId>exec-maven-plugin</artifactId>
-						<executions>
-							<execution>
-								<goals>
-									<goal>java</goal>
-								</goals>
-								<phase>compile</phase>
-							</execution>
-						</executions>
-						<configuration>
-							<mainClass>
-								org.objectweb.fractal.adl.Launcher
-							</mainClass>
-							<arguments>
-								<argument>
-									-fractal.provider=org.objectweb.fractal.julia.Julia
-								</argument>
-								<argument>
-									-fractaladl.backend=org.objectweb.fractal.bf.adl.MyFractalBackend
-								</argument>
-								<argument>
-									-fractaladl.factory=org.objectweb.fractal.bf.adl.MyBasicFactory
-								</argument>
-								<argument>
-									-fractaladl.definition=${client.adl}TCP
-								</argument>
-								<argument>
-									-fractaladl.itf=${fractaladl.itf}
-								</argument>
-							</arguments>
-							<systemProperties>
-								<systemProperty>
-									<key>fractal.provider</key>
-									<value>
-										org.objectweb.fractal.julia.Julia
-									</value>
-								</systemProperty>
-								<systemProperty>
-									<key>julia.config</key>
-									<value>
-										julia-dream-bf.cfg,julia-dream-activities.cfg
-									</value>
-								</systemProperty>
-							</systemProperties>
-							<!-- the project does not include Fractal ADL and Julia -->
-							<includePluginDependencies>
-								true
-							</includePluginDependencies>
-						</configuration>
-						<dependencies>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.fractaladl
-								</groupId>
-								<artifactId>fractal-adl</artifactId>
-								<version>2.2</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
-								<artifactId>julia-runtime</artifactId>
-								<version>2.5.2</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
-								<artifactId>julia-asm</artifactId>
-								<version>2.5.2</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
-								<artifactId>julia-mixins</artifactId>
-								<version>2.5.2</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.bf
-								</groupId>
-								<artifactId>adl</artifactId>
+								<groupId> org.objectweb.fractal.bf</groupId>
+								<artifactId>fractal-bf-adl</artifactId>
 								<version>${project.version}</version>
 							</dependency>
 							<dependency>
-								<groupId>
-									org.objectweb.fractal.bf.connectors
-								</groupId>
-								<artifactId>tcp-dream</artifactId>
+								<groupId> org.objectweb.fractal.bf.connectors </groupId>
+								<artifactId>fractal-bf-connectors-soap-cxf</artifactId>
 								<version>${project.version}</version>
 							</dependency>
 						</dependencies>
 					</plugin>
 				</plugins>
 			</build>
-
 		</profile>
-
-
-
-		<profile>
-			<id>juliac.compile</id>
-
-			<build>
-				<defaultGoal>compile</defaultGoal>
-				<plugins>
-					<!-- ==================================== -->
-					<!-- Generate and compile the application -->
-					<!-- ==================================== -->
-					<plugin>
-						<groupId>
-							org.objectweb.fractal.fractaladl.juliac.plugin
-						</groupId>
-						<artifactId>maven-juliac-plugin</artifactId>
-						<version>1.2</version>
-						<executions>
-							<execution>
-								<id>juliac-compile</id>
-								<phase>generate-sources</phase>
-								<goals>
-									<goal>compile</goal>
-								</goals>
-							</execution>
-						</executions>
-						<configuration>
-							<opt>OO</opt>
-							<srcs>src/main/java</srcs>
-							<mixins>
-								org.objectweb.fractal.julia:julia-mixins:2.5.2:sources
-							</mixins>
-							<types>
-								${client.adl}WS ${server.adl}WS
-							</types>
-							<sysargs>
-								fractaladl.backend=org.objectweb.fractal.bf.adl.MyStaticFractalBackend
-							</sysargs>
-							<verbose>true</verbose>
-						</configuration>
-						<dependencies>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.fractaladl
-								</groupId>
-								<artifactId>fractal-adl</artifactId>
-								<version>2.2</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
-								<artifactId>julia-runtime</artifactId>
-								<version>2.5.2</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
-								<artifactId>julia-asm</artifactId>
-								<version>2.5.2</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.julia
-								</groupId>
-								<artifactId>julia-mixins</artifactId>
-								<version>2.5.2</version>
-							</dependency>
-							<dependency>
-								<groupId>
-									org.objectweb.fractal.bf
-								</groupId>
-								<artifactId>adl</artifactId>
-								<version>0.1-SNAPSHOT</version>
-							</dependency>
-						</dependencies>
-					</plugin>
-				</plugins>
-
-			</build>
-			<dependencies>
-
-				<dependency><!-- Needed in all cases -->
-					<groupId>
-						org.objectweb.fractal.fractaladl.juliac
-					</groupId>
-					<artifactId>runtime</artifactId>
-					<version>1.2</version>
-				</dependency>
-				<dependency><!-- Artifact specified in the <mixins> tag -->
-					<groupId>org.objectweb.fractal.julia</groupId>
-					<artifactId>julia-mixins</artifactId>
-					<version>2.5.2</version>
-					<classifier>sources</classifier>
-				</dependency>
-
-			</dependencies>
-
-		</profile>
-
 	</profiles>
-
 	<distributionManagement>
 		<site>
 			<id>${server.id}</id>
@@ -573,4 +205,4 @@
 		<connection>${scm.connection}/examples/complex</connection>
 		<url>${scm.url}/examples/complex</url>
 	</scm>
-</project>
+</project>
\ No newline at end of file

Modified: trunk/fractal-bf/examples/helloworld-rmi-nonremote/pom.xml (8325 => 8326)


--- trunk/fractal-bf/examples/helloworld-rmi-nonremote/pom.xml	2008-07-27 07:16:59 UTC (rev 8325)
+++ trunk/fractal-bf/examples/helloworld-rmi-nonremote/pom.xml	2008-07-27 07:24:52 UTC (rev 8326)
@@ -12,8 +12,7 @@
 	</groupId>
 	<artifactId>fractal-bf-examples-helloworld-rmi-nonremote
 	</artifactId>
-	<name>Fractal-BF: HelloWorld-RMI without remote interfaces
-	</name>
+	<name>Fractal-BF: HelloWorld RMI without remote interfaces</name>
 	<version>0.4-SNAPSHOT</version>
 	<properties>
 		<server.adl>org.objectweb.fractal.bf.Service

Modified: trunk/fractal-bf/examples/pom.xml (8325 => 8326)


--- trunk/fractal-bf/examples/pom.xml	2008-07-27 07:16:59 UTC (rev 8325)
+++ trunk/fractal-bf/examples/pom.xml	2008-07-27 07:24:52 UTC (rev 8326)
@@ -1,35 +1,32 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-    <parent>
-        <groupId>org.objectweb.fractal.bf</groupId>
-        <artifactId>fractal-bf-parent</artifactId>
-        <version>0.4-SNAPSHOT</version>
-    </parent>
-    <groupId>org.objectweb.fractal.bf.examples</groupId>
-    <artifactId>fractal-bf-examples-parent</artifactId>
-    <packaging>pom</packaging>
-    <description>
-        Parent module for Fractal-BF examples
-    </description>
-    <name>Fractal-BF: Examples parent module</name>
-    <modules>
-    <module>helloworld</module>
-    <module>meteo</module>
-    <module>helloworld-rmi-nonremote</module>
-    <module>helloworld-koch</module>
-  </modules>
-
-    <distributionManagement>
-        <site>
-            <id>${server.id}</id>
-            <url>
-                ${distribution.url}/examples
-            </url>
-        </site>
-    </distributionManagement>
-    <scm>
-        <connection>scm:svn:svn://svn.forge.objectweb.org/svnroot/fractal/trunk/fractal-bf//examples</connection>
-        <url>http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/fractal/trunk/fractal-bf//examples</url>
-    </scm>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+	<modelVersion>4.0.0</modelVersion>
+	<parent>
+		<groupId>org.objectweb.fractal.bf</groupId>
+		<artifactId>fractal-bf-parent</artifactId>
+		<version>0.4-SNAPSHOT</version>
+	</parent>
+	<groupId>org.objectweb.fractal.bf.examples</groupId>
+	<artifactId>fractal-bf-examples-parent</artifactId>
+	<packaging>pom</packaging>
+	<description> Parent module for Fractal-BF examples </description>
+	<name>Fractal-BF: Examples parent module</name>
+	<modules>
+		<module>helloworld</module>
+		<module>complex</module>
+		<module>helloworld-rmi-nonremote</module>
+		<module>helloworld-koch</module>
+		<module>meteo</module>
+	</modules>
+	<distributionManagement>
+		<site>
+			<id>${server.id}</id>
+			<url> ${distribution.url}/examples</url>
+		</site>
+	</distributionManagement>
+	<scm>
+		<connection>scm:svn:svn://svn.forge.objectweb.org/svnroot/fractal/trunk/fractal-bf//examples</connection>
+		<url>http://svn.forge.objectweb.org/cgi-bin/viewcvs.cgi/fractal/trunk/fractal-bf//examples</url>
+	</scm>
 </project>
\ No newline at end of file


<--  Date Index  --> <--  Thread Index  -->

Reply via email to:

Powered by MHonArc.

Copyright © 2006-2007, OW2 Consortium | contact | webmaster.