Changes between Version 1 and Version 2 of FRCSoftwareSetup


Ignore:
Timestamp:
Jan 20, 2015, 5:10:41 PM (10 years ago)
Author:
Timothy Lin
Comment:

instructions for setting up a computer for FRC Java (2015)

Legend:

Unmodified
Added
Removed
Modified
  • FRCSoftwareSetup

    v1 v2  
    77== 2. Install Eclipse Luna
    88For best performance and to avoid compatibility errors, download the latest version of Eclipse for Java Developers, currently [https://eclipse.org/downloads/packages/eclipse-ide-java-and-dsl-developers/marsm4 Eclipse Luna].
     9
     10=== Troubleshooting
     11==== I downloaded a zip file, but no installer. How do I get Eclipse?
     12Eclipse is actually a Java program, not an executable. To use, simply find the program file inside the folder hierarchy and open. As long as Java has been installed correctly, the application will start up successfully.
     13
     14For ease of operation, it is usually beneficial to move the folder containing the Eclipse program files to a more appropriate place and/or create a shortcut to the program.
     15
     16==== "No compiler/jdk found" - JAVA_HOME not set correctly
     17This error usually occurs when the Eclipse reference to the JDK is not set to the right location on the local computer.[[BR]]
     18
     19To fix this, go to {{{Window}}} ({{{Eclipse}}} on Macs), {{{Preferences}}}, {{{Java}}}, and under the Java hierarchy, select {{{Installed JREs}}} and in the menu, make sure there is a valid link to a JDK on the local computer.
     20
     21==== Question Still Not Answered?
     22See [http://wpilib.screenstepslive.com/s/4485/m/13810/l/145002-installing-eclipse-c-java here] for more detailed instructions not covered here.
    923
    1024== 3. Install the Java FRC Plugins
     
    23378. After installing, restart Eclipse. The plugins will continue to install when Eclipse starts back up. This is normal operation.
    2438
    25 == Install Subversive for Eclipse
     39== 4. Install Subversive for Eclipse
    2640The programming teams for our team use subversion (SVN) for configuration management of code.
    27411. In Eclipse, select the Help menu in the top menu bar.
     
    29433. Search for "Subversive" without the quotes.
    30444. Select {{{Subversive}}}.
    31 5. When prompted for SVN connectors, select the 1.8 version.
     455. When prompted for SVN connectors, select the 1.8 version. Accept any and all license agreements which appear.
     466. When a dialog comes up saying some features aren't available, click ok and continue.
     477. Continue to the end of the wizard and restart eclipse.
    3248
     49== 5. Creating a FRC Java Project
     501. In Eclipse, right-click in the open space in the Package Explorer and select {{{New >}}}, and then inside the sub-menu that pops up, select {{{Project...}}}. Selecting {{{Java Project...}}} will not work.
     512. Under {{{WPILib Robot Java Development}}}, select {{{Robot Java Project}}}.
     523. After clicking next, if creating a FRC Java Project for the first time, there will be a prompt for team number. Enter
     53{{{
     542537
     55}}}
     564. In the next screen, specify a unique, identifiable project name, preferably one that will not be confused with other, similar projects. Enter in a new, custom package hierarchy or leave the default.
     575. Choose a project template:
     58  a. Iterative - cyclic program execution; this template is the most basic and requires the programmer to implement much more
     59  b. Command-Based - event-driven program execution; includes many features FIRST & WPI have developed
     60  c. Simple - ''DO NOT USE''
     616. Click {{{Finish}}}.
     62
     63== 6. Accessing the Subversion Server for the First Time
     641. To open the SVN perspective, select {{{Window}}}, {{{Open perspective >}}}, {{{Other...}}}. Then, select {{{SVN Repository Exploring}}}.
     652. In the perspective, right-click the open space in the {{{SVN Repositories}}}. Select {{{New >}}}, then {{{Repository Location}}}.
     663. In the window that pops up, enter one of the following in the URL field:
     67Test Repository
     68{{{
     69svn+ssh://jupiter2.raidtech.net/home/svn/test
     70}}}
     71Sensors Repository
     72{{{
     73svn+ssh://jupiter2.raidtech.net/home/svn/sensors
     74}}}
     75Website Repository
     76{{{
     77svn+ssh://jupiter2.raidtech.net/home/svn/web
     78}}}
     79Core Software Repository
     80{{{
     81svn+ssh://jupiter2.raidtech.net/home/svn/first
     82}}}
     83Game App Repository
     84{{{
     85svn+ssh://jupiter2.raidtech.net/home/svn/gameapp
     86}}}
     874. Authenticate using your username and password. Default password for most users is '1234' without the quotes.
     885. Click finish.
     89
     90For more information on how to use SVN and subversive, see the [wiki:ConfigurationManagement Configuration Management page].