Re: importing clojure.contrib.miglayout

2008-10-21 Thread Parth Malwankar



On Oct 21, 8:30 pm, "J. McConnell" <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 21, 2008 at 11:19 AM, Parth Malwankar
>
> <[EMAIL PROTECTED]> wrote:
>
> > I am trying to import clojure.contrib.miglayout. The simple "import"
> > seems to work fine, but the moment I use ":require"  it fails.
> > Am I doing something wrong here or is this a bug?
> > Seems to work for other modules like pred and command_line.
>
> > [parth:~]% clj
> > Clojure
> > user=> (ns test (:refer-clojure) (:require clojure.contrib.miglayout))
> > java.lang.ClassNotFoundException: net.miginfocom.swing.MigLayout
> > (miglayout.clj:0)
>
> I don't have any experience with that library, but it looks like you
> are missing a jar in the classpath. There's probably a third-party jar
> that provides the net.miginfocom.swing.MigLayout class.
>
> - J.

Yes. Thats was it. Wow I feel stupid :)

Parth

--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



Re: importing clojure.contrib.miglayout

2008-10-21 Thread J. McConnell

On Tue, Oct 21, 2008 at 11:19 AM, Parth Malwankar
<[EMAIL PROTECTED]> wrote:
>
> I am trying to import clojure.contrib.miglayout. The simple "import"
> seems to work fine, but the moment I use ":require"  it fails.
> Am I doing something wrong here or is this a bug?
> Seems to work for other modules like pred and command_line.
>
> [parth:~]% clj
> Clojure
> user=> (ns test (:refer-clojure) (:require clojure.contrib.miglayout))
> java.lang.ClassNotFoundException: net.miginfocom.swing.MigLayout
> (miglayout.clj:0)

I don't have any experience with that library, but it looks like you
are missing a jar in the classpath. There's probably a third-party jar
that provides the net.miginfocom.swing.MigLayout class.

- J.

--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---



importing clojure.contrib.miglayout

2008-10-21 Thread Parth Malwankar

Hello,

I am trying to import clojure.contrib.miglayout. The simple "import"
seems to work fine, but the moment I use ":require"  it fails.
Am I doing something wrong here or is this a bug?
Seems to work for other modules like pred and command_line.

[parth:~]% clj
Clojure
user=> (ns test (:refer-clojure) (:require clojure.contrib.miglayout))
java.lang.ClassNotFoundException: net.miginfocom.swing.MigLayout
(miglayout.clj:0)
test=> (ns test (:refer-clojure) (:require clojure.contrib.pred))
nil
test=> (import '(clojure.contrib.miglayout))
nil
test=> (ns test (:refer-clojure) (:require
[clojure.contrib.miglayout :as miglayout]))
java.lang.ClassNotFoundException: net.miginfocom.swing.MigLayout
(miglayout.clj:0)
test=>

Parth


--~--~-~--~~~---~--~~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~--~~~~--~~--~--~---