Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- THE PROBLEM:
- - in reinstall yacy do not ask what version of JAVA i want to
- - NONE service named yacy after reinstallation
- - 60 warnings
- Buildfile: /tmp/pamac-build-net/yacy/src/yacy/build.xml
- buildGitRevTask:
- [delete] Deleting: /tmp/pamac-build-net/yacy/src/yacy/libbuild/GitRevTask.jar
- [jar] Building jar: /tmp/pamac-build-net/yacy/src/yacy/libbuild/GitRevTask.jar
- determineGitRevision:
- readBuildProperties:
- init:
- [mkdir] Created dir: /tmp/pamac-build-net/yacy/src/yacy/DATA
- [mkdir] Created dir: /tmp/pamac-build-net/yacy/src/yacy/RELEASE
- [echo] YaCy Branch:
- [echo] YaCy Version number: 1.92
- [echo] YaCy Release number: 9000
- [copy] Copying 1 file to /tmp/pamac-build-net/yacy/src/yacy/classes/net/yacy/peers/operation
- [copy] Copying 1 file to /tmp/pamac-build-net/yacy/src/yacy/classes
- compile-core:
- [javac] Compiling 1 source file to /tmp/pamac-build-net/yacy/src/yacy/classes
- [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
- [javac] 1 warning
- [javac] Compiling 640 source files to /tmp/pamac-build-net/yacy/src/yacy/classes
- [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/http/Jetty9HttpServerImpl.java:52: warning: [deprecation] IPAccessHandler in org.eclipse.jetty.server.handler has been deprecated
- [javac] import org.eclipse.jetty.server.handler.IPAccessHandler;
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/cora/date/GenericFormatter.java:160: warning: [cast] redundant cast to int
- [javac] return (int) ( ((ahead) ? 1 : -1) * (oh * 60 + om));
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/crawler/CrawlStacker.java:604: warning: [deprecation] isLocal(byte[]) in DigestURL has been deprecated
- [javac] final boolean local = DigestURL.isLocal(urlhash);
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Network.java:349: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] String ip = seed.getIP();
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Network.java:559: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] if ( sb.peers.mySeed().getPublicAddress(sb.peers.mySeed().getIP()) == null ) {
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Network.java:673: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] sb.peers.lastSeedUpload_myIP = sb.peers.mySeed().getIP();
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/SeedDB.java:962: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] return seed.getPublicAddress(seed.getIP()) + ((subdom == null) ? "" : ("/" + subdom));
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/SeedDB.java:977: warning: [deprecation] myPublicIP() in serverSwitch has been deprecated
- [javac] return Switchboard.getSwitchboard().myPublicIP() + ":" + Switchboard.getSwitchboard().getLocalPort() + ((subdom == null) ? "" : ("/" + subdom));
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/SeedDB.java:979: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] return seed.getPublicAddress(seed.getIP()) + ((subdom == null) ? "" : ("/" + subdom));
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/kelondro/data/meta/URIMetadataNode.java:905: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] if ((seed == null) || ((address = seed.getPublicAddress(seed.getIP())) == null)) {
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy': class file for org.apache.http.annotation.GuardedBy not found
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/lib/httpclient-4.5.2.jar(org/apache/http/impl/client/AbstractHttpClient.class): warning: Cannot find annotation method 'value()' in type 'GuardedBy'
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/cora/federate/solr/connector/ConcurrentUpdateSolrConnector.java:302: warning: [deprecation] toSolrDocument(SolrInputDocument) in ClientUtils has been deprecated
- [javac] return ClientUtils.toSolrDocument(idoc);
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/cora/federate/solr/instance/ServerMirror.java:434: warning: [deprecation] shutdown() in SolrClient has been deprecated
- [javac] public void shutdown() {
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/cora/federate/solr/instance/ServerShard.java:490: warning: [deprecation] shutdown() in SolrClient has been deprecated
- [javac] public void shutdown() {
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/document/parser/pdfParser.java:276: warning: [unchecked] unchecked cast
- [javac] Collection<AnchorURL>[] linkCollections = (Collection<AnchorURL>[]) new Collection<?>[pdf.getNumberOfPages()];
- [javac] ^
- [javac] required: Collection<AnchorURL>[]
- [javac] found: Collection<?>[]
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/http/Jetty9HttpServerImpl.java:204: warning: [deprecation] IPAccessHandler in org.eclipse.jetty.server.handler has been deprecated
- [javac] IPAccessHandler iphandler = new IPAccessHandler();
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/http/Jetty9HttpServerImpl.java:204: warning: [deprecation] IPAccessHandler in org.eclipse.jetty.server.handler has been deprecated
- [javac] IPAccessHandler iphandler = new IPAccessHandler();
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Protocol.java:377: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] String ip = target.getIP();
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Protocol.java:1047: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] String ip = target.getIP();
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Protocol.java:1397: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] final String address = target.getPublicAddress(target.getIP());
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Protocol.java:1484: warning: [deprecation] peerDeparture(Seed,String) in PeerActions has been deprecated
- [javac] seeds.peerActions.peerDeparture(targetSeed, errorCause); // disconnect unavailable peer
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Protocol.java:1491: warning: [deprecation] peerDeparture(Seed,String) in PeerActions has been deprecated
- [javac] seeds.peerActions.peerDeparture(targetSeed, errorCause); // disconnect unavailable peer
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Protocol.java:1527: warning: [deprecation] peerDeparture(Seed,String) in PeerActions has been deprecated
- [javac] seeds.peerActions.peerDeparture(targetSeed, errorCause); // disconnect unavailable peer
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Protocol.java:1550: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] String ip = targetSeed.getIP();
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Protocol.java:1622: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] String ip = targetSeed.getIP();
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Protocol.java:1693: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] String address = targetSeed.getPublicAddress(targetSeed.getIP());
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/peers/Protocol.java:1735: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] final Post post = new Post(target.getPublicAddress(target.getIP()), target.hash, "/yacy/idx.json", parts, 30000);
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/AutoSearch.java:240: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] ConcurrentLog.fine(AutoSearch.class.getName(), "ask " + seed.getIP() + " " + seed.getName() + " for query=" + currentQuery);
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/AutoSearch.java:251: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] RemoteInstance instance = new RemoteInstance("http://" + seed.getPublicAddress(seed.getIP()) + "/solr/", null, null, 10000); // this is a 'patch configuration' which considers 'solr' as default collection
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/AutoSearch.java:277: warning: [deprecation] getIP() in Seed has been deprecated
- [javac] final String rssSearchServiceURL = "http://" + seed.getPublicAddress(seed.getIP()) + "/yacysearch.rss";
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/navigator/StringNavigator.java:125: warning: [unchecked] unchecked conversion
- [javac] Collection<String> ll = (Collection) val;
- [javac] ^
- [javac] required: Collection<String>
- [javac] found: Collection
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/navigator/FileTypeNavigator.java:69: warning: [unchecked] unchecked conversion
- [javac] Collection<String> ll = (Collection) val;
- [javac] ^
- [javac] required: Collection<String>
- [javac] found: Collection
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/navigator/HostNavigator.java:67: warning: [unchecked] unchecked conversion
- [javac] Collection<String> ll = (Collection) val;
- [javac] ^
- [javac] required: Collection<String>
- [javac] found: Collection
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/navigator/NavigatorPlugins.java:42: warning: [rawtypes] found raw type: TreeMap
- [javac] Map<String, String> defaultnavplugins = new TreeMap();
- [javac] ^
- [javac] missing type arguments for generic class TreeMap<K,V>
- [javac] where K,V are type-variables:
- [javac] K extends Object declared in class TreeMap
- [javac] V extends Object declared in class TreeMap
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/navigator/NavigatorPlugins.java:42: warning: [unchecked] unchecked conversion
- [javac] Map<String, String> defaultnavplugins = new TreeMap();
- [javac] ^
- [javac] required: Map<String,String>
- [javac] found: TreeMap
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/navigator/YearNavigator.java:101: warning: [unchecked] unchecked conversion
- [javac] Collection<Object> ll = (Collection) val;
- [javac] ^
- [javac] required: Collection<Object>
- [javac] found: Collection
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/navigator/YearNavigator.java:107: warning: [deprecation] getYear() in Date has been deprecated
- [javac] String year = Integer.toString(dd.getYear() + 1900);
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/navigator/YearNavigator.java:113: warning: [deprecation] getYear() in Date has been deprecated
- [javac] String year = Integer.toString(dd.getYear() + 1900);
- [javac] ^
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/navigator/YearNavigator.java:134: warning: [rawtypes] found raw type: TreeSet
- [javac] years = new TreeSet(Collections.reverseOrder());
- [javac] ^
- [javac] missing type arguments for generic class TreeSet<E>
- [javac] where E is a type-variable:
- [javac] E extends Object declared in class TreeSet
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/navigator/YearNavigator.java:134: warning: [unchecked] unchecked call to TreeSet(Comparator<? super E>) as a member of the raw type TreeSet
- [javac] years = new TreeSet(Collections.reverseOrder());
- [javac] ^
- [javac] where E is a type-variable:
- [javac] E extends Object declared in class TreeSet
- [javac] /tmp/pamac-build-net/yacy/src/yacy/source/net/yacy/search/navigator/YearNavigator.java:134: warning: [unchecked] unchecked conversion
- [javac] years = new TreeSet(Collections.reverseOrder());
- [javac] ^
- [javac] required: TreeSet<String>
- [javac] found: TreeSet
- [javac] 60 warnings
- [jar] Building jar: /tmp/pamac-build-net/yacy/src/yacy/lib/yacycore.jar
- compile:
- all:
- BUILD SUCCESSFUL
- Total time: 22 seconds
- ---------------------------------------------
- Buildfile: /tmp/pamac-build-net/yacy/src/yacy/build.xml
- installonlinux:
- [copy] Copying 1 file to /tmp/pamac-build-net/yacy/pkg/yacy/usr/share/yacy
- [copy] Copying 72 files to /tmp/pamac-build-net/yacy/pkg/yacy/usr/share/yacy/defaults
- [copy] Copying 11 files to /tmp/pamac-build-net/yacy/pkg/yacy/usr/share/yacy/locales
- [copy] Copying 13 files to /tmp/pamac-build-net/yacy/pkg/yacy/usr/share/yacy/skins
- [copy] Copying 53 files to /tmp/pamac-build-net/yacy/pkg/yacy/usr/share/yacy/langdetect
- [copy] Copying 28 files to /tmp/pamac-build-net/yacy/pkg/yacy/usr/share/yacy/bin
- [copy] Copying 3 files to /tmp/pamac-build-net/yacy/pkg/yacy/usr/share/doc/yacy
- [copy] Copying 1405 files to /tmp/pamac-build-net/yacy/pkg/yacy/usr/share/yacy/htroot
- [copy] Copied 65 empty directories to 1 empty directory under /tmp/pamac-build-net/yacy/pkg/yacy/usr/share/yacy/htroot
- [mkdir] Created dir: /tmp/pamac-build-net/yacy/pkg/yacy/var/lib/yacy
- [mkdir] Created dir: /tmp/pamac-build-net/yacy/pkg/yacy/var/lib/yacy/LOG
- [mkdir] Created dir: /tmp/pamac-build-net/yacy/pkg/yacy/var/lib/yacy/SETTINGS
- [mkdir] Created dir: /tmp/pamac-build-net/yacy/pkg/yacy/etc
- [mkdir] Created dir: /tmp/pamac-build-net/yacy/pkg/yacy/var/log
- BUILD SUCCESSFUL
- Total time: 1 second
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement