Konrad,

Your installation is probably fine. The problem lies in the
FileNameExtensionFilter  class. It was only introduced in Java6.
Therefore, despite the fact
that you now have binaries that are compatible with your JVM, the
program does not run. I'll try to fix this soon. I'll post a message
when a new revision is up.

Alternatively hoping that this is the only Java6-only dependency in
the code, you can also apply this patch to clj/net/sourceforge/
waterfront/ide/plugins/file.clj (I didn't test is though - I am away
from my machine, so no warranty...)

Replace lines 169..173 with this:

(defn add-chooser [app]
  (let [chooser (javax.swing.JFileChooser. (. System getProperty
"user.dir"))]
    (assoc app :file-chooser chooser) ))


Hope that helps.
-Itay


On Mar 3, 5:21 pm, Konrad Hinsen <konrad.hin...@laposte.net> wrote:
> On Mar 3, 2009, at 11:46, Tom Ayerst wrote:
>
> > If you pull trunk out of subversion you can build it locally with  
> > Ant.  Would that do it?
>
> Definitely, thanks!  I pulled the latest revision and built it by  
> typing "ant". No compilation errors, but I can't run it either:
>
> Can't load plugin custom-editor.clj. Reason:  
> java.lang.ClassNotFoundException:  
> javax.swing.filechooser.FileNameExtensionFilter (file.clj:171)
> Can't load plugin context-menu.clj. Reason: nil
> Can't load plugin file.clj. Reason: java.lang.ClassNotFoundException:  
> javax.swing.filechooser.FileNameExtensionFilter (file.clj:171)
> Can't load plugin problem-window.clj. Reason: nil
> Can't load plugin undo.clj. Reason: java.lang.Exception: LazySeq used  
> in 'if' (lexer.clj:0)
> Can't load plugin comments.clj. Reason: java.lang.Exception: Unable  
> to resolve symbol: create-undo-transaction in this context  
> (comments.clj:48)
> Can't load plugin line-column.clj. Reason: nil
> Can't load plugin find.clj. Reason: java.lang.Exception: Unable to  
> resolve symbol: create-undo-transaction in this context (find.clj:117)
> Can't load plugin indicator.clj. Reason: nil
> Can't load plugin output-window.clj. Reason: nil
> Can't load plugin check-syntax.clj. Reason: java.lang.Exception:  
> LazySeq used in 'if' (lexer.clj:0)
> Can't load plugin indent.clj. Reason: java.lang.Exception: Unable to  
> resolve symbol: create-undo-transaction in this context (indent.clj:125)
> Can't load plugin paren-matching.clj. Reason: java.lang.Exception:  
> LazySeq used in 'if' (lexer.clj:0)
> Can't load plugin eval-as-you-type.clj. Reason: java.lang.Exception:  
> LazySeq used in 'if' (lexer.clj:0)
> java.lang.NullPointerException
>         at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:26)
>         at net.sourceforge.waterfront.ide.plugins$set_font__1700.invoke(font-
> observer.clj:20)
>         at net.sourceforge.waterfront.ide.plugins$set_fonts__1703.invoke
> (font-observer.clj:26)
>         at net.sourceforge.waterfront.ide$dispatcher__550$fn__554.invoke
> (ui.clj:85)
> ...
>
> It looks as if my installation lacks parts of Swing, but there also  
> seem to be some lazy-seq-related bugs in Waterfront itself (my  
> Clojure is compiled with clojure.assert-if-lazy-seq=true).
>
> Is anyone running Waterfront successfully on a Mac with Java 1.5?
>
> Konrad.
--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to