can't import existing project

238 views
Skip to first unread message

johnbendi

unread,
Jul 7, 2012, 12:52:47 AM7/7/12
to clojured...@googlegroups.com
I just installed ccw 0.9.0-STABLE and I didn't have any success doing File->Import->ImportExisting... , I get the error message that "No projects are found to import". Do I still need the additional steps of lein-eclipse as mentioned in some other thread?

regards
John

Laurent PETIT

unread,
Jul 7, 2012, 4:11:15 AM7/7/12
to clojured...@googlegroups.com
Le 7 juil. 2012 à 08:18, johnbendi <johnb...@gmail.com> a écrit :

I just installed ccw 0.9.0-STABLE and I didn't have any success doing File->Import->ImportExisting... , I get the error message that "No projects are found to import". Do I still need the additional steps of lein-eclipse as mentioned in some other thread?


Hello,

The documentation related to project creation/import/etc. has been updated recently.
I'd be happy to know if it worked for you:


Cheers,

-- 
Laurent


regards
John

--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/clojuredev-users/-/Y_CTX2ICfh8J.
To post to this group, send email to clojured...@googlegroups.com.
To unsubscribe from this group, send email to clojuredev-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/clojuredev-users?hl=en.

johnbendi

unread,
Jul 8, 2012, 12:16:30 AM7/8/12
to clojured...@googlegroups.com
Still no success yet. And the actual pattern in my case, Eclipse 3.7, is File-> Import-> General-> Existing Projects Into Workspace. After selecting the project repo it scans the folder and gives an error "no projects was found to import". I'm sure it's not recognizing project.clj.

regards
John

Laurent PETIT

unread,
Jul 8, 2012, 3:53:13 AM7/8/12
to clojured...@googlegroups.com
Hello,


Le 8 juil. 2012 à 06:16, johnbendi <johnb...@gmail.com> a écrit :

Still no success yet. And the actual pattern in my case, Eclipse 3.7, is File-> Import-> General-> Existing Projects Into Workspace. After selecting the project repo it scans the folder and gives an error "no projects was found to import". I'm sure it's not recognizing project.clj.

Ok, so my bad, it seems like an error slipped in the documentation.  I'll correct it. 

I assume you are in the current situation:
http://code.google.com/p/counterclockwise/wiki/Documentation#If_you_want_to_use_a_non-Eclipse_project_you_grabbed_from_Git/_,

That is, you have an existing Leiningen project, but it's not yet an Eclipse project (it does not have the eclipse metadata files .project, .classpath etc.). 

The first bullet of the relevant doc should be:
- create an eclipse project pointing at your project on the filesystem: file > new > general > project (enter the project name, select the specific location of the project in the filesystem).

It then creates a new eclipse project in your workspace. Then the second bullet of the documentation is ok, guiding you to convert the eclipse project into an eclipse Leiningen project. 



regards
John

On Saturday, July 7, 2012 5:52:47 AM UTC+1, johnbendi wrote:
I just installed ccw 0.9.0-STABLE and I didn't have any success doing File->Import->ImportExisting... , I get the error message that "No projects are found to import". Do I still need the additional steps of lein-eclipse as mentioned in some other thread?

regards
John

--
You received this message because you are subscribed to the Google Groups "counterclockwise-users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/clojuredev-users/-/S4CGgxB-ynIJ.

Laurent PETIT

unread,
Jul 9, 2012, 5:07:33 PM7/9/12
to clojured...@googlegroups.com
Please let us know if the information I provided are helping you.

Cheers,

Laurent

2012/7/8 Laurent PETIT <lauren...@gmail.com>:

Piotr Tambala

unread,
Jul 10, 2012, 3:40:43 AM7/10/12
to clojured...@googlegroups.com
Hi Laurent,

I had the same problem, and yes your solution works.
So the doc should be:

    If you have a ".project" file in the root directory:
    - Import it as a "general" project via the File > Import > Existing project into Workspace wizard.
    If you don't have a ".project" file in the root directory:
    - Create a new project via File > New > General > Project

    And then:
    - Once referenced as an Eclipse [...]

Cheers,
Piotr

BTW: Thanks for CCW, it rocks.

Laurent PETIT

unread,
Jul 13, 2012, 5:49:16 PM7/13/12
to clojured...@googlegroups.com
2012/7/10 Piotr Tambala <piotr....@gmail.com>:
OK, documentation updated, thanks!
>
> Cheers,
> Piotr
>
> BTW: Thanks for CCW, it rocks.

:-D

>
> --
> You received this message because you are subscribed to the Google Groups
> "counterclockwise-users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/clojuredev-users/-/Rc5_7HIcXZwJ.
Reply all
Reply to author
Forward
0 new messages