[Fwd: Re: [Swift-user] first.swift issues]

Michael Wilde wilde at mcs.anl.gov
Fri May 29 17:07:58 CDT 2009



-------- Original Message --------
Subject: Re: [Swift-user] first.swift issues
Date: Fri, 29 May 2009 13:50:00 -0500
From: Alex Moore <amoore2 at uchicago.edu>
To: Michael Wilde <wilde at mcs.anl.gov>
CC: Zhao Zhang <zhaozhang at uchicago.edu>
References: 
<8a98db410905291109h72cab1f4hb39501495c5ab43d at mail.gmail.com> 
<4A20275F.5090708 at uchicago.edu> <4A202A0B.1020407 at mcs.anl.gov>

Yeah, that's it. When I add +java-sun to my .soft file it works fine. 
Thanks.
-Alex

On Fri, May 29, 2009 at 1:31 PM, Michael Wilde <wilde at mcs.anl.gov> wrote:
> Alex, it sounds like you may be gettuing a different (old?) version of Java.
>
> Can you try this on communicado.ci.uchicago.edu, and add this line to the
> front of your .soft file:
>
> +java-sun
>
> - Mike
>
> On 5/29/09 1:20 PM, Zhao Zhang wrote:
>>
>> Hi, Alex
>>
>> I tried the swift in your home dir, assuming that is the one you are
>> using. It works for me.
>> [zzhang at communicado amoore2]$ export
>> PATH=/home/amoore2/swift-0.9/bin:$PATH
>> [zzhang at communicado amoore2]$ which swift
>> /home/amoore2/swift-0.9/bin/swift
>> [zzhang at communicado amoore2]$ cd
>> /home/zzhang/swift_coaster/cog/modules/swift/examples/
>> [zzhang at communicado examples]$ swift first.swift
>> Swift 0.9 swift-r2860 cog-r2388
>>
>> RunID: 20090529-1318-ada6yjqb
>> Progress:
>> Final status:  Finished successfully:1
>>
>> zhao
>>
>> Alex Moore wrote:
>>>
>>> Following the quick start guide to install swift on my CI account.
>>> When I try execute: swift first.swift I get the following message:
>>> "-Xmx256m not understood. Ignoring
>>> log4j:ERROR Error occurred while converting date.
>>> java.lan.IllegalArgumentExcepion: Illegal pattern character at
>>> java.text.SimpleDateFormat.format(java.util.Date, ..."
>>>
>>> It continues on for at least another page. This happens when I log in
>>> on both login.ci.uchicago.edu and communicado.ci.uchicago.edu. I tried
>>> deleting and reinstalling as well. I'm using swift-0.9
>>>
>>> Also, the first.swift file in package is different from the one in the
>>> swift tutorial. In swift-0.9, first.swift starts off with:
>>>
>>> type messagefile;
>>>
>>> app (messagefile t) greeting () {
>>>    echo "Hello, world!"......
>>>
>>> While the swift tutorial has:
>>>
>>> type messagefile;
>>>
>>> (messagefile t) greeting () {
>>>   app { echo "Hello, world!"......
>>>
>>>
>>> I changed first.swift to what was listed in the swift tutorial, and I
>>> got the same error message. Thank for your help.
>>> -Alex Moore
>>> _______________________________________________
>>> Swift-user mailing list
>>> Swift-user at ci.uchicago.edu
>>> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
>>>
>>>
>>
>> _______________________________________________
>> 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