Commit 9e57f592 authored by Philippe Merle's avatar Philippe Merle

Added new FraSCAti modules for each supported script language:

- frascati-implementation-script-beanshell
- frascati-implementation-script-groovy
- frascati-implementation-script-javascript
- frascati-implementation-script-jruby
- frascati-implementation-script-jython
- frascati-implementation-script-fscript
- frascati-implementation-script-xquery

parent 8187ad58
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!-- <!--
* OW2 FraSCAti Examples: Crisis BPEL * OW2 FraSCAti Examples: Crisis BPEL
* *
* Copyright (c) 2010 INRIA, University of Lille 1 * Copyright (c) 2010-2011 INRIA, University of Lille 1
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
...@@ -47,19 +47,12 @@ ...@@ -47,19 +47,12 @@
</properties> </properties>
<dependencies> <dependencies>
<!-- OW2 FraSCAti Script Implementation. --> <!-- OW2 FraSCAti Script Implementation with BeanShell. -->
<dependency> <dependency>
<groupId>org.ow2.frascati</groupId> <groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script</artifactId> <artifactId>frascati-implementation-script-beanshell</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- BeanShell Scripting Engine. -->
<dependency>
<groupId>org.beanshell</groupId>
<artifactId>bsh</artifactId>
<version>2.0b5</version>
</dependency>
</dependencies> </dependencies>
</project> </project>
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!-- <!--
* OW2 FraSCAti Examples: HelloWorld Script * OW2 FraSCAti Examples: HelloWorld Script
* *
* Copyright (c) 2009-2010 INRIA, University of Lille 1 * Copyright (c) 2009-2011 INRIA, University of Lille 1
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
...@@ -51,91 +51,53 @@ ...@@ -51,91 +51,53 @@
<repositories> <repositories>
<!-- Repository for beanshell 2.0b5 --> <!-- Repository for beanshell 2.0b5 -->
<!-- Is useful?
<repository> <repository>
<id>jboss</id> <id>jboss</id>
<name>JBoss Maven Repository</name> <name>JBoss Maven Repository</name>
<url>http://repository.jboss.com/maven2/</url> <url>http://repository.jboss.com/maven2/</url>
</repository> </repository>
</repositories> -->
</repositories>
<!-- ============= --> <!-- ============= -->
<!-- Dependencies --> <!-- Dependencies -->
<!-- ============= --> <!-- ============= -->
<dependencies> <dependencies>
<!-- OW2 FraSCAti Script Implementation. --> <!-- OW2 FraSCAti Script Implementation with BeanShell. -->
<dependency> <dependency>
<groupId>org.ow2.frascati</groupId> <groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script</artifactId> <artifactId>frascati-implementation-script-beanshell</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- BeanShell Scripting Engine. --> <!-- OW2 FraSCAti Script Implementation with Groovy. -->
<dependency> <dependency>
<groupId>org.beanshell</groupId> <groupId>org.ow2.frascati</groupId>
<artifactId>bsh</artifactId> <artifactId>frascati-implementation-script-groovy</artifactId>
<version>2.0b5</version> <version>${project.version}</version>
</dependency>
<!-- Groovy Scripting Engine. -->
<dependency>
<groupId>org.codehaus.groovy</groupId>
<artifactId>groovy-all</artifactId>
<version>1.6.4</version>
</dependency>
<!-- JavaScript Scripting Engine. -->
<dependency>
<groupId>rhino</groupId>
<artifactId>js</artifactId>
<version>1.7R1</version>
</dependency>
<dependency>
<groupId>net.java.dev</groupId>
<artifactId>js-rhino-engine</artifactId>
<version>1.6R7</version>
</dependency>
<!-- JRuby Scripting Engine. -->
<dependency>
<groupId>org.jruby</groupId>
<artifactId>jruby-complete</artifactId>
<version>1.3.1</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>asm</groupId>
<artifactId>asm</artifactId>
</exclusion>
<exclusion>
<groupId>asm</groupId>
<artifactId>asm-commons</artifactId>
</exclusion>
<exclusion>
<groupId>jline</groupId>
<artifactId>jline</artifactId>
</exclusion>
</exclusions>
</dependency> </dependency>
<!-- OW2 FraSCAti Script Implementation with JavaScript. -->
<dependency> <dependency>
<groupId>com.sun.script.jruby</groupId> <groupId>org.ow2.frascati</groupId>
<artifactId>jruby-engine</artifactId> <artifactId>frascati-implementation-script-javascript</artifactId>
<version>1.1.7</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- Jython Scripting Engine. --> <!-- OW2 FraSCAti Script Implementation with JRuby. -->
<dependency> <dependency>
<groupId>org.python</groupId> <groupId>org.ow2.frascati</groupId>
<artifactId>jython</artifactId> <artifactId>frascati-implementation-script-jruby</artifactId>
<version>2.2.1</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- OW2 FraSCAti Script Implementation with Jython. -->
<dependency> <dependency>
<groupId>net.java.dev</groupId> <groupId>org.ow2.frascati</groupId>
<artifactId>jython-engine</artifactId> <artifactId>frascati-implementation-script-jython</artifactId>
<version>2.2.1</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- ===== --> <!-- ===== -->
......
<?xml version="1.0"?> <?xml version="1.0"?>
<!-- <!--
* OW2 FraSCAti Examples: HelloWorld Script * OW2 FraSCAti Examples: HelloWorld XQuery
* *
* Copyright (c) 2009-2010 INRIA, University of Lille 1 * Copyright (c) 2011 INRIA, University of Lille 1
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
...@@ -21,6 +21,9 @@ ...@@ -21,6 +21,9 @@
* Contact: frascati@ow2.org * Contact: frascati@ow2.org
* *
* Author: Nicolas Haderer * Author: Nicolas Haderer
*
* Contributor(s): Philippe Merle
*
--> -->
<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/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
...@@ -34,12 +37,10 @@ ...@@ -34,12 +37,10 @@
<name>OW2 FraSCAti Examples: HelloWorld XQuery</name> <name>OW2 FraSCAti Examples: HelloWorld XQuery</name>
<groupId>org.ow2.frascati.examples</groupId> <groupId>org.ow2.frascati.examples</groupId>
<artifactId>helloworld-xquery</artifactId> <artifactId>helloworld-xquery</artifactId>
<version>1.4-SNAPSHOT</version> <version>1.4-SNAPSHOT</version>
<properties> <properties>
<composite.file>helloworld-xquery</composite.file> <composite.file>helloworld-xquery</composite.file>
<service.name>run</service.name> <service.name>run</service.name>
...@@ -47,25 +48,17 @@ ...@@ -47,25 +48,17 @@
</properties> </properties>
<!-- ********************************************************************* --> <!-- ********************************************************************* -->
<!-- *************************DEPENDENCIES**************************** --> <!-- ************************* DEPENDENCIES ****************************** -->
<!-- ********************************************************************* --> <!-- ********************************************************************* -->
<dependencies> <dependencies>
<!-- OW2 FraSCAti Script Implementation. --> <!-- OW2 FraSCAti Script Implementation with Xquery. -->
<dependency>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script</artifactId>
<version>${project.version}</version>
</dependency>
<dependency> <dependency>
<groupId>org.ow2.frascati</groupId> <groupId>org.ow2.frascati</groupId>
<artifactId>frascati-xquery</artifactId> <artifactId>frascati-implementation-script-xquery</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.ow2.frascati.examples.test</groupId> <groupId>org.ow2.frascati.examples.test</groupId>
<artifactId>frascati-test</artifactId> <artifactId>frascati-test</artifactId>
...@@ -76,8 +69,7 @@ ...@@ -76,8 +69,7 @@
</dependencies> </dependencies>
<!-- ********************************************************************* --> <!-- ********************************************************************* -->
<!-- ******************************BUILD********************************* --> <!-- ****************************** BUILD ******************************** -->
<!-- ********************************************************************* --> <!-- ********************************************************************* -->
</project>
</project>
\ No newline at end of file
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!-- <!--
* OW2 FraSCAti Examples: NRBC * OW2 FraSCAti Examples: NRBC
* *
* Copyright (c) 2010 INRIA, University of Lille 1 * Copyright (c) 2010-2011 INRIA, University of Lille 1
* *
* This library is free software; you can redistribute it and/or * This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public * modify it under the terms of the GNU Lesser General Public
...@@ -47,19 +47,12 @@ ...@@ -47,19 +47,12 @@
</properties> </properties>
<dependencies> <dependencies>
<!-- OW2 FraSCAti Script Implementation. --> <!-- OW2 FraSCAti Script Implementation with BeanShell. -->
<dependency> <dependency>
<groupId>org.ow2.frascati</groupId> <groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script</artifactId> <artifactId>frascati-implementation-script-beanshell</artifactId>
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- BeanShell Scripting Engine. -->
<dependency>
<groupId>org.beanshell</groupId>
<artifactId>bsh</artifactId>
<version>2.0b5</version>
</dependency>
</dependencies> </dependencies>
</project> </project>
...@@ -247,6 +247,57 @@ ...@@ -247,6 +247,57 @@
<version>${project.version}</version> <version>${project.version}</version>
</dependency> </dependency>
<!-- OW2 FraSCAti SCA Implementation Script with BeanShell. -->
<dependency>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script-beanshell</artifactId>
<version>${project.version}</version>
</dependency>
<!-- OW2 FraSCAti SCA Implementation Script with FraSCAti FScript. -->
<!-- Required a specific FraSCAti bootstrap.
<dependency>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script-fscript</artifactId>
<version>${project.version}</version>
</dependency>
-->
<!-- OW2 FraSCAti SCA Implementation Script with Groovy. -->
<dependency>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script-groovy</artifactId>
<version>${project.version}</version>
</dependency>
<!-- OW2 FraSCAti SCA Implementation Script with JavaScript. -->
<dependency>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script-javascript</artifactId>
<version>${project.version}</version>
</dependency>
<!-- OW2 FraSCAti SCA Implementation Script with JRuby. -->
<dependency>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script-jruby</artifactId>
<version>${project.version}</version>
</dependency>
<!-- OW2 FraSCAti SCA Implementation Script with Jython. -->
<dependency>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script-jython</artifactId>
<version>${project.version}</version>
</dependency>
<!-- OW2 FraSCAti SCA Implementation Script with Xquery. -->
<dependency>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script-xquery</artifactId>
<version>${project.version}</version>
</dependency>
<!-- OW2 FraSCAti SCA Implementation Spring. --> <!-- OW2 FraSCAti SCA Implementation Spring. -->
<dependency> <dependency>
<groupId>org.ow2.frascati</groupId> <groupId>org.ow2.frascati</groupId>
......
<?xml version="1.0"?>
<!--
* OW2 FraSCAti: SCA Implementation Script with BeanShell.
*
* Copyright (c) 2011 INRIA, University of Lille 1
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY 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 along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Contact: frascati@ow2.org
*
* Author: Philippe Merle
*
* Contributor(s):
-->
<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>
<!-- ===================== -->
<!-- General Information -->
<!-- ===================== -->
<parent>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-modules</artifactId>
<version>1.4-SNAPSHOT</version>
</parent>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script-beanshell</artifactId>
<name>OW2 FraSCAti: SCA Implementation Script with BeanShell Module</name>
<url>http://frascati.ow2.org/</url>
<inceptionYear>2007</inceptionYear>
<developers>
<developer>
<id>merle</id>
<name>Philippe Merle</name>
<email>Philippe.Merle@inria.fr</email>
<organization>INRIA</organization>
<organizationUrl>http://www.inria.fr</organizationUrl>
<roles>
<role>Architect</role>
<role>Developer</role>
</roles>
</developer>
</developers>
<!-- ========== -->
<!-- Properties -->
<!-- ========== -->
<properties>
</properties>
<!-- ======= -->
<!-- Build -->
<!-- ======= -->
<build>
</build>
<!-- ============ -->
<!-- Dependencies -->
<!-- ============ -->
<dependencies>
<!-- OW2 FraSCAti SCA Implementation Script. -->
<dependency>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script</artifactId>
<version>${project.version}</version>
</dependency>
<!-- BeanShell Scripting Engine. -->
<dependency>
<groupId>org.beanshell</groupId>
<artifactId>bsh</artifactId>
<version>2.0b5</version>
</dependency>
</dependencies>
<!-- ============= -->
<!-- Repositories -->
<!-- ============= -->
<repositories>
</repositories>
</project>
<?xml version="1.0"?>
<!--
* OW2 FraSCAti: SCA Implementation Script with FScript.
*
* Copyright (c) 2011 INRIA, University of Lille 1
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY 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 along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
* Contact: frascati@ow2.org
*
* Author: Philippe Merle
*
* Contributor(s):
-->
<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>
<!-- ===================== -->
<!-- General Information -->
<!-- ===================== -->
<parent>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-modules</artifactId>
<version>1.4-SNAPSHOT</version>
</parent>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script-fscript</artifactId>
<name>OW2 FraSCAti: SCA Implementation Script with FScript Module</name>
<url>http://frascati.ow2.org/</url>
<inceptionYear>2007</inceptionYear>
<developers>
<developer>
<id>merle</id>
<name>Philippe Merle</name>
<email>Philippe.Merle@inria.fr</email>
<organization>INRIA</organization>
<organizationUrl>http://www.inria.fr</organizationUrl>
<roles>
<role>Architect</role>
<role>Developer</role>
</roles>
</developer>
</developers>
<!-- ========== -->
<!-- Properties -->
<!-- ========== -->
<properties>
</properties>
<!-- ======= -->
<!-- Build -->
<!-- ======= -->
<build>
</build>
<!-- ============ -->
<!-- Dependencies -->
<!-- ============ -->
<dependencies>
<!-- OW2 FraSCAti SCA Implementation Script. -->
<dependency>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-implementation-script</artifactId>
<version>${project.version}</version>
</dependency>
<!-- OW2 FraSCAti FScript Engine. -->
<dependency>
<groupId>org.ow2.frascati</groupId>
<artifactId>frascati-fscript-core</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<!-- ============= -->
<!-- Repositories -->
<!-- ============= -->
<repositories>
</repositories>
</project>
<?xml version="1.0"?>
<!--
* OW2 FraSCAti: SCA Implementation Script with Groovy.
*
* Copyright (c) 2011 INRIA, University of Lille 1
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU