eclipse - handle OS specific .classpath file in a hg repo -
i have java project in eclipse , version-control mercurial repo. several environments (linux/windows/macosx) i'm working same repo.
problem in .classpath file i've 1 line specific macosx environment , differs other environments. still don't want put .classpath ignore flag in version control.
i'm thinking of e.g. mercurial extension on macosx environment tell mercurial ignore 1 specific line in .classpath still sync else.
for other environments (linux/windows) it's important no changes needed here.
one workflow-changing approach switch project use maven manage classpath , dependencies. can use m2eclipse automatically import eclipse on each machine , automatically generate appropriate project settings , classpath.
Comments
Post a Comment