You switched form 1.7.* to 2.0, but the folders "common" and "nativeos" remained. Just delete such folders and try again.
Lvc@ On 23 October 2014 17:14, Jonathan Rosen <rosenj...@gmail.com> wrote: > My ant build is also failing for 2.0. The error I'm getting is: > [javac] > /Users/xxx/Sites/releases/orientdb/enterprise/src/main/java/com/orientechnologies/orient/enterprise/channel/OChannel.java:84: > error: no suitable constructor found for OListenerManger(boolean) > > Full build output here: > jonathans-mbp:orientdb xxx$ ant clean installg > Buildfile: /Users/xxx/Sites/releases/orientdb/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] ` > > clean: > > clean: > [delete] Deleting directory > /Users/xxx/Sites/releases/orientdb/test-commons/target/classes > [delete] Deleting directory > /Users/xxx/Sites/releases/orientdb/test-commons/target > > clean: > [delete] Deleting directory > /Users/xxx/Sites/releases/orientdb/core/target/classes > [delete] Deleting directory > /Users/xxx/Sites/releases/orientdb/core/target > > clean: > [delete] Deleting directory > /Users/xxx/Sites/releases/orientdb/object/target/classes > [delete] Deleting directory > /Users/xxx/Sites/releases/orientdb/object/target > > clean: > [delete] Deleting directory > /Users/xxx/Sites/releases/orientdb/enterprise/target/classes > [delete] Deleting directory > /Users/xxx/Sites/releases/orientdb/enterprise/target > > clean: > > clean: > > clean: > > clean: > > clean: > > clean: > [echo] ___ ___ ____ _ > [echo] .' `.|_ ||_ _| | | > [echo] / .-. \ | |_/ / | | > [echo] | | | | | __'. |_| > [echo] \ `-' /_| | \ \_ _ > [echo] `.___.'|____||____| (_) > [delete] Deleting directory > /Users/xxx/Sites/releases/releases/orientdb-community-2.0-M2 > > 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: > /Users/xxx/Sites/releases/releases/orientdb-community-2.0-M2 > [mkdir] Created dir: > /Users/xxx/Sites/releases/releases/orientdb-community-2.0-M2/log > [mkdir] Created dir: > /Users/xxx/Sites/releases/releases/orientdb-community-2.0-M2/databases > > install: > > init: > [echo] ----------------------------------- > [echo] -> orientdb-test-commons > [echo] ----------------------------------- > [mkdir] Created dir: > /Users/xxx/Sites/releases/orientdb/test-commons/target/classes > > compile: > [javac] Compiling 1 source file to > /Users/xxx/Sites/releases/orientdb/test-commons/target/classes > [javac] warning: [options] bootstrap class path not set in conjunction > with -source 1.6 > [javac] 1 warning > [copy] Copying 1 file to > /Users/xxx/Sites/releases/orientdb/test-commons/target/classes > > jar: > [jar] Building jar: > /Users/xxx/Sites/releases/orientdb/test-commons/target/orientdb-test-commons-2.0-M2.jar > > install: > > init: > [echo] ----------------------------------- > [echo] -> orientdb-core > [echo] ----------------------------------- > [mkdir] Created dir: > /Users/xxx/Sites/releases/orientdb/core/target/classes > > javaCheck: > [echo] ant.java.version=1.7 > > compile: > [javac] Compiling 923 source files to > /Users/xxx/Sites/releases/orientdb/core/target/classes > [javac] warning: [options] bootstrap class path not set in conjunction > with -source 1.6 > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/common/comparator/OUnsafeByteArrayComparator.java:29: > warning: Unsafe is internal proprietary API and may be removed in a future > release > [javac] import sun.misc.Unsafe; > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/common/directmemory/OUnsafeMemory.java:28: > warning: Unsafe is internal proprietary API and may be removed in a future > release > [javac] import sun.misc.Unsafe; > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/common/serialization/OUnsafeBinaryConverter.java:29: > warning: Unsafe is internal proprietary API and may be removed in a future > release > [javac] import sun.misc.Unsafe; > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type 'GuardedBy': class > file for javax.annotation.concurrent.GuardedBy not found > [javac] > /Users/xxx/Sites/releases/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type 'GuardedBy' > [javac] > /Users/xxx/Sites/releases/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type 'GuardedBy' > [javac] > /Users/xxx/Sites/releases/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type 'GuardedBy' > [javac] > /Users/xxx/Sites/releases/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type 'GuardedBy' > [javac] > /Users/xxx/Sites/releases/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type 'GuardedBy' > [javac] > /Users/xxx/Sites/releases/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type 'GuardedBy' > [javac] > /Users/xxx/Sites/releases/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type 'GuardedBy' > [javac] > /Users/xxx/Sites/releases/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type 'GuardedBy' > [javac] > /Users/xxx/Sites/releases/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type 'GuardedBy' > [javac] > /Users/xxx/Sites/releases/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type 'GuardedBy' > [javac] > /Users/xxx/Sites/releases/orientdb/core/lib/concurrentlinkedhashmap-lru-1.4.jar(com/googlecode/concurrentlinkedhashmap/ConcurrentLinkedHashMap.class): > warning: Cannot find annotation method 'value()' in type 'GuardedBy' > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/common/comparator/OUnsafeByteArrayComparator.java:42: > warning: Unsafe is internal proprietary API and may be removed in a future > release > [javac] private static final Unsafe unsafe; > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/common/comparator/OUnsafeByteArrayComparator.java:50: > warning: Unsafe is internal proprietary API and may be removed in a future > release > [javac] unsafe = (Unsafe) AccessController.doPrivileged(new > PrivilegedAction<Object>() { > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/common/comparator/OUnsafeByteArrayComparator.java:53: > warning: Unsafe is internal proprietary API and may be removed in a future > release > [javac] Field f = Unsafe.class.getDeclaredField("theUnsafe"); > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/common/directmemory/OUnsafeMemory.java:38: > warning: Unsafe is internal proprietary API and may be removed in a future > release > [javac] protected static final Unsafe unsafe; > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/common/directmemory/OUnsafeMemory.java:49: > warning: Unsafe is internal proprietary API and may be removed in a future > release > [javac] unsafe = (Unsafe) AccessController.doPrivileged(new > PrivilegedAction<Object>() { > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/common/directmemory/OUnsafeMemory.java:52: > warning: Unsafe is internal proprietary API and may be removed in a future > release > [javac] Field f = Unsafe.class.getDeclaredField("theUnsafe"); > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/common/serialization/OUnsafeBinaryConverter.java:39: > warning: Unsafe is internal proprietary API and may be removed in a future > release > [javac] private static final Unsafe theUnsafe; > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/common/serialization/OUnsafeBinaryConverter.java:46: > warning: Unsafe is internal proprietary API and may be removed in a future > release > [javac] theUnsafe = (Unsafe) AccessController.doPrivileged(new > PrivilegedAction<Object>() { > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/common/serialization/OUnsafeBinaryConverter.java:49: > warning: Unsafe is internal proprietary API and may be removed in a future > release > [javac] Field f = Unsafe.class.getDeclaredField("theUnsafe"); > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseImport.java:1056: > warning: non-varargs call of varargs method with inexact argument type for > last parameter; > [javac] clusterId = database.addCluster(name, id, null); > [javac] ^ > [javac] cast to Object for a varargs call > [javac] cast to Object[] for a non-varargs call and to suppress this > warning > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseImport.java:1066: > warning: non-varargs call of varargs method with inexact argument type for > last parameter; > [javac] database.addCluster("temp_" + clusterId, null); > [javac] ^ > [javac] cast to Object for a varargs call > [javac] cast to Object[] for a non-varargs call and to suppress this > warning > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/orient/core/db/tool/ODatabaseImport.java:1075: > warning: non-varargs call of varargs method with inexact argument type for > last parameter; > [javac] database.addCluster(name, id, null); > [javac] ^ > [javac] cast to Object for a varargs call > [javac] cast to Object[] for a non-varargs call and to suppress this > warning > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/orient/core/index/OCompositeIndexDefinition.java:31: > warning: metal is internal proprietary API and may be removed in a future > release > [javac] import java.util.Set; > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/orient/core/index/OCompositeIndexDefinition.java:33: > warning: Messages_pt_BR is internal proprietary API and may be removed in a > future release > [javac] import com.orientechnologies.orient.core.collate.OCollate; > [javac] ^ > [javac] > /Users/xxx/Sites/releases/orientdb/core/src/main/java/com/orientechnologies/orient/core/sql/OCommandExecutorSQLCreateCluster.java:90: > warning: non-varargs call of varargs method with inexact argument type for > last parameter; > [javac] return database.addCluster(clusterName, requestedId, > null); > [javac] ^ > [javac] cast to Object for a varargs call > [javac] cast to Object[] for a non-varargs call and to suppress this > warning > [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] 31 warnings > [javac] Creating empty > /Users/xxx/Sites/releases/orientdb/core/target/classes/com/orientechnologies/orient/core/sql/functions/text/package-info.class > [javac] Creating empty > /Users/xxx/Sites/releases/orientdb/core/target/classes/com/orientechnologies/orient/core/sql/functions/conversion/package-info.class > [copy] Copying 7 files to > /Users/xxx/Sites/releases/orientdb/core/target/classes > [javac] Compiling 127 source files to > /Users/xxx/Sites/releases/orientdb/core/target/classes > [javac] warning: [options] bootstrap class path not set in conjunction > with -source 1.6 > [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] 1 warning > > jar: > [jar] Building jar: > /Users/xxx/Sites/releases/orientdb/core/target/orientdb-core-2.0-M2.jar > [copy] Copying 5 files to > /Users/xxx/Sites/releases/orientdb/core/target > > install: > [copy] Copying 6 files to > /Users/xxx/Sites/releases/releases/orientdb-community-2.0-M2/lib > > init: > [echo] ----------------------------------- > [echo] -> orientdb-object > [echo] ----------------------------------- > [mkdir] Created dir: > /Users/xxx/Sites/releases/orientdb/object/target/classes > > compile: > [javac] Compiling 49 source files to > /Users/xxx/Sites/releases/orientdb/object/target/classes > [javac] warning: [options] bootstrap class path not set in conjunction > with -source 1.6 > [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] 1 warning > [copy] Copying 4 files to > /Users/xxx/Sites/releases/orientdb/object/target/classes > > jar: > [jar] Building jar: > /Users/xxx/Sites/releases/orientdb/object/target/orientdb-object-2.0-M2.jar > [copy] Copying 2 files to > /Users/xxx/Sites/releases/orientdb/object/target > > install: > [copy] Copying 3 files to > /Users/xxx/Sites/releases/releases/orientdb-community-2.0-M2/lib > > init: > [echo] ----------------------------------- > [echo] -> orientdb-enterprise > [echo] ----------------------------------- > [mkdir] Created dir: > /Users/xxx/Sites/releases/orientdb/enterprise/target/classes > > compile: > [javac] Compiling 16 source files to > /Users/xxx/Sites/releases/orientdb/enterprise/target/classes > [javac] warning: [options] bootstrap class path not set in conjunction > with -source 1.6 > [javac] > /Users/xxx/Sites/releases/orientdb/enterprise/src/main/java/com/orientechnologies/orient/enterprise/channel/OChannel.java:84: > error: no suitable constructor found for OListenerManger(boolean) > [javac] super(true); > [javac] ^ > [javac] constructor > OListenerManger.OListenerManger(Collection<OChannelListener>,OLock) is not > applicable > [javac] (actual and formal argument lists differ in length) > [javac] constructor OListenerManger.OListenerManger(OLock) is not > applicable > [javac] (actual argument boolean cannot be converted to OLock by > method invocation conversion) > [javac] constructor OListenerManger.OListenerManger() is not > applicable > [javac] (actual and formal argument lists differ in length) > [javac] Note: Some input files use or override a deprecated API. > [javac] Note: Recompile with -Xlint:deprecation for details. > [javac] 1 error > [javac] 1 warning > > BUILD FAILED > /Users/xxx/Sites/releases/orientdb/build.xml:130: The following error > occurred while executing this line: > /Users/xxx/Sites/releases/orientdb/build.xml:21: The following error > occurred while executing this line: > /Users/xxx/Sites/releases/orientdb/_base/base-build.xml:44: Compile > failed; see the compiler error output for details.xxx > > > > On Friday, October 17, 2014 10:42:17 AM UTC-4, odbuser wrote: >> >> Here's the current error: >> >> OrientDB git develop branch >> Ant 1.9.4, Java 8u25 >> >> compile: >> [javac] Compiling 13 source files to /2.0-SNAPSHOT/src/client/target/ >> classes >> [javac] warning: [options] bootstrap class path not set in >> conjunction with -source 1.6 >> [javac] /2.0-SNAPSHOT/src/client/src/main/java/com/orientechnologies/ >> orient/client/remote/ORemoteConnectionManager.java:182: error: cannot >> find symbol >> [javac] return pool.getCreatedInstances(); >> [javac] ^ >> [javac] symbol: method getCreatedInstances() >> [javac] location: variable pool of type OResourcePool<String, >> OChannelBinaryAsynchClient> >> [javac] /2.0-SNAPSHOT/src/client/src/main/java/com/orientechnologies/ >> orient/client/remote/ORemoteConnectionManager.java:194: error: cannot >> find symbol >> [javac] final List<OChannelBinaryAsynchClient> conns = new >> ArrayList<OChannelBinaryAsynchClient>(pool.getAllResources()); >> [javac] >> ^ >> [javac] symbol: method getAllResources() >> [javac] location: variable pool of type OResourcePool<String, >> OChannelBinaryAsynchClient> >> [javac] Note: Some input files use unchecked or unsafe operations. >> [javac] Note: Recompile with -Xlint:unchecked for details. >> [javac] 2 errors >> [javac] 1 warning >> >> >> >> >> >> On Thursday, October 16, 2014 10:17:57 AM UTC-4, Andrey Lomakin wrote: >>> >>> Hi, >>> You always can check state of ant build here http://helios. >>> orientechnologies.com/ . may be error was pushed in branch I will check >>> and fix. >>> >>> On Thu, Oct 16, 2014 at 5:04 PM, odbuser <odbu...@gmail.com> wrote: >>> >>>> ant clean installg has been failing on the develop branch while the >>>> maven build succeeds. Has the ant build been deprecated? >>>> >>>> -- >>>> >>>> --- >>>> 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 orient-databa...@googlegroups.com. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> >>> >>> -- >>> Best regards, >>> Andrey Lomakin. >>> >>> Orient Technologies >>> the Company behind OrientDB >>> >>> -- > > --- > 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 orient-database+unsubscr...@googlegroups.com. > 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 orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.