我正在尝试将 Kryonet 移植到 GWT 格式。我正在构建 GWT.XML 但是当我启动我的 GWT 应用程序时,我报告了 2 个错误(我不知道在哪里)。
我把代码放在这里。你能帮我把这个很棒的库移植到 GWT 编译器吗?
kryonet.gwt.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit trunk//EN" "http://google-web-toolkit.googlecode.com/svn/trunk/distro-source/core/src/gwt-module.dtd">
<module rename-to="com.esotericsoftware.kryonet">
<source path="kryonet">
<include name="Client.java"/>
<include name="Connection.java"/>
<include name="EndPoint.java"/>
<include name="FrameworkMessage.java"/>
<include name="JsonSerialization.java"/>
<include name="KryoNetException.java"/>
<include name="KryoSerialization.java"/>
<include name="Listener.java"/>
<include name="Serialization.java"/>
<include name="Server.java"/>
<include name="TcpConnection.java"/>
<include name="UdpConnection.java"/>
<include name="rmi/ObjectSpace.java"/>
<include name="rmi/RemoteObject.java"/>
<include name="rmi/TimeoutException.java"/>
<include name="util/InputStreamSender.java"/>
<include name="util/TcpIdleSender.java"/>
</source>
</module>