Mail Archive Home | gotm-commits List | Febuary 2005 Index
| <-- Date Index | <-- Thread Index |
Date: Monday, February 28, 2005 @ 14:56:14
Author: rouvoy
Path: /cvsroot/gotm/fractal-corba
Added: .classpath .cvsignore .project
.settings/org.eclipse.core.resources.prefs
ant/fractal-xdoclet/commons-collections-2.0.jar
ant/fractal-xdoclet/commons-logging.jar
ant/fractal-xdoclet/fractal-xdoclet.jar
ant/fractal-xdoclet/log4j.jar
ant/fractal-xdoclet/xdoclet-1.3-SNAPSHOT.jar
ant/fractal-xdoclet/xjavadoc-1.1.jar
ant/idldepend/idldepend-0-7-0.jar build.xml lib/ant/LICENSE
lib/ant/LICENSE.dom lib/ant/LICENSE.sax lib/ant/LICENSE.xerces
lib/ant/README lib/ant/ant-launcher.jar lib/ant/ant.jar
lib/ant/xercesImpl.jar lib/ant/xml-apis.jar lib/asm/asm.jar
lib/fractal-adl/dtdparser.jar lib/fractal-adl/fractal-adl.jar
lib/fractal-adl/ow_deployment_scheduling.jar
lib/fractal-pool/fractal-pool.jar
lib/fractal-template/fractal-template.jar
lib/fractal-xdoclet/commons-collections-2.0.jar
lib/fractal-xdoclet/commons-logging.jar
lib/fractal-xdoclet/fractal-xdoclet.jar
lib/fractal-xdoclet/log4j.jar
lib/fractal-xdoclet/xdoclet-1.3-SNAPSHOT.jar
lib/fractal-xdoclet/xjavadoc-1.1.jar lib/fractal/fractal.jar
lib/fractal/naming.jar lib/jacorb/antlr-2.7.2.jar
lib/jacorb/avalon-framework-4.1.5.jar
lib/jacorb/concurrent-1.3.2.jar lib/jacorb/idl.jar
lib/jacorb/jacorb.jar lib/jacorb/logkit-1.2.jar
lib/jacorb/wrapper-3.1.0.jar lib/julia/julia-asm.jar
lib/julia/julia-mixins.jar lib/julia/julia-runtime.jar
lib/monolog/LICENSE.log4j lib/monolog/LICENSE.monolog
lib/monolog/log4j-1.2.8.jar lib/monolog/ow_monolog.jar
lib/utils/ow_util_trace.jar lib/velocity/commons-collections.jar
lib/velocity/log4j-1.1.3.jar lib/velocity/log4j-core-1.1.3.jar
lib/velocity/logkit-1.0.1.jar lib/velocity/velocity-1.4.jar
src/fractal/org/objectweb/fractal/corba/FcServiceProvider.fractal
src/fractal/org/objectweb/fractal/corba/TpServiceProvider.fractal
src/java/org/objectweb/fractal/corba/api/NamingService.java
src/java/org/objectweb/fractal/corba/api/Orb.java
src/java/org/objectweb/fractal/corba/api/OrbAttributeController.java
src/java/org/objectweb/fractal/corba/api/Poa.java
src/java/org/objectweb/fractal/corba/compiler/CorbaDescriptor.java
src/java/org/objectweb/fractal/corba/compiler/FcCorbaTask.java
src/java/org/objectweb/fractal/corba/compiler/FractalGenerator.java
src/java/org/objectweb/fractal/corba/compiler/Test.java
src/java/org/objectweb/fractal/corba/lib/NamingServiceImpl.java
src/java/org/objectweb/fractal/corba/lib/OrbImpl.java
src/julia/julia.cfg src/monolog/fractal.properties
src/vm/FractalTemplate.vm test/ControlOperations.java
* Initial Import of the CORBA to Fractal Skeleton generator.
----------------------------------------------------------------------+
.classpath | 20
.cvsignore | 1
.project | 17
.settings/org.eclipse.core.resources.prefs | 8
ant/fractal-xdoclet/commons-collections-2.0.jar |
<<Binary file>>
ant/fractal-xdoclet/commons-logging.jar |
<<Binary file>>
ant/fractal-xdoclet/fractal-xdoclet.jar |
<<Binary file>>
ant/fractal-xdoclet/log4j.jar |
<<Binary file>>
ant/fractal-xdoclet/xdoclet-1.3-SNAPSHOT.jar |
<<Binary file>>
ant/fractal-xdoclet/xjavadoc-1.1.jar |
<<Binary file>>
ant/idldepend/idldepend-0-7-0.jar |
<<Binary file>>
build.xml | 264
++++
lib/ant/LICENSE | 49
lib/ant/LICENSE.dom | 71 +
lib/ant/LICENSE.sax | 20
lib/ant/LICENSE.xerces | 56
lib/ant/README | 15
lib/ant/ant-launcher.jar |
<<Binary file>>
lib/ant/ant.jar |
<<Binary file>>
lib/ant/xercesImpl.jar |
<<Binary file>>
lib/ant/xml-apis.jar |
<<Binary file>>
lib/asm/asm.jar |
<<Binary file>>
lib/fractal-adl/dtdparser.jar |
<<Binary file>>
lib/fractal-adl/fractal-adl.jar |
<<Binary file>>
lib/fractal-adl/ow_deployment_scheduling.jar |
<<Binary file>>
lib/fractal-pool/fractal-pool.jar |
<<Binary file>>
lib/fractal-template/fractal-template.jar |
<<Binary file>>
lib/fractal-xdoclet/commons-collections-2.0.jar |
<<Binary file>>
lib/fractal-xdoclet/commons-logging.jar |
<<Binary file>>
lib/fractal-xdoclet/fractal-xdoclet.jar |
<<Binary file>>
lib/fractal-xdoclet/log4j.jar |
<<Binary file>>
lib/fractal-xdoclet/xdoclet-1.3-SNAPSHOT.jar |
<<Binary file>>
lib/fractal-xdoclet/xjavadoc-1.1.jar |
<<Binary file>>
lib/fractal/fractal.jar |
<<Binary file>>
lib/fractal/naming.jar |
<<Binary file>>
lib/jacorb/antlr-2.7.2.jar |
<<Binary file>>
lib/jacorb/avalon-framework-4.1.5.jar |
<<Binary file>>
lib/jacorb/concurrent-1.3.2.jar |
<<Binary file>>
lib/jacorb/idl.jar |
<<Binary file>>
lib/jacorb/jacorb.jar |
<<Binary file>>
lib/jacorb/logkit-1.2.jar |
<<Binary file>>
lib/jacorb/wrapper-3.1.0.jar |
<<Binary file>>
lib/julia/julia-asm.jar |
<<Binary file>>
lib/julia/julia-mixins.jar |
<<Binary file>>
lib/julia/julia-runtime.jar |
<<Binary file>>
lib/monolog/LICENSE.log4j | 48
lib/monolog/LICENSE.monolog | 504
++++++++
lib/monolog/log4j-1.2.8.jar |
<<Binary file>>
lib/monolog/ow_monolog.jar |
<<Binary file>>
lib/utils/ow_util_trace.jar |
<<Binary file>>
lib/velocity/commons-collections.jar |
<<Binary file>>
lib/velocity/log4j-1.1.3.jar |
<<Binary file>>
lib/velocity/log4j-core-1.1.3.jar |
<<Binary file>>
lib/velocity/logkit-1.0.1.jar |
<<Binary file>>
lib/velocity/velocity-1.4.jar |
<<Binary file>>
src/fractal/org/objectweb/fractal/corba/FcServiceProvider.fractal | 21
src/fractal/org/objectweb/fractal/corba/TpServiceProvider.fractal | 14
src/java/org/objectweb/fractal/corba/api/NamingService.java | 46
src/java/org/objectweb/fractal/corba/api/Orb.java | 59
src/java/org/objectweb/fractal/corba/api/OrbAttributeController.java | 61
src/java/org/objectweb/fractal/corba/api/Poa.java | 49
src/java/org/objectweb/fractal/corba/compiler/CorbaDescriptor.java | 106 +
src/java/org/objectweb/fractal/corba/compiler/FcCorbaTask.java | 94 +
src/java/org/objectweb/fractal/corba/compiler/FractalGenerator.java | 86 +
src/java/org/objectweb/fractal/corba/compiler/Test.java | 49
src/java/org/objectweb/fractal/corba/lib/NamingServiceImpl.java | 81 +
src/java/org/objectweb/fractal/corba/lib/OrbImpl.java | 146
++
src/julia/julia.cfg | 614
++++++++++
src/monolog/fractal.properties | 55
src/vm/FractalTemplate.vm | 203
+++
70 files changed, 2757 insertions(+)
Index: fractal-corba/.classpath
diff -u /dev/null fractal-corba/.classpath:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/.classpath Mon Feb 28 14:56:13 2005
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src/java"/>
+ <classpathentry kind="src" path="output/build/java"/>
+ <classpathentry kind="src" path="src/vm"/>
+ <classpathentry kind="src" path="src/fractal"/>
+ <classpathentry kind="con"
path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="lib" path="lib/fractal/fractal.jar"/>
+ <classpathentry kind="lib" path="lib/utils/ow_util_trace.jar"/>
+ <classpathentry kind="lib"
path="lib/fractal-template/fractal-template.jar"/>
+ <classpathentry kind="lib" path="lib/monolog/ow_monolog.jar"/>
+ <classpathentry kind="lib" path="ant/velocity/velocity-1.4.jar"/>
+ <classpathentry kind="lib" path="lib/jacorb/jacorb.jar"/>
+ <classpathentry kind="lib" path="lib/fractal-pool/fractal-pool.jar"/>
+ <classpathentry kind="lib"
path="lib/velocity/commons-collections.jar"/>
+ <classpathentry kind="lib" path="lib/velocity/log4j-1.1.3.jar"/>
+ <classpathentry kind="lib" path="lib/velocity/velocity-1.4.jar"/>
+ <classpathentry kind="lib" path="lib/ant/ant.jar"/>
+ <classpathentry kind="output" path="output/eclipse"/>
+</classpath>
Index: fractal-corba/.cvsignore
diff -u /dev/null fractal-corba/.cvsignore:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/.cvsignore Mon Feb 28 14:56:13 2005
@@ -0,0 +1 @@
+output
Index: fractal-corba/.project
diff -u /dev/null fractal-corba/.project:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/.project Mon Feb 28 14:56:13 2005
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>fractal-corba</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ </natures>
+</projectDescription>
Index: fractal-corba/.settings/org.eclipse.core.resources.prefs
diff -u /dev/null fractal-corba/.settings/org.eclipse.core.resources.prefs:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/.settings/org.eclipse.core.resources.prefs Mon Feb 28
14:56:13 2005
@@ -0,0 +1,8 @@
+#Thu Feb 24 17:06:29 CET 2005
+encoding//src/fractal/org/objectweb/fractal/corba/TpServiceProvider.fractal=ISO-8859-1
+encoding//output/build/class/org/objectweb/fractal/corba/lib/FcNamingServiceImpl.fractal=ISO-8859-1
+eclipse.preferences.version=1
+encoding//src/fractal/org/objectweb/fractal/corba/FcServiceProvider.fractal=ISO-8859-1
+encoding//output/build/class/org/objectweb/fractal/corba/api/TpOrb.fractal=ISO-8859-1
+encoding//output/build/class/org/objectweb/fractal/corba/api/FcNamingService.fractal=ISO-8859-1
+encoding//output/build/class/org/objectweb/fractal/corba/lib/FcOrbImpl.fractal=ISO-8859-1
Index: fractal-corba/ant/fractal-xdoclet/commons-collections-2.0.jar
cvs rdiff: failed to read diff file header /tmp/cvsqjQCsh for
commons-collections-2.0.jar,v: end of file
Index: fractal-corba/ant/fractal-xdoclet/commons-logging.jar
cvs rdiff: failed to read diff file header /tmp/cvs1F1LWb for
commons-logging.jar,v: end of file
Index: fractal-corba/ant/fractal-xdoclet/fractal-xdoclet.jar
cvs rdiff: failed to read diff file header /tmp/cvsCYo49c for
fractal-xdoclet.jar,v: end of file
Index: fractal-corba/ant/fractal-xdoclet/log4j.jar
cvs rdiff: failed to read diff file header /tmp/cvsBl2Kee for log4j.jar,v:
end of file
Index: fractal-corba/ant/fractal-xdoclet/xdoclet-1.3-SNAPSHOT.jar
cvs rdiff: failed to read diff file header /tmp/cvsiH1Epn for
xdoclet-1.3-SNAPSHOT.jar,v: end of file
Index: fractal-corba/ant/fractal-xdoclet/xjavadoc-1.1.jar
cvs rdiff: failed to read diff file header /tmp/cvsBoe70o for
xjavadoc-1.1.jar,v: end of file
Index: fractal-corba/ant/idldepend/idldepend-0-7-0.jar
cvs rdiff: failed to read diff file header /tmp/cvsWq7BZj for
idldepend-0-7-0.jar,v: end of file
Index: fractal-corba/build.xml
diff -u /dev/null fractal-corba/build.xml:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/build.xml Mon Feb 28 14:56:13 2005
@@ -0,0 +1,264 @@
+<!-- ==================================================================== -->
+
+<!-- ObjectWeb GoTM is an open Tx Monitor Project -->
+<!-- Contact: http://www.objectweb.org -->
+
+<!-- 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.1 of the License, or 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 -->
+
+<!-- Initial developer(s): Romain Rouvoy. -->
+<!-- Contributor(s): ______________________________________. -->
+
+<!-- $Id: build.xml,v 1.1 2005/02/28 13:56:13 rouvoy Exp $ -->
+<!-- ==================================================================== -->
+
+<project name="Fractal CORBA" default="fcorba-all">
+ <description>GoTM Project [gotm.objectweb.org] - Fractal
CORBA</description>
+
+ <!-- ==================== -->
+ <!-- PROPERTY DEFINITIONS -->
+ <!-- ==================== -->
+
+ <property name="src.dir" value="src"/>
+ <property name="doc.dir" value="doc"/>
+ <property name="class.dir" value="class"/>
+ <property name="lib.dir" value="lib"/>
+ <property name="julia.dir" value="julia"/>
+ <property name="fractal.dir" value="fractal"/>
+ <property name="ant.dir" value="ant"/>
+
+ <property name="java.dir" value="java"/>
+ <property name="log.dir" value="monolog"/>
+
+ <property name="out.dir" value="${basedir}/output"/>
+ <property name="build.dir" value="${out.dir}/build"/>
+ <property name="dist.dir" value="${out.dir}/dist"/>
+
+ <property name="fccorba.jar" value="fractal-corba.jar"/>
+ <property name="fccorba.version" value="0.1"/>
+ <property name="fccorba.dist" value="FractalCORBA"/>
+
+ <!-- ================ -->
+ <!-- PATH DEFINITIONS -->
+ <!-- ================ -->
+
+ <path id="classpath">
+ <fileset dir="${build.dir}/${lib.dir}" includes="**/*.jar"/>
+ <pathelement location="${build.dir}/${class.dir}"/>
+ </path>
+
+ <!-- ================== -->
+ <!-- TARGET DEFINITIONS -->
+ <!-- ================== -->
+
+ <target name="fcorba-all" description="fcorba-clean + fcorba-build">
+ <antcall target="fcorba-clean"/>
+ <antcall target="fcorba-build"/>
+ </target>
+
+ <target name="-fcorba-prepare">
+ <copy todir="${build.dir}/${lib.dir}">
+ <mapper type="flatten"/>
+ <fileset dir="${basedir}/${lib.dir}"
includes="**/*.*"/>
+ </copy>
+ <mkdir dir="${build.dir}/${julia.dir}"/>
+ <copy todir="${build.dir}/${julia.dir}">
+ <fileset dir="${basedir}/${src.dir}/${julia.dir}"
includes="**/*"/>
+ </copy>
+ </target>
+
+ <target name="fcorba-compile" depends="-fcorba-prepare"
+ description="Compiles Fractal library.">
+ <mkdir dir="${build.dir}/${class.dir}"/>
+ <javac srcdir="${basedir}/${src.dir}/${java.dir}"
+ destdir="${build.dir}/${class.dir}" debug="on">
+ <classpath refid="classpath"/>
+ <include
name="org/objectweb/fractal/corba/**/*.java"/>
+ </javac>
+ </target>
+
+ <target name="-doclet-init">
+ <copy todir="${build.dir}/${ant.dir}">
+ <fileset dir="${basedir}/${ant.dir}"/>
+ </copy>
+ <taskdef name="xdoclet" classname="xdoclet.DocletTask">
+ <classpath>
+ <fileset dir="${build.dir}/${ant.dir}" includes="**/*.jar"/>
+ </classpath>
+ </taskdef>
+ </target>
+
+ <target name="fcorba-doclet" depends="-doclet-init"
+ description="Generates Fractal ADL file with xdoclet">
+ <mkdir dir="${build.dir}/${class.dir}"/>
+ <xdoclet destdir="${build.dir}/${class.dir}"
+ excludedtags="@version,@author,@todo">
+ <fileset dir="${basedir}/${src.dir}/${java.dir}"
+ includes="org/objectweb/fractal/**/*.java"/>
+ <fractal-primitive/>
+ <fractal-template/>
+ </xdoclet>
+ </target>
+
+ <target name="fcorba-fractal" depends="fcorba-doclet,fcorba-compile">
+ <mkdir dir="${build.dir}/${fractal.dir}"/>
+ <copy todir="${build.dir}/${class.dir}" failonerror="false">
+ <fileset dir="${basedir}/${src.dir}/${fractal.dir}">
+ <include name="**/*.fractal"/>
+ </fileset>
+ </copy>
+ </target>
+
+ <target name="fcorba-build" depends="fcorba-fractal"
+ description="Builds Fractal framework.">
+ <copy todir="${build.dir}/${class.dir}">
+ <fileset dir="${src.dir}/vm" includes="*.vm"/>
+ </copy>
+ <jar destfile="${build.dir}/${lib.dir}/${fccorba.jar}">
+ <fileset dir="${build.dir}/${class.dir}"
includes="**/*"/>
+ </jar>
+ </target>
+
+ <target name="fcorba-jdoc" depends="-fcorba-prepare"
+ description="Generates the javadoc.">
+ <javadoc destdir="${build.dir}/${doc.dir}" author="true"
version="true"
+ use="true" private="true" windowtitle="Fractal Library."
+ overview="${doc.dir}/overview.html" classpathref="classpath">
+ <packageset dir="${basedir}/${src.dir}/${java.dir}"
defaultexcludes="yes">
+ <include name="**/*" />
+ </packageset>
+ <doctitle>
+ <![CDATA[<h1>Fractal Library - v.
${fccorba.version}</h1>]]>
+ <![CDATA[<h2>Library Specification</h2>]]>
+ </doctitle>
+ <tag name="todo" scope="all" description="To do: "/>
+ <tag name="fractal.adl" scope="all" description="Fractal ADL
Identifier: "/>
+
+ <group title="Fractal Libraries">
+ <package name="org.objectweb.fractal.lib.*"/>
+ </group>
+
+ <link href="http://java.sun.com/j2se/1.4.2/docs/api/"/>
+ <link
href="http://fractal.objectweb.org/current/doc/javadoc/fractal/"/>
+ <link href="http://monolog.objectweb.org/jdoc/ow_util_log/"/>
+ </javadoc>
+ <replace file="${build.dir}/${doc.dir}/overview-summary.html"
+ token="DO NOT REMOVE THIS LINE (will be automatically
removed)."/>
+ <copy todir="${build.dir}/${doc.dir}">
+ <fileset dir="${basedir}/${doc.dir}" includes="uml/*.png"/>
+ </copy>
+ </target>
+
+
+ <target name="fcorba-dist-src" description="Builds the source
distribution.">
+ <property name="dist-src" value="${fccorba.dist}-${fccorba.version}-src"
/>
+ <property name="dist-src.dir" value="${dist.dir}/${dist-src}" />
+ <mkdir dir="${dist-src.dir}" />
+ <copy todir="${dist-src.dir}" file="${basedir}/build.xml" />
+ <mkdir dir="${dist-src.dir}/${src.dir}" />
+ <copy todir="${dist-src.dir}/${src.dir}">
+ <fileset dir="${basedir}/${src.dir}" includes="**/*" />
+ </copy>
+ <mkdir dir="${dist-src.dir}/${doc.dir}" />
+ <copy todir="${dist-src.dir}/${doc.dir}">
+ <fileset dir="${basedir}/${doc.dir}" includes="**/*" />
+ </copy>
+ <zip zipfile="${dist.dir}/${dist-src}.zip">
+ <fileset dir="${dist.dir}" includes="${dist-src}/**/*" />
+ </zip>
+ <tar destfile="${dist.dir}/${dist-src}.tar" longfile="gnu">
+ <tarfileset dir="${dist.dir}" includes="${dist-src}/**/*" />
+ </tar>
+ <gzip src="${dist.dir}/${dist-src}.tar"
+ zipfile="${dist.dir}/${dist-src}.tar.gz" />
+ <bzip2 src="${dist.dir}/${dist-src}.tar"
+ zipfile="${dist.dir}/${dist-src}.tar.bz2" />
+ </target>
+
+ <target name="fcorba-dist-bin" depends="fcorba-build,fcorba-jdoc"
+ description="Builds the binary distribution.">
+ <property name="dist-bin"
value="${fccorba.dist}-${fccorba.version}-bin"/>
+ <property name="dist-bin.dir" value="${dist.dir}/${dist-bin}"/>
+ <mkdir dir="${dist-bin.dir}"/>
+ <copy todir="${dist-bin.dir}">
+ <fileset dir="${build.dir}" includes="${doc.dir}/**/*"/>
+ <fileset dir="${build.dir}" includes="${lib.dir}/**/*"/>
+ </copy>
+ <zip zipfile="${dist.dir}/${dist-bin}.zip">
+ <fileset dir="${dist.dir}" includes="${dist-bin}/**/*"/>
+ </zip>
+ <tar destfile="${dist.dir}/${dist-bin}.tar" longfile="gnu">
+ <tarfileset dir="${dist.dir}" includes="${dist-bin}/**/*"/>
+ </tar>
+ <gzip src="${dist.dir}/${dist-bin}.tar"
+ zipfile="${dist.dir}/${dist-bin}.tar.gz"/>
+ <bzip2 src="${dist.dir}/${dist-bin}.tar"
+ zipfile="${dist.dir}/${dist-bin}.tar.bz2"/>
+ </target>
+
+ <target name="fcorba-dist" depends="fcorba-dist-src,fcorba-dist-bin"
+ description="build all distributions"/>
+
+ <target name="fcorba-clean" description="clean Fractal framework">
+ <delete dir="${build.dir}" failonerror="no"/>
+ <delete dir="${dist.dir}" failonerror="no"/>
+ </target>
+
+ <target name="fcorba-idl">
+ <mkdir dir="${build.dir}/${lib.dir}"/>
+ <copy todir="${build.dir}/${lib.dir}" failonerror="false">
+ <mapper type="flatten"/>
+ <fileset dir="${basedir}/${lib.dir}" includes="**/*"/>
+ </copy>
+
+ <taskdef name="idlcheck" classname="idldepend.IDLCheckerTask">
+ <classpath>
+ <fileset dir="${ant.dir}" includes="**/*.jar"/>
+ </classpath>
+ </taskdef>
+ <idlcheck compiler="jacorb2" force="true" checkAll="false"
+ verbose="basic" targetDir="${build.dir}/java"
dependsDir="${build.dir}">
+ <classpath>
+ <fileset dir="${build.dir}/${lib.dir}" includes="**/*.jar"/>
+ </classpath>
+ <fileset dir="${src.dir}/${idl.dir}">
+ <include name="CosTransactions.idl"/>
+ </fileset>
+ <include>
+ <pathelement path="${src.dir}/${idl.dir}"/>
+ </include>
+ <package prefix="org.omg"/>
+ </idlcheck>
+ <mkdir dir="${build.dir}/${class.dir}"/>
+ <javac srcdir="${build.dir}/java"
+ destdir="${build.dir}/${class.dir}"
+ debug="on">
+ <classpath refid="classpath"/>
+ <include name="**/*.java"/>
+ </javac>
+ </target>
+
+ <target name="fcorba-test" depends="fcorba-build">
+ <taskdef name="idl2fc"
classname="org.objectweb.fractal.corba.compiler.FcCorbaTask">
+ <classpath>
+ <fileset dir="${build.dir}/${lib.dir}" includes="**/*.jar"/>
+ </classpath>
+ </taskdef>
+ <mkdir dir="${build.dir}/java"/>
+ <idl2fc destdir="${build.dir}/java">
+ <fileset dir="test" includes="**/*Operations.java"/>
+ </idl2fc>
+ </target>
+</project>
\ No newline at end of file
Index: fractal-corba/lib/ant/LICENSE
diff -u /dev/null fractal-corba/lib/ant/LICENSE:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/lib/ant/LICENSE Mon Feb 28 14:56:13 2005
@@ -0,0 +1,49 @@
+/*
+ *
============================================================================
+ * The Apache Software License, Version 1.1
+ *
============================================================================
+ *
+ * Copyright (C) 2000-2002 The Apache Software Foundation. All
+ * rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
modifica-
+ * tion, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
notice,
+ * this list of conditions and the following disclaimer in the
documentation
+ * and/or other materials provided with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must
+ * include the following acknowledgment: "This product includes
software
+ * developed by the Apache Software Foundation
(http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
if
+ * and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Ant" and "Apache Software Foundation" must not be used to
+ * endorse or promote products derived from this software without
prior
+ * written permission. For written permission, please contact
+ * apache@xxxxxxxxxxx
+ *
+ * 5. Products derived from this software may not be called "Apache", nor
may
+ * "Apache" appear in their name, without prior written permission of
the
+ * Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND
+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE
+ * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY
DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLU-
+ * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 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
OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * This software consists of voluntary contributions made by many
individuals
+ * on behalf of the Apache Software Foundation. For more information on
the
+ * Apache Software Foundation, please see <http://www.apache.org/>.
+ *
+ */
Index: fractal-corba/lib/ant/LICENSE.dom
diff -u /dev/null fractal-corba/lib/ant/LICENSE.dom:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/lib/ant/LICENSE.dom Mon Feb 28 14:56:13 2005
@@ -0,0 +1,71 @@
+This license came from:
+http://www.w3.org/Consortium/Legal/copyright-software-19980720
+
+
+W3C® SOFTWARE NOTICE AND LICENSE
+Copyright © 1994-2001 World
+Wide Web Consortium, <a href="http://www.w3.org/">World
+Wide Web Consortium</a>, (<a href=
+"http://www.lcs.mit.edu/">Massachusetts Institute of
+Technology</a>, <a href="http://www.inria.fr/">Institut National de
+Recherche en Informatique et en Automatique</a>, <a href=
+"http://www.keio.ac.jp/">Keio University</a>). All Rights Reserved.
+http://www.w3.org/Consortium/Legal/
+
+This W3C work (including software, documents, or other related
+items) is being provided by the copyright holders under the
+following license. By obtaining, using and/or copying this work,
+you (the licensee) agree that you have read, understood, and will
+comply with the following terms and conditions:
+Permission to use, copy, modify, and distribute this software
+and its documentation, with or without modification, for any
+purpose and without fee or royalty is hereby granted, provided that
+you include the following on ALL copies of the software and
+documentation or portions thereof, including modifications, that
+you make:
+
+The full text of this NOTICE in a location viewable to users of
+the redistributed or derivative work.
+
+Any pre-existing intellectual property disclaimers, notices, or
+terms and conditions. If none exist, a short notice of the
+following form (hypertext is preferred, text is permitted) should
+be used within the body of any redistributed or derivative code:
+"Copyright © [$date-of-software] World Wide Web Consortium, (Massachusetts
Institute of
+Technology, Institut National de
+Recherche en Informatique et en Automatique, Keio University). All Rights
Reserved.
+http://www.w3.org/Consortium/Legal/"
+
+Notice of any changes or modifications to the W3C files,
+including the date changes were made. (We recommend you provide
+URIs to the location from which the code is derived.)
+
+THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND
+COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF
+MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE
+USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD
+PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.
+COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT,
+SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE
+SOFTWARE OR DOCUMENTATION.
+
+The name and trademarks of copyright holders may NOT be used in
+advertising or publicity pertaining to the software without
+specific, written prior permission. Title to copyright in this
+software and any associated documentation will at all times remain
+with copyright holders.
+____________________________________
+This formulation of W3C's notice and license became active on
+August 14 1998 so as to improve compatibility with GPL. This
+version ensures that W3C software licensing terms are no more
+restrictive than GPL and consequently W3C software may be
+distributed in GPL packages. See the older formulation for the
+policy prior to this date. Please see our Copyright FAQ for common
+questions about using materials from
+our site, including specific terms and conditions for packages like
+libwww, Amaya, and Jigsaw.
+Other questions about this notice can be
+directed to site-policy@xxxxxxx
+
+webmaster
Index: fractal-corba/lib/ant/LICENSE.sax
diff -u /dev/null fractal-corba/lib/ant/LICENSE.sax:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/lib/ant/LICENSE.sax Mon Feb 28 14:56:13 2005
@@ -0,0 +1,20 @@
+This license came from: http://www.megginson.com/SAX/copying.html
+ However please note future versions of SAX may be covered
+ under http://saxproject.org/?selected=pd
+
+
+This page is now out of date -- see the new SAX site at
+http://www.saxproject.org/ for more up-to-date
+releases and other information. Please change your bookmarks.
+
+
+SAX2 is Free!
+
+I hereby abandon any property rights to SAX 2.0 (the Simple API for
+XML), and release all of the SAX 2.0 source code, compiled code, and
+documentation contained in this distribution into the Public Domain.
+SAX comes with NO WARRANTY or guarantee of fitness for any
+purpose.
+
+David Megginson, david@xxxxxxxxxxxxx
+2000-05-05
\ No newline at end of file
Index: fractal-corba/lib/ant/LICENSE.xerces
diff -u /dev/null fractal-corba/lib/ant/LICENSE.xerces:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/lib/ant/LICENSE.xerces Mon Feb 28 14:56:13 2005
@@ -0,0 +1,56 @@
+/*
+ * The Apache Software License, Version 1.1
+ *
+ *
+ * Copyright (c) 1999-2002 The Apache Software Foundation. All rights
+ * reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in
+ * the documentation and/or other materials provided with the
+ * distribution.
+ *
+ * 3. The end-user documentation included with the redistribution,
+ * if any, must include the following acknowledgment:
+ * "This product includes software developed by the
+ * Apache Software Foundation (http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
+ * if and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "Xerces" and "Apache Software Foundation" must
+ * not be used to endorse or promote products derived from this
+ * software without prior written permission. For written
+ * permission, please contact apache@xxxxxxxxxxx
+ *
+ * 5. Products derived from this software may not be called "Apache",
+ * nor may "Apache" appear in their name, without prior written
+ * permission of the Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
+ * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
+ * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
+ * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 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 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ * ====================================================================
+ *
+ * This software consists of voluntary contributions made by many
+ * individuals on behalf of the Apache Software Foundation and was
+ * originally based on software copyright (c) 1999, International
+ * Business Machines, Inc., http://www.ibm.com. For more
+ * information on the Apache Software Foundation, please see
+ * <http://www.apache.org/>.
+ */
Index: fractal-corba/lib/ant/README
diff -u /dev/null fractal-corba/lib/ant/README:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/lib/ant/README Mon Feb 28 14:56:13 2005
@@ -0,0 +1,15 @@
+Please refer to the Ant manual under Installing Ant / Library
+Dependencies for a list of the jar requirements for various optional
+tasks and features.
+
+This directory contains xercesImpl.jar from the 2.3.0 release of
+Apache Xerces. For more information or newer releases see
+<http://xml.apache.org/xerces2-j/>. See the file LICENSE.xerces for
+the terms of distribution.
+
+It also contains xml-apis.jar, an Apache-controlled collection of
+standard classes from the 1.0b2 release of the Apache XML-Commons
+release. For more information or newer releases see
+<http://xml.apache.org/commons/>. See the files LICENSE.dom and
+LICENSE.sax for the terms of distribution.
+
Index: fractal-corba/lib/ant/ant-launcher.jar
cvs rdiff: failed to read diff file header /tmp/cvsZ6kNJs for
ant-launcher.jar,v: end of file
Index: fractal-corba/lib/ant/ant.jar
cvs rdiff: failed to read diff file header /tmp/cvsKA32SA for ant.jar,v: end
of file
Index: fractal-corba/lib/ant/xercesImpl.jar
cvs rdiff: failed to read diff file header /tmp/cvsTqrt0x for
xercesImpl.jar,v: end of file
Index: fractal-corba/lib/ant/xml-apis.jar
cvs rdiff: failed to read diff file header /tmp/cvssmJidJ for xml-apis.jar,v:
end of file
Index: fractal-corba/lib/asm/asm.jar
cvs rdiff: failed to read diff file header /tmp/cvsXRwUJD for asm.jar,v: end
of file
Index: fractal-corba/lib/fractal-adl/dtdparser.jar
cvs rdiff: failed to read diff file header /tmp/cvs0M8bOE for
dtdparser.jar,v: end of file
Index: fractal-corba/lib/fractal-adl/fractal-adl.jar
cvs rdiff: failed to read diff file header /tmp/cvszarA2F for
fractal-adl.jar,v: end of file
Index: fractal-corba/lib/fractal-adl/ow_deployment_scheduling.jar
cvs rdiff: failed to read diff file header /tmp/cvs0js0GO for
ow_deployment_scheduling.jar,v: end of file
Index: fractal-corba/lib/fractal-pool/fractal-pool.jar
cvs rdiff: failed to read diff file header /tmp/cvs5RXYLP for
fractal-pool.jar,v: end of file
Index: fractal-corba/lib/fractal-template/fractal-template.jar
cvs rdiff: failed to read diff file header /tmp/cvsIPLIRQ for
fractal-template.jar,v: end of file
Index: fractal-corba/lib/fractal-xdoclet/commons-collections-2.0.jar
cvs rdiff: failed to read diff file header /tmp/cvsTyzYRK for
commons-collections-2.0.jar,v: end of file
Index: fractal-corba/lib/fractal-xdoclet/commons-logging.jar
cvs rdiff: failed to read diff file header /tmp/cvskODGjM for
commons-logging.jar,v: end of file
Index: fractal-corba/lib/fractal-xdoclet/fractal-xdoclet.jar
cvs rdiff: failed to read diff file header /tmp/cvsbHLVCN for
fractal-xdoclet.jar,v: end of file
Index: fractal-corba/lib/fractal-xdoclet/log4j.jar
cvs rdiff: failed to read diff file header /tmp/cvssldiLV for log4j.jar,v:
end of file
Index: fractal-corba/lib/fractal-xdoclet/xdoclet-1.3-SNAPSHOT.jar
cvs rdiff: failed to read diff file header /tmp/cvsD4suSX for
xdoclet-1.3-SNAPSHOT.jar,v: end of file
Index: fractal-corba/lib/fractal-xdoclet/xjavadoc-1.1.jar
cvs rdiff: failed to read diff file header /tmp/cvsuVLhAS for
xjavadoc-1.1.jar,v: end of file
Index: fractal-corba/lib/fractal/fractal.jar
cvs rdiff: failed to read diff file header /tmp/cvs1Vm1jU for fractal.jar,v:
end of file
Index: fractal-corba/lib/fractal/naming.jar
cvs rdiff: failed to read diff file header /tmp/cvsAH3Vt2 for naming.jar,v:
end of file
Index: fractal-corba/lib/jacorb/antlr-2.7.2.jar
cvs rdiff: failed to read diff file header /tmp/cvsD0fwB3 for
antlr-2.7.2.jar,v: end of file
Index: fractal-corba/lib/jacorb/avalon-framework-4.1.5.jar
cvs rdiff: failed to read diff file header /tmp/cvsCHds5Y for
avalon-framework-4.1.5.jar,v: end of file
Index: fractal-corba/lib/jacorb/concurrent-1.3.2.jar
cvs rdiff: failed to read diff file header /tmp/cvsDRLZo0 for
concurrent-1.3.2.jar,v: end of file
Index: fractal-corba/lib/jacorb/idl.jar
cvs rdiff: failed to read diff file header /tmp/cvsKK3x41 for idl.jar,v: end
of file
Index: fractal-corba/lib/jacorb/jacorb.jar
cvs rdiff: failed to read diff file header /tmp/cvsnWC61a for jacorb.jar,v:
end of file
Index: fractal-corba/lib/jacorb/logkit-1.2.jar
cvs rdiff: failed to read diff file header /tmp/cvswkShyp for
logkit-1.2.jar,v: end of file
Index: fractal-corba/lib/jacorb/wrapper-3.1.0.jar
cvs rdiff: failed to read diff file header /tmp/cvs93iFWj for
wrapper-3.1.0.jar,v: end of file
Index: fractal-corba/lib/julia/julia-asm.jar
cvs rdiff: failed to read diff file header /tmp/cvsigW31k for
julia-asm.jar,v: end of file
Index: fractal-corba/lib/julia/julia-mixins.jar
cvs rdiff: failed to read diff file header /tmp/cvsldTVrm for
julia-mixins.jar,v: end of file
Index: fractal-corba/lib/julia/julia-runtime.jar
cvs rdiff: failed to read diff file header /tmp/cvs0zPrBu for
julia-runtime.jar,v: end of file
Index: fractal-corba/lib/monolog/LICENSE.log4j
diff -u /dev/null fractal-corba/lib/monolog/LICENSE.log4j:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/lib/monolog/LICENSE.log4j Mon Feb 28 14:56:14 2005
@@ -0,0 +1,48 @@
+/*
+ *
============================================================================
+ * The Apache Software License, Version 1.1
+ *
============================================================================
+ *
+ * Copyright (C) 1999 The Apache Software Foundation. All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
modifica-
+ * tion, are permitted provided that the following conditions are met:
+ *
+ * 1. Redistributions of source code must retain the above copyright
notice,
+ * this list of conditions and the following disclaimer.
+ *
+ * 2. Redistributions in binary form must reproduce the above copyright
notice,
+ * this list of conditions and the following disclaimer in the
documentation
+ * and/or other materials provided with the distribution.
+ *
+ * 3. The end-user documentation included with the redistribution, if any,
must
+ * include the following acknowledgment: "This product includes
software
+ * developed by the Apache Software Foundation
(http://www.apache.org/)."
+ * Alternately, this acknowledgment may appear in the software itself,
if
+ * and wherever such third-party acknowledgments normally appear.
+ *
+ * 4. The names "log4j" and "Apache Software Foundation" must not be used
to
+ * endorse or promote products derived from this software without
prior
+ * written permission. For written permission, please contact
+ * apache@xxxxxxxxxxx
+ *
+ * 5. Products derived from this software may not be called "Apache", nor
may
+ * "Apache" appear in their name, without prior written permission of
the
+ * Apache Software Foundation.
+ *
+ * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
WARRANTIES,
+ * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
AND
+ * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
THE
+ * APACHE SOFTWARE FOUNDATION OR ITS CONTRIBUTORS BE LIABLE FOR ANY
DIRECT,
+ * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLU-
+ * DING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS
+ * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 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
OF
+ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ *
+ * This software consists of voluntary contributions made by many
individuals
+ * on behalf of the Apache Software Foundation. For more information on
the
+ * Apache Software Foundation, please see <http://www.apache.org/>.
+ *
+ */
Index: fractal-corba/lib/monolog/LICENSE.monolog
diff -u /dev/null fractal-corba/lib/monolog/LICENSE.monolog:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/lib/monolog/LICENSE.monolog Mon Feb 28 14:56:14 2005
@@ -0,0 +1,504 @@
+ GNU LESSER GENERAL PUBLIC LICENSE
+ Version 2.1, February 1999
+
+ Copyright (C) 1991, 1999 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the Lesser GPL. It also counts
+ as the successor of the GNU Library Public License, version 2, hence
+ the version number 2.1.]
+
+ Preamble
+
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+ This license, the Lesser General Public License, applies to some
+specially designated software packages--typically libraries--of the
+Free Software Foundation and other authors who decide to use it. You
+can use it too, but we suggest you first think carefully about whether
+this license or the ordinary General Public License is the better
+strategy to use in any particular case, based on the explanations below.
+
+ When we speak of free software, we are referring to freedom of use,
+not price. Our General Public Licenses are designed to make sure that
+you have the freedom to distribute copies of free software (and charge
+for this service if you wish); that you receive source code or can get
+it if you want it; that you can change the software and use pieces of
+it in new free programs; and that you are informed that you can do
+these things.
+
+ To protect your rights, we need to make restrictions that forbid
+distributors to deny you these rights or to ask you to surrender these
+rights. These restrictions translate to certain responsibilities for
+you if you distribute copies of the library or if you modify it.
+
+ For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you. You must make sure that they, too, receive or can get the source
+code. If you link other code with the library, you must provide
+complete object files to the recipients, so that they can relink them
+with the library after making changes to the library and recompiling
+it. And you must show them these terms so they know their rights.
+
+ We protect your rights with a two-step method: (1) we copyright the
+library, and (2) we offer you this license, which gives you legal
+permission to copy, distribute and/or modify the library.
+
+ To protect each distributor, we want to make it very clear that
+there is no warranty for the free library. Also, if the library is
+modified by someone else and passed on, the recipients should know
+that what they have is not the original version, so that the original
+author's reputation will not be affected by problems that might be
+introduced by others.
+
+ Finally, software patents pose a constant threat to the existence of
+any free program. We wish to make sure that a company cannot
+effectively restrict the users of a free program by obtaining a
+restrictive license from a patent holder. Therefore, we insist that
+any patent license obtained for a version of the library must be
+consistent with the full freedom of use specified in this license.
+
+ Most GNU software, including some libraries, is covered by the
+ordinary GNU General Public License. This license, the GNU Lesser
+General Public License, applies to certain designated libraries, and
+is quite different from the ordinary General Public License. We use
+this license for certain libraries in order to permit linking those
+libraries into non-free programs.
+
+ When a program is linked with a library, whether statically or using
+a shared library, the combination of the two is legally speaking a
+combined work, a derivative of the original library. The ordinary
+General Public License therefore permits such linking only if the
+entire combination fits its criteria of freedom. The Lesser General
+Public License permits more lax criteria for linking other code with
+the library.
+
+ We call this license the "Lesser" General Public License because it
+does Less to protect the user's freedom than the ordinary General
+Public License. It also provides other free software developers Less
+of an advantage over competing non-free programs. These disadvantages
+are the reason we use the ordinary General Public License for many
+libraries. However, the Lesser license provides advantages in certain
+special circumstances.
+
+ For example, on rare occasions, there may be a special need to
+encourage the widest possible use of a certain library, so that it becomes
+a de-facto standard. To achieve this, non-free programs must be
+allowed to use the library. A more frequent case is that a free
+library does the same job as widely used non-free libraries. In this
+case, there is little to gain by limiting the free library to free
+software only, so we use the Lesser General Public License.
+
+ In other cases, permission to use a particular library in non-free
+programs enables a greater number of people to use a large body of
+free software. For example, permission to use the GNU C Library in
+non-free programs enables many more people to use the whole GNU
+operating system, as well as its variant, the GNU/Linux operating
+system.
+
+ Although the Lesser General Public License is Less protective of the
+users' freedom, it does ensure that the user of a program that is
+linked with the Library has the freedom and the wherewithal to run
+that program using a modified version of the Library.
+
+ The precise terms and conditions for copying, distribution and
+modification follow. Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library". The
+former contains code derived from the library, whereas the latter must
+be combined with the library in order to run.
+
+ GNU LESSER GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License Agreement applies to any software library or other
+program which contains a notice placed by the copyright holder or
+other authorized party saying it may be distributed under the terms of
+this Lesser General Public License (also called "this License").
+Each licensee is addressed as "you".
+
+ A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+ The "Library", below, refers to any such software library or work
+which has been distributed under these terms. A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language. (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+ "Source code" for a work means the preferred form of the work for
+making modifications to it. For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+ Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it). Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+
+ 1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+ You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+
+ 2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) The modified work must itself be a software library.
+
+ b) You must cause the files modified to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ c) You must cause the whole of the work to be licensed at no
+ charge to all third parties under the terms of this License.
+
+ d) If a facility in the modified Library refers to a function or a
+ table of data to be supplied by an application program that uses
+ the facility, other than as an argument passed when the facility
+ is invoked, then you must make a good faith effort to ensure that,
+ in the event an application does not supply such function or
+ table, the facility still operates, and performs whatever part of
+ its purpose remains meaningful.
+
+ (For example, a function in a library to compute square roots has
+ a purpose that is entirely well-defined independent of the
+ application. Therefore, Subsection 2d requires that any
+ application-supplied function or table used by this function must
+ be optional: if the application does not supply it, the square
+ root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library. To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License. (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.) Do not make any other change in
+these notices.
+
+ Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+ This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+ 4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+ If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library". Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+ However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library". The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+ When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library. The
+threshold for this to be true is not precisely defined by law.
+
+ If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work. (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+ Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+
+ 6. As an exception to the Sections above, you may also combine or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+ You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License. You must supply a copy of this License. If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License. Also, you must do one
+of these things:
+
+ a) Accompany the work with the complete corresponding
+ machine-readable source code for the Library including whatever
+ changes were used in the work (which must be distributed under
+ Sections 1 and 2 above); and, if the work is an executable linked
+ with the Library, with the complete machine-readable "work that
+ uses the Library", as object code and/or source code, so that the
+ user can modify the Library and then relink to produce a modified
+ executable containing the modified Library. (It is understood
+ that the user who changes the contents of definitions files in the
+ Library will not necessarily be able to recompile the application
+ to use the modified definitions.)
+
+ b) Use a suitable shared library mechanism for linking with the
+ Library. A suitable mechanism is one that (1) uses at run time a
+ copy of the library already present on the user's computer system,
+ rather than copying library functions into the executable, and (2)
+ will operate properly with a modified version of the library, if
+ the user installs one, as long as the modified version is
+ interface-compatible with the version that the work was made with.
+
+ c) Accompany the work with a written offer, valid for at
+ least three years, to give the same user the materials
+ specified in Subsection 6a, above, for a charge no more
+ than the cost of performing this distribution.
+
+ d) If distribution of the work is made by offering access to copy
+ from a designated place, offer equivalent access to copy the above
+ specified materials from the same place.
+
+ e) Verify that the user has already received a copy of these
+ materials or that you have already sent this user a copy.
+
+ For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it. However, as a special exception,
+the materials to be distributed need not include anything that is
+normally distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+ It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system. Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+
+ 7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+ a) Accompany the combined library with a copy of the same work
+ based on the Library, uncombined with any other library
+ facilities. This must be distributed under the terms of the
+ Sections above.
+
+ b) Give prominent notice with the combined library of the fact
+ that part of it is a work based on the Library, and explaining
+ where to find the accompanying uncombined form of the same work.
+
+ 8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License. Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License. However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+ 9. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Library or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+ 10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties with
+this License.
+
+ 11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all. For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded. In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+ 13. The Free Software Foundation may publish revised and/or new
+versions of the Lesser General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation. If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+
+ 14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission. For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this. Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+ NO WARRANTY
+
+ 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Libraries
+
+ If you develop a new library, and you want it to be of the greatest
+possible use to the public, we recommend making it free software that
+everyone can redistribute and change. You can do so by permitting
+redistribution under these terms (or, alternatively, under the terms of the
+ordinary General Public License).
+
+ To apply these terms, attach the following notices to the library. It is
+safest to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least the
+"copyright" line and a pointer to where the full notice is found.
+
+ <one line to give the library's name and a brief idea of what it does.>
+ Copyright (C) <year> <name of author>
+
+ 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.1 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
+
+Also add information on how to contact you by electronic and paper mail.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the library, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the
+ library `Frob' (a library for tweaking knobs) written by James Random
Hacker.
+
+ <signature of Ty Coon>, 1 April 1990
+ Ty Coon, President of Vice
+
+That's all there is to it!
+
+
Index: fractal-corba/lib/monolog/log4j-1.2.8.jar
cvs rdiff: failed to read diff file header /tmp/cvshXGOOr for
log4j-1.2.8.jar,v: end of file
Index: fractal-corba/lib/monolog/ow_monolog.jar
cvs rdiff: failed to read diff file header /tmp/cvssYDK2t for
ow_monolog.jar,v: end of file
Index: fractal-corba/lib/utils/ow_util_trace.jar
cvs rdiff: failed to read diff file header /tmp/cvs6pYDKC for
ow_util_trace.jar,v: end of file
Index: fractal-corba/lib/velocity/commons-collections.jar
cvs rdiff: failed to read diff file header /tmp/cvsNXz22D for
commons-collections.jar,v: end of file
Index: fractal-corba/lib/velocity/log4j-1.1.3.jar
cvs rdiff: failed to read diff file header /tmp/cvsyvMosy for
log4j-1.1.3.jar,v: end of file
Index: fractal-corba/lib/velocity/log4j-core-1.1.3.jar
cvs rdiff: failed to read diff file header /tmp/cvsNm3fTz for
log4j-core-1.1.3.jar,v: end of file
Index: fractal-corba/lib/velocity/logkit-1.0.1.jar
cvs rdiff: failed to read diff file header /tmp/cvsWGExcB for
logkit-1.0.1.jar,v: end of file
Index: fractal-corba/lib/velocity/velocity-1.4.jar
cvs rdiff: failed to read diff file header /tmp/cvsdr1vyJ for
velocity-1.4.jar,v: end of file
Index:
fractal-corba/src/fractal/org/objectweb/fractal/corba/FcServiceProvider.fractal
diff -u /dev/null
fractal-corba/src/fractal/org/objectweb/fractal/corba/FcServiceProvider.fractal:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++
fractal-corba/src/fractal/org/objectweb/fractal/corba/FcServiceProvider.fractal
Mon Feb 28 14:56:13 2005
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE definition PUBLIC
+ "-//objectweb.org//DTD Fractal ADL 2.0//EN"
+ "classpath://org/objectweb/fractal/adl/xml/standard.dtd">
+
+<definition name="org.objectweb.fractal.corba.FcServiceProvider"
+
extends="org.objectweb.fractal.corba.api.FcOrb,org.objectweb.fractal.corba.api.FcPoa,org.objectweb.fractal.corba.api.FcNamingService">
+ <component name="FcORB"
+ definition="org.objectweb.fractal.corba.lib.FcOrbImpl"/>
+ <component name="FcNS"
+ definition="org.objectweb.fractal.corba.lib.FcNamingServiceImpl"/>
+
+ <binding client="this.orb"
+ server="FcORB.orb"/>
+ <binding client="this.poa"
+ server="FcORB.poa"/>
+ <binding client="this.naming-service"
+ server="FcNS.naming-service"/>
+ <binding client="FcNS.orb"
+ server="FcORB.orb"/>
+</definition>
\ No newline at end of file
Index:
fractal-corba/src/fractal/org/objectweb/fractal/corba/TpServiceProvider.fractal
diff -u /dev/null
fractal-corba/src/fractal/org/objectweb/fractal/corba/TpServiceProvider.fractal:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++
fractal-corba/src/fractal/org/objectweb/fractal/corba/TpServiceProvider.fractal
Mon Feb 28 14:56:13 2005
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="ISO-8859-1" ?>
+<!DOCTYPE definition PUBLIC
+ "-//objectweb.org//DTD Fractal ADL 2.0//EN"
+ "classpath://org/objectweb/fractal/adl/xml/standard.dtd">
+
+<definition name="org.objectweb.fractal.corba.TpServiceProvider"
+ extends="org.objectweb.fractal.corba.FcServiceProvider">
+ <component name="FcORB"
+ definition="org.objectweb.fractal.corba.lib.TpOrbImpl"/>
+ <component name="FcNS"
+ definition="org.objectweb.fractal.corba.lib.TpNamingServiceImpl"/>
+
+ <template-controller desc="compositeTemplate" />
+</definition>
\ No newline at end of file
Index:
fractal-corba/src/java/org/objectweb/fractal/corba/api/NamingService.java
diff -u /dev/null
fractal-corba/src/java/org/objectweb/fractal/corba/api/NamingService.java:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/src/java/org/objectweb/fractal/corba/api/NamingService.java
Mon Feb 28 14:56:13 2005
@@ -0,0 +1,46 @@
+/*====================================================================
+
+GoTM: GoTM is an open Transaction Monitor
+Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+Contact: gotm-team@xxxxxxxxxxxxx
+
+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.1 of the License, or 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
+
+Initial developer(s): Romain Rouvoy.
+Contributor(s): .
+
+---------------------------------------------------------------------
+$Id: NamingService.java,v 1.1 2005/02/28 13:56:13 rouvoy Exp $
+====================================================================*/
+package org.objectweb.fractal.corba.api;
+
+import org.omg.CosNaming.NamingContextExt;
+
+/**
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @created 24 févr. 2005
+ * @modified $Date: 2005/02/28 13:56:13 $
+ * @version $Revision: 1.1 $
+ * @fractal.itf name="naming-service"
+ */
+public interface NamingService {
+
+ /**
+ * Provides a reference to the default Naming Service referenced by the
ORB.
+ * @return the reference to the Naming Service.
+ */
+ NamingContextExt getNamingService();
+}
Index: fractal-corba/src/java/org/objectweb/fractal/corba/api/Orb.java
diff -u /dev/null
fractal-corba/src/java/org/objectweb/fractal/corba/api/Orb.java:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/src/java/org/objectweb/fractal/corba/api/Orb.java Mon
Feb 28 14:56:13 2005
@@ -0,0 +1,59 @@
+/*====================================================================
+
+ GoTM: GoTM is an open Transaction Monitor
+ Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+ Contact: gotm-team@xxxxxxxxxxxxx
+
+ 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.1 of the License, or 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
+
+ Initial developer(s): Romain Rouvoy.
+ Contributor(s): .
+
+ ---------------------------------------------------------------------
+ $Id: Orb.java,v 1.1 2005/02/28 13:56:13 rouvoy Exp $
+ ====================================================================*/
+package org.objectweb.fractal.corba.api;
+
+import org.omg.CORBA.ORB;
+
+/**
+ * Interface allowing to access to the CORBA Object Request Broker (ORB).
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy </a>
+ * @created 22 févr. 2005
+ * @modified $Date: 2005/02/28 13:56:13 $
+ * @version $Revision: 1.1 $
+ * @fractal.itf name="orb"
+ */
+public interface Orb {
+ /** Fractal ADL Identifier for the <code>Orb</code> interface. */
+ public static final String ORB_ITF = "orb";
+
+ /**
+ * Provides the reference to the underlying Object Request Broker (ORB)
+ * used.
+ *
+ * @return the reference of the ORB.
+ */
+ public ORB getORB();
+
+ /**
+ * Provides the reference to the underlying Object Request Broker (ORB)
+ * singleton used.
+ *
+ * @return the reference of the ORB.
+ */
+ public ORB getORBSingleton();
+}
Index:
fractal-corba/src/java/org/objectweb/fractal/corba/api/OrbAttributeController.java
diff -u /dev/null
fractal-corba/src/java/org/objectweb/fractal/corba/api/OrbAttributeController.java:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++
fractal-corba/src/java/org/objectweb/fractal/corba/api/OrbAttributeController.java
Mon Feb 28 14:56:13 2005
@@ -0,0 +1,61 @@
+/*====================================================================
+
+GoTM: GoTM is an open Transaction Monitor
+Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+Contact: gotm-team@xxxxxxxxxxxxx
+
+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.1 of the License, or 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
+
+Initial developer(s): Romain Rouvoy.
+Contributor(s): .
+
+---------------------------------------------------------------------
+$Id: OrbAttributeController.java,v 1.1 2005/02/28 13:56:13 rouvoy Exp $
+====================================================================*/
+package org.objectweb.fractal.corba.api;
+
+import org.objectweb.fractal.api.control.AttributeController;
+
+/**
+ * ORB attributes declaration.
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @created 22 févr. 2005
+ * @modified $Date: 2005/02/28 13:56:13 $
+ * @version $Revision: 1.1 $
+ */
+public interface OrbAttributeController
+ extends AttributeController {
+
+ /**
+ * @param desc the ORB implementation class descriptor
+ */
+ public void setOrbDesc(String desc);
+
+ /**
+ * @return the ORB implementation class descriptor.
+ */
+ public String getOrbDesc();
+
+ /**
+ * @param desc the ORB Singleton implementation class descriptor.
+ */
+ public void setOrbSingletonDesc(String desc);
+
+ /**
+ * @return the ORB Singleton implementation class descriptor.
+ */
+ public String getOrbSingletonDesc();
+}
Index: fractal-corba/src/java/org/objectweb/fractal/corba/api/Poa.java
diff -u /dev/null
fractal-corba/src/java/org/objectweb/fractal/corba/api/Poa.java:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/src/java/org/objectweb/fractal/corba/api/Poa.java Mon
Feb 28 14:56:13 2005
@@ -0,0 +1,49 @@
+/*====================================================================
+
+GoTM: GoTM is an open Transaction Monitor
+Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+Contact: gotm-team@xxxxxxxxxxxxx
+
+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.1 of the License, or 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
+
+Initial developer(s): Romain Rouvoy.
+Contributor(s): .
+
+---------------------------------------------------------------------
+$Id: Poa.java,v 1.1 2005/02/28 13:56:13 rouvoy Exp $
+====================================================================*/
+package org.objectweb.fractal.corba.api;
+
+import org.omg.PortableServer.POA;
+
+/**
+ * Interface provinding references to the Portable Object Adapter service.
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @created 22 févr. 2005
+ * @modified $Date: 2005/02/28 13:56:13 $
+ * @version $Revision: 1.1 $
+ * @fractal.itf name="poa"
+ */
+public interface Poa {
+ /** Fractal ADL Identifier for the <code>field</code> interface. */
+ public static final String POA_ITF = "poa";
+
+ /**
+ * Provides the reference to the Root POA.
+ * @return reference to the Root POA.
+ */
+ public POA getRootPOA();
+}
Index:
fractal-corba/src/java/org/objectweb/fractal/corba/compiler/CorbaDescriptor.java
diff -u /dev/null
fractal-corba/src/java/org/objectweb/fractal/corba/compiler/CorbaDescriptor.java:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++
fractal-corba/src/java/org/objectweb/fractal/corba/compiler/CorbaDescriptor.java
Mon Feb 28 14:56:13 2005
@@ -0,0 +1,106 @@
+/*====================================================================
+
+GoTM: GoTM is an open Transaction Monitor
+Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+Contact: gotm-team@xxxxxxxxxxxxx
+
+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.1 of the License, or 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
+
+Initial developer(s): Romain Rouvoy.
+Contributor(s): .
+
+---------------------------------------------------------------------
+$Id: CorbaDescriptor.java,v 1.1 2005/02/28 13:56:13 rouvoy Exp $
+====================================================================*/
+package org.objectweb.fractal.corba.compiler;
+
+
+/**
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @created 25 févr. 2005
+ * @modified $Date: 2005/02/28 13:56:13 $
+ * @version $Revision: 1.1 $
+ */
+public class CorbaDescriptor {
+
+ private String pkg ;
+ private String itf ;
+
+ /**
+ * @param file
+ */
+ public CorbaDescriptor(String file) {
+ this.itf = file.substring(file.lastIndexOf("/")+1, file.length());
+ try {
+ this.pkg = file.substring(0, file.lastIndexOf("/")).replace('/',
'.');
+ } catch (Exception e) {
+ this.pkg = "";
+ }
+ }
+
+ /**
+ * @return
+ */
+ public String getInterfaceName() {
+ return this.itf ;
+ }
+
+ public boolean hasPackage() {
+ return !this.pkg.equals("");
+ }
+
+ /**
+ * @return
+ */
+ public String getPackage() {
+ return this.pkg ;
+ }
+
+ /**
+ * @return
+ */
+ public String getFullInterfaceName() {
+ return getPackage()+"."+getInterfaceName();
+ }
+
+ /**
+ * @return
+ */
+ public String getFullClassPath() {
+ return getPackage().replace(".", "/")+"/"+getClassName()+".java";
+ }
+
+ /**
+ * @return
+ */
+ public String getSkeletonName() {
+ return this.itf +"POATie";
+ }
+
+ /**
+ * @return
+ */
+ public String getClassName() {
+ return this.itf + "FcPOATie";
+ }
+
+ /**
+ * @return
+ */
+ public String getInterfaceId() {
+ return this.itf.toLowerCase();
+ }
+}
Index:
fractal-corba/src/java/org/objectweb/fractal/corba/compiler/FcCorbaTask.java
diff -u /dev/null
fractal-corba/src/java/org/objectweb/fractal/corba/compiler/FcCorbaTask.java:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++
fractal-corba/src/java/org/objectweb/fractal/corba/compiler/FcCorbaTask.java
Mon Feb 28 14:56:13 2005
@@ -0,0 +1,94 @@
+/*====================================================================
+
+GoTM: GoTM is an open Transaction Monitor
+Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+Contact: gotm-team@xxxxxxxxxxxxx
+
+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.1 of the License, or 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
+
+Initial developer(s): Romain Rouvoy.
+Contributor(s): .
+
+---------------------------------------------------------------------
+$Id: FcCorbaTask.java,v 1.1 2005/02/28 13:56:13 rouvoy Exp $
+====================================================================*/
+package org.objectweb.fractal.corba.compiler;
+
+import java.io.File;
+
+import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.DirectoryScanner;
+import org.apache.tools.ant.Task;
+import org.apache.tools.ant.types.FileSet;
+
+/**
+ * CORBA to Fractal Skeleton Generator Task.
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @created 25 févr. 2005
+ * @modified $Date: 2005/02/28 13:56:13 $
+ * @version $Revision: 1.1 $
+ */
+public class FcCorbaTask extends Task {
+
+ private FileSet corbaSrc ;
+ private File destDir ;
+
+ /**
+ * Defines the destination directory for the generated files.
+ * @param dest the root directory of the generation process.
+ */
+ public void setDestDir(File dest) {
+ this.destDir = dest ;
+ }
+
+ /**
+ * Provides the destination directory for the generated files.
+ * @return the root directory of the generation process.
+ */
+ public File getDestDir() {
+ return this.destDir ;
+ }
+
+ /**
+ * Defines the source fileset for the generation process.
+ * @return the fileset containing the source files.
+ */
+ public FileSet createFileSet() {
+ if (this.corbaSrc == null)
+ this.corbaSrc = new FileSet() ;
+ return this.corbaSrc ;
+ }
+
+ /* (non-Javadoc)
+ * @see org.apache.tools.ant.Task#execute()
+ */
+ public void execute() {
+ if (this.corbaSrc == null) {
+ throw new BuildException("No Source Directory defined");
+ }
+ DirectoryScanner scan =
this.corbaSrc.getDirectoryScanner(getProject());
+ String[] file = scan.getIncludedFiles();
+ FractalGenerator gen = new FractalGenerator(this.destDir);
+ log(file.length+" file(s) to generate into the
"+this.destDir.getPath()+" directory.");
+ for (int i = 0 ; i < file.length ; i++) {
+ try {
+ gen.generate(file[i].replaceAll("Operations.java", ""));
+ } catch (Exception e) {
+ throw new BuildException(e);
+ }
+ }
+ }
+}
Index:
fractal-corba/src/java/org/objectweb/fractal/corba/compiler/FractalGenerator.java
diff -u /dev/null
fractal-corba/src/java/org/objectweb/fractal/corba/compiler/FractalGenerator.java:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++
fractal-corba/src/java/org/objectweb/fractal/corba/compiler/FractalGenerator.java
Mon Feb 28 14:56:13 2005
@@ -0,0 +1,86 @@
+/*====================================================================
+
+GoTM: GoTM is an open Transaction Monitor
+Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+Contact: gotm-team@xxxxxxxxxxxxx
+
+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.1 of the License, or 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
+
+Initial developer(s): Romain Rouvoy.
+Contributor(s): .
+
+---------------------------------------------------------------------
+$Id: FractalGenerator.java,v 1.1 2005/02/28 13:56:13 rouvoy Exp $
+====================================================================*/
+package org.objectweb.fractal.corba.compiler;
+
+import java.io.File;
+import java.io.FileOutputStream;
+import java.io.PrintWriter;
+
+import org.apache.velocity.VelocityContext;
+import org.apache.velocity.app.VelocityEngine;
+import org.apache.velocity.runtime.RuntimeConstants;
+
+
+/**
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @created 24 févr. 2005
+ * @modified $Date: 2005/02/28 13:56:13 $
+ * @version $Revision: 1.1 $
+ */
+public class FractalGenerator {
+ protected static final String VM_TEMPLATE = "FractalTemplate.vm";
+
+ protected VelocityContext context ;
+ protected VelocityEngine engine ;
+ protected File destDir ;
+
+ /**
+ * The constructor of the generator.
+ * @param destdir
+ */
+ public FractalGenerator(File destdir) {
+ this.destDir = destdir;
+ this.context = new VelocityContext();
+
+ this.engine = new VelocityEngine();
+ this.engine.setProperty(RuntimeConstants.RESOURCE_LOADER,
"classpath");
+ this.engine.setProperty("classpath." +
RuntimeConstants.RESOURCE_LOADER + ".class",
+
org.apache.velocity.runtime.resource.loader.ClasspathResourceLoader.class.getName());
+ try {
+ this.engine.init();
+ } catch (Exception e) {
+ e.printStackTrace();
+ }
+ }
+
+ /**
+ * @param filedesc
+ * @throws Exception
+ */
+ public void generate(String filedesc) throws Exception{
+ CorbaDescriptor desc = new CorbaDescriptor(filedesc);
+ this.context.put("itf",desc);
+ File f = new File(this.destDir, desc.getFullClassPath());
+ f.createNewFile();
+ FileOutputStream o = new FileOutputStream(f.getAbsolutePath());
+ PrintWriter w = new PrintWriter(o);
+ this.engine.getTemplate(VM_TEMPLATE).merge(this.context, w );
+ w.flush();
+ w.close();
+ }
+}
Index: fractal-corba/src/java/org/objectweb/fractal/corba/compiler/Test.java
diff -u /dev/null
fractal-corba/src/java/org/objectweb/fractal/corba/compiler/Test.java:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/src/java/org/objectweb/fractal/corba/compiler/Test.java
Mon Feb 28 14:56:13 2005
@@ -0,0 +1,49 @@
+/*====================================================================
+
+GoTM: GoTM is an open Transaction Monitor
+Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+Contact: gotm-team@xxxxxxxxxxxxx
+
+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.1 of the License, or 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
+
+Initial developer(s): Romain Rouvoy.
+Contributor(s): .
+
+---------------------------------------------------------------------
+$Id: Test.java,v 1.1 2005/02/28 13:56:13 rouvoy Exp $
+====================================================================*/
+package org.objectweb.fractal.corba.compiler;
+
+import java.io.File;
+
+/**
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @created 25 févr. 2005
+ * @modified $Date: 2005/02/28 13:56:13 $
+ * @version $Revision: 1.1 $
+ */
+public class Test {
+
+ /**
+ * @param args
+ * @throws Exception
+ */
+ public static void main(String[] args) throws Exception{
+ FractalGenerator gen = new FractalGenerator(new
File("output/build/java"));
+ gen.generate("org/omg/CosTransactions/Control");
+ }
+
+}
Index:
fractal-corba/src/java/org/objectweb/fractal/corba/lib/NamingServiceImpl.java
diff -u /dev/null
fractal-corba/src/java/org/objectweb/fractal/corba/lib/NamingServiceImpl.java:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++
fractal-corba/src/java/org/objectweb/fractal/corba/lib/NamingServiceImpl.java
Mon Feb 28 14:56:14 2005
@@ -0,0 +1,81 @@
+/*====================================================================
+
+GoTM: GoTM is an open Transaction Monitor
+Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+Contact: gotm-team@xxxxxxxxxxxxx
+
+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.1 of the License, or 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
+
+Initial developer(s): Romain Rouvoy.
+Contributor(s): .
+
+---------------------------------------------------------------------
+$Id: NamingServiceImpl.java,v 1.1 2005/02/28 13:56:14 rouvoy Exp $
+====================================================================*/
+package org.objectweb.fractal.corba.lib;
+
+import org.objectweb.fractal.api.NoSuchInterfaceException;
+import org.objectweb.fractal.corba.api.NamingService;
+import org.objectweb.fractal.corba.api.Orb;
+import org.objectweb.fractal.lib.BindablePrimitive;
+import org.omg.CORBA.ORBPackage.InvalidName;
+import org.omg.CosNaming.NamingContextExt;
+import org.omg.CosNaming.NamingContextExtHelper;
+
+/**
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @created 24 févr. 2005
+ * @modified $Date: 2005/02/28 13:56:14 $
+ * @version $Revision: 1.1 $
+ * @fractal.itf name="orb" role="client"
signature="org.objectweb.fractal.corba.api.Orb"
+ */
+public class NamingServiceImpl
+ extends BindablePrimitive
+ implements NamingService {
+
+ /* (non-Javadoc)
+ * @see org.objectweb.fractal.lib.BindablePrimitive#clientFc()
+ */
+ protected String[] clientFc() {
+ return new String [] {Orb.ORB_ITF};
+ }
+
+ /**
+ * Provides the reference to the Orb Interface.
+ * @return the Orb interface.
+ */
+ protected Orb getOrb() {
+ try {
+ return (Orb) lookupFc(Orb.ORB_ITF);
+ } catch (NoSuchInterfaceException e) {
+ getTrace().error(e.getMessage());
+ }
+ return null;
+ }
+
+ /* (non-Javadoc)
+ * @see org.objectweb.fractal.corba.api.NamingService#getNamingService()
+ */
+ public NamingContextExt getNamingService() {
+ try {
+ return
NamingContextExtHelper.narrow(getOrb().getORB().resolve_initial_references("NameService"));
+ } catch (InvalidName e) {
+ getTrace().error(e.getMessage());
+ }
+ return null;
+ }
+
+}
Index: fractal-corba/src/java/org/objectweb/fractal/corba/lib/OrbImpl.java
diff -u /dev/null
fractal-corba/src/java/org/objectweb/fractal/corba/lib/OrbImpl.java:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/src/java/org/objectweb/fractal/corba/lib/OrbImpl.java Mon
Feb 28 14:56:14 2005
@@ -0,0 +1,146 @@
+/*====================================================================
+
+GoTM: GoTM is an open Transaction Monitor
+Copyright (C) 2003-2005 INRIA - Jacquard & USTL - LIFL - GOAL
+Contact: gotm-team@xxxxxxxxxxxxx
+
+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.1 of the License, or 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
+
+Initial developer(s): Romain Rouvoy.
+Contributor(s): .
+
+---------------------------------------------------------------------
+$Id: OrbImpl.java,v 1.1 2005/02/28 13:56:14 rouvoy Exp $
+====================================================================*/
+package org.objectweb.fractal.corba.lib;
+
+import java.util.Properties;
+
+import org.objectweb.fractal.api.control.LifeCycleController;
+import org.objectweb.fractal.corba.api.Orb;
+import org.objectweb.fractal.corba.api.OrbAttributeController;
+import org.objectweb.fractal.corba.api.Poa;
+import org.objectweb.fractal.lib.LoggablePrimitive;
+import org.omg.CORBA.ORB;
+import org.omg.CORBA.ORBPackage.InvalidName;
+import org.omg.PortableServer.POA;
+import org.omg.PortableServer.POAManagerPackage.AdapterInactive;
+
+/**
+ * Fractal-based extension of the ORB class.
+ * @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
+ * @created 22 févr. 2005
+ * @modified $Date: 2005/02/28 13:56:14 $
+ * @version $Revision: 1.1 $
+ * @fractal.itf
+ */
+public class OrbImpl
+extends LoggablePrimitive
+ implements LifeCycleController, OrbAttributeController, Orb, Poa
+{
+ /**
+ * @fractal.attr argument="orb"
+ */
+ public static final String orbDesc = "org.omg.CORBA.ORBClass";
+
+ /**
+ * @fractal.attr argument="singleton"
+ */
+ public static final String orbSingletonDesc =
"org.omg.CORBA.ORBSingletonClass";
+
+ /** <code>orb</code> . */
+ private ORB orb ;
+ /** ORB class descriptor. */
+ private Properties properties = System.getProperties() ;
+
+ /* (non-Javadoc)
+ * @see
org.objectweb.gotm.lib.CosTransactions.OrbAttributeController#setOrbDesc(java.lang.String)
+ */
+ public void setOrbDesc(String desc) {
+ this.properties.put(orbDesc, desc);
+ }
+
+ /* (non-Javadoc)
+ * @see
org.objectweb.gotm.lib.CosTransactions.OrbAttributeController#getOrbDesc()
+ */
+ public String getOrbDesc() {
+ return this.properties.getProperty(orbDesc,"");
+ }
+
+ /* (non-Javadoc)
+ * @see
org.objectweb.gotm.lib.CosTransactions.OrbAttributeController#setOrbSingletonDesc(java.lang.String)
+ */
+ public void setOrbSingletonDesc(String desc) {
+ this.properties.put(orbSingletonDesc, desc);
+ }
+
+ /* (non-Javadoc)
+ * @see
org.objectweb.gotm.lib.CosTransactions.OrbAttributeController#getOrbSingletonDesc()
+ */
+ public String getOrbSingletonDesc() {
+ return this.properties.getProperty(orbSingletonDesc,"");
+ }
+
+ /* (non-Javadoc)
+ * @see
org.objectweb.fractal.api.control.LifeCycleController#getFcState()
+ */
+ public String getFcState() { return null; }
+
+ /* (non-Javadoc)
+ * @see org.objectweb.fractal.api.control.LifeCycleController#startFc()
+ */
+ public void startFc() {
+ if (this.orb == null)
+ this.orb = ORB.init(new String[] {}, this.properties);
+ }
+
+ /* (non-Javadoc)
+ * @see org.objectweb.fractal.api.control.LifeCycleController#stopFc()
+ */
+ public void stopFc() {
+ // Nothing to do.
+ }
+
+ /* (non-Javadoc)
+ * @see org.objectweb.fractal.corba.Orb#getORB()
+ */
+ public ORB getORB() {
+ return this.orb;
+ }
+
+ /* (non-Javadoc)
+ * @see org.objectweb.fractal.corba.Orb#getORBSingleton()
+ */
+ public ORB getORBSingleton() {
+ return ORB.init();
+ }
+
+ /* (non-Javadoc)
+ * @see org.objectweb.fractal.corba.Poa#getRootPOA()
+ */
+ public POA getRootPOA() {
+ try {
+ POA poa =
org.omg.PortableServer.POAHelper.narrow(getORB().resolve_initial_references("RootPOA"));
+ poa.the_POAManager().activate();
+ return poa;
+ } catch (InvalidName e) {
+ getTrace().error(e.getMessage());
+ } catch (AdapterInactive e) {
+ getTrace().error(e.getMessage());
+ }
+ return null ;
+ }
+}
Index: fractal-corba/src/julia/julia.cfg
diff -u /dev/null fractal-corba/src/julia/julia.cfg:1.1
--- /dev/null Mon Feb 28 14:56:15 2005
+++ fractal-corba/src/julia/julia.cfg Mon Feb 28 14:56:14 2005
@@ -0,0 +1,614 @@
+###############################################################################
+# STANDARD JULIA CONFIGURATION FILE - DO NOT EDIT
+#
+# PUT NEW OR OVERRIDEN DEFINITIONS AT THE END OF THE FILE, OR IN OTHER FILES
+###############################################################################
+
+#
-----------------------------------------------------------------------------
+# INTERFACE CLASS GENERATORS
+#
-----------------------------------------------------------------------------
+
+# default class generator, generates sub classes of BasicComponentInterface
+
+(interface-class-generator
+ (org.objectweb.fractal.julia.asm.InterfaceClassGenerator
+ org.objectweb.fractal.julia.BasicComponentInterface
+ )
+)
+
+#
-----------------------------------------------------------------------------
+# CONTROLLER INTERFACES
+#
+# each definition must be of the form (interface-name interface-signature)
+#
-----------------------------------------------------------------------------
+
+# Component interface
+
+(component-itf
+ (component org.objectweb.fractal.api.Component)
+)
+
+# TypeFactory interface
+
+(type-factory-itf
+ (type-factory org.objectweb.fractal.api.type.TypeFactory)
+)
+
+# GenericFactory interface
+
+(generic-factory-itf
+ (generic-factory org.objectweb.fractal.api.factory.GenericFactory)
+)
+
+# Factory interface
+
+(factory-itf
+ # choose one of the following definitions:
+ # the first one provides only the Fractal Factory interface
+ # the second one provides a Julia extension of the Factory interface
+ # (factory org.objectweb.fractal.api.factory.Factory)
+ (factory org.objectweb.fractal.julia.factory.Template)
+)
+
+(julia-factory-itf
+ (/template org.objectweb.fractal.julia.factory.Template)
+)
+
+# AttributeController interface
+
+(attribute-controller-itf
+ (attribute org.objectweb.fractal.api.control.AttributeController)
+)
+
+(julia-attribute-controller-itf
+ (/cloneable-attribute-controller
org.objectweb.fractal.julia.control.attribute.CloneableAttributeController)
+)
+
+# BindingController interface
+
+(binding-controller-itf
+ (binding-controller org.objectweb.fractal.api.control.BindingController)
+)
+
+# ContentController interface
+
+(content-controller-itf
+ (content-controller org.objectweb.fractal.api.control.ContentController)
+)
+
+# SuperController interface
+
+(super-controller-itf
+ # choose one of the following definitions:
+ # the first one provides only the Fractal SuperController interface
+ # the second one provides a Julia extension of the SuperController
interface
+ # (super-controller org.objectweb.fractal.api.control.SuperController)
+ (super-controller
org.objectweb.fractal.julia.control.content.SuperControllerNotifier)
+)
+
+(julia-super-controller-itf
+ (/super-controller-notifier
org.objectweb.fractal.julia.control.content.SuperControllerNotifier)
+)
+
+# LifeCycleController interface
+
+(lifecycle-controller-itf
+ # choose one of the following definitions:
+ # the first one provides only the Fractal LifeCycleController interface
+ # the second one provides a Julia extension of the LifeCycleController
interface
+ # (lifecycle-controller
org.objectweb.fractal.api.control.LifeCycleController)
+ (lifecycle-controller
org.objectweb.fractal.julia.control.lifecycle.LifeCycleCoordinator)
+)
+
+(julia-lifecycle-controller-itf
+ (/lifecycle-coordinator
org.objectweb.fractal.julia.control.lifecycle.LifeCycleCoordinator)
+)
+
+# NameController interface
+
+(name-controller-itf
+ (name-controller org.objectweb.fractal.api.control.NameController)
+)
+
+#
-----------------------------------------------------------------------------
+# CONTROLLER OBJECTS
+#
+# each definition must be an object descriptor
+#
-----------------------------------------------------------------------------
+
+# Component implementation
+
+(component-impl
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ ComponentImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+ org.objectweb.fractal.julia.BasicComponentMixin
+ # to check type related constraints, and for collection interfaces
support:
+ org.objectweb.fractal.julia.TypeComponentMixin
+ ))
+)
+
+# TypeFactory implementation
+
+(type-factory-impl
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ TypeFactoryImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+ org.objectweb.fractal.julia.type.BasicTypeFactoryMixin
+ # to check the component interface signatures with the Java Reflection
API:
+ org.objectweb.fractal.julia.type.CheckTypeFactoryMixin
+ ))
+)
+
+# GenericFactory implementation
+
+(generic-factory-impl
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ GenericFactoryImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+ org.objectweb.fractal.julia.loader.UseLoaderMixin
+ org.objectweb.fractal.julia.type.UseTypeFactoryMixin
+ org.objectweb.fractal.julia.factory.BasicGenericFactoryMixin
+ # to check the component content descriptor with the Java Reflection API:
+ org.objectweb.fractal.julia.factory.CheckGenericFactoryMixin
+ ))
+)
+
+# Factory implementation (for template components)
+
+(factory-impl
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ FactoryImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+ org.objectweb.fractal.julia.UseComponentMixin
+ org.objectweb.fractal.julia.factory.BasicTemplateMixin
+ # to copy the template's attributes to the components it creates:
+
org.objectweb.fractal.julia.control.attribute.UseCloneableAttributeControllerMixin
+ org.objectweb.fractal.julia.factory.AttributeTemplateMixin
+ # to copy the template's name to the components it creates:
+ org.objectweb.fractal.julia.control.name.UseNameControllerMixin
+ org.objectweb.fractal.julia.factory.NameTemplateMixin
+ ))
+)
+
+# Factory implementation (for singleton template components)
+
+(singleton-factory-impl
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ SingletonFactoryImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+ org.objectweb.fractal.julia.UseComponentMixin
+ org.objectweb.fractal.julia.factory.BasicTemplateMixin
+ # to copy the template's attributes to the components it creates:
+
org.objectweb.fractal.julia.control.attribute.UseCloneableAttributeControllerMixin
+ org.objectweb.fractal.julia.factory.AttributeTemplateMixin
+ # to copy the template's name to the components it creates:
+ org.objectweb.fractal.julia.control.name.UseNameControllerMixin
+ org.objectweb.fractal.julia.factory.NameTemplateMixin
+ # to provide the singleton semantics to the template:
+ org.objectweb.fractal.julia.factory.SingletonTemplateMixin
+ ))
+)
+
+# BindingController implementation (for primitive components without content)
+
+(primitive-binding-controller-impl
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ PrimitiveBindingControllerImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+ org.objectweb.fractal.julia.control.binding.BasicBindingControllerMixin
+ # to initialize the BasicBindingControllerMixin from the component's
type:
+ org.objectweb.fractal.julia.control.binding.TypeBasicBindingMixin
+ # to check some basic pre conditions (interface not already bound, ...)
+ org.objectweb.fractal.julia.UseComponentMixin
+ org.objectweb.fractal.julia.control.binding.CheckBindingMixin
+ # to check type related constraints for bindings:
+ org.objectweb.fractal.julia.control.binding.TypeBindingMixin
+ # to check content related constraints for bindings:
+ org.objectweb.fractal.julia.control.content.UseSuperControllerMixin
+ org.objectweb.fractal.julia.control.binding.ContentBindingMixin
+ # to check lifecycle related constraints for bindings:
+ org.objectweb.fractal.julia.control.lifecycle.UseLifeCycleControllerMixin
+ org.objectweb.fractal.julia.control.binding.LifeCycleBindingMixin
+ ))
+)
+
+# BindingController implementation (for primitive components with content)
+
+(container-binding-controller-impl
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ ContainerBindingControllerImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+
org.objectweb.fractal.julia.control.binding.ContainerBindingControllerMixin
+ # to skip Interface objects before delegating to the encapsulated
component:
+ #
org.objectweb.fractal.julia.control.binding.OptimizedContainerBindingMixin
+ # to manage output interceptors:
+ org.objectweb.fractal.julia.UseComponentMixin
+ org.objectweb.fractal.julia.control.binding.InterceptorBindingMixin
+ # to check some basic pre conditions (interface not already bound, ...)
+ org.objectweb.fractal.julia.control.binding.CheckBindingMixin
+ # to check type related constraints for bindings:
+ org.objectweb.fractal.julia.control.binding.TypeBindingMixin
+ # to check content related constraints for bindings:
+ org.objectweb.fractal.julia.control.content.UseSuperControllerMixin
+ org.objectweb.fractal.julia.control.binding.ContentBindingMixin
+ # to check lifecycle related constraints for bindings:
+ org.objectweb.fractal.julia.control.lifecycle.UseLifeCycleControllerMixin
+ org.objectweb.fractal.julia.control.binding.LifeCycleBindingMixin
+ ))
+)
+
+# BindingController implementation (for composite components)
+
+(composite-binding-controller-impl
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ CompositeBindingControllerImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+ org.objectweb.fractal.julia.control.binding.BasicBindingControllerMixin
+ # to initialize the BasicBindingControllerMixin from the component's
type:
+ org.objectweb.fractal.julia.control.binding.TypeBasicBindingMixin
+ # to check some basic pre conditions (interface not already bound, ...)
+ org.objectweb.fractal.julia.UseComponentMixin
+ org.objectweb.fractal.julia.control.binding.CheckBindingMixin
+ # to check type related constraints for bindings:
+ org.objectweb.fractal.julia.control.binding.TypeBindingMixin
+ # to check content related constraints for bindings:
+ org.objectweb.fractal.julia.control.content.UseSuperControllerMixin
+ org.objectweb.fractal.julia.control.binding.ContentBindingMixin
+ # to check lifecycle related constraints for bindings:
+ org.objectweb.fractal.julia.control.lifecycle.UseLifeCycleControllerMixin
+ org.objectweb.fractal.julia.control.binding.LifeCycleBindingMixin
+ # to manage the getFcItfImpl links of the Interface objects:
+ # choose one of ComponentBindingMixin and OptimizedCompositeBindingMixin
+ # (the last one creates and updates shortcuts links when possible)
+ org.objectweb.fractal.julia.control.content.UseContentControllerMixin
+ # org.objectweb.fractal.julia.control.binding.CompositeBindingMixin
+
org.objectweb.fractal.julia.control.binding.OptimizedCompositeBindingMixin
+ ))
+)
+
+# ContentController implementation
+
+(content-controller-impl
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ ContentControllerImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+ org.objectweb.fractal.julia.UseComponentMixin
+ org.objectweb.fractal.julia.control.content.BasicContentControllerMixin
+ # to check some basic pre conditions, and to prevent hierarchy cycles:
+ org.objectweb.fractal.julia.control.content.CheckContentMixin
+ # to check type related constraints in getFcInternalInterface:
+ org.objectweb.fractal.julia.control.content.TypeContentMixin
+ # to check binding locality related constraints in removeFcSubComponent:
+ org.objectweb.fractal.julia.control.content.BindingContentMixin
+ # to check lifecycle related constraints:
+ org.objectweb.fractal.julia.control.lifecycle.UseLifeCycleControllerMixin
+ org.objectweb.fractal.julia.control.content.LifeCycleContentMixin
+ # to notify sub components when they are added or removed from this
component:
+ org.objectweb.fractal.julia.control.content.SuperContentMixin
+ ))
+)
+
+# SuperController implementation
+
+(super-controller-impl
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ SuperControllerImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+ org.objectweb.fractal.julia.control.content.BasicSuperControllerMixin
+ ))
+)
+
+# LifeCycleController implementation (for primitive or composite components)
+
+(lifecycle-controller-impl-old
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ LifeCycleControllerImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+ org.objectweb.fractal.julia.UseComponentMixin
+
org.objectweb.fractal.julia.control.lifecycle.BasicLifeCycleCoordinatorMixin
+
org.objectweb.fractal.julia.control.lifecycle.BasicLifeCycleControllerMixin
+ # to check that mandatory client interfaces are bound in startFc:
+ org.objectweb.fractal.julia.control.lifecycle.TypeLifeCycleMixin
+ # to notify the encapsulated component (if present) when its state
changes:
+ org.objectweb.fractal.julia.control.lifecycle.ContainerLifeCycleMixin
+ ))
+)
+
+# LifeCycleController implementation (for composite components only)
+
+(composite-lifecycle-controller-impl
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ CompositeLifeCycleControllerImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+ org.objectweb.fractal.julia.UseComponentMixin
+
org.objectweb.fractal.julia.control.lifecycle.BasicLifeCycleCoordinatorMixin
+
org.objectweb.fractal.julia.control.lifecycle.OptimizedLifeCycleControllerMixin
+ # to check that mandatory client interfaces are bound in startFc:
+ org.objectweb.fractal.julia.control.lifecycle.TypeLifeCycleMixin
+ ))
+)
+
+# NameController implementation
+
+(name-controller-impl
+ ((org.objectweb.fractal.julia.asm.MixinClassGenerator
+ NameControllerImpl
+ org.objectweb.fractal.julia.BasicControllerMixin
+ org.objectweb.fractal.julia.control.name.BasicNameControllerMixin
+ ))
+)
+
+#
-----------------------------------------------------------------------------
+# CONTROLLER DESCRIPTORS
+#
-----------------------------------------------------------------------------
+
+(optimizationLevel
+ # choose one of the following optimization options:
+ none
+ # mergeControllers
+ # mergeControllersAndInterceptors
+ # mergeControllersAndContent
+ # mergeControllersInterceptorsAndContent
+)
+
+(bootstrap
+ (
+ 'interface-class-generator
+ (
+ 'component-itf
+ 'type-factory-itf
+ 'generic-factory-itf
+ (loader org.obj