Commit 35dfa5bb authored by Nicolas Dolet's avatar Nicolas Dolet

- Fix SNAPSHOT versions

- Use some maven properties
- New output layout for the debug
parent 02eb13fe
......@@ -54,7 +54,7 @@
<dependency>
<groupId>org.ow2.frascati.intent</groupId>
<artifactId>frascati-debug</artifactId>
<version>0.1-SNAPSHOT</version>
<version>0.1</version>
</dependency>
</dependencies>
......
......@@ -45,7 +45,7 @@
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-plugin</artifactId>
<version>0.5-SNAPSHOT</version>
<version>0.5</version>
<executions>
<execution>
<id>generate-factory</id>
......
......@@ -51,10 +51,13 @@ public class DebugIntentHandler
Object ret;
Component c = ((Interface) ijp.getComponentContext()).getFcItfOwner();
String componentName = Fractal.getNameController(c).getFcName();
String methodName = ijp.getMethod().getDeclaringClass().getName() + "." + ijp.getMethod().getName();
System.out.println("[FRASCATI-DEBUG] Entering '" + methodName + "' in component '" + componentName + "'");
String methodDesc = ijp.getMethod().toString();
System.err.println("[FRASCATI-DEBUG] Entering in component '" + componentName + "'");
System.err.println("[FRASCATI-DEBUG] \t method: " + methodDesc);
ret = ijp.proceed();
System.out.println("[FRASCATI-DEBUG] Exiting '" + methodName + "' from component '" + componentName + "'");
System.err.println("[FRASCATI-DEBUG] Exiting component '" + componentName + "'");
System.err.println("[FRASCATI-DEBUG] \t method: " + methodDesc);
return ret;
}
}
......@@ -25,13 +25,14 @@
<groupId>org.ow2.frascati.factory.examples.transaction</groupId>
<artifactId>transfer</artifactId>
<version>0.2-SNAPSHOT</version>
<version>0.2</version>
<name>Transactions Example: Transfer service</name>
<packaging>jar</packaging>
<properties>
<frascati.version>0.5</frascati.version>
<example.main.composite>transfer</example.main.composite>
<example.main.class>org.ow2.frascati.transaction.examples.transfer.Main</example.main.class>
</properties>
......@@ -42,13 +43,13 @@
<dependency>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-af-runtime</artifactId>
<version>0.5-SNAPSHOT</version>
<version>${frascati.version}</version>
</dependency>
<dependency>
<groupId>org.ow2.frascati.transaction</groupId>
<artifactId>frascati-transaction</artifactId>
<version>0.2-SNAPSHOT</version>
<version>${project.version}</version>
</dependency>
<dependency>
......@@ -91,7 +92,7 @@
<plugin>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-factory-plugin</artifactId>
<version>0.5-SNAPSHOT</version>
<version>${frascati.version}</version>
<executions>
<execution>
<id>generate-factory</id>
......
......@@ -63,7 +63,7 @@
<name>JBoss Maven Repository</name>
<url>http://repository.jboss.com/maven2/</url>
</repository>
</repositories>
</repositories>
<build>
......@@ -129,7 +129,7 @@
<dependency>
<groupId>org.ow2.frascati.factory</groupId>
<artifactId>frascati-af-runtime</artifactId>
<version>0.5-SNAPSHOT</version>
<version>0.5</version>
</dependency>
<dependency>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment