<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.28.3">
</HEAD>
<BODY>
Below is the patch I had to use to get it to compile and run.<BR>
<BR>
By the way, your ESL library rules. I tried fseslib (<A HREF="http://versafon.com/versafonweb/Software.jsp">http://versafon.com/versafonweb/Software.jsp</A>) but it's GPL(v3!) and doesn't handle event bodies; even with a hack to it still doesn't provide essential fields. The ESL library for Java built into Freeswitch uses native code and seems to only handle outbound. Only your library provides everything, is 100% Java, and is licensed nicely.<BR>
<BR>
Thank you so much<BR>
Damjan<BR>
<BR>
diff --git a/dvarnes/java/esl-client/org.freeswitch.esl.client.example/pom.xml b/dvarnes/java/esl-client/org.freeswitch.esl.client.example/pom.xml<BR>
index 56c8250..97f03db 100644<BR>
--- a/dvarnes/java/esl-client/org.freeswitch.esl.client.example/pom.xml<BR>
+++ b/dvarnes/java/esl-client/org.freeswitch.esl.client.example/pom.xml<BR>
@@ -19,7 +19,7 @@<BR>
<parent><BR>
<groupId>org.freeswitch.esl.client</groupId><BR>
<artifactId>esl-client-parent</artifactId><BR>
- <version>0.0.1-SNAPSHOT</version><BR>
+ <version>0.9.0-SNAPSHOT</version><BR>
</parent><BR>
<artifactId>org.freeswitch.esl.client.example</artifactId><BR>
<name>FreeSWITCH Event Socket Library - Java Client example usage</name><BR>
@@ -27,7 +27,7 @@<BR>
<dependency><BR>
<groupId>org.freeswitch.esl.client</groupId><BR>
<artifactId>org.freeswitch.esl.client</artifactId><BR>
- <version>0.0.1-SNAPSHOT</version><BR>
+ <version>0.9.0-SNAPSHOT</version><BR>
</dependency><BR>
</dependencies><BR>
-</project><BR>
\ No newline at end of file<BR>
+</project><BR>
diff --git a/dvarnes/java/esl-client/org.freeswitch.esl.client/pom.xml b/dvarnes/java/esl-client/org.freeswitch.esl.client/pom.xml<BR>
index cc9d9f1..0093650 100644<BR>
--- a/dvarnes/java/esl-client/org.freeswitch.esl.client/pom.xml<BR>
+++ b/dvarnes/java/esl-client/org.freeswitch.esl.client/pom.xml<BR>
@@ -19,7 +19,7 @@<BR>
<parent><BR>
<groupId>org.freeswitch.esl.client</groupId><BR>
<artifactId>esl-client-parent</artifactId><BR>
- <version>0.0.1-SNAPSHOT</version><BR>
+ <version>0.9.0-SNAPSHOT</version><BR>
</parent><BR>
<artifactId>org.freeswitch.esl.client</artifactId><BR>
<name>FreeSWITCH Event Socket Library - Java Client</name><BR>
@@ -43,13 +43,17 @@<BR>
<Import-Package>*</Import-Package><BR>
<Export-Package><BR>
org.freeswitch.esl.client,<BR>
+ org.freeswitch.esl.client.inbound,<BR>
+ org.freeswitch.esl.client.internal,<BR>
+ org.freeswitch.esl.client.internal.debug,<BR>
+ org.freeswitch.esl.client.debug,<BR>
+ org.freeswitch.esl.client.outbound,<BR>
+ org.freeswitch.esl.client.transport,<BR>
org.freeswitch.esl.client.transport.event,<BR>
org.freeswitch.esl.client.transport.message,<BR>
</Export-Package><BR>
<!-- the debug package is a temporary hack --><BR>
<Private-Package><BR>
- org.freeswitch.esl.client.internal,<BR>
- org.freeswitch.esl.client.debug<BR>
</Private-Package><BR>
</instructions><BR>
</configuration><BR>
@@ -111,4 +115,4 @@<BR>
</repository><BR>
</repositories><BR>
<BR>
-</project><BR>
\ No newline at end of file<BR>
+</project><BR>
<BR>
<BR>
On Thu, 2010-08-12 at 16:13 +0200, Damjan Jovanovic wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
Hi David<BR>
<BR>
How do you compile this? I type "mvn clean install" and get errors:<BR>
<BR>
[INFO] Scanning for projects...<BR>
[INFO] ------------------------------------------------------------------------<BR>
[ERROR] FATAL ERROR<BR>
[INFO] ------------------------------------------------------------------------<BR>
[INFO] Error building POM (may not be this project's POM).<BR>
<BR>
<BR>
Project ID: null:org.freeswitch.esl.client:bundle:null<BR>
<BR>
Reason: Cannot find parent: org.freeswitch.esl.client:esl-client-parent for project: null:org.freeswitch.esl.client:bundle:null for project null:org.freeswitch.esl.client:bundle:null<BR>
<BR>
<BR>
[INFO] ------------------------------------------------------------------------<BR>
[INFO] Trace<BR>
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: org.freeswitch.esl.client:esl-client-parent for project: null:org.freeswitch.esl.client:bundle:null for project null:org.freeswitch.esl.client:bundle:null<BR>
<BR>
etc<BR>
<BR>
Damjan<BR>
<BR>
On Wed, 2010-01-06 at 00:41 +1100, david varnes wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
Hi all,
I had a basic java inbound ESL client kicking around that I have used
in a couple of small projects over the last year. I needed something
a little more complete for a new project so I dusted it off and made it
less incomplete.
It still needs more work and testing, but it certainly is usable right now.
I have tested it against FS 1.0.4 and latest trunk.
I have put it in my contrib area in svn in hopes that some may find it
useful:
<A HREF="http://svn.freeswitch.org/svn/freeswitch/trunk/contrib/dvarnes/java/esl-client">http://svn.freeswitch.org/svn/freeswitch/trunk/contrib/dvarnes/java/esl-client</A>
I would be interested in any feedback ...
Features
* Apache License (ASL) version 2
* Standalone Inbound client
* Framework classes to easily create an Outbound socket client
* based on Netty [1] nio library version 3.1.5.GA (previously was
using Apache MINA, but this is easier)
* logging via slf4j
* only dependencies are slf4j-api and netty (both Apache licensed)
* single jar which is a valid OSGi bundle
* built using maven
* eclipse projects
* reasonable level of java docs
Still todo
* Docs
* Simple example apps
* .. more in TODO.txt in project root.
There is no binary jar available right now since I don't know how/if
I can put files up to file.freeswitch.org.
In the meantime to build you need maven [2] installed. If you are
unfamiliar with maven usage, I can post a simple howto.
davidv
[1] <A HREF="http://www.jboss.org/netty/downloads.html">http://www.jboss.org/netty/downloads.html</A>
[2] <A HREF="http://maven.apache.org">http://maven.apache.org</A>
_______________________________________________
FreeSWITCH-users mailing list
<A HREF="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A>
<A HREF="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A>
UNSUBSCRIBE:<A HREF="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</A>
<A HREF="http://www.freeswitch.org">http://www.freeswitch.org</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>