Questions tagged [counterclockwise]

Counterclockwise is an Eclipse plugin to help developers write Clojure code.

Counterclockwise is an plugin helping develop solutions with .

62 questions
3
votes
0 answers

Weird behavior in eclipse when editing clojure files

I am trying to learn clojure and i installed the counterclockwise plugin in eclipse. Now when i hover with my mouse over strings containing whitespace or only dots i get this weird menu popup. It is really annoying and i have no idea where it is…
Siniyas
  • 443
  • 1
  • 5
  • 19
3
votes
2 answers

Order concave polygon vertices counterclockwise

I have a set of points that are on the boundary of a concave polygon. I would like to find one non crossing polygon that have these points as vertices. In other words, I would like to order in a ccw (or cw) manner vertices of a concave polygon. I…
kiriloff
  • 25,609
  • 37
  • 148
  • 229
2
votes
2 answers

CounterClockwise NullPointerException

I'm running Eclipse Indigo on OSX 10.7.2, and I cannot get counterclockwise to work properly. If I open the REPL view, it will accept input (and display the input), but not actually evaluate any expressions. When I attempt to force a repl reconnect,…
Ashton K
  • 875
  • 1
  • 8
  • 18
2
votes
1 answer

Unable to create Clojure project or namespace in fresh CCW standalone install

When I first open a fresh install of Counterclockwise standalone and attempt to create a Clojure project I get an error dialog with the following message: The selected wizard could not be started. Reason: Plug-in ccw.core was unable to load class…
2
votes
1 answer

Eclipse Counterclockwise plugin autocomplete not working

I have installed Eclipse with the counterclockwise plugin for Clojure development When I type, no auto-complete comes up. Pressing Ctrl+Space has no effect in Clojure mode, but if I make a Java project it works fine. I know that eclipse is connected…
while1fork
  • 374
  • 4
  • 15
2
votes
1 answer

Set environment variables in Counterclockwise

I am trying to set production and dev profiles in Eclipse in order to deploy my compojure/ring app on Heroku. However, the Counterclockwise plug-in doesn't load up environment variables from the profile. I have added the variables in the environment…
2
votes
1 answer

ClassNotFoundException on use of another ns

As simple as this question is, I can't seem to find the right way for different namespaces in the same directory to validly refer to one another. I have two files: project_root/src/babbler/core.clj: (ns babbler.core (:gen-class) (use…
FrobberOfBits
  • 17,634
  • 4
  • 52
  • 86
2
votes
1 answer

Eclipse Counterclockwise: How do I add clojure/contrib/sql to my class path.

In my code, I have: (ns Test.core (:require clojure.contrib.sql) ) The error statement is the following: FileNotFoundException Could not locate clojure/contrib/sql__init.class or clojure/contrib/sql.clj on classpath: …
user3745942
  • 193
  • 1
  • 2
  • 7
2
votes
1 answer

How to use java project in eclipse from clojure project

I have an existing Java code base. It is organized into several projects in eclipse. These projects tend to require one another. For example: Project A -> Common Lib 1 -> 2nd level dependency 1 | -> Common Lib 2 To utilize…
Carlos Rendon
  • 6,174
  • 5
  • 34
  • 50
2
votes
0 answers

How can you control the compile order in leininigen?

This should be a simple problem to solve but every time I try to compile I am getting class not found exceptions caused by the fact that leininigen is trying to compile classes in the wrong order. I've gone as far as trying to explicitly define the…
Ralph Ritoch
  • 3,260
  • 27
  • 37
2
votes
1 answer

How to close a "Shaded Area" window in Counterclockwise

I have a strange window in Counterclockwise. When I mouse over it in the restore bar the tool-tip calls it "Shaded Area". I can minimize it, peek at it, and restore it, but I cannot see how to close it! A similar eclipse question suggests ALT-F4,…
dumbledad
  • 16,305
  • 23
  • 120
  • 273
2
votes
1 answer

ClassCastException MyType cannot be cast to MyType?

I have encountered a problem when using deftype in Clojure. If I run the following code: (defprotocol TestProt (geta [this]) (getb [this])) (deftype TestType [a b] TestProt (geta [this] a) (getb [this] b)) (defn test-function [^TestType…
LogicChains
  • 4,332
  • 2
  • 18
  • 27
2
votes
2 answers

What are some techniques I can use to debug my Clojure code?

I'm using CounterClockWise to develop my first Clojure project on the Windows 7 OS. Besides javascript (which I'm not too familiar with), this is my first dynamically typed language. The hardest part of building my project was debugging the…
Daniel Kaplan
  • 62,768
  • 50
  • 234
  • 356
2
votes
3 answers

How to run tests smoothly in Leiningen project within Counterclockwise/Eclipse?

I'm a newbie with Clojure and Counterclockwise and I succeeded adding a Leiningen 2 project with "Poor man's integration" (External tools, linked from question Using Clojure and Leiningen with IDEs). My alternatives for running tests so far: From…
Touko
  • 11,359
  • 16
  • 75
  • 105
2
votes
0 answers

Using Drip with CounterClockwise (Clojure in Eclipse)

Is it possible to use Drip for Clojure with Eclipse/CounterClockwise, and assuming it is, how do you go about setting it up?
Alistair Collins
  • 2,200
  • 5
  • 25
  • 44