Your first error is:
[javac]
/var/www/tmp/orientdb/core/src/main/java/com/orientechnologies/orient/core/index/OIndexMultiValues.java:405:
<T>emptyIterator() is not public in java.util.Collections; cannot be
accessed from outside package
[javac] private Iterator<OIdentifiable> currentIterator =
Collections.emptyIterator();
But in JDK7 it's public:
public static <T> Iterator<T> emptyIterator() {
return (Iterator<T>) EmptyIterator.EMPTY_ITERATOR;
}
So seems java6 is used in your case. On the other side OrientDB is
compatible with java7 so we'll fi it asap.
Lvc@
On 14 April 2014 14:25, Lebnik <[email protected]> wrote:
> $ java -version
> java version "1.7.0_45"
> OpenJDK Runtime Environment (rhel-2.4.3.4.el6_5-x86_64 u45-b15)
> OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
>
> $ git checkout develop
> Previous HEAD position was bbca826... Merge branch 'develop'
> Branch develop set up to track remote branch develop from origin.
> Switched to a new branch 'develop'
>
> $ git branch
> * develop
> master
> admin@april-test /var/www/tmp/orientdb $ git pull
> remote: Counting objects: 33, done.
> remote: Compressing objects: 100% (24/24), done.
> remote: Total 33 (delta 2), reused 0 (delta 0)
> Unpacking objects: 100% (33/33), done.
> From https://github.com/orientechnologies/orientdb
> e954408..e58f809 develop -> origin/develop
> Updating e954408..e58f809
> Fast-forward
> .../orient/core/index/OIndexAbstract.java | 115
> ++++++++++----------
> .../orient/core/index/OIndexManager.java | 22 ++--
> .../orient/core/index/OIndexManagerProxy.java | 11 ++-
> .../orient/core/index/OIndexManagerRemote.java | 18 ++--
> .../orient/core/index/OIndexManagerShared.java | 53 +++++-----
> .../index/hashindex/local/cache/OWOWCache.java | 68 ++++++------
> .../orient/test/database/auto/DbCreationTest.java | 20 ++--
> 7 files changed, 162 insertions(+), 145 deletions(-)
>
> $ ant clean install
> Buildfile: build.xml
>
> init:
> [echo] .
> [echo] .` `
> [echo] , `:.
> [echo] `,` ,:`
> [echo] .,. :,,
> [echo] .,, ,,,
> [echo] . .,.::::: ````
> ::::::::: :::::::::
> [echo] ,` .::,,,,::.,,,,,,`;; .:
> :::::::::: ::: :::
> [echo] `,. ::,,,,,,,:.,,.` ` .: :::
> ::: ::: :::
> [echo] ,,:,:,,,,,,,,::. ` ` `` .: :::
> ::: ::: :::
> [echo] ,,:.,,,,,,,,,: `::, ,, ::,::` : :,::` :::: :::
> ::: ::: :::
> [echo] ,:,,,,,,,,,,::,: ,, :. : :: : .: :::
> ::: :::::::
> [echo] :,,,,,,,,,,:,:: ,, : : : : .: :::
> ::: :::::::::
> [echo] ` :,,,,,,,,,,:,::, ,, .:::::::: : : .: :::
> ::: ::: :::
> [echo] `,...,,:,,,,,,,,,: .:,. ,, ,, : : .: :::
> ::: ::: :::
> [echo] .,,,,::,,,,,,,: `: , ,, : ` : : .: :::
> ::: ::: :::
> [echo] ...,::,,,,::.. `: .,, :, : : : .:
> ::::::::::: ::: :::
> [echo] ,::::,,,. `: ,, ::::: : : .:
> ::::::::: ::::::::::
> [echo] ,,:` `,,.
> [echo] ,,, .,`
> [echo] ,,. `,
> GRAPH DATABASE
> [echo] `` `.
> COMMUNITY EDITION
> [echo] ``
> www.orientdb.org
> [echo] `
> [mkdir] Created dir:
> /var/www/tmp/releases/orientdb-community-1.7-SNAPSHOT
> [mkdir] Created dir:
> /var/www/tmp/releases/orientdb-community-1.7-SNAPSHOT/log
> [mkdir] Created dir:
> /var/www/tmp/releases/orientdb-community-1.7-SNAPSHOT/databases
>
> clean:
>
> clean:
> [delete] Deleting directory /var/www/tmp/orientdb/commons/target/classes
> [delete] Deleting directory /var/www/tmp/orientdb/commons/target
>
> clean:
> [delete] Deleting directory /var/www/tmp/orientdb/core/target/classes
> [delete] Deleting directory /var/www/tmp/orientdb/core/target
>
> clean:
>
> clean:
>
> clean:
>
> clean:
>
> clean:
>
> clean:
>
> clean:
>
> clean:
>
> clean:
> [echo] ___ ___ ____ _
> [echo] .' `.|_ ||_ _| | |
> [echo] / .-. \ | |_/ / | |
> [echo] | | | | | __'. |_|
> [echo] \ `-' /_| | \ \_ _
> [echo] `.___.'|____||____| (_)
> [delete] Deleting directory
> /var/www/tmp/releases/orientdb-community-1.7-SNAPSHOT
>
> init:
> [echo] .
> [echo] .` `
> [echo] , `:.
> [echo] `,` ,:`
> [echo] .,. :,,
> [echo] .,, ,,,
> [echo] . .,.::::: ````
> ::::::::: :::::::::
> [echo] ,` .::,,,,::.,,,,,,`;; .:
> :::::::::: ::: :::
> [echo] `,. ::,,,,,,,:.,,.` ` .: :::
> ::: ::: :::
> [echo] ,,:,:,,,,,,,,::. ` ` `` .: :::
> ::: ::: :::
> [echo] ,,:.,,,,,,,,,: `::, ,, ::,::` : :,::` :::: :::
> ::: ::: :::
> [echo] ,:,,,,,,,,,,::,: ,, :. : :: : .: :::
> ::: :::::::
> [echo] :,,,,,,,,,,:,:: ,, : : : : .: :::
> ::: :::::::::
> [echo] ` :,,,,,,,,,,:,::, ,, .:::::::: : : .: :::
> ::: ::: :::
> [echo] `,...,,:,,,,,,,,,: .:,. ,, ,, : : .: :::
> ::: ::: :::
> [echo] .,,,,::,,,,,,,: `: , ,, : ` : : .: :::
> ::: ::: :::
> [echo] ...,::,,,,::.. `: .,, :, : : : .:
> ::::::::::: ::: :::
> [echo] ,::::,,,. `: ,, ::::: : : .:
> ::::::::: ::::::::::
> [echo] ,,:` `,,.
> [echo] ,,, .,`
> [echo] ,,. `,
> GRAPH DATABASE
> [echo] `` `.
> COMMUNITY EDITION
> [echo] ``
> www.orientdb.org
> [echo] `
> [mkdir] Created dir:
> /var/www/tmp/releases/orientdb-community-1.7-SNAPSHOT
> [mkdir] Created dir:
> /var/www/tmp/releases/orientdb-community-1.7-SNAPSHOT/log
> [mkdir] Created dir:
> /var/www/tmp/releases/orientdb-community-1.7-SNAPSHOT/databases
>
> install:
>
> init:
> [echo] -----------------------------------
> [echo] -> orient-commons
> [echo] -----------------------------------
> [mkdir] Created dir: /var/www/tmp/orientdb/commons/target/classes
>
> javaCheck:
> [echo] ant.java.version=1.6
>
> compile:
> [javac] Compiling 123 source files to
> /var/www/tmp/orientdb/commons/target/classes
> [javac]
> /var/www/tmp/orientdb/commons/src/main/java/com/orientechnologies/common/comparator/OUnsafeByteArrayComparator.java:25:
> warning: sun.misc.Unsafe is internal proprietary API and may be removed in
> a future release
> [javac] import sun.misc.Unsafe;
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/commons/src/main/java/com/orientechnologies/common/comparator/OUnsafeByteArrayComparator.java:38:
> warning: sun.misc.Unsafe is internal proprietary API and may be removed in
> a future release
> [javac] private static final Unsafe unsafe;
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/commons/src/main/java/com/orientechnologies/common/directmemory/OUnsafeMemory.java:22:
> warning: sun.misc.Unsafe is internal proprietary API and may be removed in
> a future release
> [javac] import sun.misc.Unsafe;
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/commons/src/main/java/com/orientechnologies/common/directmemory/OUnsafeMemory.java:32:
> warning: sun.misc.Unsafe is internal proprietary API and may be removed in
> a future release
> [javac] protected static final Unsafe unsafe;
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/commons/src/main/java/com/orientechnologies/common/serialization/OUnsafeBinaryConverter.java:8:
> warning: sun.misc.Unsafe is internal proprietary API and may be removed in
> a future release
> [javac] import sun.misc.Unsafe;
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/commons/src/main/java/com/orientechnologies/common/serialization/OUnsafeBinaryConverter.java:18:
> warning: sun.misc.Unsafe is internal proprietary API and may be removed in
> a future release
> [javac] private static final Unsafe theUnsafe;
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/commons/src/main/java/com/orientechnologies/common/comparator/OUnsafeByteArrayComparator.java:46:
> warning: sun.misc.Unsafe is internal proprietary API and may be removed in
> a future release
> [javac] unsafe = (Unsafe) AccessController.doPrivileged(new
> PrivilegedAction<Object>() {
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/commons/src/main/java/com/orientechnologies/common/comparator/OUnsafeByteArrayComparator.java:49:
> warning: sun.misc.Unsafe is internal proprietary API and may be removed in
> a future release
> [javac] Field f = Unsafe.class.getDeclaredField("theUnsafe");
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/commons/src/main/java/com/orientechnologies/common/directmemory/OUnsafeMemory.java:39:
> warning: sun.misc.Unsafe is internal proprietary API and may be removed in
> a future release
> [javac] unsafe = (Unsafe) AccessController.doPrivileged(new
> PrivilegedAction<Object>() {
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/commons/src/main/java/com/orientechnologies/common/directmemory/OUnsafeMemory.java:42:
> warning: sun.misc.Unsafe is internal proprietary API and may be removed in
> a future release
> [javac] Field f = Unsafe.class.getDeclaredField("theUnsafe");
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/commons/src/main/java/com/orientechnologies/common/serialization/OUnsafeBinaryConverter.java:22:
> warning: sun.misc.Unsafe is internal proprietary API and may be removed in
> a future release
> [javac] theUnsafe = (Unsafe) AccessController.doPrivileged(new
> PrivilegedAction<Object>() {
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/commons/src/main/java/com/orientechnologies/common/serialization/OUnsafeBinaryConverter.java:25:
> warning: sun.misc.Unsafe is internal proprietary API and may be removed in
> a future release
> [javac] Field f = Unsafe.class.getDeclaredField("theUnsafe");
> [javac] ^
> [javac] 12 warnings
> [javac] Compiling 27 source files to
> /var/www/tmp/orientdb/commons/target/classes
>
> jar:
> [jar] Building jar:
> /var/www/tmp/orientdb/commons/target/orient-commons-1.7-SNAPSHOT.jar
>
> install:
> [copy] Copying 1 file to
> /var/www/tmp/releases/orientdb-community-1.7-SNAPSHOT/lib
>
> init:
> [echo] -----------------------------------
> [echo] -> orientdb-core
> [echo] -----------------------------------
> [mkdir] Created dir: /var/www/tmp/orientdb/core/target/classes
>
> compile:
> [javac] Compiling 761 source files to
> /var/www/tmp/orientdb/core/target/classes
> [javac]
> /var/www/tmp/orientdb/core/src/main/java/com/orientechnologies/orient/core/index/OCompositeKey.java:24:
> warning: com.sun.swing.internal.plaf.metal.resources.metal is internal
> proprietary API and may be removed in a future release
> [javac] import com.sun.swing.internal.plaf.metal.resources.metal;
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/core/src/main/java/com/orientechnologies/orient/core/index/OCompositeKey.java:25:
> warning: sun.misc.resources.Messages_pt_BR is internal proprietary API and
> may be removed in a future release
> [javac] import sun.misc.resources.Messages_pt_BR;
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.annotation.concurrent.GuardedBy': class file for
> javax.annotation.concurrent.GuardedBy not found
> [javac]
> /var/www/tmp/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.annotation.concurrent.GuardedBy'
> [javac]
> /var/www/tmp/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.annotation.concurrent.GuardedBy'
> [javac]
> /var/www/tmp/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.annotation.concurrent.GuardedBy'
> [javac]
> /var/www/tmp/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.annotation.concurrent.GuardedBy'
> [javac]
> /var/www/tmp/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.annotation.concurrent.GuardedBy'
> [javac]
> /var/www/tmp/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.annotation.concurrent.GuardedBy'
> [javac]
> /var/www/tmp/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.annotation.concurrent.GuardedBy'
> [javac]
> /var/www/tmp/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.annotation.concurrent.GuardedBy'
> [javac]
> /var/www/tmp/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.annotation.concurrent.GuardedBy'
> [javac]
> /var/www/tmp/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.annotation.concurrent.GuardedBy'
> [javac]
> /var/www/tmp/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class):
> warning: Cannot find annotation method 'value()' in type
> 'javax.annotation.concurrent.GuardedBy'
> [javac]
> /var/www/tmp/orientdb/core/src/main/java/com/orientechnologies/orient/core/index/OIndexMultiValues.java:405:
> <T>emptyIterator() is not public in java.util.Collections; cannot be
> accessed from outside package
> [javac] private Iterator<OIdentifiable> currentIterator =
> Collections.emptyIterator();
> [javac]
> ^
> [javac]
> /var/www/tmp/orientdb/core/src/main/java/com/orientechnologies/orient/core/index/OIndexFullText.java:221:
> type parameters of <RET>RET cannot be determined; no unique maximal
> instance exists for type variable RET with upper bounds
> boolean,java.lang.Object
> [javac] indexRadix = metadata.field(CONFIG_INDEX_RADIX);
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/core/src/main/java/com/orientechnologies/orient/core/index/OIndexFullText.java:227:
> type parameters of <RET>RET cannot be determined; no unique maximal
> instance exists for type variable RET with upper bounds int,java.lang.Object
> [javac] minWordLength = metadata.field(CONFIG_MIN_WORD_LEN);
> [javac] ^
> [javac]
> /var/www/tmp/orientdb/core/src/main/java/com/orientechnologies/orient/core/index/engine/OMVRBTreeIndexEngine.java:1011:
> <T>emptyIterator() is not public in java.util.Collections; cannot be
> accessed from outside package
> [javac] private Iterator<OIdentifiable>
> currentIterator = Collections.emptyIterator();
> [javac]
> ^
> [javac]
> /var/www/tmp/orientdb/core/src/main/java/com/orientechnologies/orient/core/index/engine/OSBTreeIndexEngine.java:629:
> <T>emptyIterator() is not public in java.util.Collections; cannot be
> accessed from outside package
> [javac] private Iterator<OIdentifiable>
> currentIterator = Collections.emptyIterator();
> [javac]
> ^
> [javac]
> /var/www/tmp/orientdb/core/src/main/java/com/orientechnologies/orient/core/index/sbtree/local/OSBTree.java:1993:
> <T>emptyIterator() is not public in java.util.Collections; cannot be
> accessed from outside package
> [javac] private Iterator<Map.Entry<K, V>> dataCacheIterator =
> Collections.emptyIterator();
> [javac]
> ^
> [javac]
> /var/www/tmp/orientdb/core/src/main/java/com/orientechnologies/orient/core/index/sbtree/local/OSBTree.java:2091:
> <T>emptyIterator() is not public in java.util.Collections; cannot be
> accessed from outside package
> [javac] private Iterator<Map.Entry<K, V>> dataCacheIterator =
> Collections.emptyIterator();
> [javac]
> ^
> [javac]
> /var/www/tmp/orientdb/core/src/main/java/com/orientechnologies/orient/core/sql/OChainedIndexProxy.java:673:
> <T>emptyIterator() is not public in java.util.Collections; cannot be
> accessed from outside package
> [javac] private Iterator<OIdentifiable> currentIterator =
> Collections.emptyIterator();
> [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] 8 errors
> [javac] 14 warnings
>
> BUILD FAILED
> /var/www/tmp/orientdb/build.xml:131: The following error occurred while
> executing this line:
> /var/www/tmp/orientdb/build.xml:21: The following error occurred while
> executing this line:
> /var/www/tmp/orientdb/_base/base-build.xml:44: Compile failed; see the
> compiler error output for details.
>
> Total time: 44 seconds
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.