Re: classpath and require

2010-06-19 Thread Mohammad Khan
Correction, it worked..


On Fri, Jun 18, 2010 at 6:19 PM, Mohammad Khan beepl...@gmail.com wrote:

 No, it didn't work.. what else I could be missing..


 On Fri, Jun 18, 2010 at 5:56 PM, Rob Lachlan robertlach...@gmail.comwrote:

 Whoops, that should read:

 java -cp c:\clojure-contrib\clojure-contrib.jar;c:\clojure
 \clojure.jar;c:
 \projects.clj clojure.main

 On Jun 18, 2:51 pm, Rob Lachlan robertlach...@gmail.com wrote:
  have you tried starting with:
 
  c:\clojure-contrib\clojure-contrib.jar;c:\clojure\clojure.jar;c:
  \projects.clj clojure.main
 
  On Jun 18, 2:00 pm, Mohammad Khan beepl...@gmail.com wrote:
 
 
 
   C:\Projects.cljjava -cp
   c:\clojure-contrib\clojure-contrib.jar;c:\clojure\clojure.jar
 clojure.main
   Clojure 1.1.0-alpha-SNAPSHOT
   user= (require 'examples.introduction)
   java.io.FileNotFoundException: Could not locate
   examples/introduction__init.class or examples/introduction.clj on
   classpath:  (NO_SOURCE_FILE:0)
   user=
 
   C:\Projects.cljecho %CLASSPATH%
   C:\Projects.clj;C:\clojure;C:\clojure-contrib
   C:\Projects.cljdir examples\introduction.clj
Volume in drive C is xxx
Volume Serial Number is -
Directory of C:\Projects.clj\examples
 
   06/18/2010  04:52 PM40 introduction.clj
  1 File(s) 40 bytes
  0 Dir(s)  xx,xxx,xxx bytes free
 
   C:\Projects.clj

 --
 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.comclojure%2bunsubscr...@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 and require

2010-06-19 Thread Mohammad Khan
Yes, exactly it was, also at some point I was trying examples/introduction
(ruby's require like statement) instead of examples.introduction which all
together made me lost. Thanks everybody for your help.

Thanks,
Mohammad


On Sat, Jun 19, 2010 at 11:59 AM, Michael Wood esiot...@gmail.com wrote:

 On 19 June 2010 17:46, Rob Lachlan robertlach...@gmail.com wrote:
  I was wondering whether putting a dot in a directory on the classpath
  makes a difference.  On OS X, the answer is no.  Unfortunately, I
  don't have a windows machine, so I can't check for certain what the
  situation is there.

 No, rzezeski found the problem.

 Mohammad's CLASSPATH environment variable was correct, but he was
 overriding that by using:
 java -cp clojure-contrib.jar;clojure.jar clojure.main

 --
 Michael Wood esiot...@gmail.com

 --
 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.comclojure%2bunsubscr...@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 and require

2010-06-18 Thread Mohammad Khan
C:\Projects.cljjava -cp
c:\clojure-contrib\clojure-contrib.jar;c:\clojure\clojure.jar clojure.main
Clojure 1.1.0-alpha-SNAPSHOT
user= (require 'examples.introduction)
java.io.FileNotFoundException: Could not locate
examples/introduction__init.class or examples/introduction.clj on
classpath:  (NO_SOURCE_FILE:0)
user=

C:\Projects.cljecho %CLASSPATH%
C:\Projects.clj;C:\clojure;C:\clojure-contrib
C:\Projects.cljdir examples\introduction.clj
 Volume in drive C is xxx
 Volume Serial Number is -
 Directory of C:\Projects.clj\examples

06/18/2010  04:52 PM40 introduction.clj
   1 File(s) 40 bytes
   0 Dir(s)  xx,xxx,xxx bytes free

C:\Projects.clj

-- 
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 and require

2010-06-18 Thread Mohammad Khan
No, it didn't work.. what else I could be missing..

On Fri, Jun 18, 2010 at 5:56 PM, Rob Lachlan robertlach...@gmail.comwrote:

 Whoops, that should read:

 java -cp c:\clojure-contrib\clojure-contrib.jar;c:\clojure
 \clojure.jar;c:
 \projects.clj clojure.main

 On Jun 18, 2:51 pm, Rob Lachlan robertlach...@gmail.com wrote:
  have you tried starting with:
 
  c:\clojure-contrib\clojure-contrib.jar;c:\clojure\clojure.jar;c:
  \projects.clj clojure.main
 
  On Jun 18, 2:00 pm, Mohammad Khan beepl...@gmail.com wrote:
 
 
 
   C:\Projects.cljjava -cp
   c:\clojure-contrib\clojure-contrib.jar;c:\clojure\clojure.jar
 clojure.main
   Clojure 1.1.0-alpha-SNAPSHOT
   user= (require 'examples.introduction)
   java.io.FileNotFoundException: Could not locate
   examples/introduction__init.class or examples/introduction.clj on
   classpath:  (NO_SOURCE_FILE:0)
   user=
 
   C:\Projects.cljecho %CLASSPATH%
   C:\Projects.clj;C:\clojure;C:\clojure-contrib
   C:\Projects.cljdir examples\introduction.clj
Volume in drive C is xxx
Volume Serial Number is -
Directory of C:\Projects.clj\examples
 
   06/18/2010  04:52 PM40 introduction.clj
  1 File(s) 40 bytes
  0 Dir(s)  xx,xxx,xxx bytes free
 
   C:\Projects.clj

 --
 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.comclojure%2bunsubscr...@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: promoting contrib.string to clojure, feedback requested

2010-05-26 Thread Mohammad Khan
This thread has potential to be the longest thread of clojure mailing list!

personally, I like strip or trim than chomp/chop.

On Wed, May 26, 2010 at 2:08 PM, Fogus mefo...@gmail.com wrote:

  chomp has a clear meaning to anyone who's touched Perl/Ruby/shell-
  scripting.

 Believe me I can sympathize with this, but just because they are well-
 known to some doesn't mean that they are good names.  On that note,
 just because rtrim and less make sense to me... you know the
 rest.  :-)

 :f

 --
 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.comclojure%2bunsubscr...@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