Ok, I got it to run : )
First, I started a mysql server on default port 3306 and:
create database streamflow;
grant all privileges on streamflow.* to streamf...@localhost identified by
"streamflow";
Then I created a simple maven project with the following repositories :
<repositories>
<repository>
<id>java.net</id>
<url>http://download.java.net/maven/2</url>
</repository>
<repository>
<id>streamflow-snapshots</id>
<url>http://waybuild.gotdns.com/nexus/content/repositories/snapshots/</url>
</repository>
<repository>
<id>streamflow-releases</id>
<url>http://waybuild.gotdns.com/nexus/content/repositories/releases/</url>
</repository>
</repositories>
... and the following dependency :
<dependency>
<groupId>se.streamsource.streamflow</groupId>
<artifactId>streamflow-tests</artifactId>
<version>0.5-SNAPSHOT</version>
</dependency>
Next I created a class with the following code :
public static void main(String[] args) throws Exception {
MainWebAndClient.main(new String[]{});
}
I didn't dig deep enough to know exactly why but I had to add direct
dependencies to my project in order to get it to
run. Without them I got ClassNotFound exceptions. Here is the list :
<dependency>
<groupId>info.aduna.commons</groupId>
<artifactId>aduna-commons-iteration</artifactId>
<version>2.6.0</version>
</dependency>
<dependency>
<groupId>org.jdesktop</groupId>
<artifactId>appframework</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>org.swinglabs</groupId>
<artifactId>swingx</artifactId>
<version>1.6</version>
</dependency>
<dependency>
<groupId>net.java.dev.glazedlists</groupId>
<artifactId>glazedlists_java15</artifactId>
<version>1.8.0</version>
</dependency>
<dependency>
<artifactId>wizard</artifactId>
<groupId>org.swinglabs</groupId>
<version>0.998.1-STREAMFLOW</version>
</dependency>
<dependency>
<artifactId>forms</artifactId>
<groupId>com.jgoodies</groupId>
<version>1.2.1</version>
</dependency>
<dependency>
<artifactId>filters</artifactId>
<groupId>com.jhlabs</groupId>
<version>2.0.235</version>
</dependency>
<dependency>
<artifactId>validation</artifactId>
<groupId>com.jgoodies</groupId>
<type>jar</type>
<version>2.0.1</version>
</dependency>
<dependency>
<artifactId>javahelp</artifactId>
<groupId>javax.help</groupId>
<type>jar</type>
<version>2.0.02</version>
</dependency>
Unfortunately for me the locale is hardcoded in MainClient so I didn't
understand anything even tough I clicked
everywhere like a monkey discovering a new tool : )
Anyway, I hope this can help someone else wanting to get the code to run.
Paul
_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev