{"id":1281,"date":"2013-04-14T12:19:25","date_gmt":"2013-04-14T12:19:25","guid":{"rendered":"http:\/\/blog.milamberspace.net\/?p=1281"},"modified":"2013-04-14T12:19:25","modified_gmt":"2013-04-14T12:19:25","slug":"installation-du-referentiel-svn-du-projet-jmeter-dans-eclipse-et-configuration-pour-le-lancement-de-jmeter","status":"publish","type":"post","link":"https:\/\/blog.milamberspace.net\/index.php\/2013\/04\/14\/installation-du-referentiel-svn-du-projet-jmeter-dans-eclipse-et-configuration-pour-le-lancement-de-jmeter-1281.html","title":{"rendered":"Installation du r\u00e9f\u00e9rentiel SVN du projet JMeter dans Eclipse et configuration pour le lancement de JMeter"},"content":{"rendered":"<p>Si vous souhaitez vous lancer dans le d\u00e9veloppement de nouvelles fonctionnalit\u00e9s ou tout simplement corriger une anomalie sur JMeter, voici une petite proc\u00e9dure pour l&rsquo;installation du r\u00e9f\u00e9rentiel SVN publique du projet dans votre Eclipse, puis les premi\u00e8res \u00e9tapes indispensables pour son lancement depuis Eclipse.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Pr\u00e9-requis\u00a0:<\/span><\/strong><br \/>\nEclipse Indigo (mais les versions suivantes doivent fonctionner aussi bien sur)<!--more--><\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_0021.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1284\" style=\"border: 1px solid black;\" title=\"Eclipse Indigo\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_0021.png\" alt=\"\" width=\"587\" height=\"226\" \/><\/a><\/p>\n<p>Avec les plugins SVN (ici, j&rsquo;utilise Subversive SVN + SVNKit):<\/p>\n<p style=\"text-align: center;\"><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_0011.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1285\" style=\"border: 1px solid black;\" title=\"SVN \" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_0011.png\" alt=\"\" width=\"612\" height=\"76\" \/><\/a><\/p>\n<p>Aller dans la perspective <strong>SVN Repository Exploring<\/strong> (menu <strong>Window &gt; Open Perspective<\/strong>)<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_003.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1286\" style=\"border: 1px solid black;\" title=\"Ajour un r\u00e9f\u00e9rentiel SVN\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_003.png\" alt=\"\" width=\"730\" height=\"171\" \/><\/a><\/p>\n<p>Cliquer sur le bouton <strong>Add a repository<\/strong>.<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_004.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1287\" style=\"border: 1px solid black;\" title=\"Formulaire SVN\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_004.png\" alt=\"\" width=\"528\" height=\"630\" \/><\/a><\/p>\n<p>Remplir le champ <strong>URL<\/strong> par\u00a0: <a href=\"http:\/\/svn.apache.org\/repos\/asf\/jmeter\/trunk\">http:\/\/svn.apache.org\/repos\/asf\/jmeter\/trunk<\/a><br \/>\nPuis cliquer sur <strong>Finish<\/strong>.<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Workspace-1_005.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1290\" style=\"border: 1px solid black;\" title=\"Check Out\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Workspace-1_005.png\" alt=\"\" width=\"629\" height=\"365\" \/><\/a><\/p>\n<p>Dans la vue <strong>SVN Repositories<\/strong>, s\u00e9lectionner le d\u00e9p\u00f4t JMeter, puis avec le bouton droit de la souris, menu contextuel <strong>Find\/Check Out As&#8230;<\/strong><\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_0061.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1289\" style=\"border: 1px solid black;\" title=\"Assistant Projet\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_0061.png\" alt=\"\" width=\"701\" height=\"502\" \/><\/a><\/p>\n<p>Options par d\u00e9faut, puis bouton <strong>Finish<\/strong>.<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_007.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1291\" style=\"border: 1px solid black;\" title=\"Java Project\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_007.png\" alt=\"\" width=\"524\" height=\"502\" \/><\/a><\/p>\n<p>Choisir <strong>Java Project<\/strong>, puis le bouton <strong>Next<\/strong>.<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_026.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1292\" style=\"border: 1px solid black;\" title=\"Config projet\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_026.png\" alt=\"\" width=\"596\" height=\"672\" \/><\/a><\/p>\n<p>Saisir le nom du projet (ici\u00a0: JMeter-devel), JavaSE-1.6 (ou 7).<br \/>\n<span style=\"text-decoration: underline;\"><strong>Important\u00a0:<\/strong><\/span> dans la section <strong>Project layout<\/strong>, choisir <strong>Use project folder as root fors sources and class files<\/strong><\/p>\n<p>Puis le bouton <strong>Next<\/strong>.<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_027.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1293\" style=\"border: 1px solid black;\" title=\"Config 2\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_027.png\" alt=\"\" width=\"587\" height=\"645\" \/><\/a><\/p>\n<p>Bouton <strong>Finish<\/strong>.<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_028.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1294\" style=\"border: 1px solid black;\" title=\"Clic Yes\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_028.png\" alt=\"\" width=\"700\" height=\"260\" \/><\/a><\/p>\n<p>Cliquer sur <strong>Yes<\/strong> pour passer sur la perspective <strong>Java<\/strong>.<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_029.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1295\" style=\"border: 1px solid black;\" title=\"vue projet\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_029.png\" alt=\"\" width=\"399\" height=\"456\" \/><\/a><\/p>\n<p>La vue <strong>Package Explorer<\/strong> ressemble \u00e0 cela (ci-dessus).<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_030.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1296\" style=\"border: 1px solid black;\" title=\"eclipse.classpath\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_030.png\" alt=\"\" width=\"808\" height=\"427\" \/><\/a><\/p>\n<p>Recherche le fichier <strong>eclipse.classpath<\/strong>, double-clic pour l&rsquo;ouvrir.<\/p>\n<p>Via le menu <strong>Window &gt; Show view &gt; Navigator<\/strong>, ouvrir la vue <strong>Navigator<\/strong>.<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_031.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1297\" style=\"border: 1px solid black;\" title=\"classpath\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_031.png\" alt=\"\" width=\"925\" height=\"307\" \/><\/a><br \/>\nDedans rechercher le fichier<strong> .classpath<\/strong>, double-clic pour l&rsquo;ouvrir.<br \/>\nFaire un copier\/coller de <span style=\"text-decoration: underline;\"><strong>tout le contenu<\/strong><\/span> du fichier <strong>eclipse.classpath<\/strong> vers le fichier<strong> .classpath<\/strong> (rempla\u00e7ant le contenu existant).<\/p>\n<p>Enregistrer le fichier <strong>.classpath<\/strong> (Ctrl+s).<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_032.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1298\" style=\"border: 1px solid black;\" title=\"projet \" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_032.png\" alt=\"\" width=\"651\" height=\"331\" \/><\/a><\/p>\n<p>Revenir dans la vue <strong>Package Explorer<\/strong>. Cela doit ressembler \u00e0 la capture ci-dessus.<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_017.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1299\" style=\"border: 1px solid black;\" title=\"Ant task 1\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_017.png\" alt=\"\" width=\"842\" height=\"474\" \/><\/a><\/p>\n<p>Rechercher le fichier<strong> build.xml<\/strong>, puis bouton droit de la souris, menu contextuel, <strong>Run As &gt; Ant Build&#8230;<\/strong><\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_018.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1300\" style=\"border: 1px solid black;\" title=\"t\u00e2che download_jars\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_018.png\" alt=\"\" width=\"718\" height=\"664\" \/><\/a><\/p>\n<p>Dans la nouvelle fen\u00eatre ci-dessus, saisir le nom \u00e0 <strong>JMeter-devel [download_jars]<\/strong><br \/>\nDans la liste des t\u00e2ches possibles\u00a0:<\/p>\n<ol>\n<li>D\u00e9cocher la t\u00e2che <strong>install<\/strong><\/li>\n<li>Cocher la t\u00e2che <strong>download_jars<\/strong><\/li>\n<\/ol>\n<p>Puis cliquer sur le bouton <strong>Apply<\/strong>, puis le bouton <strong>Run<\/strong>.<\/p>\n<p>Attendre le temps de t\u00e9l\u00e9chargement.<\/p>\n<p>Revenir sur le projet (en s\u00e9lectionnant son nom dans la vue <strong>Package Explorer<\/strong>), puis faire <strong>F5 (rafra\u00eechir)<\/strong><\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_020.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1303\" style=\"border: 1px solid black;\" title=\"Projet without error\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_020.png\" alt=\"\" width=\"410\" height=\"236\" \/><\/a><\/p>\n<p>Le projet doit ressembler \u00e0 la capture ci-dessus.<\/p>\n<p>Une nouvelle fois\u00a0:<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Workspace-1_016.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1306\" style=\"border: 1px solid black;\" title=\"Ant task2\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Workspace-1_016.png\" alt=\"\" width=\"750\" height=\"397\" \/><\/a><\/p>\n<p>Rechercher le fichier <strong>build.xml<\/strong>, puis bouton droit de la souris, menu contextuel, Run <strong>As &gt; Ant Build&#8230;<\/strong><\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_021.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1302\" style=\"border: 1px solid black;\" title=\"ant packages\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_021.png\" alt=\"\" width=\"715\" height=\"598\" \/><\/a><\/p>\n<p>Dans la nouvelle fen\u00eatre ci-dessus, saisir le nom \u00e0 <strong>JMeter-devel [packages]<\/strong><br \/>\nDans la liste des t\u00e2ches possibles\u00a0:<\/p>\n<ol>\n<li>D\u00e9cocher la t\u00e2che <strong>install<\/strong><\/li>\n<li>Cocher la t\u00e2che <strong>packages<\/strong><\/li>\n<\/ol>\n<p>Puis cliquer sur le bouton <strong>Apply<\/strong>, puis le bouton <strong>Run<\/strong>.<\/p>\n<p>Attendre la fin de la compilation.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Important\u00a0:<\/span><\/strong> \u00e0 la fin, s\u00e9lectionner le projet <strong>JMeter-devel<\/strong> (dans la vue P<strong>ackages Explorer<\/strong>), puis faire <strong>F5 (rafra\u00eechir)<\/strong><\/p>\n<p>Une nouvelle fois, s\u00e9lectionner le projet.<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Workspace-1_022.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1305\" style=\"border: 1px solid black;\" title=\"Java Appli\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Workspace-1_022.png\" alt=\"\" width=\"804\" height=\"585\" \/><\/a><\/p>\n<p>Bouton droit de la souris, menu contextuel, <strong>Run As &gt; Java Application<\/strong><\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_023.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1304\" style=\"border: 1px solid black;\" title=\"Config 3\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_023.png\" alt=\"\" width=\"722\" height=\"264\" \/><\/a><\/p>\n<p>Remplir le formulaire\u00a0:<\/p>\n<ul>\n<li><strong>Nom<\/strong>\u00a0: JMeter-devel<\/li>\n<li><strong>Main class\u00a0<\/strong>:\u00a0 org.apache.jmeter.NewDriver<\/li>\n<\/ul>\n<p>Aller sur l&rsquo;onglet Arguments\u00a0:<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_025.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1307\" style=\"border: 1px solid black;\" title=\"Arguments\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_025.png\" alt=\"\" width=\"751\" height=\"602\" \/><\/a><\/p>\n<p>Remplir\u00a0:<\/p>\n<ul>\n<li><strong>VM arguments\u00a0: <\/strong>-Xms512m -Xmx512m -XX:NewSize=128m -XX:MaxNewSize=128m -XX:MaxTenuringThreshold=2 -Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000 -XX:PermSize=64m -XX:MaxPermSize=128m -XX:+HeapDumpOnOutOfMemoryError -server<\/li>\n<li><strong>Working directory<br \/>\n<\/strong><\/p>\n<ul>\n<li><strong>Cocher :<\/strong> other<\/li>\n<li><strong>Valeur\u00a0:<\/strong> ${workspace_loc:JMeter-devel\/bin}<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>Faire <strong>Run<\/strong> ensuite pour lancer JMeter.<\/p>\n<p><a href=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_033.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1308\" style=\"border: 1px solid black;\" title=\"Apache JMeter\" src=\"http:\/\/blog.milamberspace.net\/wp-content\/uploads\/2013\/04\/Selection_033.png\" alt=\"\" width=\"894\" height=\"554\" \/><\/a><\/p>\n<p>Et voil\u00e0.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Si vous souhaitez vous lancer dans le d\u00e9veloppement de nouvelles fonctionnalit\u00e9s ou tout simplement corriger une anomalie sur JMeter, voici une petite proc\u00e9dure pour l&rsquo;installation du r\u00e9f\u00e9rentiel SVN publique du projet dans votre Eclipse, puis les premi\u00e8res \u00e9tapes indispensables pour son lancement depuis Eclipse. Pr\u00e9-requis\u00a0: Eclipse Indigo (mais les versions suivantes doivent fonctionner aussi bien &hellip; <a href=\"https:\/\/blog.milamberspace.net\/index.php\/2013\/04\/14\/installation-du-referentiel-svn-du-projet-jmeter-dans-eclipse-et-configuration-pour-le-lancement-de-jmeter-1281.html\" class=\"more-link\">Continuer la lecture de <span class=\"screen-reader-text\">Installation du r\u00e9f\u00e9rentiel SVN du projet JMeter dans Eclipse et configuration pour le lancement de JMeter<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,12,21,33],"tags":[327,330,297],"class_list":["post-1281","post","type-post","status-publish","format-standard","hentry","category-apache","category-developpement","category-eclipse","category-jmeter","tag-eclipse","tag-jmeter","tag-svn"],"_links":{"self":[{"href":"https:\/\/blog.milamberspace.net\/index.php\/wp-json\/wp\/v2\/posts\/1281","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.milamberspace.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.milamberspace.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.milamberspace.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.milamberspace.net\/index.php\/wp-json\/wp\/v2\/comments?post=1281"}],"version-history":[{"count":7,"href":"https:\/\/blog.milamberspace.net\/index.php\/wp-json\/wp\/v2\/posts\/1281\/revisions"}],"predecessor-version":[{"id":1313,"href":"https:\/\/blog.milamberspace.net\/index.php\/wp-json\/wp\/v2\/posts\/1281\/revisions\/1313"}],"wp:attachment":[{"href":"https:\/\/blog.milamberspace.net\/index.php\/wp-json\/wp\/v2\/media?parent=1281"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.milamberspace.net\/index.php\/wp-json\/wp\/v2\/categories?post=1281"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.milamberspace.net\/index.php\/wp-json\/wp\/v2\/tags?post=1281"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}