-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any chance of some documentation? #1
Comments
If you could provide just a couple of sentences about how to build and test with jEditPad, that would go a long way. Thanks! |
Sorry for replying so late. I'm quite busy but I'd like to help integrating jEdit with Etherpad or ShareJS (which can also understand etherpad changesets already). As I see the code doing the real jEdit integration is lost but it's not so hard to do it and I'd like to revive this anyway. The problem of integrating anything with Etherpad-lite is that it uses SocketIO and I could not find a java library talking SocketIO. So I think this is a major problem. To build the project you need to open it in Eclipse. Try running https://github.com/jucovschi/jeasysync2/blob/master/test/com/etherpad/lite/ConnectionTest.java. This should connect to pad test2 and write blah every second in it. To be honest I'm more interested in creating the jEdit <-> ShareJS connection as ShareJS has a better code base and more types of content you can sync... |
Tbh ShareJS will end up with as complex as a code base when you start to introduce an editor but I guess that is yet to be seen, I do agree w/ the types of contents though, shareJS provides better support for more complex objects but will run into the same limitations as Etherpad given time. Here is a socket IO Java client. https://github.com/Gottox/socket.io-java-client |
Thanks for getting back to us! Some basic questions:
(BTW, I am not interested in Java, but in using a C# Mono system. I -Doug On Thu, Mar 7, 2013 at 8:42 AM, John McLear [email protected]:
|
One additional question: I don't understand the comments about ShareJS... isn't that a JavaScript library? How will you integrate that with a Java text editor? I am interested in jeasysync2 because it is written in Java (and can be converted to .NET). |
I tried the ConnectionTest.java as you describe, but it appears to fail (output below). Any ideas? Mar 07, 2013 4:59:49 PM com.etherpad.lite.EtherpadLiteConnection |
The "INFO: Failed to send changes because ACCEPT was not yet received." basically means that the library sent changes to Etherpad but it didn't receive an acknowledge message so that it can continue sending more messages. That's what I meant when I said that Java <-> SocketIO connectivity is broken. Since you want to use .NET, wouldn't it be easier to emulate JavaScript? |
C# is much closer to Java than JavaScript, so I think it will be much easier to just port your jeasysync2 to C#. I was hesitating, as I was not sure why your code didn't work. But now that I know that it is just the socket io library, I'll finish my port this week, and test. Thanks again! |
It'd be cool if we could see what the status of this is?
The text was updated successfully, but these errors were encountered: