Re: classpath on seesaw????

2011-11-15 Thread Gregg Williams
Hello! As a beginning Seesaw user, I had the same trouble. Here is a
solution that I just confirmed as working:

$ cd seesaw/src
$ lein deps
$ lein run -m seesaw.examples.kitchensink

(in the last line, note the omission of ...test. ...)

Dave, thanks for all your work. One small problem: you've got a very
similar but not identical set of sample programs at:

* seesaw-v1_20-13dd772/test/seesaw/test

and

* seesaw-v1_20-13dd772/src/seesaw/examples

kitchensink.clj is in the second directory but not the first. Other
differences exist.

I hope this helps everybody.


Gregg W.



On Nov 12, 8:56 pm, sixs s...@ida.net wrote:
 seesaw downloads as follows c:\seesaw\test\seesaw\test\examples\kitchensink
 first wseesaw is originally daveray-seesaw-1.0.7-281-g12248d4
 I have tried to run lein deps and the
  lein run -m seesaw.test.examples.kitchensink
 from the first seesaw, then the nest seesaw and ffinally examples. I can't
 get to run.







 - Original Message -

 C:\Users\jim.jim-PC\Downloads\daveray-seesaw-1.0.7-281-g12248d4.zip
 From: Dave Ray dave...@gmail.com
 To: clojure@googlegroups.com
 Sent: Saturday, November 12, 2011 5:13 AM
 Subject: Re: classpath on seesaw

 Good Morning,

 The easiest way to run the Seesaw examples is as describe in the wiki
 (https://github.com/daveray/seesaw/wiki):

 * Install leiningen
 * Clone or download the repo from github
 * then...

 $ cd seesaw
 $ lein deps
 $ lein run -m seesaw.test.examples.kitchensink

 Replace kitchensink with whichever example you want to run.

 Also, future questions like this might be better directed to the
 Seesaw mailing listhttps://groups.google.com/group/seesaw-clj

 Hope this helps,

 Dave

 On Sat, Nov 12, 2011 at 1:45 AM, jayvandal s...@ida.net wrote:
  I am trying to run the examples in seesaw.I must not have seeesaw
  installed correctly.
  any help please

  Microsoft Windows [Version 6.0.6000]
  Copyright (c) 2006 Microsoft Corporation. All rights reserved.

  C:\cd cljr

  C:\cljrjava -jar c:/clojure-1.3.0.jar c:/cljr/kitchensink.clj
  Error: Unable to access jarfile c:/clojure-1.3.0.jar

  C:\cljrjava -jar c:/clojure-1.3.0/clojure-1.3.0.jar c:/cljr/
  kitchensink.clj
  Exception in thread main java.lang.RuntimeException:
  java.io.FileNotFoundExcep
  tion: Could not locate seesaw/core__init.class or seesaw/core.clj on
  classpath:

  at clojure.lang.Util.runtimeException(Util.java:165)
  at clojure.lang.Compiler.eval(Compiler.java:6476)
  at clojure.lang.Compiler.eval(Compiler.java:6455)
  at clojure.lang.Compiler.load(Compiler.java:6902)
  at clojure.lang.Compiler.loadFile(Compiler.java:6863)
  at clojure.main$load_script.invoke(main.clj:282)
  at clojure.main$script_opt.invoke(main.clj:342)
  at clojure.main$main.doInvoke(main.clj:426)
  at clojure.lang.RestFn.invoke(RestFn.java:408)
  at clojure.lang.Var.invoke(Var.java:401)
  at clojure.lang.AFn.applyToHelper(AFn.java:161)
  at clojure.lang.Var.applyTo(Var.java:518)
  at clojure.main.main(main.java:37)
  Caused by: java.io.FileNotFoundException: Could not locate seesaw/
  core__init.cla
  ss or seesaw/core.clj on classpath:
  at clojure.lang.RT.load(RT.java:430)
  at clojure.lang.RT.load(RT.java:398)
  at clojure.core$load$fn__4610.invoke(core.clj:5386)
  at clojure.core$load.doInvoke(core.clj:5385)
  at clojure.lang.RestFn.invoke(RestFn.java:408)
  at clojure.core$load_one.invoke(core.clj:5200)
  at clojure.core$load_lib.doInvoke(core.clj:5237)
  at clojure.lang.RestFn.applyTo(RestFn.java:142)
  at clojure.core$apply.invoke(core.clj:602)
  at clojure.core$load_libs.doInvoke(core.clj:5271)
  at clojure.lang.RestFn.applyTo(RestFn.java:137)
  at clojure.core$apply.invoke(core.clj:604)
  at clojure.core$use.doInvoke(core.clj:5363)
  at clojure.lang.RestFn.invoke(RestFn.java:408)
  at seesaw.test.examples.kitchensink
  $eval3$loading__4505__auto4.invok
  e(kitchensink.clj:11)
  at seesaw.test.examples.kitchensink
  $eval3.invoke(kitchensink.clj:11)
  at clojure.lang.Compiler.eval(Compiler.java:6465)
  ... 11 more

  C:\cljr

  --
  You received this message because you are subscribed to the Google
  Groups Clojure group.
  To post to this group, send email to clojure@googlegroups.com
  Note that posts from new members are moderated - please be patient with
  your first post.
  To unsubscribe from this group, send email to
  clojure+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group 
 athttp://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post

Re: classpath on seesaw????

2011-11-15 Thread Dave Ray
Thanks for the tip Gregg. It looks like I merged badly or something
for the 1.2.0 release. The extra examples directory
(src/seesaw/examples) isn't present in master, develop, or the 1.2.1
tag. kitchensink.clj is in there too, although I should probably
delete it lest someone pick up bad habits. It's a bit of an
abomination :)

Dave

On Tue, Nov 15, 2011 at 10:28 PM, Gregg Williams greg...@innerpaths.net wrote:
 Hello! As a beginning Seesaw user, I had the same trouble. Here is a
 solution that I just confirmed as working:

 $ cd seesaw/src
 $ lein deps
 $ lein run -m seesaw.examples.kitchensink

 (in the last line, note the omission of ...test. ...)

 Dave, thanks for all your work. One small problem: you've got a very
 similar but not identical set of sample programs at:

 * seesaw-v1_20-13dd772/test/seesaw/test

 and

 * seesaw-v1_20-13dd772/src/seesaw/examples

 kitchensink.clj is in the second directory but not the first. Other
 differences exist.

 I hope this helps everybody.


 Gregg W.



 On Nov 12, 8:56 pm, sixs s...@ida.net wrote:
 seesaw downloads as follows c:\seesaw\test\seesaw\test\examples\kitchensink
 first wseesaw is originally daveray-seesaw-1.0.7-281-g12248d4
 I have tried to run lein deps and the
  lein run -m seesaw.test.examples.kitchensink
 from the first seesaw, then the nest seesaw and ffinally examples. I can't
 get to run.







 - Original Message -

 C:\Users\jim.jim-PC\Downloads\daveray-seesaw-1.0.7-281-g12248d4.zip
 From: Dave Ray dave...@gmail.com
 To: clojure@googlegroups.com
 Sent: Saturday, November 12, 2011 5:13 AM
 Subject: Re: classpath on seesaw

 Good Morning,

 The easiest way to run the Seesaw examples is as describe in the wiki
 (https://github.com/daveray/seesaw/wiki):

 * Install leiningen
 * Clone or download the repo from github
 * then...

 $ cd seesaw
 $ lein deps
 $ lein run -m seesaw.test.examples.kitchensink

 Replace kitchensink with whichever example you want to run.

 Also, future questions like this might be better directed to the
 Seesaw mailing listhttps://groups.google.com/group/seesaw-clj

 Hope this helps,

 Dave

 On Sat, Nov 12, 2011 at 1:45 AM, jayvandal s...@ida.net wrote:
  I am trying to run the examples in seesaw.I must not have seeesaw
  installed correctly.
  any help please

  Microsoft Windows [Version 6.0.6000]
  Copyright (c) 2006 Microsoft Corporation. All rights reserved.

  C:\cd cljr

  C:\cljrjava -jar c:/clojure-1.3.0.jar c:/cljr/kitchensink.clj
  Error: Unable to access jarfile c:/clojure-1.3.0.jar

  C:\cljrjava -jar c:/clojure-1.3.0/clojure-1.3.0.jar c:/cljr/
  kitchensink.clj
  Exception in thread main java.lang.RuntimeException:
  java.io.FileNotFoundExcep
  tion: Could not locate seesaw/core__init.class or seesaw/core.clj on
  classpath:

  at clojure.lang.Util.runtimeException(Util.java:165)
  at clojure.lang.Compiler.eval(Compiler.java:6476)
  at clojure.lang.Compiler.eval(Compiler.java:6455)
  at clojure.lang.Compiler.load(Compiler.java:6902)
  at clojure.lang.Compiler.loadFile(Compiler.java:6863)
  at clojure.main$load_script.invoke(main.clj:282)
  at clojure.main$script_opt.invoke(main.clj:342)
  at clojure.main$main.doInvoke(main.clj:426)
  at clojure.lang.RestFn.invoke(RestFn.java:408)
  at clojure.lang.Var.invoke(Var.java:401)
  at clojure.lang.AFn.applyToHelper(AFn.java:161)
  at clojure.lang.Var.applyTo(Var.java:518)
  at clojure.main.main(main.java:37)
  Caused by: java.io.FileNotFoundException: Could not locate seesaw/
  core__init.cla
  ss or seesaw/core.clj on classpath:
  at clojure.lang.RT.load(RT.java:430)
  at clojure.lang.RT.load(RT.java:398)
  at clojure.core$load$fn__4610.invoke(core.clj:5386)
  at clojure.core$load.doInvoke(core.clj:5385)
  at clojure.lang.RestFn.invoke(RestFn.java:408)
  at clojure.core$load_one.invoke(core.clj:5200)
  at clojure.core$load_lib.doInvoke(core.clj:5237)
  at clojure.lang.RestFn.applyTo(RestFn.java:142)
  at clojure.core$apply.invoke(core.clj:602)
  at clojure.core$load_libs.doInvoke(core.clj:5271)
  at clojure.lang.RestFn.applyTo(RestFn.java:137)
  at clojure.core$apply.invoke(core.clj:604)
  at clojure.core$use.doInvoke(core.clj:5363)
  at clojure.lang.RestFn.invoke(RestFn.java:408)
  at seesaw.test.examples.kitchensink
  $eval3$loading__4505__auto4.invok
  e(kitchensink.clj:11)
  at seesaw.test.examples.kitchensink
  $eval3.invoke(kitchensink.clj:11)
  at clojure.lang.Compiler.eval(Compiler.java:6465)
  ... 11 more

  C:\cljr

  --
  You received this message because you are subscribed to the Google
  Groups Clojure group.
  To post to this group, send email to clojure@googlegroups.com
  Note that posts from new members are moderated - please be patient with
  your first post.
  To unsubscribe from this group, send email to
  clojure+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Clojure group

Re: classpath on seesaw????

2011-11-12 Thread Dave Ray
Good Morning,

The easiest way to run the Seesaw examples is as describe in the wiki
(https://github.com/daveray/seesaw/wiki):

* Install leiningen
* Clone or download the repo from github
* then...

$ cd seesaw
$ lein deps
$ lein run -m seesaw.test.examples.kitchensink

Replace kitchensink with whichever example you want to run.

Also, future questions like this might be better directed to the
Seesaw mailing list https://groups.google.com/group/seesaw-clj

Hope this helps,

Dave

On Sat, Nov 12, 2011 at 1:45 AM, jayvandal s...@ida.net wrote:
 I am trying to run the examples in seesaw.I must not have seeesaw
 installed correctly.
 any help please

 Microsoft Windows [Version 6.0.6000]
 Copyright (c) 2006 Microsoft Corporation.  All rights reserved.


 C:\cd cljr

 C:\cljrjava -jar c:/clojure-1.3.0.jar c:/cljr/kitchensink.clj
 Error: Unable to access jarfile c:/clojure-1.3.0.jar

 C:\cljrjava -jar c:/clojure-1.3.0/clojure-1.3.0.jar c:/cljr/
 kitchensink.clj
 Exception in thread main java.lang.RuntimeException:
 java.io.FileNotFoundExcep
 tion: Could not locate seesaw/core__init.class or seesaw/core.clj on
 classpath:

        at clojure.lang.Util.runtimeException(Util.java:165)
        at clojure.lang.Compiler.eval(Compiler.java:6476)
        at clojure.lang.Compiler.eval(Compiler.java:6455)
        at clojure.lang.Compiler.load(Compiler.java:6902)
        at clojure.lang.Compiler.loadFile(Compiler.java:6863)
        at clojure.main$load_script.invoke(main.clj:282)
        at clojure.main$script_opt.invoke(main.clj:342)
        at clojure.main$main.doInvoke(main.clj:426)
        at clojure.lang.RestFn.invoke(RestFn.java:408)
        at clojure.lang.Var.invoke(Var.java:401)
        at clojure.lang.AFn.applyToHelper(AFn.java:161)
        at clojure.lang.Var.applyTo(Var.java:518)
        at clojure.main.main(main.java:37)
 Caused by: java.io.FileNotFoundException: Could not locate seesaw/
 core__init.cla
 ss or seesaw/core.clj on classpath:
        at clojure.lang.RT.load(RT.java:430)
        at clojure.lang.RT.load(RT.java:398)
        at clojure.core$load$fn__4610.invoke(core.clj:5386)
        at clojure.core$load.doInvoke(core.clj:5385)
        at clojure.lang.RestFn.invoke(RestFn.java:408)
        at clojure.core$load_one.invoke(core.clj:5200)
        at clojure.core$load_lib.doInvoke(core.clj:5237)
        at clojure.lang.RestFn.applyTo(RestFn.java:142)
        at clojure.core$apply.invoke(core.clj:602)
        at clojure.core$load_libs.doInvoke(core.clj:5271)
        at clojure.lang.RestFn.applyTo(RestFn.java:137)
        at clojure.core$apply.invoke(core.clj:604)
        at clojure.core$use.doInvoke(core.clj:5363)
        at clojure.lang.RestFn.invoke(RestFn.java:408)
        at seesaw.test.examples.kitchensink
 $eval3$loading__4505__auto4.invok
 e(kitchensink.clj:11)
        at seesaw.test.examples.kitchensink
 $eval3.invoke(kitchensink.clj:11)
        at clojure.lang.Compiler.eval(Compiler.java:6465)
        ... 11 more

 C:\cljr

 --
 You received this message because you are subscribed to the Google
 Groups Clojure group.
 To post to this group, send email to clojure@googlegroups.com
 Note that posts from new members are moderated - please be patient with your 
 first post.
 To unsubscribe from this group, send email to
 clojure+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/clojure?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: classpath on seesaw????

2011-11-12 Thread sixs

seesaw downloads as follows c:\seesaw\test\seesaw\test\examples\kitchensink
first wseesaw is originally daveray-seesaw-1.0.7-281-g12248d4
I have tried to run lein deps and the
lein run -m seesaw.test.examples.kitchensink
from the first seesaw, then the nest seesaw and ffinally examples. I can't 
get to run.



- Original Message -  
C:\Users\jim.jim-PC\Downloads\daveray-seesaw-1.0.7-281-g12248d4.zip

From: Dave Ray dave...@gmail.com
To: clojure@googlegroups.com
Sent: Saturday, November 12, 2011 5:13 AM
Subject: Re: classpath on seesaw


Good Morning,

The easiest way to run the Seesaw examples is as describe in the wiki
(https://github.com/daveray/seesaw/wiki):

* Install leiningen
* Clone or download the repo from github
* then...

$ cd seesaw
$ lein deps
$ lein run -m seesaw.test.examples.kitchensink

Replace kitchensink with whichever example you want to run.

Also, future questions like this might be better directed to the
Seesaw mailing list https://groups.google.com/group/seesaw-clj

Hope this helps,

Dave

On Sat, Nov 12, 2011 at 1:45 AM, jayvandal s...@ida.net wrote:

I am trying to run the examples in seesaw.I must not have seeesaw
installed correctly.
any help please

Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.


C:\cd cljr

C:\cljrjava -jar c:/clojure-1.3.0.jar c:/cljr/kitchensink.clj
Error: Unable to access jarfile c:/clojure-1.3.0.jar

C:\cljrjava -jar c:/clojure-1.3.0/clojure-1.3.0.jar c:/cljr/
kitchensink.clj
Exception in thread main java.lang.RuntimeException:
java.io.FileNotFoundExcep
tion: Could not locate seesaw/core__init.class or seesaw/core.clj on
classpath:

at clojure.lang.Util.runtimeException(Util.java:165)
at clojure.lang.Compiler.eval(Compiler.java:6476)
at clojure.lang.Compiler.eval(Compiler.java:6455)
at clojure.lang.Compiler.load(Compiler.java:6902)
at clojure.lang.Compiler.loadFile(Compiler.java:6863)
at clojure.main$load_script.invoke(main.clj:282)
at clojure.main$script_opt.invoke(main.clj:342)
at clojure.main$main.doInvoke(main.clj:426)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.lang.Var.invoke(Var.java:401)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.Var.applyTo(Var.java:518)
at clojure.main.main(main.java:37)
Caused by: java.io.FileNotFoundException: Could not locate seesaw/
core__init.cla
ss or seesaw/core.clj on classpath:
at clojure.lang.RT.load(RT.java:430)
at clojure.lang.RT.load(RT.java:398)
at clojure.core$load$fn__4610.invoke(core.clj:5386)
at clojure.core$load.doInvoke(core.clj:5385)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5200)
at clojure.core$load_lib.doInvoke(core.clj:5237)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:602)
at clojure.core$load_libs.doInvoke(core.clj:5271)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:604)
at clojure.core$use.doInvoke(core.clj:5363)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at seesaw.test.examples.kitchensink
$eval3$loading__4505__auto4.invok
e(kitchensink.clj:11)
at seesaw.test.examples.kitchensink
$eval3.invoke(kitchensink.clj:11)
at clojure.lang.Compiler.eval(Compiler.java:6465)
... 11 more

C:\cljr

--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with 
your first post.

To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en



--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.

To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


--
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


classpath on seesaw????

2011-11-11 Thread jayvandal
I am trying to run the examples in seesaw.I must not have seeesaw
installed correctly.
any help please

Microsoft Windows [Version 6.0.6000]
Copyright (c) 2006 Microsoft Corporation.  All rights reserved.


C:\cd cljr

C:\cljrjava -jar c:/clojure-1.3.0.jar c:/cljr/kitchensink.clj
Error: Unable to access jarfile c:/clojure-1.3.0.jar

C:\cljrjava -jar c:/clojure-1.3.0/clojure-1.3.0.jar c:/cljr/
kitchensink.clj
Exception in thread main java.lang.RuntimeException:
java.io.FileNotFoundExcep
tion: Could not locate seesaw/core__init.class or seesaw/core.clj on
classpath:

at clojure.lang.Util.runtimeException(Util.java:165)
at clojure.lang.Compiler.eval(Compiler.java:6476)
at clojure.lang.Compiler.eval(Compiler.java:6455)
at clojure.lang.Compiler.load(Compiler.java:6902)
at clojure.lang.Compiler.loadFile(Compiler.java:6863)
at clojure.main$load_script.invoke(main.clj:282)
at clojure.main$script_opt.invoke(main.clj:342)
at clojure.main$main.doInvoke(main.clj:426)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.lang.Var.invoke(Var.java:401)
at clojure.lang.AFn.applyToHelper(AFn.java:161)
at clojure.lang.Var.applyTo(Var.java:518)
at clojure.main.main(main.java:37)
Caused by: java.io.FileNotFoundException: Could not locate seesaw/
core__init.cla
ss or seesaw/core.clj on classpath:
at clojure.lang.RT.load(RT.java:430)
at clojure.lang.RT.load(RT.java:398)
at clojure.core$load$fn__4610.invoke(core.clj:5386)
at clojure.core$load.doInvoke(core.clj:5385)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invoke(core.clj:5200)
at clojure.core$load_lib.doInvoke(core.clj:5237)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invoke(core.clj:602)
at clojure.core$load_libs.doInvoke(core.clj:5271)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:604)
at clojure.core$use.doInvoke(core.clj:5363)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at seesaw.test.examples.kitchensink
$eval3$loading__4505__auto4.invok
e(kitchensink.clj:11)
at seesaw.test.examples.kitchensink
$eval3.invoke(kitchensink.clj:11)
at clojure.lang.Compiler.eval(Compiler.java:6465)
... 11 more

C:\cljr

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en