[Swift-devel] swift tree getting build options from cog?
Allan Espinosa
aespinosa at cs.uchicago.edu
Mon May 24 20:04:08 CDT 2010
Hi,
I'm building swift-trunk together with cog-stable but get these build errors:
[javac] ^
[javac] /autonfs/home/aespinosa/swift/cogkit/modules/swift/src/org/globus/swift/data/policy/Local.java:11:
annotations are not supported in -source 1.4
[javac] (try -source 1.5 to enable annotations)
[javac] @Override
[javac] ^
[javac] /autonfs/home/aespinosa/swift/cogkit/modules/swift/src/org/globus/swift/data/policy/Local.java:12:
generics are not supported in -source 1.4
[javac] (try -source 1.5 to enable generics)
[javac] public void settings(List<String> tokens) {
[javac] ^
[javac] /autonfs/home/aespinosa/swift/cogkit/modules/swift/src/org/globus/swift/data/policy/Policy.java:13:
generics are not supported in -source 1.4
[javac] (try -source 1.5 to enable generics)
[javac] public abstract void settings(List<String> tokens);
[javac] ^
[javac] /autonfs/home/aespinosa/swift/cogkit/modules/swift/src/org/griphyn/vdl/karajan/lib/SiteProfile.java:53:
generics are not supported in -source 1.4
[javac] (try -source 1.5 to enable generics)
[javac] private static final Set<FQN> DEFAULTS_NAMES;
[javac] ^
[javac] /autonfs/home/aespinosa/swift/cogkit/modules/swift/src/org/griphyn/vdl/karajan/lib/swiftscript/Java.java:62:
for-each loops are not supported in -source 1.4
[javac] (try -source 1.5 to enable for-each loops)
[javac] for (Method m : methods) {
[javac] ^
[javac] 16 errors
BUILD FAILED
/autonfs/home/aespinosa/swift/cogkit/modules/swift/build.xml:73: The
following error occurred while executing this line:
/autonfs/home/aespinosa/swift/cogkit/mbuild.xml:464: The following
error occurred while executing this line:
/autonfs/home/aespinosa/swift/cogkit/mbuild.xml:228: Compile failed;
see the compiler error output for details.
Total time: 26 seconds
Is my guess correct that the swift tree is picking-up build options
from the cogtree aside from the classpaths for necessary jars?
Thanks,
-Allan
--
Allan M. Espinosa <http://amespinosa.wordpress.com>
PhD student, Computer Science
University of Chicago <http://people.cs.uchicago.edu/~aespinosa>
More information about the Swift-devel
mailing list