shdqcdsn / counterclockwise

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

create a leiningen project from a "normal" clojure project, without manually adding a project.clj to the project? #481

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the option "Convert to Leiningen Project" doesn't appear in the 
Configure menu on a clojure project without project.clj. I think it should. 
I expect CCW to create a default project.clj with some basic settings, if the 
user hasn't provided one yet, when selecting "convert to leiningen".

What should happen to the already added dependencies (like clojure.jar and 
clojure-src.jar), should they be ignored?

Original issue reported on code.google.com by michielb...@gmail.com on 10 Dec 2012 at 9:51

GoogleCodeExporter commented 9 years ago
My take :
- the project.clj should have the same artifact id as the project, and an empty 
group id ? (tho I don't consider it a good practice to not have a group id)
- maybe some dependencies that are on the classpath could be inspected for meta 
data so that they could be added as deps ? (special treatment for clojure.jar ?)
- the dependencies that could not be recognized would stay in the classpath ?

Original comment by laurent....@gmail.com on 10 Dec 2012 at 10:05

GoogleCodeExporter commented 9 years ago
- sounds ok
- this sounds great, it should work for at least the jar files that get added 
on a standard ccw/clojure project
- that's sounds reasonable, it's up to the user to move them into project.clj 
and remove them from the classpath then

Original comment by michielb...@gmail.com on 10 Dec 2012 at 10:12

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 10 Dec 2012 at 10:23

GoogleCodeExporter commented 9 years ago

Original comment by laurent....@gmail.com on 22 May 2014 at 9:32