shdqcdsn / counterclockwise

Automatically exported from code.google.com/p/counterclockwise
0 stars 0 forks source link

Cannot use Luminus projects with CCW REPL #563

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Create a new clojure project named 'test', with lein template 'luminus'
2. First issue: When I press finish, I see the 'test' project being created in 
the Project Explorer, but the 'New Clojure Project' modal window does not 
disappear. I have to close the window and convert the  project to a Leiningen 
project manually for things to work as expected.
3.Second issue: When I attempt to run test.repl in the CCW REPL (Clojure > Load 
file in REPL), I get the following output:

;; Clojure 1.5.0

;; Switching to test.repl namespace

nil

FileNotFoundException Could not locate clabango/parser__init.class or 
clabango/parser.clj on classpath:   clojure.lang.RT.load (RT.java:443) 

What is the expected output? What do you see instead?

Running the 'lein ring server' command in a seperate terminal instance for the 
same project works fine, it should be the same when using CCW. 

What version of the product are you using? On what operating system?

Running  Juno Service Release 2 on OSX Mountain Lion.

Please provide any additional information below.

Before the clabango dependency was added to Luminus things were working fine.

Managed to get it working by following these steps:

I deleted the project from eclipse and recreated a new one from terminal, using 
'lein new luminus test'. 

Then I created a new project matching the path and converted to a lein project. 
Updated lein references and voila!

Original issue reported on code.google.com by julien.d...@gmail.com on 6 Apr 2013 at 10:46

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 6 Apr 2013 at 10:51

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 22 May 2014 at 8:15

GoogleCodeExporter commented 9 years ago
Issue 541 has been merged into this issue.

Original comment by laurent....@gmail.com on 22 May 2014 at 3:07

GoogleCodeExporter commented 9 years ago
Ok, so it was the Luminus lein new template plugin which was not working well 
with lein new's --to-dir option.
I fixed it locally, and submitted a Pull Request to the luminus github project.

I also took the opportunity to make the "New Clojure Wizard" support 'lein new' 
template parameters, so that 'lein new luminus my-project +cljs +mongodb' can 
be used

Original comment by laurent....@gmail.com on 22 May 2014 at 8:56

GoogleCodeExporter commented 9 years ago
Unfortunately, the fix you've submitted doesn't work because you can't use the 
*dir* dynamic var outside the scope of ->files.

Original comment by dmitri.sotnikov@gmail.com on 24 May 2014 at 2:29

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 10 Jul 2014 at 8:13

GoogleCodeExporter commented 9 years ago
Issue 541 has been merged into this issue.

Original comment by laurent....@gmail.com on 10 Jul 2014 at 8:16

GoogleCodeExporter commented 9 years ago
Change priority to Critical to give visibility to the issue, mostly because it 
has been started a long time ago and should be finished!

Original comment by laurent....@gmail.com on 21 Jul 2014 at 9:31

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 21 Aug 2014 at 8:36

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 25 Sep 2014 at 9:29

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 18 Nov 2014 at 9:25