[Swift-user] Errors compiling swift-0.92

Andriy Fedorov fedorov at bwh.harvard.edu
Sat Mar 5 17:23:12 CST 2011


Hi,

I have the errors below trying to compile latest release branch on
Ubuntu 10.04 x86_64 following the instructions on this page:
http://www.ci.uchicago.edu/swift/downloads/index.php

Any suggestions?

delete.dependency.log.1:
   [delete] Deleting: /home/andrey/local/cog/dependency.log.dist
     [echo] [swift]: DIST
     [echo] [swift]: JARCOPY
     [copy] Copying 9 files to
/home/andrey/local/cog/modules/swift/dist/swift-svn/lib
     [copy] Copying 10 files to
/home/andrey/local/cog/modules/swift/dist/swift-svn/etc

delete.jar:
     [echo] [swift]: DELETE.JAR (cog-swift-svn.jar)

compile:
     [echo] [swift]: COMPILE
    [mkdir] Created dir: /home/andrey/local/cog/modules/swift/build
    [javac] Compiling 374 source files to
/home/andrey/local/cog/modules/swift/build
    [javac] /home/andrey/local/cog/modules/swift/src/org/globus/swift/catalog/TCEntry.java:69:
generics are not supported in -source 1.4
    [javac] (use -source 5 or higher to enable generics)
    [javac]     private List<Profile> profiles;
    [javac]                 ^
    [javac] /home/andrey/local/cog/modules/swift/src/org/globus/swift/catalog/TCEntry.java:163:
for-each loops are not supported in -source 1.4
    [javac] (use -source 5 or higher to enable for-each loops)
    [javac]             for (Profile p : profiles)
    [javac]                            ^
    [javac] /home/andrey/local/cog/modules/swift/src/org/globus/swift/catalog/TCEntry.java:394:
annotations are not supported in -source 1.4
    [javac] (use -source 5 or higher to enable annotations)
    [javac]     @SuppressWarnings("hiding")
    [javac]      ^
    [javac] /home/andrey/local/cog/modules/swift/src/org/globus/swift/catalog/TransformationCatalog.java:53:
generics are not supported in -source 1.4
    [javac] (use -source 5 or higher to enable generics)
    [javac]     List<TCEntry> getTCEntries( String namespace, String
name, String version,
    [javac]         ^
    [javac] /home/andrey/local/cog/modules/swift/src/org/globus/swift/catalog/TransformationCatalogEntry.java:71:
generics are not supported in -source 1.4
    [javac] (use -source 5 or higher to enable generics)
    [javac]     private List<Profile> profiles;
    [javac]                 ^
    [javac] /home/andrey/local/cog/modules/swift/src/org/globus/swift/catalog/TransformationCatalogEntry.java:165:
for-each loops are not supported in -source 1.4
    [javac] (use -source 5 or higher to enable for-each loops)
    [javac]             for (Profile p : profiles)
    [javac]                            ^
    [javac] /home/andrey/local/cog/modules/swift/src/org/globus/swift/catalog/transformation/File.java:80:
generics are not supported in -source 1.4
    [javac] (use -source 5 or higher to enable generics)
    [javac]     private Map<String, Map<String, List<TCEntry>>> mTreeMap;
    [javac]                ^
    [javac] /home/andrey/local/cog/modules/swift/src/org/globus/swift/catalog/transformation/File.java:465:
for-each loops are not supported in -source 1.4
    [javac] (use -source 5 or higher to enable for-each loops)
    [javac]         for (Map<String,List<TCEntry>> lMap : lfnList) {

[... many more ...]

--
Andriy Fedorov, Ph.D.

Research Fellow
Brigham and Women's Hospital
Harvard Medical School
75 Francis Street
Boston, MA 02115 USA
fedorov at bwh.harvard.edu
(617) 525-6258 (office)



More information about the Swift-user mailing list