Skip to content

Commit c4a7bbe

Browse files
committed
Updated JPetstore instructions to the new repo in Git
1 parent 1d2898b commit c4a7bbe

File tree

3 files changed

+11
-56
lines changed

3 files changed

+11
-56
lines changed

src/site/es/xdoc/sample.xml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -406,22 +406,7 @@ public interface OrderMapper {
406406

407407
<subsection name="Running JPetStore">
408408
<p>Te prenguntarás. ¿Esto funciona? ¡Sí! Ejecutémoslo.</p>
409-
<p>Asumiendo que tienes un PC limpio estos son los pasos que debes seguir para ejecutar el ejemplo en Tomcat 7 y NetBeans 7.</p>
410-
<ul>
411-
<li>Descarga e instala NetBeans 7.x version JEE con Tomcat 7</li>
412-
<li>En NetBeans selecciona Team/Subversion/Checkout</li>
413-
<li>Introduce "http://mybatis.googlecode.com/svn" como repository URL</li>
414-
<li>Introduce "sub-projects/jpetstore-6/trunk" como remote repository folder</li>
415-
<li>Introduce un nombre de directorio para el proyecto, en mi caso "/home/eduardo/NetBeansProjects/jpetstore6"</li>
416-
<li>NetBeans preguntará "A new project was found do you want to open it". Pulsa ok</li>
417-
<li>Aparecerá un nuevo proyecto llamado "JPetStore Demo 6" en la pestaña de projectos de NetBeans</li>
418-
<li>Botón derecho en el proyecto y pulsa "Run"</li>
419-
<li>Selecciona el servidor Tomcat 7</li>
420-
<li>¡¡La home de JPetStore debería mostrarse!!</li>
421-
</ul>
422-
<p>Y estos son los pasos para ejecutarlo en Eclipse. El proceso es un poco más largo porque Eclipse no trae
423-
soporte de SVN ni Maven de serie y no dispone de una opción para instalar Tomcat.
424-
</p>
409+
<p>Asumiendo que tienes un PC limpio estos son los pasos que debes seguir para ejecutar el ejemplo en Tomcat 7 y Eclipse.</p>
425410
<ul>
426411
<li>Descarga e instala un JDK 6 o posterior</li>
427412
<li>Descarga y descomprime Eclipse</li>
@@ -430,8 +415,8 @@ public interface OrderMapper {
430415
<li>En eclipse, ve a Help/Eclipse Marketplace</li>
431416
<li>Instala m2e plugin (maven)</li>
432417
<li>Instala m2e-wtp plugin (maven for wtp)</li>
433-
<li>Instala subclipse (subversion)</li>
434-
<li>Ve a la pestaña SVN</li>
418+
<li>Instala Egit (git)</li>
419+
<li>Ve a la pestaña Git</li>
435420
<li>En SVN añade un nuevo repositorio "http://mybatis.googlecode.com/svn"</li>
436421
<li>En SVN ve al directorio "sub-projects/jpetstore-6/trunk" </li>
437422
<li>Botón derecho de ratón y selecciona "Check out", nombra el proyecto como "jpetstore"</li>

src/site/ja/xdoc/sample.xml

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -366,21 +366,8 @@ public interface OrderMapper {
366366

367367
<subsection name="JPetStore の実行">
368368
<p>本当に動くの?と思うかも知れません。もちろんです! 実際に試してみましょう。/</p>
369-
<p>クリーンなコンピューターを持っているとして、NetBeans 7 上の Tomcat 7 を使ってサンプルを実行する手順を下記に示します。
369+
<p>クリーンなコンピューターを持っているとして、Eclipse 上の Tomcat 7 を使ってサンプルを実行する手順を下記に示します。
370370
</p>
371-
<ul>
372-
<li>NetBeans 7.x JEE バージョンと Tomcat 7 をダウンロードしてインストールします。</li>
373-
<li>NetBeans で、 Team/Subversion/Checkout を選択します。</li>
374-
<li>リポジトリ URL として "http://mybatis.googlecode.com/svn" を入力します。</li>
375-
<li>リモートリポジトリフォルダとして "sub-projects/jpetstore-6/trunk" を入力します。</li>
376-
<li>プロジェクトフォルダ名を指定します。私の環境では "/home/eduardo/NetBeansProjects/jpetstore6" です。</li>
377-
<li>"A new project was found do you want to open it" というダイアログが表示されたら OK を押します。</li>
378-
<li>NetBeans の Project タブに "JPetStore Demo 6" という名前の新しいプロジェクトが表示されるはずです。</li>
379-
<li>プロジェクトを右クリックして "Run" を選択します。</li>
380-
<li>Tomcat 7 サーバーを選択します。</li>
381-
<li>JPetStore のホームページが表示されるはずです!</li>
382-
</ul>
383-
<p>そして、下記が Eclipse での手順になります。Eclipse には内蔵の SVN, Maven サポートが無く、Tomcat をインストールするオプションも無いので若干ステップ数が多くなっています。</p>
384371
<ul>
385372
<li>JDK 6 以降をダウンロードしてインストールします。</li>
386373
<li>Eclipse をダウンロードして解凍します。</li>
@@ -389,10 +376,8 @@ public interface OrderMapper {
389376
<li>Help/Eclipse Marketplace を選択します。</li>
390377
<li>m2e plugin (maven) をインストールします。</li>
391378
<li>m2e-wtp plugin (maven for wtp) をインストールします。</li>
392-
<li>subclipse plugin (subversion) をインストールします。</li>
393-
<li>SVN タブを開きます。</li>
394-
<li>新規のリポジトリ "http://mybatis.googlecode.com/svn" を追加します。</li>
395-
<li>"sub-projects/jpetstore-6/trunk" へ移動します。</li>
379+
<li>EGit plugin (git) をインストールします。</li>
380+
<li>新規のリポジトリ "https://github.com/mybatis/jpetstore-6.git" を追加します。</li>
396381
<li>右クリックして "Check out" を選択し、プロジェクト名 "jpetstore" を入力します。</li>
397382
<li>Java EE タブを開きます。</li>
398383
<li>jpetstore プロジェクトを右クリックして "Configure/Convert to Maven Project" を選択します。</li>

src/site/xdoc/sample.xml

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -395,22 +395,8 @@ public interface OrderMapper {
395395
<subsection name="Running JPetStore">
396396
<p>You may ask. Does all this work? Yes it does! Let's run it.</p>
397397
<p>Let's assume you have a clean computer. These are the steps you should follow to
398-
have the sample running on Tomcat 7 with NetBeans 7:
398+
have the sample running on Tomcat 7 with Eclipse:
399399
</p>
400-
<ul>
401-
<li>Download and install NetBeans 7.x JEE version with Tomcat 7</li>
402-
<li>In NetBeans select Team/Subversion/Checkout</li>
403-
<li>Enter "http://mybatis.googlecode.com/svn" as repository URL</li>
404-
<li>Enter "sub-projects/jpetstore-6/trunk" as remote repository folder</li>
405-
<li>Enter your projects folder name, in my case "/home/eduardo/NetBeansProjects/jpetstore6"</li>
406-
<li>NetBeans will prompt "A new project was found do you want to open it". Press ok</li>
407-
<li>A new project named "JPetStore Demo 6" will be shown in NetBeans projects tab</li>
408-
<li>Right click on jpetstore project and select "Run"</li>
409-
<li>Select Tomcat 7 Server</li>
410-
<li>JPetStore home page should be shown!!</li>
411-
</ul>
412-
<p>These are the steps to run it in Eclipse. The process is a bit longer because Eclipse does not provide
413-
built-in SVN and maven support and does not provide an option to install Tomcat.</p>
414400
<ul>
415401
<li>Download and install a JDK 6 or later</li>
416402
<li>Download and upzip Eclipse</li>
@@ -419,11 +405,10 @@ public interface OrderMapper {
419405
<li>In eclipse, go to Help/Eclipse Marketplace</li>
420406
<li>Install m2e plugin (maven)</li>
421407
<li>Install m2e-wtp plugin (maven for wtp)</li>
422-
<li>Install subclipse plugin (subversion)</li>
423-
<li>Go to SVN tab</li>
424-
<li>In SVN add a new repository "http://mybatis.googlecode.com/svn"</li>
425-
<li>In SVN go to "sub-projects/jpetstore-6/trunk" </li>
426-
<li>Mouse right click and select "Check out", name the project as "jpetstore"</li>
408+
<li>Install EGit plugin (git)</li>
409+
<li>Go to Git tab</li>
410+
<li>Add a new repo from https://github.com/mybatis/jpetstore-6.git</li>
411+
<li>Select working directory, right click and select Import Projects</li>
427412
<li>Go to Java EE tab</li>
428413
<li>Right click on jpetstore project and select "Configure/Convert to Maven Project"</li>
429414
<li>Right click on jpetstore project and select "run on server"</li>

0 commit comments

Comments
 (0)