[Swift-devel] Fwd: build problem with swift

Ragib Morshed ragib.morshed at gmail.com
Tue Jul 15 11:53:22 CDT 2008


Ben suggested forwarding this problem of mine to swift-devel.

---------- Forwarded message ----------
From: Ragib Morshed <ragib.morshed at gmail.com>
Date: Tue, Jul 15, 2008 at 11:40 AM
Subject: Fwd: build problem with swift
To: benc at ci.uchicago.edu


Hi Ben,

I sent this email to Mihael, but he is off somewhere at a conference I
think, and don't know if he will get to it.

I put some code in for the site-affinity thing and swift compiles and runs
the code fine using eclipse. Compilation/building using ant says: *package
org.griphyn.vdl.karajan.lib.cache does not exist. *But it is there and
compiles fine with eclipse.

Do you have any ideas on the top of your head where the problem might be?

Thanks.
-Ragib


---------- Forwarded message ----------
From: Ragib Morshed <ragib.morshed at gmail.com>
Date: Tue, Jul 15, 2008 at 11:25 AM
Subject: build problem with swift
To: Mihael Hategan <hategan at uchicago.edu>


Hi,

I have been trying to build swift with the new changes using 'ant dist', but
it gives compilation error. It compiles and runs fine on eclipse, but here
it says it can't find the package org.gridphyn.vdl.karajan.lib.cache so it
cannot recognize the VDLFileCache type. Any ideas why?

Here's the output from building it:

    [javac] Compiling 540 source files to
/autonfs/home/rmorshed/Desktop/swiftNew/cog/modules/karajan/build
    [javac]
/autonfs/home/rmorshed/Desktop/swiftNew/cog/modules/karajan/src/org/globus/cog/karajan/scheduler/WeightedHostScoreScheduler.java:34:
*package org.griphyn.vdl.karajan.lib.cache does not exist*
    [javac] import org.griphyn.vdl.karajan.lib.cache.VDLFileCache;
    [javac]                                          ^
    [javac]
/autonfs/home/rmorshed/Desktop/swiftNew/cog/modules/karajan/src/org/globus/cog/karajan/scheduler/WeightedHostScoreScheduler.java:230:
cannot resolve symbol
    [javac] symbol  : class VDLFileCache
    [javac] location: class
org.globus.cog.karajan.scheduler.WeightedHostScoreScheduler
    [javac]             VDLFileCache fileCache = (VDLFileCache)
t.getConstraint("filecache");
    [javac]                 ^
    [javac]
/autonfs/home/rmorshed/Desktop/swiftNew/cog/modules/karajan/src/org/globus/cog/karajan/scheduler/WeightedHostScoreScheduler.java:230:
cannot resolve symbol
    [javac] symbol  : class VDLFileCache
    [javac] location: class
org.globus.cog.karajan.scheduler.WeightedHostScoreScheduler
    [javac]             VDLFileCache fileCache = (VDLFileCache)
t.getConstraint("filecache");
    [javac]                                           ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.
    [javac] 3 errors

BUILD FAILED
/autonfs/home/rmorshed/Desktop/swiftNew/cog/modules/vdsk/build.xml:73: The
following error occurred while executing this line:
/autonfs/home/rmorshed/Desktop/swiftNew/cog/mbuild.xml:442: The following
error occurred while executing this line:
/autonfs/home/rmorshed/Desktop/swiftNew/cog/mbuild.xml:78: The following
error occurred while executing this line:
/autonfs/home/rmorshed/Desktop/swiftNew/cog/mbuild.xml:51: The following
error occurred while executing this line:
/autonfs/home/rmorshed/Desktop/swiftNew/cog/modules/vdsk/dependencies.xml:4:
The following error occurred while executing this line:
/autonfs/home/rmorshed/Desktop/swiftNew/cog/mbuild.xml:162: The following
error occurred while executing this line:
/autonfs/home/rmorshed/Desktop/swiftNew/cog/mbuild.xml:167: The following
error occurred while executing this line:
/autonfs/home/rmorshed/Desktop/swiftNew/cog/modules/karajan/build.xml:59:
The following error occurred while executing this line:
/autonfs/home/rmorshed/Desktop/swiftNew/cog/mbuild.xml:463: The following
error occurred while executing this line:
/autonfs/home/rmorshed/Desktop/swiftNew/cog/mbuild.xml:227: Compile failed;
see the compiler error output for details.

Total time: 30 seconds

-ragib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20080715/944ed7d5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WeightedHostScoreScheduler.java
Type: text/x-java
Size: 16318 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20080715/944ed7d5/attachment.java>


More information about the Swift-devel mailing list