geometer/FBReaderJ — Issue #31: ant package & ant debug doesn't work
Author: Danko90
Created: 2012-01-25 16:27:57+00:00
State: open

Hi,

I want to build FBReaderJ but i receive this error :

computer-di-apple-pc-03:FBReaderJ-sources-1.3.3 agosto$ ant package
Buildfile: /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/build.xml

BUILD FAILED
Target "package" does not exist in the project "FBReaderJ".

Total time: 0 seconds

ant debug :

....
.....
....
....

-compile:
[javac] Compiling 495 source files to /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/bin/classes
[javac] /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/src/org/geometerplus/android/fbreader/network/ScanLocalNetworkActivity.java:38: package javax.jmdns does not exist
[javac] import javax.jmdns.*;
[javac] ^
[javac] /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/src/org/geometerplus/android/fbreader/network/ScanLocalNetworkActivity.java:207: cannot find symbol
[javac] symbol : class ServiceInfo
[javac] location: class org.geometerplus.android.fbreader.network.ScanLocalNetworkActivity.ServiceInfoItem
[javac]	private final ServiceInfo myServiceInfo;
[javac]	^
[javac] /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/src/org/geometerplus/android/fbreader/network/ScanLocalNetworkActivity.java:209: cannot find symbol
[javac] symbol : class ServiceInfo
[javac] location: class org.geometerplus.android.fbreader.network.ScanLocalNetworkActivity.ServiceInfoItem
[javac]	public ServiceInfoItem(ServiceInfo info) {
[javac]	^
[javac] /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/src/org/geometerplus/android/fbreader/network/ScanLocalNetworkActivity.java:161: cannot find symbol
[javac] symbol: class JmDNS
[javac]	final JmDNS mcDNS = JmDNS.create(address, "FBReader");
[javac]	^
[javac] /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/src/org/geometerplus/android/fbreader/network/ScanLocalNetworkActivity.java:161: cannot find symbol
[javac] symbol: variable JmDNS
[javac]	final JmDNS mcDNS = JmDNS.create(address, "FBReader");
[javac]	^
[javac] /Users/agosto/Documents/workspace/FBReaderJ-sources-1.3.3/src/org/geometerplus/android/fbreader/network/ScanLocalNetworkActivity.java:163: cannot find symbol
[javac] symbol: class ServiceInfo
[javac]	for (ServiceInfo info : mcDNS.list(type)) {
[javac]	^
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 6 errors

BUILD FAILED
/Developer/android-sdk-mac_x86/tools/ant/build.xml:602: The following error occurred while executing this line:
/Developer/android-sdk-mac_x86/tools/ant/build.xml:622: Compile failed; see the compiler error output for details.

Is there anyone help me?
Thanks