Author: tfischer
Date: Sat Sep  8 03:18:28 2012
New Revision: 1382229

URL: http://svn.apache.org/viewvc?rev=1382229&view=rev
Log:
Rewritten eclipse integration for hierarchical layout

Modified:
    
db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/developer-guide.xml

Modified: 
db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/developer-guide.xml
URL: 
http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/developer-guide.xml?rev=1382229&r1=1382228&r2=1382229&view=diff
==============================================================================
--- 
db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/developer-guide.xml
 (original)
+++ 
db/torque/torque4/trunk/torque-site/src/site/xdoc/developer-info/developer-guide.xml
 Sat Sep  8 03:18:28 2012
@@ -55,20 +55,51 @@
       <subsection name="Eclipse integration">
         <p>
           Assuming you want to check out the project from eclipse:
-          Install the svn eclipse plugin of your choice (if you have not 
already done so) (foollowing description for subclipse)
-          create the repository location https://svn.apache.org/repos/asf
-          browse into the directory db/torque/torque4/trunk
-          right-click and "checkout...", choose "checkout as new project in 
the workspace" and name the project "torque4"
-          In command line, change into the torque4 directory you just checked 
out and run ""
-          <code>mvn eclipse:configure-workspace install eclipse:clean 
eclipse:eclipse</code>.
-          Change into ../torque-test and run 
-          <code>mvn -Pmysql eclipse:clean eclipse:eclipse</code>.
-          Then start eclipse, and open the directoy you checked out from svn
-          as eclipse workspace. Create the projects "torque-runtime", 
-          "torque-maven-parent", "maven-torque-plugin", "torque-generator"
-          "torque-templates", "torque-site", "torque-tutorial" and 
"torque-test"
-          (the contents of the projects are already in the workspace). That's 
it.
         </p>
+        <ul>
+          <li>
+            Install the svn eclipse plugin of your choice (if you have not 
already done so) (the following description applies for subclipse)
+          </li>
+          <li>
+            Create the repository location https://svn.apache.org/repos/asf
+          </li>
+          <li>
+            Browse into the directory db/torque/torque4/trunk
+          </li>
+          <li>
+            Right-click and "checkout...", choose "checkout as new project in 
the workspace" and name the project "torque4".
+          </li>
+          <li>
+            Right-click "delete" on the torque4 project in the package 
explorer view but then do not check "delete project on disk".
+            This step is needed because eclipse does not import projects 
inside an existing project.
+          </li>
+        </ul>
+        From here on, the steps are the same whether you checked out from 
command line or from eclipse. If you check out from command line, 
+        the whole torque4 folder should be checked out in the future workspace.
+        <ul>
+          <li>
+            In command line, change into the torque4 directory you just 
checked out and run 
+            <code>mvn eclipse:configure-workspace install eclipse:clean 
eclipse:eclipse</code>.
+            then delete the .project file in this directory but not in the 
subdirectories (otherwise the following import will not work).
+          </li>
+          <li>
+            In eclipse again, click File -> Import... -> General -> Existing 
projects into workspace and choose the torque4 folder as root directory.
+            Then you should see the projects "torque-ant-tasks", 
"torque-generator", "torque-maven-plugin", "torque-runtime", 
"torque-templates", "torque-test".
+          </li>
+          <li>
+            Click file -> New -> Project... -> General -> Project, enter 
"torque-site" as project name, 
+            deselect the checkbox "use default project location" and choose 
the torque4/torque-site folder as project location.
+          </li>
+          <li>
+            In the shell again, run "mvn eclipse:eclipse" again to restore the 
deleted .project file in the torque4 directory.
+          </li>
+          <li>
+            In eclipse, Click file -> New -> Project... -> General -> Project, 
+            enter "torque4" as project name and click "Finish".
+            By now, you should see the projects "torque-ant-tasks", 
"torque-generator", "torque-maven-plugin", "torque-runtime", "torque-site", 
"torque-templates", "torque-test" and torque4 in your eclipse workspace, with 
the torque4 project containing all the other projects.
+            That's it.
+          </li>
+        </ul>
       </subsection>
     </section>
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to