Re: Project folder name in Eclipse .classpath file

Daniel Dekany <[email protected]> Fri, 15 Aug 2014 21:39:53 +0200
Newsgroups gmane.comp.web.freemarker.devel
Message-ID <[email protected]>
Mine also have "workspace_loc%3AFreeMarker-master%2Fivysettings.xml"
here, and the folder name is "freemarker" on my computer, and it
works. "FreeMarker-master" is just the Eclipse project name after all
(which of course shouldn't be changed). So I don't know why it didn't
work there. Did you follow the instructions in the README.txt too?

As of committing these... well, I hoped it mostly just works if
someone checks the project out, and he also has the Ivy plugin
installed. Mostly... And if not, then perhaps it's still easier than
setting up everything from scratch. Also Eclipse files store stuff
like Java compiler preferences, PMD setting (not in FM yet though...),
etc., which are really the part project "policy". So that's why I
prefer to keep them in the SCM. But if it's too unportable then maybe
I should find out something else.

(I also want to get rid of Ant/Ivy one day... if it can just use
Maven, that will help a lot for contributors.)

-- 
Thanks,
 Daniel Dekany


Thursday, August 14, 2014, 3:54:43 AM, Woonsan Ko wrote:

> Hi,
>
> Because I've just started working with Ivy, I don't know what the best
> practices are with regard to Eclipse specific files such as .classpath
> and .project file.
> I had to struggle with the situation that my eclipse couldn't resolve
> dependencies properly. The problem seems to be related to the following
> in .classpath file:
>
> <classpathentry kind="con"
> path="...%24%7Bworkspace_loc%3AFreeMarker-master%2Fivysettings.xml%7D..."/>
>
> If I replace "Freemarker-master" by my project folder name (e.g,
> "freemarker"), then it starts working fine.
> But I wonder if the .classpath file should be maintained this way in
> scm. I usually add .classpath and .project to ignore file list and let
> the eclipse maven plugin resolve/generate those automatically.
> Is there a better Ivy way or should I use the same project folder name
> in .classpath?
>
> Thanks in advance,
>
> Woonsan
>


------------------------------------------------------------------------------