extract api part

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@729 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2010-01-17 18:58:57 +00:00
parent 0656e7d8f2
commit 5bf6ed1acd
12 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.mibew.api</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@ -4,5 +4,6 @@
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="lib" path="libs/smack.jar"/> <classpathentry kind="lib" path="libs/smack.jar"/>
<classpathentry kind="lib" path="libs/smackx.jar"/> <classpathentry kind="lib" path="libs/smackx.jar"/>
<classpathentry combineaccessrules="false" kind="src" path="/org.mibew.api"/>
<classpathentry kind="output" path="bin"/> <classpathentry kind="output" path="bin"/>
</classpath> </classpath>

View File

@ -39,7 +39,7 @@ public class Application {
} }
}); });
MibewConnection conn = new MibewConnection("http://localhost:8080/webim/", "admin", ""); MibewConnection conn = new MibewConnection("http://localhost:8080/webim/", "admin", "1");
if(!conn.connect()) { if(!conn.connect()) {
System.err.println("Wrong server, login or password."); System.err.println("Wrong server, login or password.");
return; return;