I downloaded and installed NetBeans and the Enclojure plugin.

I am not clear on how to setup the "main" class.

I modified the "main" class generated by the template to look like the
following:

=============================
(defn -main ([args] (startNewAchiTask))
  ([ ] (-main nil)))
=============================

This works, but I am not sure what is going on.

Why are there parentheses around "[args] (startNewAchiTask)"?

What is "([ ] (-main nil))"?

Thanks for any help on these questions.

On Apr 6, 7:43 pm, Eric Thorsen <ethor...@enclojure.org> wrote:
> There is a new release of the Enclojure plugin that addresses many of
> the items I have seen discuss here recently with regards to managing
> classpaths in REPLs as well as many other Clojure development
> scenarios.  The plugin supports several use cases for the clojure.main
> REPL use:
> a. Project based REPLs where the REPL is started using the
> dependancies on the project in the IDE.
> b. Remote REPLs where some shim code can be included in your
> application(s) and you can attach a REPL (or REPLs) to running VMs.
> c. Ad-hoc REPLs - manually set your classpaths and start a REPL up.
> All of these scenarios have strong integration with the editor
> supporting integrated Clojure/Java completion, debugging with viewable
> clojure data, syntax highlighting, code loading, expression
> evaluation, s-expression nav and many more features.  There have been
> well over 100 patches since the last release in February.
> For more information, please see:http://enclojure.wikispaces.com
> Plugin can be downloaded 
> at:http://code.google.com/p/enclojure-nb-clojure-plugin/downloads/list
>
> Feedback welcome!
> Eric
>
> Eric Thorsen
> ThorTech Solutionswww.thortech-solutions.com
> (914) 302-7638  [work]
> (914) 302-7641  [fax]
> (914) 804-4954  [cell]
--~--~---------~--~----~------------~-------~--~----~
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