MouseBIRN.EclipseSetup (r1.1 vs. r1.6)
Diffs

 <<O>>  Difference Topic EclipseSetup (r1.6 - 07 Feb 2008 - DarenLee)

META TOPICPARENT MouseBIRNProgrammers

Required Software

  1. Java SDK 1.5: http://java.sun.com/javase/downloads/index_jdk5.jsp
Line: 30 to 30

SVN Setup

  1. Request a SVN account (sysadm@loni.ucla.edu)
Changed:
<
<
  1. Source Code Repository root:
    1. svn+ssh://cvs.loni.ucla.edu/cvs/MouseBIRN
>
>
  1. Source Code Repositories: (see MBATProjectCheckoutFromSVNServer )
    1. svn+ssh://cvs.loni.ucla.edu/cvs/MouseBIRN/common
    2. svn+ssh://cvs.loni.ucla.edu/cvs/MouseBIRN/mbat
    3. svn+ssh://cvs.loni.ucla.edu/cvs/MouseBIRN/mbSearch

Eclipse Project Setup

Line: 56 to 58

    1. Select "Create project from existing source".
    2. Enter location of source code directory checked out from repository. Click Next.
    3. In the "Java Settings" wizard, change the "Default output folder" to $PROJECTNAME$/classes. Click Finish.
Changed:
<
<
  1. Configure Build Path (if necessary):
    1. In the "Package Explorer", right-click on the recently created project. Select "Build Path > Configure Build Path...".
    2. Click on "Add Folder".
    3. Under the "$PROJECTNAME$ > resources" tree view, select "mbat". Click OK.
>
>
  1. Configure Build Path for each project (mbat and mbSearch):
    1. Open Menu "Project > Properties" or in the "Package Explorer", right-click on the recently created project. Select "Build Path > Configure Build Path...".
    2. In the "Libraries" Tab, click on "Add External JARS". Navigate to the MouseBIRN?\common folder and select all the .jars. Click Open.

    1. Click OK to exit Build Path Wizard.
Line: 67 to 68

META FILEATTACHMENT Eclipse_Setup.jpg attr="h" comment="" date="1199407655" path="C:\Documents and Settings\dlee\My Documents\Eclipse_Setup.jpg" size="360784" user="dlee" version="1.1"
Changed:
<
<
META TOPICMOVED dlee date="1202410004" from="MouseBIRN.EclipseSVNInstallation" to="MouseBIRN.EclipseInstallation"
>
>
META TOPICMOVED dlee date="1202420950" from="MouseBIRN.EclipseInstallation" to="MouseBIRN.EclipseSetup"

 <<O>>  Difference Topic EclipseSetup (r1.5 - 07 Feb 2008 - DarenLee)

META TOPICPARENT MouseBIRNProgrammers

Required Software

  1. Java SDK 1.5: http://java.sun.com/javase/downloads/index_jdk5.jsp
Line: 30 to 30

SVN Setup

  1. Request a SVN account (sysadm@loni.ucla.edu)
Changed:
<
<
  1. Source Code Repositories:
    1. svn+ssh://cvs.loni.ucla.edu/cvs/map
    2. svn+ssh://cvs.loni.ucla.edu/cvs/map_search
    3. svn+ssh://cvs.loni.ucla.edu/cvs/aidb
    4. svn+ssh://cvs.loni.ucla.edu/cvs/map_zviewer/
>
>
  1. Source Code Repository root:
    1. svn+ssh://cvs.loni.ucla.edu/cvs/MouseBIRN

Eclipse Project Setup

Line: 66 to 63

    1. Click OK to exit Build Path Wizard.
Deleted:
<
<

svn+ssh on command line (Windows)

  • Required Software
    1. PuTTY?, Plink, Pageant: http://www.chiark.greenend.org.uk/~sgtatham/putty/
    2. svn.exe: http://subversion.tigris.org
  • Installation
    1. Setup ssh (see http://tortoisesvn.net/ssh_howto)
    2. Setup Pageant: add private key (ie: key.ppk) [Pageant automatically enters your ssh key password]
    3. Verify ssh connection:
               plink user@server
      

      If all goes well, you should be logged on without having to enter password.

    4. Configure subversion to use plink for "svn+ssh". In the ${APPDATA}\Subversion\config file, under the [tunnels] section add (must use slash (/)):
               ssh = /PATH/TO/plink.exe
      
    5. Verify svn+ssh:
               svn list svn+ssh://user@host/$REPO_DIR
      

      If all goes well, you should see the contents of the repository.

    6. Pageant must be running so for convenience you can add it to your startup programs as:
               \\PATH\TO\pageant.exe \\PATH\TO\key.ppk
      

META FILEATTACHMENT Eclipse_Setup.jpg attr="h" comment="" date="1199407655" path="C:\Documents and Settings\dlee\My Documents\Eclipse_Setup.jpg" size="360784" user="dlee" version="1.1"
Added:
>
>
META TOPICMOVED dlee date="1202410004" from="MouseBIRN.EclipseSVNInstallation" to="MouseBIRN.EclipseInstallation"

 <<O>>  Difference Topic EclipseSetup (r1.4 - 06 Feb 2008 - DarenLee)

META TOPICPARENT MouseBIRNProgrammers

Required Software

  1. Java SDK 1.5: http://java.sun.com/javase/downloads/index_jdk5.jsp
Line: 72 to 72

    1. svn.exe: http://subversion.tigris.org
Changed:
<
<
    1. Setup Pageant: add private key (ie: key.ppk)
>
>
    1. Setup Pageant: add private key (ie: key.ppk) [Pageant automatically enters your ssh key password]

    1. Verify ssh connection:
               plink user@server
      
Line: 87 to 87

svn list svn+ssh://user@host/$REPO_DIR

If all goes well, you should see the contents of the repository.

Added:
>
>
    1. Pageant must be running so for convenience you can add it to your startup programs as:
               \\PATH\TO\pageant.exe \\PATH\TO\key.ppk
      


 <<O>>  Difference Topic EclipseSetup (r1.3 - 25 Jan 2008 - DarenLee)

META TOPICPARENT MouseBIRNProgrammers

Required Software

  1. Java SDK 1.5: http://java.sun.com/javase/downloads/index_jdk5.jsp
Line: 67 to 67

svn+ssh on command line (Windows)

Changed:
<
<
  1. Setup ssh: http://tortoisesvn.net/ssh_howto http://tortoisesvn.net/ssh_howto
>
>

  1. Verify ssh connection:
Changed:
<
<

plink -i \\PATH\TO\key.ppk user@server

(if all goes well, you should be logged on without having to enter password)

  1. Configure subversion to use plink for "svn+ssh". In the ${APPDATA}\Subversion\config file, under the [tunnels] section add:

    ssh=\\PATH\TO\plink.exe -i \\PATH\TO\YOUR\key.ppk

>
>
         plink user@server

If all goes well, you should be logged on without having to enter password.

    1. Configure subversion to use plink for "svn+ssh". In the ${APPDATA}\Subversion\config file, under the [tunnels] section add (must use slash (/)):
               ssh = /PATH/TO/plink.exe
      
    2. Verify svn+ssh:
               svn list svn+ssh://user@host/$REPO_DIR
      

      If all goes well, you should see the contents of the repository.



 <<O>>  Difference Topic EclipseSetup (r1.2 - 25 Jan 2008 - DarenLee)

META TOPICPARENT MouseBIRNProgrammers

Required Software

  1. Java SDK 1.5: http://java.sun.com/javase/downloads/index_jdk5.jsp
Line: 66 to 66

    1. Click OK to exit Build Path Wizard.
Added:
>
>

svn+ssh on command line (Windows)

  1. Setup ssh: http://tortoisesvn.net/ssh_howto http://tortoisesvn.net/ssh_howto
  2. Verify ssh connection:

    plink -i \\PATH\TO\key.ppk user@server

    (if all goes well, you should be logged on without having to enter password)

  3. Configure subversion to use plink for "svn+ssh". In the ${APPDATA}\Subversion\config file, under the [tunnels] section add:

    ssh=\\PATH\TO\plink.exe -i \\PATH\TO\YOUR\key.ppk


Deleted:
<
<

DarenLee? - 03 Jan 2008


META FILEATTACHMENT Eclipse_Setup.jpg attr="h" comment="" date="1199407655" path="C:\Documents and Settings\dlee\My Documents\Eclipse_Setup.jpg" size="360784" user="dlee" version="1.1"

 <<O>>  Difference Topic EclipseSetup (r1.1 - 04 Jan 2008 - DarenLee)
Line: 1 to 1
Added:
>
>
META TOPICPARENT MouseBIRNProgrammers

Required Software

  1. Java SDK 1.5: http://java.sun.com/javase/downloads/index_jdk5.jsp
  2. Java3D: http://java.sun.com/products/java-media/3D/downloads/index.html
  3. Eclipse Europa: http://www.eclipse.org/downloads/

Subclipse Installation (SVN Client for Eclipse)

  1. Start Eclipse.
  2. Open Menu "Help > Software updates > Find and install..."
  3. Select "Search for new features to install". Click Next.
  4. Select the Europa discovery site and the SubEclipse? update site (add the SubEclipse? site via 'New Remote Site' if it isn't present http://subclipse.tigris.org/update_1.2.x/ ). Click Finish.
  5. Select the features to install:

    MBAT.jpg

  6. Under the "Europa Discovery Site" tree view, select:
    1. Database Development
    2. Enabling Features
    3. Graphical Editors and Frameworks
    4. Java Development
    5. Models and Model Development
    6. Other Tools > Buckminister - Core (Incubation)
    7. Web and JEE Development
    8. (DO NOT INSTALL Mylyn)
  7. Under the "Subclipse 1.2x (Eclipse 3.2+)" tree view, select only:
    1. Buckminister - Subclipse support
  8. Click Next and complete the wizard.

SVN Setup

  1. Request a SVN account (sysadm@loni.ucla.edu)
  2. Source Code Repositories:
    1. svn+ssh://cvs.loni.ucla.edu/cvs/map
    2. svn+ssh://cvs.loni.ucla.edu/cvs/map_search
    3. svn+ssh://cvs.loni.ucla.edu/cvs/aidb
    4. svn+ssh://cvs.loni.ucla.edu/cvs/map_zviewer/

Eclipse Project Setup

  1. Enable SVNKit:
    1. Open Menu "Windows > Preference".
    2. In the tree view, navigate to "Team > SVN".
    3. Under "SVN interface", select "SVNKIT (Pure Java)".
    4. Click OK.
  2. Checkout repository:
    1. Open Menu "New > Other"
    2. Select "SVN > Checkout Projects from SVN". Click Next.
    3. Select "Create a new repository location". Click Next.
    4. For the URL, enter one of the source code repositories. Click Next.
    5. If prompted, enter SSH Credentials. Click OK.
    6. Select folder to checkout (usually trunk). Click Next.
    7. Under "Choose how to checkout folder trunk", select "Checkout as project in workspace". Enter a "Project name".
    8. Click Next. Click Finish.
  3. Configure Package Settings:
    1. In the "Package Explorer", right-click on the recently created project. Select "Delete". Select "Do not delete contents". Select "Yes".
    2. Open Menu "File > New > Java Project".
    3. Enter a "Project name" (referenced in this document as $PROJECTNAME$).
    4. Select "Create project from existing source".
    5. Enter location of source code directory checked out from repository. Click Next.
    6. In the "Java Settings" wizard, change the "Default output folder" to $PROJECTNAME$/classes. Click Finish.
  4. Configure Build Path (if necessary):
    1. In the "Package Explorer", right-click on the recently created project. Select "Build Path > Configure Build Path...".
    2. Click on "Add Folder".
    3. Under the "$PROJECTNAME$ > resources" tree view, select "mbat". Click OK.
    4. Click OK to exit Build Path Wizard.

DarenLee? - 03 Jan 2008

META FILEATTACHMENT Eclipse_Setup.jpg attr="h" comment="" date="1199407655" path="C:\Documents and Settings\dlee\My Documents\Eclipse_Setup.jpg" size="360784" user="dlee" version="1.1"

Topic: EclipseSetup . { View | Diffs | r1.6 | > | r1.5 | > | r1.4 | More }

Revision r1.1 - 04 Jan 2008 - 00:09 - DarenLee
Revision r1.6 - 07 Feb 2008 - 21:49 - DarenLee