diff dbus-d-javatests/README.txt @ 2:5fb77a7e7d64

building CreateInterface and add bustest.xml
author Frank Benoit <benoit@tionex.de>
date Sat, 20 Oct 2007 19:29:33 +0200
parents a5576806d36d
children 7c2c75740370
line wrap: on
line diff
--- a/dbus-d-javatests/README.txt	Sat Oct 20 19:29:06 2007 +0200
+++ b/dbus-d-javatests/README.txt	Sat Oct 20 19:29:33 2007 +0200
@@ -1,3 +1,43 @@
+
+With dbus-d, an interface is defined with a XML file that follows the DBus introspection data.
+The tool CreateInterfaces is used to read this file and generate a D module with all 
+the interfaces from the XML file and with the needed supporting code.
+
+1. Build the "createinterface" tool.
+   in the dbus-d directory:
+   
+     $ cd dbus-d
+     $ dsss build org/freedesktop/dbus/tools/CreateInterface.d
+   
+2. Goto the directory of your applications source code ,call the CreateInterface tool
+   and pipe the output to a file matching your module name.
+   
+     $ cd ../dbus-d-javatests/dsrc
+     $ ../../dbus-d/CreateInterface ../dbustest.xml DBusTestingGen > DBusTestingGen.d
+   
+3. Implement interfaces in D. If the introspection.xml has an interface called "a.b.C"
+   you need to implement the interface "DBusInterface.a.b.C" which is part of the generated
+   module.
+   
+   To make an object accessible, you need to either export it or return it from another 
+   another method call.
+   
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
 To compile and run this example, it is required to have the following jars
 in the classpath:
 
@@ -8,7 +48,10 @@
 org.eclipse.swt.win32.win32.x86_3.3.0.v3346.jar
 org.eclipse.swt_3.3.0.v3346.jar
 
+These can be found in the eclipse/plugin directory
 Probably other versions will work also :)
-I placed them into a 'lib' called subdirectory.
 
 
+
+
+