[kepler-users] build and run kepler from windows

Chris Weed chrisweed at gmail.com
Tue Mar 17 11:03:57 PDT 2009


Yea, I see that,
I moved my kepler-build directory to c:\kepler-build and that seemed
to clear that up.

The program displays, but there are no actors listed under the Components Tab.
I am not sure what the problem is now

Here is the build output:

C:\kepler-build\build-area>"%ANT_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 util...
  [compile] Compiling loader...

run:
      [run] Building Kars...
      [run] Config.xml: C:\kepler-build\util\target\classes\config.xml
      [run] [Server at 83fde6]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(fal
se) entered
      [run] [Server at 83fde6]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(fal
se) exited
      [run] [Server at 83fde6]: [Thread[AWT-EventQueue-0,6,main]]: setDatabasePath(
0,C:\Documents and Settings\CH21670\.kepler\cache\cachedata\hsqldb)
      [run] [Server at 83fde6]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(fal
se) entered
      [run] [Server at 83fde6]: [Thread[AWT-EventQueue-0,6,main]]: checkRunning(fal
se) exited
      [run] [Server at 83fde6]: [Thread[AWT-EventQueue-0,6,main]]: setDatabaseName(
0,hsqldb)
      [run] [Server at 83fde6]: [Thread[AWT-EventQueue-0,6,main]]: setSilent(true)
      [run] [Server at 83fde6]: Initiating startup sequence...
      [run] [Server at 83fde6]: Server socket opened successfully in 250 ms.
      [run] [Server at 83fde6]: Database [index=0, id=0, db=file:C:\Documents and S
ettings\CH21670\.kepler\cache\cachedata\hsqldb, alias=hsqldb] opened sucessfully
 in 578 ms.
      [run] [Server at 83fde6]: Startup sequence completed in 843 ms.
      [run] [Server at 83fde6]: 2009-03-17 13:59:53.086 HSQLDB server 1.7.2 is onli
ne
      [run] [Server at 83fde6]: To close normally, connect and execute SHUTDOWN SQL

      [run] [Server at 83fde6]: From command line, use [Ctrl]+[C] to abort abruptly

      [run] Opening user preferences PtolemyPreferences.xml...
      [run] WARN  (org.ecoinformatics.seek.ecogrid.SearchRegistryAction:queryReg
istryRewriteConfig:201) Problem looking up registry entries using endpoint:
      [run] http://knb.ecoinformatics.org/registry/services/RegistryService


Chris


On Tue, Mar 17, 2009 at 2:48 AM, Christopher Brooks
<cxh at eecs.berkeley.edu> wrote:
> 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