[Swift-devel] compilation problems with the latest swift package

Mihael Hategan hategan at mcs.anl.gov
Mon Feb 22 12:18:05 CST 2010


My bad. IOException(Exception) was added in java 6.

Either use the stable branch or java 6.

On Mon, 2010-02-22 at 11:50 -0600, Wenjun Wu wrote:
> Hi Mihael,
>   Are you suggesting that I should use JDK1.5 to compile the swift package?
>   Actually I'm using JDK1.5 and Ant 1.6.5. But I still got the same problem.
>   Is there any other things I should try to make it work?
>   Thanks,
> Wenjun
> > Hi Wenjun,
> >
> > We switched to java 1.5 with the trunk version of swift and cog.
> >
> > The stable branch (details on the download page), which I would
> > recommend for you, is still made for 1.4.
> >
> > Mihael
> >
> > On Wed, 2010-02-17 at 11:56 -0600, Wenjun Wu wrote:
> >   
> >> Hello,
> >>   I tried to compiled the latest swift package from the swift svn and 
> >> got some errors.
> >>   The version info for the package is
> >>  
> >> svn info
> >> Path: .
> >> URL: https://svn.ci.uchicago.edu/svn/vdl2/trunk
> >> Repository Root: https://svn.ci.uchicago.edu/svn/vdl2
> >> Repository UUID: e2bb083e-7f23-0410-b3a8-8253ac9ef6d8
> >> Revision: 3238
> >> Node Kind: directory
> >> Schedule: normal
> >> Last Changed Author: wozniak
> >> Last Changed Rev: 3237
> >> Last Changed Date: 2010-02-12 15:32:49 -0500 (Fri, 12 Feb 2010)
> >>
> >>  Could anyone give any suggestions for fixing the problem?
> >>   Thanks,
> >> Wenjun
> >>
> >> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> >>   compile:
> >>      [echo] [provider-coaster]: COMPILE
> >>     [javac] /root/swift/cog/mbuild.xml:228: warning: 'includeantruntime' 
> >> was not set, defaulting to build.sysclasspath=last; set to false for 
> >> repeatable builds
> >>     [javac] Compiling 6 source files to 
> >> /root/swift/cog/modules/provider-coaster/build
> >>     [javac] 
> >> /root/swift/cog/modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/handlers/providers/CoGResourceIOProvider.java:88: 
> >> cannot find symbol
> >>     [javac] symbol  : constructor 
> >> IOException(java.lang.InterruptedException)
> >>     [javac] location: class java.io.IOException
> >>     [javac]                 throw new IOException(e);
> >>     [javac]                       ^
> >>     [javac] 
> >> /root/swift/cog/modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/handlers/providers/CoGResourceIOProvider.java:132: 
> >> cannot find symbol
> >>     [javac] symbol  : constructor 
> >> IOException(java.lang.InterruptedException)
> >>     [javac] location: class java.io.IOException
> >>     [javac]                 throw new IOException(e);
> >>     [javac]                       ^
> >>     [javac] 
> >> /root/swift/cog/modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/handlers/providers/LocalCopyIOProvider.java:72: 
> >> cannot find symbol
> >>     [javac] symbol  : constructor IOException(java.net.URISyntaxException)
> >>     [javac] location: class java.io.IOException
> >>     [javac]                 throw new IOException(e);
> >>     [javac]                       ^
> >>     [javac] 
> >> /root/swift/cog/modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/handlers/providers/LocalIOProvider.java:91: 
> >> cannot find symbol
> >>     [javac] symbol  : constructor 
> >> IOException(java.lang.InterruptedException)
> >>     [javac] location: class java.io.IOException
> >>     [javac]                 throw new IOException(e);
> >>     [javac]                       ^
> >>     [javac] 
> >> /root/swift/cog/modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/handlers/providers/LocalIOProvider.java:135: 
> >> cannot find symbol
> >>     [javac] symbol  : constructor 
> >> IOException(java.lang.InterruptedException)
> >>     [javac] location: class java.io.IOException
> >>     [javac]                 throw new IOException(e);
> >>     [javac]                       ^
> >>     [javac] 
> >> /root/swift/cog/modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/handlers/providers/ProxyIOProvider.java:84: 
> >> cannot find symbol
> >>     [javac] symbol  : constructor IOException(java.lang.Exception)
> >>     [javac] location: class java.io.IOException
> >>     [javac]                 throw new IOException(e);
> >>     [javac]                       ^
> >>     [javac] 
> >> /root/swift/cog/modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/handlers/providers/ProxyIOProvider.java:205: 
> >> cannot find symbol
> >>     [javac] symbol  : constructor 
> >> IOException(java.lang.String,org.globus.cog.karajan.workflow.service.channels.ChannelException)
> >>     [javac] location: class java.io.IOException
> >>     [javac]                 throw new IOException("Cannot establish 
> >> channel to " + uri.getHost(), e);
> >>     [javac]                       ^
> >>     [javac] 
> >> /root/swift/cog/modules/provider-coaster/src/org/globus/cog/abstraction/impl/file/coaster/handlers/providers/ProxyIOProvider.java:221: 
> >> cannot find symbol
> >>     [javac] symbol  : constructor 
> >> IOException(java.lang.String,org.globus.cog.karajan.workflow.service.ProtocolException)
> >>     [javac] location: class java.io.IOException
> >>     [javac]                 throw new IOException("Error requesting file 
> >> from " + channel, e);
> >>     [javac]                       ^
> >>     [javac] 8 errors
> >>
> >> BUILD FAILED
> >> /root/swift/cog/modules/swift/build.xml:73: The following error occurred 
> >> while executing this line:
> >> /root/swift/cog/mbuild.xml:444: The following error occurred while 
> >> executing this line:
> >> /root/swift/cog/mbuild.xml:79: The following error occurred while 
> >> executing this line:
> >> /root/swift/cog/mbuild.xml:52: The following error occurred while 
> >> executing this line:
> >> /root/swift/cog/modules/swift/dependencies.xml:13: The following error 
> >> occurred while executing this line:
> >> /root/swift/cog/mbuild.xml:163: The following error occurred while 
> >> executing this line:
> >> /root/swift/cog/mbuild.xml:168: The following error occurred while 
> >> executing this line:
> >> /root/swift/cog/modules/provider-coaster/build.xml:59: The following 
> >> error occurred while executing this line:
> >> /root/swift/cog/mbuild.xml:465: The following error occurred while 
> >> executing this line:
> >> /root/swift/cog/mbuild.xml:228: Compile failed; see the compiler error 
> >> output for details.
> >>
> >> Total time: 16 seconds
> >>
> >> _______________________________________________
> >> Swift-devel mailing list
> >> Swift-devel at ci.uchicago.edu
> >> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel
> >>     
> >
> >   
> 




More information about the Swift-devel mailing list