[ANN] New release 0.28.0 of Counterclockwise

22 views
Skip to first unread message

Laurent PETIT

unread,
Sep 25, 2014, 6:07:11 PM9/25/14
to clojuredev-users, counterclockwise, clo...@googlegroups.com, cloju...@googlegroups.com
Counterclockwise, the Eclipse Clojure development tool.


Counterclockwise 0.28.0 has just been released.

Drastic simplification of project creation:

- Drag & Drop projects from filesystem to Counterclockwise's Window
- Drag & Drop Github / Bitbucket / Googlecode URLs from Web Browser to Counterclockwise's Window
- Automatic recognition of leiningen projects in the workspace
- Improved UI responsiveness: when lein dependencies are computed, does not block the UI anymore.

- Improved REPL View panes visibility

- Improved documentation for newcomers


Please see the Changelog for detailed explanations: 

Release Note
===========


Install
=======

Installation instructions:


Cheers,

--
Laurent Petit

Lee Spector

unread,
Sep 26, 2014, 2:27:05 PM9/26/14
to clojured...@googlegroups.com

I've started working with 0.28.0 and it's great but I have a couple of issues:

- Some of my projects are being displayed strangely in the package explorer, e.g. with folders for src.pucks.ai.dev rather than for src, with a subfolder for ai, and then a subfolder for dev, etc. Not all... One that it's happening for is under git version control, if that matters (not sure if I've seen an example that isn't... The one I'm seeing this with is https://github.com/lspector/pucks.

- The drag/drop worked but the first couple I tried looked like they weren't working, and then I was later surprised when they appeared. I'm guessing that there was background processing but I didn't see the dialog about that or anything showing up in the package explorer. Tried a few more and some appear instantly while others have long delays... which is okay but if it's necessary then the feedback should be better. I have one importing now and I see from the progress bar thing in the lower right corner that it's happening, but it's taking a strangely long time. This is under Mac OS 10.9.4.

The new line separating the input and output sections of the REPL is nice!

Thanks so much for this,

-Lee
> --
> You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to clojuredev-use...@googlegroups.com.
> To post to this group, send email to clojured...@googlegroups.com.
> Visit this group at http://groups.google.com/group/clojuredev-users.
> For more options, visit https://groups.google.com/d/optout.

--
Lee Spector, Professor of Computer Science
Director, Institute for Computational Intelligence
Cognitive Science, Hampshire College
893 West Street, Amherst, MA 01002-3359
lspe...@hampshire.edu, http://hampshire.edu/lspector/
Phone: 413-559-5352, Fax: 413-559-5438

Lee Spector

unread,
Sep 26, 2014, 5:31:28 PM9/26/14
to clojured...@googlegroups.com

Addendum: Now that same project is displaying in the same weird way (with subfolders appearing at the top level) even in 0.27.1. I don't *think* it was before. It looks normal in the OS.

Very odd, and now I wonder if this might not have to do with the 0.28.0 update. It's also beginning to sound familiar, as a problem I've had and/or seen discussed here previously. Any insights or pointers would be appreciated.

-Lee

Laurent PETIT

unread,
Sep 26, 2014, 6:33:55 PM9/26/14
to clojured...@googlegroups.com
Hello Lee,


Le vendredi 26 septembre 2014, Lee Spector <lspe...@hampshire.edu> a écrit :

Addendum: Now that same project is displaying in the same weird way (with subfolders appearing at the top level) even in 0.27.1. I don't *think* it was before. It looks normal in the OS.

Very odd, and now I wonder if this might not have to do with the 0.28.0 update. It's also beginning to sound familiar, as a problem I've had and/or seen discussed here previously. Any insights or pointers would be appreciated.

This project state where things appear to be strange might be the intermediate state where projects are badly recognized as java projects without structure. But it should just be an intermediate state quickly followed(*) by the final classical state with only src/ test/ resources/ source folders, and the Leiningen dependencies classpath container. 

If I'm right, then maybe the final step of "Leiningening" the project fails, and the project thus remains in the intermediate "basic java project" state. 
 
Can you share a pic of what you see in the package explorer ?


 -Lee

On Sep 26, 2014, at 2:26 PM, Lee Spector <lspe...@hampshire.edu> wrote:

>
> I've started working with 0.28.0 and it's great but I have a couple of issues:
>
> - Some of my projects are being displayed strangely in the package explorer, e.g. with folders for src.pucks.ai.dev rather than for src, with a subfolder for ai, and then a subfolder for dev, etc. Not all... One that it's happening for is under git version control, if that matters (not sure if I've seen an example that isn't... The one I'm seeing this with is https://github.com/lspector/pucks.
>
> - The drag/drop worked but the first couple I tried looked like they weren't working, and then I was later surprised when they appeared. I'm guessing that there was background processing but I didn't see the dialog about that or anything showing up in the package explorer. Tried a few more and some appear instantly while others have long delays... which is okay but if it's necessary then the feedback should be better. I have one importing now and I see from the progress bar thing in the lower right corner that it's happening, but it's taking a strangely long time. This is under Mac OS 10.9.4.
>
> The new line separating the input and output sections of the REPL is nice!
>
> Thanks so much for this,
>
> -Lee
>

--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojuredev-use...@googlegroups.com.
To post to this group, send email to clojured...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojuredev-users.
For more options, visit https://groups.google.com/d/optout.


--
Laurent Petit

Laurent PETIT

unread,
Sep 26, 2014, 7:02:27 PM9/26/14
to clojured...@googlegroups.com


Le vendredi 26 septembre 2014, Lee Spector <lspe...@hampshire.edu> a écrit :

I've started working with 0.28.0 and it's great but I have a couple of issues:

- Some of my projects are being displayed strangely in the package explorer, e.g. with folders for src.pucks.ai.dev rather than for src, with a subfolder for ai, and then a subfolder for dev, etc. Not all... One that it's happening for is under git version control, if that matters (not sure if I've seen an example that isn't... The one I'm seeing this with is https://github.com/lspector/pucks.

- The drag/drop worked but the first couple I tried looked like they weren't working, and then I was later surprised when they appeared. I'm guessing that there was background processing but I didn't see the dialog about that or anything showing up in the package explorer. Tried a few more and some appear instantly while others have long delays... which is okay but if it's necessary then the feedback should be better. I have one importing now and I see from the progress bar thing in the lower right corner that it's happening, but it's taking a strangely long time. This is under Mac OS 10.9.4.

The long time is probably related to the time needed to resolve and download Leiningen dependencies. If you think it's not the case, then it would be interesting to dig deeper and find what's happening. 

I was waiting for the first remarks mentioning the lack of feedback, well that wasn't too long :-)

There are two cases:
- when project creation finishes in the background, the user should be notified. How? A modal information dialog ? (Easy, but ugly, and if several projects are imported at once, one pop up per project ? ) or maybe a dialog informing that project creation will bein in background+list of concerned projects (list of folder names)?
- a kind of non invasive notification message on the bottom right of the screen, disappearing after a few seconds, or immediately dismissible by the user via a cross 
Laurent Petit

Lee Spector

unread,
Sep 26, 2014, 8:45:02 PM9/26/14
to clojured...@googlegroups.com

Hi Laurent,

Below is a picture of what I see in the package explorer for the project at https://github.com/lspector/pucks. This is actually in  0.27.1, but I was also seeing it in 0.28.0 (and I don't *think* I was previously seeing it in 0.27.1, which is especially confusing :-(). Instead of those four src items there should be one src item, which could be opened to see the rest...

Thanks,

 -Lee

Lee Spector

unread,
Sep 26, 2014, 9:47:46 PM9/26/14
to clojured...@googlegroups.com

It could indeed be that it was downloading dependencies.

I don't think I'm particular about how or where this is displayed, but I do think it should be as obvious as possible. I thought that I must have been dragging things to the wrong place or that the drag/drop system just wasn't working, because I didn't notice anything happening in response to my drag/drop. So tried a couple more times and with different projects, and was starting to write an email to the list that it wasn't working when I noticed that a couple of the projects had actually finally appeared in Counterclockwise.

-Lee

Laurent PETIT

unread,
Sep 27, 2014, 10:35:22 AM9/27/14
to clojuredev-users
What you're seeing is indeed how a "raw java project", without information about the classpath will present thinks: the project's root is considered as the source of java classes, and thus all folders and subfolders display as packages.

I will try to reproduce the issue. We need to understand why this project is not converted to a leiningen project, even though it contains a project.clj file.

You can try to re-trigger the project configuration : project contextual menu, Configure > Convert to Leiningen Project


--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojuredev-use...@googlegroups.com.
To post to this group, send email to clojured...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojuredev-users.
For more options, visit https://groups.google.com/d/optout.



--
Laurent Petit

Laurent PETIT

unread,
Sep 27, 2014, 10:38:26 AM9/27/14
to clo...@googlegroups.com, clojuredev-users, cloju...@googlegroups.com
Hello Alexander,

Do you want the dependency to be optional so that another version of egit/jgit can be used? Or is it for another reason?

There is java code which directly depends on the JGit API now, so if I want to really make it optional, I will need to place it in a separate plugin. Unless I can provide the plugin with CCW Software Update Site, so that if it's missing, it will be automatically installed.

What do you think?




2014-09-27 1:03 GMT+02:00 Alexander Igdalov <alexande...@gmail.com>:
Hi Laurent,

Thanks for the great work!
Regarding Counterclockwise 0.28.0 - I can see that now it is pulling git plugin dependencies. Can you please making this dependency optional?

Thanks,
- Alex.

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo...@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+u...@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 unsubscribe from this group and stop receiving emails from it, send an email to clojure+u...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Laurent Petit

Laurent PETIT

unread,
Sep 27, 2014, 10:49:48 AM9/27/14
to clojuredev-users
Ok, so I have an idea for what could have happened.
The project on Github contains project.clj, and .project files. 
The .project files declares the java, ccw and leiningen natures.
So there should also be a .classpath files in there. There isn't, and thus the project has been considered as configured with the most basic classpath possible: source directory and compilation target directory = project's folder.

What you can do:
- project's contextual menu > Leiningen > Reset Project Configuration
- either commit both eclipse metadata files (.project AND .classpath), either none. Probably the initial computer sees everything ok, but every other cloned project from github currently misses the .classpath file.

What I can do for the next release:
- add a consistency check: if .classpath file is missing, then automatically try to reconfigure the project.



2014-09-27 2:44 GMT+02:00 Lee Spector <lspe...@hampshire.edu>:

--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojuredev-use...@googlegroups.com.
To post to this group, send email to clojured...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojuredev-users.
For more options, visit https://groups.google.com/d/optout.



--
Laurent Petit

Laurent PETIT

unread,
Sep 27, 2014, 10:59:33 AM9/27/14
to clojuredev-users
Would you prefer a discreet notification via e.g. the OS System tray (such as notifying the start of processing the creation of the project, and a notification when it is over), or something more invasive like a modal "classic" dialog window ?

--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojuredev-use...@googlegroups.com.
To post to this group, send email to clojured...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojuredev-users.
For more options, visit https://groups.google.com/d/optout.



--
Laurent Petit

Lee Spector

unread,
Sep 27, 2014, 12:25:51 PM9/27/14
to clojured...@googlegroups.com

Fantastic. My project is indeed fixed by "contextual menu > Leiningen > Reset Project Configuration".

I haven't yet tried to see if syncing with github may re-mess it up -- I've just started doing my github interactions in a new way (with the Mac Github GUI client) and I'm not sure what it's doing behind the scenes, but I'll report if anything interesting turns up when I do that.

The idea for the next release sounds great to me.

-Lee


On Sep 27, 2014, at 10:49 AM, Laurent PETIT <lauren...@gmail.com> wrote:

> Ok, so I have an idea for what could have happened.
> The project on Github contains project.clj, and .project files.
> The .project files declares the java, ccw and leiningen natures.
> So there should also be a .classpath files in there. There isn't, and thus the project has been considered as configured with the most basic classpath possible: source directory and compilation target directory = project's folder.
>
> What you can do:
> - project's contextual menu > Leiningen > Reset Project Configuration
> - either commit both eclipse metadata files (.project AND .classpath), either none. Probably the initial computer sees everything ok, but every other cloned project from github currently misses the .classpath file.
>
> What I can do for the next release:
> - add a consistency check: if .classpath file is missing, then automatically try to reconfigure the project.
>
>
>
> 2014-09-27 2:44 GMT+02:00 Lee Spector <lspe...@hampshire.edu>:
>
> Hi Laurent,
>
> Below is a picture of what I see in the package explorer for the project at https://github.com/lspector/pucks. This is actually in 0.27.1, but I was also seeing it in 0.28.0 (and I don't *think* I was previously seeing it in 0.27.1, which is especially confusing :-(). Instead of those four src items there should be one src item, which could be opened to see the rest...
>
> Thanks,
>
> -Lee
>
> <PastedGraphic-1.tiff>

Lee Spector

unread,
Sep 27, 2014, 12:29:09 PM9/27/14
to clojured...@googlegroups.com

I'd prefer something *not at all* discreet. I think that when the user drags a project to CCW they should immediately see, in a way that is as obvious as possible, that CCW has understood the request and is working on it. And the completion of the task should also be as obvious as possible. As for whether a modal dialog is the best way to do that I'm not sure, but I think that "discreet" is the wrong way to go on this.

Thanks,

-Lee
Reply all
Reply to author
Forward
0 new messages