Build Openfire faild, ask how to solve, thank you
April 28 from http://svn.igniterealtime.org/svn/reposwas openfire source files, running Build Openfire steps have been wrong?
The present machine environment, the establishment of document sets out the steps and error, for reference?
-
1? The local environment
win2003 server + Eclipse 3.3.2 + JDK1.6
Have successfully compiled a spark -
2? Procedures for the establishment of steps
Build Openfire using the following steps to establish? -
A. Check Out Openfire SVN
-
B. Create Openfire Project
-
- In the Project Explorer screen, there is an openfire project, delete it. On the Confirm Project Delete choose Do not delete contents, then click Yes.
-
- Click File::Project… Notice the ellipses!!!
-
- Select Java::Java Project and click Next.
-
- On the New Java Project window choose Create project from existing source and browse to where openfire folder is located under your workspace.
-
- In the Project name box enter exactly as openfire. Otherwise, the Next and Finish button remain disabled. Click on Next. Then click on Finish.
-
- the Open Associated Perspective windows opens, click Yes.
3?Build Openfire
-
Click Window::Show View::Ant menu.
-
Right-click the Ant screen and choose Add Buildfiles…
-
Expand the openfire::build folder and select build.xml, then click OK.
-
On the Ant screen, expand the Openfire XMPP Server and double-click on openfire ant task.
4? Build Openfire wrong message
Buildfile: E:\im\openfire\build\build.xml
init:
Created dir: E:\im\openfire\work
Created dir: E:\im\openfire\work\overlay\classes
compile:
Created dir: E:\im\openfire\work\classes
Compiling 620 source files to E:\im\openfire\work\classes
E:\im\openfire\src\java\org\jivesoftware\openfire\sasl\SaslServerFactoryImpl.jav a:29: org.jivesoftware.openfire.sasl.SaslServerFactoryImpl Is not abstract, and did not cover javax.security.sasl.SaslServerFactory In the abstract way getMechanismNames(java.util.Map<? super java.lang.String,?>)
public class SaslServerFactoryImpl implements SaslServerFactory {
^
Note: Some input documents covering the use or outdated API?
Note: For more information, please use - Xlint: deprecation recompiled?
Note: Some use the input file without a check or unsafe operation?
Note: For more information, please use - Xlint: unchecked code.
1 Mistake
BUILD FAILED
E:\im\openfire\build\build.xml:278: Compile failed; see the compiler error output for details.
Total time: 14 seconds