The problem is that I don't get those choices when I am editing the existing clojure and contrib jars added by ccw. In that scenario they seem to be treated as external jars.

Stu

Hi,

2010/3/12 Stuart Halloway <stuart.hallo...@gmail.com>:
When I update the classpath to point to Clojure 1.2 jars in Eclipse, the .classpath file has full paths, which doesn't seem very friendly to scms or teams. Is there a setting somewhere that makes Eclipse do the right thing?

There are several ways of adding dependencies to a java (and so
clojure/ccw) project in Eclipse.
I guess you chose the most "platform-specific" one. Try others :-)

"Add jars" : will reference the jar relative to the "concept" of
project as known by Eclipse => very portable, but your jar must be
visible from Eclipse (generally in a sub folder of your project)
"Add external jars" : you can reference by absolute path a jar which
can be anywhere in your filesystem (only relevant if you have the same
fs layout between dev environments)
"Add Variable" : you can define a point of indirection named variable.
The variable will be configured once per Eclipse instance (per dev
environment), and so you can share things more easily. Interesting
when the jar will not be in the Eclipse project, more portable than
"Add external jars"
etc.

If you used "Add jars", you should not have a full fs path.

HTH,

--
Laurent

And out of curiosity: under what circumstances would saving full paths for
dependencies stored within a project *ever* be a reasonable default?

Ask the Eclipse guys :)

--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@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+unsubscr...@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 post to this group, send email to clojure@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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to