[Swift-user] Errors compiling swift-0.92

Andriy Fedorov fedorov at bwh.harvard.edu
Sat Mar 5 19:10:09 CST 2011


On Sat, Mar 5, 2011 at 20:06, Mihael Hategan <hategan at mcs.anl.gov> wrote:
> Odd. In cog/mbuild.xml, towards the top, there should be a line reading:
>
> <property name="force.java.version" value="1.5"/>
>
> Do you have that?
>

I have <property name="force.java.version" value="1.4"/>

If I change that to 1.5, I still have errors ...

>
> On Sat, 2011-03-05 at 18:23 -0500, Andriy Fedorov wrote:
>> 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)
>> _______________________________________________
>> Swift-user mailing list
>> Swift-user at ci.uchicago.edu
>> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
>
>
>



More information about the Swift-user mailing list