Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

Asmack can not build succefully

$
0
0

hello everyone:

 

i had build asmack successfully around 2014-02-3. i got my wanted jar file .

 

today is 2014-2-14

 

i foud i can not get my wanted jar file. because when build asmack  according to the guild, there are error occur.

 

 

my working envirment :

1: macpro with ubuntu 12.04

2: java version "1.6.0_27"

3: ant version 1.8.2

4: git version 1.7.9.5

5: Subversion command-line client, version 1.6.17.

6:  i am sure java and android path are set correctly , because i can use java javac android command.

6: i downloaded build envirment zip here  https://github.com/flowdalic/asmack

7: i follw the build instrctions here           https://github.com/Flowdalic/asmack/wiki/Build-Instructions-for-Linux

 

 

8:when i run build.bash (under the build envirment root folder asmack-master), i can fetch asmack source correctly , but when begin to compile, i   found logs as follows

 

//==================================================================

//===parts of logs show in terminal===

//==================================================================

   [javac] /home/wangfan/Desktop/dev/xmpp/asmack-master/build/src/trunk/org/jivesoftware/s mackx/ConfigureProviderManager.java:25: package org.jivesoftware.smackx.carbons does not exist

    [javac] import org.jivesoftware.smackx.carbons.Carbon;

    [javac]                                       ^

    [javac] /home/wangfan/Desktop/dev/xmpp/asmack-master/build/src/trunk/org/jivesoftware/s mackx/ConfigureProviderManager.java:35: package org.jivesoftware.smackx.ping.provider does not exist

    [javac] import org.jivesoftware.smackx.ping.provider.PingProvider;

    [javac]                                             ^

    [javac] /home/wangfan/Desktop/dev/xmpp/asmack-master/build/src/trunk/org/jivesoftware/s mackx/ConfigureProviderManager.java:192: cannot find symbol

    [javac] symbol  : class Provider

    [javac] location: class org.jivesoftware.smackx.forward.Forwarded

    [javac]     pm.addExtensionProvider("forwarded", "urn:xmpp:forward:0", new Forwarded.Provider());

    [javac]                                                                              ^

    [javac] /home/wangfan/Desktop/dev/xmpp/asmack-master/build/src/trunk/org/jivesoftware/s mackx/ConfigureProviderManager.java:195: package Carbon does not exist

    [javac]     pm.addExtensionProvider("sent", "urn:xmpp:carbons:2", new Carbon.Provider());

    [javac]                                                                     ^

    [javac] /home/wangfan/Desktop/dev/xmpp/asmack-master/build/src/trunk/org/jivesoftware/s mackx/ConfigureProviderManager.java:196: package Carbon does not exist

    [javac]     pm.addExtensionProvider("received", "urn:xmpp:carbons:2", new Carbon.Provider());

    [javac]                                                                         ^

    [javac] /home/wangfan/Desktop/dev/xmpp/asmack-master/build/src/trunk/org/jivesoftware/s mackx/ConfigureProviderManager.java:199: cannot find symbol

    [javac] symbol  : class PingProvider

    [javac] location: class org.jivesoftware.smackx.ConfigureProviderManager

    [javac]     pm.addIQProvider("ping", "urn:xmpp:ping", new PingProvider());

    [javac]                                                   ^

    [javac] Note: Some input files use or override a deprecated API.

    [javac] Note: Recompile with -Xlint:deprecation for details.

    [javac] Note: Some input files use unchecked or unsafe operations.

    [javac] Note: Recompile with -Xlint:unchecked for details.

    [javac] 6 errors

 

BUILD FAILED

/home/wangfan/Desktop/dev/xmpp/asmack-master/build.xml:64: Compile failed; see the compiler error output for details.

 

Total time: 4 seconds

 

 

 

9: i compared the codes i got at 2014-2-3 with codes i got today (2014-2-11) , the 2014-2-11 codes changs a lot .

    and Carbon folder trully not exist in 2014-2-11 source codes. (please see attch files)

 

so i think problem is in build environment, who can help me ??

 

                                                                          thanks a lot .


Viewing all articles
Browse latest Browse all 10742

Trending Articles