<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><a name="_MailEndCompose"><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Hi Curtis,<o:p></o:p></span></a></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>This email was sent a little while ago and I am only getting around responding.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>When using Eclipse EGit and importing the project in eclipse, I am not quite sure that M2E plugin is actually used to load the project. However, once the project is imported in Eclipse using EGit plugin, I was able to run the &#8220;Maven &gt;Enable Dependency Management&#8221; after a right click on the folder which seem to run properly.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Everything seem to have been configured correctly, except for the fact that the projects are not flagged as team projects and also I did not seem to see that: &#8220;it automatically switches between Project and Library (JAR) build path entries when dependent projects are opened and closed&#8221;, although perhaps something is perhaps not configured perfectly on my end.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Best,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Ghislain Bonamy, PhD<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>__________________________________________<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Research Investigator<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>G</span></b><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>enomic Institute of the<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>N</span></b><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>ovartis Research<o:p></o:p></span></p><p class=MsoNormal><b><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>F</span></b><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>oundation<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Department of Informatics, room C117<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>10675 John Jay Hopkins Drive<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>San Diego CA 92121<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>USA<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>+1 (858) 812-1534 (Work &amp; Fax)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>+1 (757) 941-4194 (Home)<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'>+1 (858) 354-7388 (Cell)<o:p></o:p></span></p><p class=MsoNormal><a href="www.gnf.org"><span style='font-size:11.0pt;font-family:"Arial","sans-serif"'>www.gnf.org</span></a><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Arial","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> ome-devel-bounces@lists.openmicroscopy.org.uk [mailto:ome-devel-bounces@lists.openmicroscopy.org.uk] <b>On Behalf Of </b>Curtis Rueden<br><b>Sent:</b> Tuesday, May 31, 2011 11:55 PM<br><b>To:</b> OME-devel mailing list<br><b>Subject:</b> [ome-devel] Eclipse metadata in bio-formats.git<o:p></o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Hi everyone,<br><br>This is a question for those who use Eclipse to develop Bio-Formats code.<br><br>Recently, I added pom.xml files to the Bio-Formats source tree, so that Maven can function as a parallel build system. This has the nice side effect that it is very easy to import those projects into Eclipse, using the m2eclipse plugin. This plugin takes care of generating Eclipse metadata files (.classpath, .project, and .settings/*) to match the POM's metadata, and keeps it up to date as project dependencies change. In particular, it automatically switches between Project and Library (JAR) build path entries when dependent projects are opened and closed, which is a very nice feature.<br><br>Unfortunately, bio-formats.git already has Eclipse metadata committed to the repository. When using m2eclipse with Bio-Formats, these metadata files are overwritten, and Git sees a slew of changes in the working copy. While it is possible locally to instruct Git to ignore such changes (see <a href="http://www.pagebakers.nl/2009/01/29/git-ignoring-changes-in-tracked-files/">http://www.pagebakers.nl/2009/01/29/git-ignoring-changes-in-tracked-files/</a>), my preference would be to remove the Eclipse metadata files from Git altogether, and suggest that people use the m2eclipse plugin to develop Bio-Formats from within Eclipse. This solution has the added benefit that we no longer need to keep our dependencies in sync between the Ant build.properties files, the Maven pom.xml files, and the Eclipse .classpath files, but rather only between Ant and Maven.<br><br>What do you think?<br><br>Thanks,<br>Curtis<o:p></o:p></p></div></body></html>