Mail Archive Home | gotm-commits List | December 2004 Index
| <-- Date Index --> | <-- Thread Index --> |
Date: Monday, December 20, 2004 @ 16:40:45
Author: rouvoy
Path: /cvsroot/gotm/fractal-template
Added: 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
Modified: .cvsignore build.xml
src/java/org/objectweb/fractal/lib/BindablePrimitive.java
src/java/org/objectweb/fractal/lib/FcCollectionIterator.java
src/java/org/objectweb/fractal/lib/LoggablePrimitive.java
* Added the fractal-xdoclet tool.
* Updated Javadoc documentation.
--------------------------------------------------------------+
.cvsignore | 1
build.xml | 24 ++++++++-
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>>
src/java/org/objectweb/fractal/lib/BindablePrimitive.java | 4 -
src/java/org/objectweb/fractal/lib/FcCollectionIterator.java | 25
+++-------
src/java/org/objectweb/fractal/lib/LoggablePrimitive.java | 6 +-
11 files changed, 38 insertions(+), 22 deletions(-)
Index: fractal-template/.cvsignore
diff -u fractal-template/.cvsignore:1.1 fractal-template/.cvsignore:1.2
--- fractal-template/.cvsignore:1.1 Tue Dec 14 09:58:44 2004
+++ fractal-template/.cvsignore Mon Dec 20 16:40:44 2004
@@ -1 +1,2 @@
build
+dist
Index: fractal-template/build.xml
diff -u fractal-template/build.xml:1.1 fractal-template/build.xml:1.2
--- fractal-template/build.xml:1.1 Tue Dec 14 09:58:44 2004
+++ fractal-template/build.xml Mon Dec 20 16:40:44 2004
@@ -21,7 +21,7 @@
<!-- Initial developer(s): Romain Rouvoy. -->
<!-- Contributor(s): ______________________________________. -->
-<!-- $Id: build.xml,v 1.1 2004/12/14 08:58:44 rouvoy Exp $ -->
+<!-- $Id: build.xml,v 1.2 2004/12/20 15:40:44 rouvoy Exp $ -->
<!-- ==================================================================== -->
<project name="fractal-template" default="fractal-all">
@@ -91,7 +91,27 @@
</javac>
</target>
- <target name="fractal-fractal" depends="fractal-compile">
+ <target name="-doclet-init">
+ <copy todir="${build.dir}/${ant.dir}">
+ <fileset dir="${basedir}/${lib.dir}/fractal-xdoclet"/>
+ </copy>
+ <taskdef name="xdoclet" classname="xdoclet.DocletTask">
+ <classpath>
+ <fileset dir="${build.dir}/${ant.dir}" includes="*.jar"/>
+ </classpath>
+ </taskdef>
+ </target>
+
+ <target name="fractal-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}/${java.dir}"
includes="org/objectweb/fractal/example/**/*.java"/>
+ <fractal-adl controller="primitive"/>
+ </xdoclet>
+ </target>
+
+ <target name="fractal-fractal"
depends="fractal-doclet,fractal-compile">
<mkdir dir="${build.dir}/${fractal.dir}"/>
<copy todir="${build.dir}/${class.dir}">
<fileset dir="${basedir}/${src.dir}/${fractal.dir}">
Index: fractal-template/lib/fractal-xdoclet/commons-collections-2.0.jar
cvs rdiff: failed to read diff file header /tmp/cvsOudnVs for
commons-collections-2.0.jar,v: end of file
Index: fractal-template/lib/fractal-xdoclet/commons-logging.jar
cvs rdiff: failed to read diff file header /tmp/cvs3Xo4Zt for
commons-logging.jar,v: end of file
Index: fractal-template/lib/fractal-xdoclet/fractal-xdoclet.jar
cvs rdiff: failed to read diff file header /tmp/cvs8TsiRu for
fractal-xdoclet.jar,v: end of file
Index: fractal-template/lib/fractal-xdoclet/log4j.jar
cvs rdiff: failed to read diff file header /tmp/cvslSgYDo for log4j.jar,v:
end of file
Index: fractal-template/lib/fractal-xdoclet/xdoclet-1.3-SNAPSHOT.jar
cvs rdiff: failed to read diff file header /tmp/cvswda5uq for
xdoclet-1.3-SNAPSHOT.jar,v: end of file
Index: fractal-template/lib/fractal-xdoclet/xjavadoc-1.1.jar
cvs rdiff: failed to read diff file header /tmp/cvsphCmOy for
xjavadoc-1.1.jar,v: end of file
Index:
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java
diff -u
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java:1.1
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java:1.2
---
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java:1.1
Tue Dec 14 09:58:44 2004
+++
fractal-template/src/java/org/objectweb/fractal/lib/BindablePrimitive.java
Mon Dec 20 16:40:44 2004
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
- $Id: BindablePrimitive.java,v 1.1 2004/12/14 08:58:44 rouvoy Exp $
+ $Id: BindablePrimitive.java,v 1.2 2004/12/20 15:40:44 rouvoy Exp $
====================================================================*/
package org.objectweb.fractal.lib;
@@ -39,7 +39,7 @@
* Client interfaces are now retrieved via the
* <code>Object lookFc(String)</code> method.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.2
+ * @version $Revision: 1.2 $
*/
public abstract class BindablePrimitive
extends LoggablePrimitive
Index:
fractal-template/src/java/org/objectweb/fractal/lib/FcCollectionIterator.java
diff -u
fractal-template/src/java/org/objectweb/fractal/lib/FcCollectionIterator.java:1.1
fractal-template/src/java/org/objectweb/fractal/lib/FcCollectionIterator.java:1.2
---
fractal-template/src/java/org/objectweb/fractal/lib/FcCollectionIterator.java:1.1
Tue Dec 14 09:58:44 2004
+++
fractal-template/src/java/org/objectweb/fractal/lib/FcCollectionIterator.java
Mon Dec 20 16:40:44 2004
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
- $Id: FcCollectionIterator.java,v 1.1 2004/12/14 08:58:44 rouvoy Exp $
+ $Id: FcCollectionIterator.java,v 1.2 2004/12/20 15:40:44 rouvoy Exp $
====================================================================*/
package org.objectweb.fractal.lib;
@@ -37,7 +37,7 @@
/**
* Implementation of an iterator for browsing client interfaces
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.1
+ * @version $Revision: 1.2 $
*/
public class FcCollectionIterator
implements Iterator
@@ -58,6 +58,7 @@
private String name;
/**
+ * Provides the name of the current interface.
* @return Returns the name.
*/
protected String getName() {
@@ -65,6 +66,7 @@
}
/**
+ * Defines the name of the current interface.
* @param name the name of the current interface.
*/
protected void setName(String name) {
@@ -72,6 +74,7 @@
}
/**
+ * Provides the current interface.
* @return Returns the current.
*/
protected Object getCurrent() {
@@ -79,6 +82,7 @@
}
/**
+ * Defines the current interface.
* @param current The current to set.
*/
protected void setCurrent(Object current) {
@@ -86,6 +90,7 @@
}
/**
+ * Provides the list of iterating interfaces.
* @return Returns the itfs.
*/
protected Iterator getItfs() {
@@ -93,6 +98,7 @@
}
/**
+ * Provides the binding controller interface used to iterate.
* @return Returns the bc.
*/
protected BindingController getBc() {
@@ -100,20 +106,7 @@
}
/**
- * @return Returns the itf.
- */
- protected Object getItf() {
- return this.current;
- }
-
- /**
- * @param itf The itf to set.
- */
- protected void setItf(Object itf) {
- this.current = itf;
- }
-
- /**
+ * Provides the key name used to iterate on the collection interface.
* @return Returns the key.
*/
public String getKey() {
Index:
fractal-template/src/java/org/objectweb/fractal/lib/LoggablePrimitive.java
diff -u
fractal-template/src/java/org/objectweb/fractal/lib/LoggablePrimitive.java:1.1
fractal-template/src/java/org/objectweb/fractal/lib/LoggablePrimitive.java:1.2
---
fractal-template/src/java/org/objectweb/fractal/lib/LoggablePrimitive.java:1.1
Tue Dec 14 09:58:44 2004
+++
fractal-template/src/java/org/objectweb/fractal/lib/LoggablePrimitive.java
Mon Dec 20 16:40:44 2004
@@ -23,7 +23,7 @@
Contributor(s): .
---------------------------------------------------------------------
- $Id: LoggablePrimitive.java,v 1.1 2004/12/14 08:58:44 rouvoy Exp $
+ $Id: LoggablePrimitive.java,v 1.2 2004/12/20 15:40:44 rouvoy Exp $
====================================================================*/
package org.objectweb.fractal.lib;
@@ -35,7 +35,7 @@
/**
* Implementation of a Fractal component supporting Monolog logging
framework.
* @author <a href="mailto:Romain.Rouvoy@xxxxxxx">Romain Rouvoy</a>
- * @version 0.2
+ * @version $Revision: 1.2 $
*/
public class LoggablePrimitive
implements Loggable
@@ -47,6 +47,7 @@
private LoggerFactory factory;
/**
+ * Provides the trace object used to log the current component.
* @return Returns the trace.
*/
protected TraceTemplate getTrace() {
@@ -54,6 +55,7 @@
}
/**
+ * Defines the trace object used to log the current component.
* @param trace The trace to set.
*/
protected void setTrace(TraceTemplate trace) {
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.