{"id":1791,"date":"2004-12-13T12:04:10","date_gmt":"2004-12-13T11:04:10","guid":{"rendered":"https:\/\/yvespeneveyre8e29bf869d.wordpress.com\/2004\/12\/13\/ant-cvs-superbes-outils-ant-cvs-great-tools\/"},"modified":"2004-12-13T12:04:10","modified_gmt":"2004-12-13T11:04:10","slug":"ant-cvs-superbes-outils-ant-cvs-great-tools","status":"publish","type":"post","link":"https:\/\/www.peneveyre.com\/en\/2004\/12\/13\/ant-cvs-superbes-outils-ant-cvs-great-tools\/","title":{"rendered":"ant, cvs, superbes outils &#8211; ant, cvs, great tools"},"content":{"rendered":"<p><P>Pour l&#8217;un de nos projets sous MacOS X, il &#233;tait devenu important de pouvoir disposer d&#8217;un syst&#232;me de build automatis&#233;. Le choix a bien &#233;videmment port&#233; sur ant, disponible <A href=\"http:\/\/ant.apache.org\/\">ici<\/A>. Tr&#232;s facile &#224; mettre en place, j&#8217;ai tout de m&#234;me d&#233;couvert une subtilit&#233; avec CVS et la commande export. Ma ligne de commande &#233;tait la suivant :<\/P><br \/>\n<P>cvs export -D 12\/10\/2004 MyModule<\/P><br \/>\n<P>J&#8217;ai effectu&#233; cette op&#233;ration le 10 d&#233;cembre (important). A cette date, j&#8217;avais ajout&#233; des ressources au projet, mais elles n&#8217;&#233;taient pas export&#233;es. En fait, la commande export n&#8217;exporte que les sources du jour d&#8217;avant ! Il aurait donc fallu que j&#8217;utilise :<\/P><br \/>\n<P>cvs export -D 12\/11\/2004 MyModule<\/P><br \/>\n<P>Cette petite subtilit&#233; n&#8217;est malheureusement pas <A href=\"https:\/\/www.cvshome.org\/\">document&#233;e<\/A>, ou en tout cas, je ne l&#8217;ai pas trouv&#233;e&#8230;<\/P><br \/>\n<P><EM>For one of the projects we have under MacOS X, it was important to put our project in a automatic build system. Obviously, the choice was to use ant, available <\/EM><A href=\"http:\/\/ant.apache.org\/\"><EM>here<\/EM><\/A><EM>. Very easy to deploy and use. Nevertheless, I discovered a little subtelties using the export command of CVS. The command line I used was the following :<\/EM><\/P><br \/>\n<P><EM>cvs export -D 12\/10\/2004 MyModule<\/EM><\/P><br \/>\n<P><EM>I typed this command on the 10th december (important). A this date, I added some resources to the project, but they were not exported. In fact, the export command does export only sources checked-in one day before ! What I had to use was :<\/EM><\/P><br \/>\n<P><EM>cvs export -D 12\/11\/2004 MyModule<\/EM><\/P><br \/>\n<P><EM>Unfortunately, this little trick is not <\/EM><A href=\"https:\/\/www.cvshome.org\/\"><EM>documented<\/EM><\/A><EM>, or not I did not found&#8230;<\/EM><\/P><\/p>\n","protected":false},"excerpt":{"rendered":"<p>La semaine derni??re, dans le cadre d&#8217;un projet sur MacOS X, j&#8217;ai pu mettre en place un syst??me de build avec ant. Last week, for a MacOS X project, I put in place a build system with ant.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-1791","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/posts\/1791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/comments?post=1791"}],"version-history":[{"count":0,"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/posts\/1791\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/media?parent=1791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/categories?post=1791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.peneveyre.com\/en\/wp-json\/wp\/v2\/tags?post=1791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}