Version 1.5 of the Enclojure plugin is up which is compatible with Netbeans 7.0

87 views
Skip to first unread message

Eric Thorsen

unread,
Apr 29, 2011, 1:55:05 PM4/29/11
to enclojure
This version is a port of 1.4 to run on Netbeans 7.0.

You can get this using the update site.
For more information, please go to:
www.enclojure.org

Thanks again for all the feedback!
Eric

Steve

unread,
May 1, 2011, 7:06:23 AM5/1/11
to enclojure
On Apr 30, 3:55 am, Eric Thorsen <ethor...@thortech-solutions.com>
wrote:
> This version is a port of 1.4 to run on Netbeans 7.0.
>

Thanks Eric, works fine* here (Ubuntu 11.04).

>
> Thanks again for all the feedback!

You asked for it :)

*This version seems to have the same issue that the previous version
of enclojure had where the repl fails to start the first time (fails
with a time out), but works fine after that. "top" shows that the
first invocation of the repl actually does start a repl server process
(so there are multiple processes running once the repl is working),
would increasing the timeout value help? Or is the problem independent
of the time it takes to start the repl process?

- Steve

László Török

unread,
May 1, 2011, 8:56:25 AM5/1/11
to encl...@googlegroups.com

+1, but same issue here
On ubuntu 10.10
Laszlo

sent from my mobile device

> --
> You received this message because you are subscribed to the Google Groups "enclojure" group.
> To post to this group, send email to encl...@googlegroups.com.
> To unsubscribe from this group, send email to enclojure+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/enclojure?hl=en.
>

Eric Thorsen

unread,
May 2, 2011, 10:08:04 AM5/2/11
to encl...@googlegroups.com
I believe this happens on Windows as well.
I have not had a chance to troubleshoot this as I was planning on
incorporating the nRepl into the next release.

Always looking for contributors to help :)

Thanks again for the feedback though.

Eric

Steve

unread,
May 2, 2011, 6:30:18 PM5/2/11
to enclojure
On May 3, 12:08 am, Eric Thorsen <ethor...@enclojure.org> wrote:
>
> Always looking for contributors to help :)
>

Is the public git repo up to date with the latest changes?

- Steve

Eric Thorsen

unread,
May 2, 2011, 8:43:14 PM5/2/11
to encl...@googlegroups.com
Yes it is.

Steve

unread,
May 3, 2011, 8:08:30 AM5/3/11
to enclojure
On May 3, 10:43 am, Eric Thorsen <ethor...@enclojure.org> wrote:
> Yes it is.
>

When I compile the plugin and install it, it complains about the
versions of the lucene plugin, and the editor plugin.

The steps I went through were:

1) git clone https://github.com/EricThorsen/enclojure.git
2) cd enclojure
3) mvn clean install, this builds a bunch of artifacts, I assume the
one I need is enclojure/netbeans/plugins/org-enclojure-plugin/target/
nbm/org-enclojure-plugin-1.4.0.nbm
4) start a fresh copy of netbeans
5) try to install the .nbm file, fails with dependency issues with
"Lucene Integration" and "Editor Library" (full text below*)
6) if I install from the official update site, it works fine so I
assume my Netbeans installation has all the needed dependencies

I'm sure I'm doing something stupid, if you can point me in the right
direction it would be much appreciated.

Thanks,
Steve

*Some plugins require plugin Lucene Integration to be installed.
The plugin Lucene Integration is requested in version >= 2.10.1.232
(release version 1) but only 3.1.1 (of release version different from
1) was found. The following plugin is affected:       Enclojure
Clojure Plugin
Some plugins require plugin Editor Library to be installed.
The plugin Editor Library is requested in version >= 2.10.1.10.2
(release version 2) but only 3.8.1.13.8 (of release version different
from 2) was found. The following plugin is affected:       Enclojure
Clojure Plugin

Eric Thorsen

unread,
May 3, 2011, 1:19:16 PM5/3/11
to encl...@googlegroups.com
Sorry...I did not merge the latest code into master. You should be
good to go. The resulting target should be 1.5.

Let me know if you run into any other issues.

Eric

If you did a clone, it should have built

fbornhofen

unread,
May 3, 2011, 8:18:13 PM5/3/11
to enclojure

> *This version seems to have the same issue that the previous version
> of enclojure had where the repl fails to start the first time (fails
> with a time out), but works fine after that.

Newbie question: Is that why I have to start the REPL manually via
Window -> NetBeans IDE REPL (NetBeans 7 on OSX)? (If this is the
intended behavior, please ignore my comment.)
Building worked after I removed swank-clojure from the dependencies as
it was suggested in an earlier post.

Besides that, everything seems to work great. Thanks so much!

Fabian

László Török

unread,
May 4, 2011, 1:45:52 AM5/4/11
to encl...@googlegroups.com

I believe the IDE Repl is the interactive shell to the running Enclojure plugin itself intended for plugin development and debug (check the classpath)

sent from my mobile device

Steve

unread,
May 8, 2011, 6:37:18 AM5/8/11
to enclojure
On May 4, 3:19 am, Eric Thorsen <ethor...@enclojure.org> wrote:
> Sorry...I did not merge the latest code into master.  You should be
> good to go.  The resulting target should be 1.5.
>

Yeah that compiles fine now, and increasing the timeout value seems to
make starting a repl more reliable on my laptop.

Worth adding a configuration option for the startup timeout? Or just
increase the hardcoded value to something less optimistic (say 30
seconds)? Either way, if you'd like a patch give me a yell.

- Steve

Eric Thorsen

unread,
May 8, 2011, 4:59:36 PM5/8/11
to encl...@googlegroups.com
I'm happy to increase the timeout but if that is the issue, I'd like
to know why it times out the first time and works fine afterwards?

Steve

unread,
May 9, 2011, 8:12:20 AM5/9/11
to enclojure
On May 9, 6:59 am, Eric Thorsen <ethor...@enclojure.org> wrote:
> I'm happy to increase the timeout but if that is the issue, I'd like
> to know why it times out the first time and works fine afterwards?
>

Just a guess at this stage, but I think it's load. There are two
situations when it happens:

1) when I try to start a repl after I've started Netbeans
2) when there's a lot of other things happening on my laptop (my
laptop is getting a bit old and slow....)

I think with 1) Netbeans is still chugging along doing things in the
background after the gui is usable, might be causing enough load to
make the repl server miss the 10 second timeout?

Anyway, I'll have some more time later in the week, will see if I can
see why the server takes so long to start up.

- Steve

László Török

unread,
May 9, 2011, 8:22:22 AM5/9/11
to encl...@googlegroups.com
Hi, I tried Netbeans+Enclojure under Win/Ubuntu and Mac. Here as a short experience report:

Under WinXp and Win7 running Nb 6.9 the timeout exception occurs sporadically.

Under Ubuntu 9.10 with Nb 6.9 again sporadically, Nb 7.0 always, this prevented me from working with Nb7 under Ubuntu

Under MacOS X (10.6) Nb 7 + Enclojure worked so far, never got the exception.

Regards,
Laszlo

2011/5/9 Steve <stephen....@gmail.com>

- Steve

--
You received this message because you are subscribed to the Google Groups "enclojure" group.
To post to this group, send email to encl...@googlegroups.com.
To unsubscribe from this group, send email to enclojure+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/enclojure?hl=en.




--
László Török

Skype: laczoka2000
Twitter: @laczoka

Reply all
Reply to author
Forward
0 new messages