Commit cca11871 authored by dfournier's avatar dfournier
Browse files

* Remove unneeded dependencies

* Remove hard coded reference to jar resource in helloworld-bin example
* Some changes on helloworld-bin example to illustrate target attribute resolution
parent 1482bed4
......@@ -54,7 +54,7 @@
<!-- ======= -->
<build>
<defaultGoal>install</defaultGoal>
<plugins>
......@@ -248,20 +248,21 @@
<version>1.1</version>
</dependency>
<!-- Source of Julia mixins used by JuliaC. -->
<dependency>
<!-- Source of Julia mixins used by JuliaC.
<dependency>
<groupId>org.objectweb.fractal.julia</groupId>
<artifactId>julia-mixins</artifactId>
<version>${julia-mixins.version}</version>
<classifier>sources</classifier>
<exclusions>
<!-- Exclude ObjectWeb Monolog -->
<exclusion>
<groupId>org.objectweb.monolog</groupId>
<artifactId>monolog</artifactId>
</exclusion>
<exclusion>
<groupId>org.objectweb.monolog</groupId>
<artifactId>monolog</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependency>
-->
<!-- The SCOrWare Tinfi runtime. -->
<dependency>
......@@ -288,13 +289,19 @@
</exclusions>
</dependency>
<!-- TODO: Why tinfi mixins module is required to compile assembly factory -->
<!-- TODO: Needed until tinfi.cfg will be available in tinfi-membranes-oo-->
<dependency>
<groupId>org.scorware.tinfi</groupId>
<artifactId>frascati-tinfi-mixins</artifactId>
<version>${tinfi.version}</version>
</dependency>
<dependency>
<groupId>org.scorware.tinfi</groupId>
<artifactId>frascati-tinfi-membranes-oo</artifactId>
<version>${tinfi.version}</version>
</dependency>
<!-- The Fractal Binding Factory. -->
<dependency>
<groupId>org.objectweb.fractal.bf</groupId>
......@@ -395,7 +402,7 @@
<artifactId>common</artifactId>
<version>2.3.0</version>
</dependency>
<!-- EMF required library. When activating validation -->
<dependency>
<groupId>org.eclipse.equinox</groupId>
......
......@@ -26,11 +26,11 @@
<artifactId>frascati-af-runtime</artifactId>
<version>${project.version}</version>
</dependency>
<!--<dependency>
<dependency>
<groupId>org.scorware.assembly.examples</groupId>
<artifactId>helloworld-bin-code</artifactId>
<version>${project.version}</version>
</dependency>-->
</dependency>
</dependencies>
</project>
......@@ -37,10 +37,7 @@ public class Client {
System.out.println("\n\n\nStarting The Helloworld Example \n");
File f = new File("D:\\workspace\\scorware-current\\runtime\\assembly-factory\\examples\\helloworld-bin\\code\\target\\helloworld-bin-code-0.3-SNAPSHOT.jar");
scaDomain = Factory.getComposite("helloworld" , new URL [] {f.toURL()});
scaDomain = Factory.getComposite("helloworld");
java.lang.Runnable hello = TinfiDomain.getService(scaDomain,
java.lang.Runnable.class, "r");
......
......@@ -33,7 +33,7 @@
<interface.java interface="java.lang.Runnable" />
</service>
<reference name="s" target="server/Service" />
<reference name="printService" target="server" />
<implementation.java class="example.hw.ClientImpl" />
</component>
......
......@@ -18,6 +18,11 @@ public class ClientImpl implements Runnable {
s.print("hello world");
}
@Reference
public Service s;
private Service s;
@Reference
public void setPrintService(Service service){
this.s = service;
}
}
\ No newline at end of file
......@@ -183,25 +183,6 @@
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.objectweb.fractal.juliac</groupId>
<artifactId>juliac-all</artifactId>
<version>${juliac.version}</version>
</dependency>
<dependency>
<groupId>org.objectweb.fractal.julia</groupId>
<artifactId>julia-mixins</artifactId>
<version>${julia-mixins.version}</version>
<classifier>sources</classifier>
</dependency>
<dependency>
<groupId>org.scorware.tinfi</groupId>
<artifactId>frascati-tinfi-all</artifactId>
<version>${tinfi.version}</version>
</dependency>
</dependencies>
<!-- ============= -->
......
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