[kepler-users] build and run kepler from windows

Christopher Brooks cxh at eecs.berkeley.edu
Mon Mar 16 23:48:02 PDT 2009


Hi Chris,

BTW - I was about to run ant run under Windows cmd, see my previous
message.  What's odd is that the missing classname is "and"?
This seems very odd.  It could be a typo for "ant" or it could be
just the word "and"??

Can you try checking out a clean tree and doing the build again?
You might also try "ant -v run" or "ant -d run"

_Christopher

Chris Weed wrote:
> Hi,
> I ran through the steps to build Kepler (kepler-trunk) upto "ant run".
> This final command emits the following errors:
> 
> C:\Documents and Settings\CH21670\My Documents\code\kepler-build\build-area>"%AN
> T_HOME%\bin\ant" run
> Buildfile: build.xml
> 
> compile:
>   [compile] Compiling ptolemy...
>   [compile] <<< The module is ptolemy. Setting includes and excludes....
>   [compile] Compiling common...
>   [compile] Compiling directors...
>   [compile] Compiling actors...
>   [compile] Compiling core...
>   [compile] Compiling 90 source files to C:\Documents and Settings\CH21670\My Do
> cuments\code\kepler-build\core\target\classes
>   [compile] Note: Some input files use or override a deprecated API.
>   [compile] Note: Recompile with -Xlint:deprecation for details.
>   [compile] Note: Some input files use unchecked or unsafe operations.
>   [compile] Note: Recompile with -Xlint:unchecked for details.
>   [compile] Compiling util...
>   [compile] Compiling 881 source files to C:\Documents and Settings\CH21670\My D
> ocuments\code\kepler-build\util\target\classes
>   [compile] Note: Some input files use or override a deprecated API.
>   [compile] Note: Recompile with -Xlint:deprecation for details.
>   [compile] Note: Some input files use unchecked or unsafe operations.
>   [compile] Note: Recompile with -Xlint:unchecked for details.
>   [compile] Compiling loader...
>   [compile] Compiling 7 source files to C:\Documents and Settings\CH21670\My Doc
> uments\code\kepler-build\loader\target\classes
>   [compile] Note: C:\Documents and Settings\CH21670\My Documents\code\kepler-bui
> ld\loader\src\org\kepler\sms\util\OntologyConfiguration.java uses unchecked or u
> nsafe operations.
>   [compile] Note: Recompile with -Xlint:unchecked for details.
> 
> run:
>       [run] java.lang.NoClassDefFoundError: and
>       [run] Caused by: java.lang.ClassNotFoundException: and
>       [run]     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>       [run]     at java.security.AccessController.doPrivileged(Native Method)
>       [run]     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>       [run]     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>       [run]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 
>       [run]     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>       [run]     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
> 
>       [run] Could not find the main class: and.  Program will exit.
>       [run] Exception in thread "main"
> 
> BUILD FAILED
> C:\Documents and Settings\CH21670\My Documents\code\kepler-build\build-area\buil
> d.xml:35: Java returned: 1
> 
> Total time: 1 minute 0 seconds
> C:\Documents and Settings\CH21670\My Documents\code\kepler-build\build-area>
> 
> 
> -- End of Error Output --------------------------------------
> 
> Any help would be appreciated.
> Chris
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://mercury.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users

-- 
Christopher Brooks (cxh at eecs berkeley edu) 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 (W-F) 510.655.5480



More information about the Kepler-users mailing list