Hallo, ich wollte i2phex kompilieren, habe aber Probleme.
Ich habe schon davor original phex-code kompiliert - ohne Probleme.
Nun habe ich versucht zu kompilieren, aber es treten immer 100 errors auf.
Es wird auf die gleiche Weise kompiliert:
Aber der Entwickler hat gesagt, es müsste ohne Probs gehen.
Oder stimmt irgendwo die Einrückung oder irgendwas in dem jeweiligen Java-File nicht, das den fehler verursacht.
mfg
matrixnet
Edit von L-ectron-X: Diverse Rechtschreibfehler entfernt, sorry, die waren schon heftig.
Ich habe schon davor original phex-code kompiliert - ohne Probleme.
Nun habe ich versucht zu kompilieren, aber es treten immer 100 errors auf.
Es wird auf die gleiche Weise kompiliert:
Code:
D:\phexi2p\i2phex\build>ant
Buildfile: build.xml
init:
buildJava:
initJava:
builddep:
builddep:
builddep:
builddep:
compile:
jar:
build:
compile:
jar:
build:
compile:
jar:
build:
compileSource:
[javac] Compiling 595 source files to D:\phexi2p\i2phex\output\classes
[javac] symbol : class Destination
[javac] location: class i2phex.common.AlternateLocation
[javac] Destination dest=new Destination(line);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\common\AlternateLocation.java:139: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.common.AlternateLocation
[javac] Destination dest=new Destination(line);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\common\AlternateLocation.java:142: cannot find symbol
[javac] symbol : class DataFormatException
[javac] location: class i2phex.common.AlternateLocation
[javac] catch (DataFormatException exp)
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:123: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.net.Server
[javac] Destination dest = I2PClientFactory.createClient().createDestination(fos);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:123: cannot find symbol
[javac] symbol : variable I2PClientFactory
[javac] location: class i2phex.net.Server
[javac] Destination dest = I2PClientFactory.createClient().createDestination(fos);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:128: cannot find symbol
[javac] symbol : class I2PException
[javac] location: class i2phex.net.Server
[javac] } catch (I2PException ie) {
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:152: cannot find symbol
[javac] symbol : variable I2PSocketManagerFactory
[javac] location: class i2phex.net.Server
[javac] p.setProperty(I2PSocketManagerFactory.PROP_MANAGER, I2PSocketManagerFull.class.getName());
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:152: cannot find symbol
[javac] symbol : class I2PSocketManagerFull
[javac] location: class i2phex.net.Server
[javac] p.setProperty(I2PSocketManagerFactory.PROP_MANAGER, I2PSocketManagerFull.class.getName());
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:153: cannot find symbol
[javac] symbol : variable I2PClient
[javac] location: class i2phex.net.Server
[javac] p.setProperty(I2PClient.PROP_RELIABILITY, I2PClient.PROP_RELIABILITY_GUARANTEED);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:153: cannot find symbol
[javac] symbol : variable I2PClient
[javac] location: class i2phex.net.Server
[javac] p.setProperty(I2PClient.PROP_RELIABILITY, I2PClient.PROP_RELIABILITY_GUARANTEED);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:154: cannot find symbol
[javac] symbol : variable ConnectionOptions
[javac] location: class i2phex.net.Server
[javac] p.setProperty(ConnectionOptions.PROP_CONNECT_TIMEOUT, ""+ServiceManager.sCfg.i2pConnectTimeout);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:155: cannot find symbol
[javac] symbol : variable ConnectionOptions
[javac] location: class i2phex.net.Server
[javac] p.setProperty(ConnectionOptions.PROP_CONNECT_DELAY, ""+ServiceManager.sCfg.i2pConnectDelay);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:156: cannot find symbol
[javac] symbol : variable I2PClient
[javac] location: class i2phex.net.Server
[javac] p.setProperty(I2PClient.PROP_TCP_HOST, ServiceManager.sCfg.i2cpHost);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:157: cannot find symbol
[javac] symbol : variable I2PClient
[javac] location: class i2phex.net.Server
[javac] p.setProperty(I2PClient.PROP_TCP_PORT, ""+ServiceManager.sCfg.i2cpPort);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:168: cannot find symbol
[javac] symbol : variable I2PSocketManagerFactory
[javac] location: class i2phex.net.Server
[javac] socketManager = I2PSocketManagerFactory.createManager(new FileInputStream(filename), ServiceManager.sCfg.i2cpHost, S
erviceManager.sCfg.i2cpPort, p);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\connection\BrowseHostConnection.java:64: cannot find symbol
[javac] symbol : class I2PSocket
[javac] location: class i2phex.connection.BrowseHostConnection
[javac] I2PSocket socket;
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\download\DownloadEngine.java:771: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.download.DownloadEngine
[javac] Destination dest=null;
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\download\DownloadEngine.java:774: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.download.DownloadEngine
[javac] dest=new Destination(addressStr);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\download\DownloadEngine.java:776: cannot find symbol
[javac] symbol : class DataFormatException
[javac] location: class i2phex.download.DownloadEngine
[javac] catch (DataFormatException dfe)
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\OIOServer.java:60: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.net.OIOServer
[javac] Destination MyDestination= socketManager.getSession().getMyDestination();
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\OIOServer.java:71: cannot find symbol
[javac] symbol : class I2PSocket
[javac] location: class i2phex.net.OIOServer
[javac] I2PSocket incoming = null;
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\OIOServer.java:86: cannot find symbol
[javac] symbol : class I2PException
[javac] location: class i2phex.net.OIOServer
[javac] catch (I2PException e)
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\OIOServer.java:154: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.net.OIOServer
[javac] Destination MyDestination= socketManager.getSession().getMyDestination();
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\OIOServer.java:246: cannot find symbol
[javac] symbol : class I2PException
[javac] location: class i2phex.net.OIOServer
[javac] catch (I2PException exp)
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\connection\ConnectionFactory.java:53: cannot find symbol
[javac] symbol : class I2PSocket
[javac] location: class i2phex.net.connection.ConnectionFactory
[javac] I2PSocket socket = OIOSocketFactory.connect( address );
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\connection\ConnectionFactory.java:75: cannot find symbol
[javac] symbol : class I2PSocket
[javac] location: class i2phex.net.connection.ConnectionFactory
[javac] I2PSocket socket = OIOSocketFactory.connect( hostname, connectTimeout );
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\connection\OIOSocketFactory.java:77: cannot find symbol
[javac] symbol : class I2PSocket
[javac] location: class i2phex.net.connection.OIOSocketFactory
[javac] I2PSocket socket;
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\utils\NLogger.java:49: cannot find symbol
[javac] symbol : variable LogFactory
[javac] location: class i2phex.utils.NLogger
[javac] factory = LogFactory.getFactory( );
[javac] ^
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 100 errors
BUILD FAILED
D:\phexi2p\i2phex\build\build.xml:89: The following error occurred while executing this line:
D:\phexi2p\i2phex\build\buildJava.xml:42: Compile failed; see the compiler error output for details.
Code:
wenn ich denn Thirdparty vom orginal phex nehme habe 12 fehler weniger dann sind nurnoch 88 fehler,
[javac] symbol : class DataFormatException
[javac] location: class i2phex.host.HostAddress
[javac] catch (DataFormatException dfe)
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\common\AlternateLocation.java:139: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.common.AlternateLocation
[javac] Destination dest=new Destination(line);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\common\AlternateLocation.java:139: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.common.AlternateLocation
[javac] Destination dest=new Destination(line);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\common\AlternateLocation.java:142: cannot find symbol
[javac] symbol : class DataFormatException
[javac] location: class i2phex.common.AlternateLocation
[javac] catch (DataFormatException exp)
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:123: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.net.Server
[javac] Destination dest = I2PClientFactory.createClient().createDestination(fos);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:123: cannot find symbol
[javac] symbol : variable I2PClientFactory
[javac] location: class i2phex.net.Server
[javac] Destination dest = I2PClientFactory.createClient().createDestination(fos);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:128: cannot find symbol
[javac] symbol : class I2PException
[javac] location: class i2phex.net.Server
[javac] } catch (I2PException ie) {
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:152: cannot find symbol
[javac] symbol : variable I2PSocketManagerFactory
[javac] location: class i2phex.net.Server
[javac] p.setProperty(I2PSocketManagerFactory.PROP_MANAGER, I2PSocketManagerFull.class.getName());
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:152: cannot find symbol
[javac] symbol : class I2PSocketManagerFull
[javac] location: class i2phex.net.Server
[javac] p.setProperty(I2PSocketManagerFactory.PROP_MANAGER, I2PSocketManagerFull.class.getName());
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:153: cannot find symbol
[javac] symbol : variable I2PClient
[javac] location: class i2phex.net.Server
[javac] p.setProperty(I2PClient.PROP_RELIABILITY, I2PClient.PROP_RELIABILITY_GUARANTEED);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:153: cannot find symbol
[javac] symbol : variable I2PClient
[javac] location: class i2phex.net.Server
[javac] p.setProperty(I2PClient.PROP_RELIABILITY, I2PClient.PROP_RELIABILITY_GUARANTEED);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:154: cannot find symbol
[javac] symbol : variable ConnectionOptions
[javac] location: class i2phex.net.Server
[javac] p.setProperty(ConnectionOptions.PROP_CONNECT_TIMEOUT, ""+ServiceManager.sCfg.i2pConnectTimeout);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:155: cannot find symbol
[javac] symbol : variable ConnectionOptions
[javac] location: class i2phex.net.Server
[javac] p.setProperty(ConnectionOptions.PROP_CONNECT_DELAY, ""+ServiceManager.sCfg.i2pConnectDelay);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:156: cannot find symbol
[javac] symbol : variable I2PClient
[javac] location: class i2phex.net.Server
[javac] p.setProperty(I2PClient.PROP_TCP_HOST, ServiceManager.sCfg.i2cpHost);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:157: cannot find symbol
[javac] symbol : variable I2PClient
[javac] location: class i2phex.net.Server
[javac] p.setProperty(I2PClient.PROP_TCP_PORT, ""+ServiceManager.sCfg.i2cpPort);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\Server.java:168: cannot find symbol
[javac] symbol : variable I2PSocketManagerFactory
[javac] location: class i2phex.net.Server
[javac] socketManager = I2PSocketManagerFactory.createManager(new FileInputStream(filename), ServiceManager.sCfg.i2cpHost, S
erviceManager.sCfg.i2cpPort, p);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\connection\BrowseHostConnection.java:64: cannot find symbol
[javac] symbol : class I2PSocket
[javac] location: class i2phex.connection.BrowseHostConnection
[javac] I2PSocket socket;
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\download\DownloadEngine.java:771: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.download.DownloadEngine
[javac] Destination dest=null;
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\download\DownloadEngine.java:774: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.download.DownloadEngine
[javac] dest=new Destination(addressStr);
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\download\DownloadEngine.java:776: cannot find symbol
[javac] symbol : class DataFormatException
[javac] location: class i2phex.download.DownloadEngine
[javac] catch (DataFormatException dfe)
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\OIOServer.java:60: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.net.OIOServer
[javac] Destination MyDestination= socketManager.getSession().getMyDestination();
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\OIOServer.java:71: cannot find symbol
[javac] symbol : class I2PSocket
[javac] location: class i2phex.net.OIOServer
[javac] I2PSocket incoming = null;
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\OIOServer.java:86: cannot find symbol
[javac] symbol : class I2PException
[javac] location: class i2phex.net.OIOServer
[javac] catch (I2PException e)
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\OIOServer.java:154: cannot find symbol
[javac] symbol : class Destination
[javac] location: class i2phex.net.OIOServer
[javac] Destination MyDestination= socketManager.getSession().getMyDestination();
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\OIOServer.java:246: cannot find symbol
[javac] symbol : class I2PException
[javac] location: class i2phex.net.OIOServer
[javac] catch (I2PException exp)
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\connection\ConnectionFactory.java:53: cannot find symbol
[javac] symbol : class I2PSocket
[javac] location: class i2phex.net.connection.ConnectionFactory
[javac] I2PSocket socket = OIOSocketFactory.connect( address );
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\connection\ConnectionFactory.java:75: cannot find symbol
[javac] symbol : class I2PSocket
[javac] location: class i2phex.net.connection.ConnectionFactory
[javac] I2PSocket socket = OIOSocketFactory.connect( hostname, connectTimeout );
[javac] ^
[javac] D:\phexi2p\i2phex\src\i2phex\net\connection\OIOSocketFactory.java:77: cannot find symbol
[javac] symbol : class I2PSocket
[javac] location: class i2phex.net.connection.OIOSocketFactory
[javac] I2PSocket socket;
[javac] ^
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 88 errors
BUILD FAILED
D:\phexi2p\i2phex\build\build.xml:89: The following error occurred while executing this line:
D:\phexi2p\i2phex\build\buildJava.xml:42: Compile failed; see the compiler error output for details.
Total time: 15 seconds
D:\phexi2p\i2phex\build>
Oder stimmt irgendwo die Einrückung oder irgendwas in dem jeweiligen Java-File nicht, das den fehler verursacht.
mfg
matrixnet
Edit von L-ectron-X: Diverse Rechtschreibfehler entfernt, sorry, die waren schon heftig.