[kepler-users] build and run kepler from windows
Chris Weed
chrisweed at gmail.com
Mon Mar 16 12:54:43 PDT 2009
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
More information about the Kepler-users
mailing list