[kepler-dev] Kepler compile problem
Dan Higgins
higgins at nceas.ucsb.edu
Wed Jul 27 13:51:51 PDT 2005
Bing,
The compile errors I get are below. I usually checkout a completely
new version of Kepler (i.e. not 'update') after checking in a number of
changes and try compiling the new checkout. That is the only way to find
out if I have really checked in everything others need.
---
compile-dev:
[javac] Compiling 626 source files to C:\work\kepler\build\classes
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\ActorCacheIt
em.java:41: cannot find symbol
[javac] symbol : class ObjectMgrUtil
[javac] location: package org.kepler.objectmanager
[javac] import org.kepler.objectmanager.ObjectMgrUtil;
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\CacheItem.ja
va:41: cannot find symbol
[javac] symbol : class ObjectMgrUtil
[javac] location: package org.kepler.objectmanager
[javac] import org.kepler.objectmanager.ObjectMgrUtil;
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\ClassCacheIt
em.java:40: cannot find symbol
[javac] symbol : class ObjectMgrUtil
[javac] location: package org.kepler.objectmanager
[javac] import org.kepler.objectmanager.ObjectMgrUtil;
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\CacheItem.ja
va:78: cannot find symbol
[javac] symbol : variable ObjectMgrUtil
[javac] location: class org.kepler.objectmanager.cache.CacheItem
[javac] if(!ObjectMgrUtil.isClassInCache(fileName))
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\CacheItem.ja
va:81: cannot find symbol
[javac] symbol : variable ObjectMgrUtil
[javac] location: class org.kepler.objectmanager.cache.CacheItem
[javac]
ObjectMgrUtil.writeInputStreamToOutputStream(inputStream, f
outStream);
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\CacheItem.ja
va:106: getObjectAsFile(org.kepler.objectmanager.lsid.KeplerLSID) in
org.kepler.
objectmanager.ObjectManager cannot be applied to (com.ibm.lsid.LSID,boolean)
[javac] return
ObjectManager.getInstance().getObjectAsFile(lsid, true)
;
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\CacheItem.ja
va:116: getObjectAsStream(org.kepler.objectmanager.lsid.KeplerLSID) in
org.keple
r.objectmanager.ObjectManager cannot be applied to
(com.ibm.lsid.LSID,boolean)
[javac] return
ObjectManager.getInstance().getObjectAsStream(lsid, tru
e);
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\ActorCacheIt
em.java:60: cannot find symbol
[javac] symbol : variable ObjectMgrUtil
[javac] location: class org.kepler.objectmanager.cache.ActorCacheItem
[javac] super(filetype,
ObjectMgrUtil.getClassFileName(className));
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\ActorCacheIt
em.java:66: cannot find symbol
[javac] symbol : variable ObjectMgrUtil
[javac] location: class org.kepler.objectmanager.cache.ActorCacheItem
[javac] super(inputStream,
ObjectMgrUtil.getClassFileName(className));
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\ActorCacheIt
em.java:73: cannot find symbol
[javac] symbol : method getObjectAsReader(com.ibm.lsid.LSID,boolean)
[javac] location: class org.kepler.objectmanager.ObjectManager
[javac] return
ObjectManager.getInstance().getObjectAsReader(lsid, tru
e);
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\ActorCacheIt
em.java:86: cannot find symbol
[javac] symbol : variable ObjectMgrUtil
[javac] location: class org.kepler.objectmanager.cache.ActorCacheItem
[javac] return ObjectMgrUtil.getActorMetadata(lsid);
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\ClassCacheIt
em.java:58: cannot find symbol
[javac] symbol : variable ObjectMgrUtil
[javac] location: class org.kepler.objectmanager.cache.ClassCacheItem
[javac] super(filetype,
ObjectMgrUtil.getClassFileName(className));
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\ClassCacheIt
em.java:64: cannot find symbol
[javac] symbol : variable ObjectMgrUtil
[javac] location: class org.kepler.objectmanager.cache.ClassCacheItem
[javac] super(inputStream,
ObjectMgrUtil.getClassFileName(className));
[javac] ^
[javac]
C:\work\kepler\build\src\org\kepler\objectmanager\cache\XMLMetadataC
acheItem.java:74: cannot find symbol
[javac] symbol : method getObjectAsReader(com.ibm.lsid.LSID,boolean)
[javac] location: class org.kepler.objectmanager.ObjectManager
[javac] return
ObjectManager.getInstance().getObjectAsReader(lsid, tru
e);
[javac] ^
[javac] Note: * uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] 14 errors
BUILD FAILED
C:\work\kepler\build.xml:707: Compile failed; see the compiler error
output for
details.
---
Bing Zhu wrote:
>It will also be helpful to send compiling error messages to the group.
>
>I compiled code in my machine and then checked them in. But this
>still would guarantee that build would not fail. So please send your
>mail to us along with compile errors.
>
>Bing
>
>
>
>
>-----Original Message-----
>From: Dan Higgins [mailto:higgins at nceas.ucsb.edu]
>Sent: Wednesday, July 27, 2005 12:13 PM
>To: Samantha Romanello; Bing Zhu
>Cc: Matthew Jones
>Subject: Kepler compile problem
>
>
>Samantha,
>
> I am also getting compile errors with the latest checkout of Kepler
>from CVS. It looks like Bing checked in some new code which 'breaks' the
>compilation (I think that because I got a notice of new code being
>checked in for the ObjectManager by Bing and that is where the errors
>are coming from.) Developers are supposed to avoid checking in code that
>'breaks' the build (but we all have).
>
> So you are seeing a problem of working with latest and greatest
>developer version of kepler - we keep breaking it! ;-)
>
>Possible solutions for you:
>1) wait for a day or two and update kepler - hopefully, the code will
>get fixed very soon.
>2) use CVS to check out code from yesterday when kepler would compile
>(There should be a checkout/update by date option)
>3) zip the kepler directory we created yesterday on you destop and copy
>it to your laptop (if you still have it). I usually keep working
>versions under another directory name just so I can revert to them in
>cases such as this.
>
>Dan
>
>
>
--
*******************************************************************
Dan Higgins higgins at nceas.ucsb.edu
http://www.nceas.ucsb.edu/ Ph: 805-893-5127
National Center for Ecological Analysis and Synthesis (NCEAS)
Marine Science Building - Room 3405
Santa Barbara, CA 93195
*******************************************************************
More information about the Kepler-dev
mailing list