It produces a 1.4 compatible binary (jboss-cache.jar), but JDK 5 is
needed to build. It also produces a binary jboss-cache-jdk50.jar that
requires JDK 5 at runtime. The two jars are identical except the latter
has a few annotation classes included.
jbosscache-dev-bounces(a)lists.jboss.org wrote:
You need JDK 5
Pavel Tsekov wrote:
> Hello,
>
> Trying to build JBossCache from the Branch_JBossCache_1_4_0 branch
> with J2SE 1.4.2_13 I get the failures listed below. Is there a cure
> for this issue ?
>
> Thanks!
>
> compile-classes14:
> [mkdir] Created dir: E:\src\JBossCache\output\classes
> [mkdir] Created dir: E:\src\JBossCache\output\test-classes
> [mkdir] Created dir: E:\src\JBossCache\output\varia-classes
> [javac] Compiling 262 source files to
E:\src\JBossCache\output\classes
> [javac] Note: Some input files use or override a deprecated API.
> [javac] Note: Recompile with -deprecation for details.
> [javac] Compiling 3 source files to
E:\src\JBossCache\output\varia-classes
> [javac] Compiling 363 source files to
E:\src\JBossCache\output\test-classes
> [javac]
E:\src\JBossCache\tests\stress\org\jboss\cache\BuddyReplicatio
nStressTest.java:18: cannot resolve symbol
> [javac] symbol : class UUID
> [javac] location: package util
> [javac] import java.util.UUID;
> [javac] ^
> [javac]
E:\src\JBossCache\tests\functional\org\jboss\cache\marshall\Tr
eeCacheMarshallerTestBase.java:141: cannot resolve symbol
> [javac] symbol : class StringBuilder
> [javac] location: class
org.jboss.cache.marshall.TreeCacheMarshallerTestBase
> [javac] StringBuilder sb = new StringBuilder();
> [javac] ^ [javac]
E:\src\JBossCache\tests\functional\org\jboss\cache\marshall\Tr
eeCacheMarshallerTestBase.java:141: cannot resolve symbol
> [javac] symbol : class StringBuilder
> [javac] location: class
org.jboss.cache.marshall.TreeCacheMarshallerTestBase
> [javac] StringBuilder sb = new StringBuilder();
> [javac] ^
> [javac]
E:\src\JBossCache\tests\functional\org\jboss\cache\marshall\Tr
eeCacheMarshallerTestBase.java:157: cannot resolve symbol
> [javac] symbol : class StringBuilder
> [javac] location: class
org.jboss.cache.marshall.TreeCacheMarshallerTestBase
> [javac] StringBuilder sb = new StringBuilder();
> [javac] ^ [javac]
E:\src\JBossCache\tests\functional\org\jboss\cache\marshall\Tr
eeCacheMarshallerTestBase.java:157: cannot resolve symbol
> [javac] symbol : class StringBuilder
> [javac] location: class
org.jboss.cache.marshall.TreeCacheMarshallerTestBase
> [javac] StringBuilder sb = new StringBuilder();
> [javac] ^
> [javac]
E:\src\JBossCache\tests\functional\org\jboss\cache\marshall\Tr
eeCacheMarshallerTestBase.java:173: cannot resolve symbol
> [javac] symbol : class StringBuilder
> [javac] location: class
org.jboss.cache.marshall.TreeCacheMarshallerTestBase
> [javac] StringBuilder sb = new StringBuilder();
> [javac] ^ [javac]
E:\src\JBossCache\tests\functional\org\jboss\cache\marshall\Tr
eeCacheMarshallerTestBase.java:173: cannot resolve symbol
> [javac] symbol : class StringBuilder
> [javac] location: class
org.jboss.cache.marshall.TreeCacheMarshallerTestBase
> [javac] StringBuilder sb = new StringBuilder();
> [javac] ^
> [javac]
E:\src\JBossCache\tests\stress\org\jboss\cache\BuddyReplicatio
nStressTest.java:113: cannot resolve symbol
> [javac] symbol : variable UUID
> [javac] location: class
org.jboss.cache.BuddyReplicationStressTest.LoadBalancer
> [javac] return UUID.randomUUID().toString();
> [javac] ^ [javac] Note: Some input files use or
> override a deprecated API. [javac] Note: Recompile with
> -deprecation for details. [javac] 8 errors
>
> BUILD FAILED
>
> _______________________________________________
> jbosscache-dev mailing list
> jbosscache-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/jbosscache-dev
Brian Stansberry
Lead, AS Clustering
JBoss, a division of Red Hat
Ph: 510-396-3864
skype: bstansberry
IT executives: Red Hat still #1 for value
http://www.redhat.com/promo/vendor/