[kepler-users] build-area doesn't compile

Christopher Brooks cxh at eecs.berkeley.edu
Fri Feb 5 09:29:36 PST 2010


Hi Moses,
The nightly build worked fine for me under Linux.

It might be an ant version problem.
What version of ant are you running?
I'm running
[bldmastr at sisyphus ~]$ ant -version
Apache Ant version 1.7.1 compiled on June 27 2008

See the assumptions at
https://kepler-project.org/developers/teams/build/documentation/build-system-instructions
--start--
    1. You are running Java 1.5. To test this assumption type: "java -version"
    2. You are using Ant 1.7.1. To test this assumption type: "ant -version"
    3. You have installed an SVN client. To test this assumption type: "svn --version"
    4. For development with Eclipse these have been tested with Eclipse Ganymede and SVN 1.5.5,
       with Subclipse 1.4.7.
--end--

_Christopher

On 2/5/10 9:09 AM, Moses Gone wrote:
> Dear team,
>
> I downloaded the  the latest version from the repository using:
>
> mkdir <modules.dir>
> cd <modules.dir>
> svn co https://code.kepler-project.org/code/kepler/trunk/modules/build-area
> cd build-area
> ant change-to -Dsuite=kepler
>
> When I try to run: ant run...the build fails
>
> C:\Users\mgone\kepler2\build-area>ant run
> Buildfile: C:\Users\mgone\kepler2\build-area\build.xml
>
> compile:
>    [compile] Compiling configuration-manager...
>    [compile] C:\Users\mgone\kepler2\build-area\build.xml:31: warning:
> 'includeant
> runtime' was not set, defaulting to build.sysclasspath=last; set to
> false for re
> peatable builds
>    [compile] Compiling module-manager...
>    [compile] C:\Users\mgone\kepler2\build-area\build.xml:31: warning:
> 'includeant
> runtime' was not set, defaulting to build.sysclasspath=last; set to
> false for re
> peatable builds
>    [compile] Compiling core...
>    [compile] C:\Users\mgone\kepler2\build-area\build.xml:31: warning:
> 'includeant
> runtime' was not set, defaulting to build.sysclasspath=last; set to
> false for re
> peatable builds
>    [compile] Compiling event-state...
>    [compile] C:\Users\mgone\kepler2\build-area\build.xml:31: warning:
> 'includeant
> runtime' was not set, defaulting to build.sysclasspath=last; set to
> false for re
> peatable builds
>    [compile] Compiling util...
>    [compile] C:\Users\mgone\kepler2\build-area\build.xml:31: warning:
> 'includeant
> runtime' was not set, defaulting to build.sysclasspath=last; set to
> false for re
> peatable builds
>    [compile] Compiling 22 source files to
> C:\Users\mgone\kepler2\util\target\clas
> ses
>    [compile]
> C:\Users\mgone\kepler2\util\src\org\kepler\icon\ComponentEntityConfi
> g.java:38: package org.kepler.moml does not exist
>    [compile] import org.kepler.moml.NamedObjId;
>    [compile]                       ^
>    [compile]
> C:\Users\mgone\kepler2\util\src\org\kepler\icon\ComponentEntityConfi
> g.java:39: package org.kepler.objectmanager does not exist
>    [compile] import org.kepler.objectmanager.ObjectManager;
>    [compile]                                ^
>    [compile]
> C:\Users\mgone\kepler2\util\src\org\kepler\icon\IconMetadataHandler.
> java:34: package org.kepler.objectmanager does not exist
>    [compile] import org.kepler.objectmanager.MetadataHandler;
>    [compile]                                ^
>    [compile]
> C:\Users\mgone\kepler2\util\src\org\kepler\icon\IconMetadataHandler.
> java:40: cannot find symbol
>    [compile] symbol: class MetadataHandler
>    [compile] public class IconMetadataHandler implements MetadataHandler
>    [compile]                                             ^
>    [compile]
> C:\Users\mgone\kepler2\util\src\org\kepler\icon\ComponentEntityConfi
> g.java:182: cannot find symbol
>    [compile] symbol  : class NamedObjId
>    [compile] location: class org.kepler.icon.ComponentEntityConfig
>    [compile]         NamedObjId lsid =
> ObjectManager.getIdAttributeFor(container)
> ;
>    [compile]         ^
>    [compile]
> C:\Users\mgone\kepler2\util\src\org\kepler\icon\ComponentEntityConfi
> g.java:182: cannot find symbol
>    [compile] symbol  : variable ObjectManager
>    [compile] location: class org.kepler.icon.ComponentEntityConfig
>    [compile]         NamedObjId lsid =
> ObjectManager.getIdAttributeFor(container)
> ;
>    [compile]                           ^
>    [compile] Note: Some input files use unchecked or unsafe operations.
>    [compile] Note: Recompile with -Xlint:unchecked for details.
>    [compile] 6 errors
>
> BUILD FAILED
> C:\Users\mgone\kepler2\build-area\build.xml:31:
> C:\Users\mgone\kepler2\build-are
> a\build.xml:31: Compile failed; see the compiler error output for details.
>
> Total time: 1 minute 46 seconds
>
>
> Is there anyone who has experienced the same problems or its just me?
>
> Moses
>
>
>
>
>
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

-- 
Christopher Brooks, PMP                       University of California
CHESS Executive Director                      US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust        Berkeley, CA 94720-1774
ph: 510.643.9841 fax:510.642.2718	      (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670



More information about the Kepler-users mailing list