Difference between revisions of "Importing Posit into Eclipse"

From Earlham CS Department
Jump to navigation Jump to search
(Cross-Platform)
(Cross-Platform)
Line 1: Line 1:
 
==Cross-Platform==
 
==Cross-Platform==
 
#[http://wiki.cs.earlham.edu/index.php/Downloading_Source Download the Posit source code from Mercurial] to somewhere you'll remember.
 
#[http://wiki.cs.earlham.edu/index.php/Downloading_Source Download the Posit source code from Mercurial] to somewhere you'll remember.
 +
#Remember to [http://wiki.cs.earlham.edu/index.php/Downloading_Source change the branch]
 
#Open Eclipse
 
#Open Eclipse
 
#Go to File -> Import
 
#Go to File -> Import
Line 6: Line 7:
 
#Hit Next
 
#Hit Next
 
#Browse your workspace directory and find the Posit project folder you downloaded with Mercurial
 
#Browse your workspace directory and find the Posit project folder you downloaded with Mercurial
#* The command to use to checkout the repository is: <nowiki>hg clone https://code.google.com/p/posit-mobile.plugin/</nowiki>
 
 
#Check the "Copy projects into workspace" box
 
#Check the "Copy projects into workspace" box
 
#Click Finish
 
#Click Finish
 
#You may have to wait a while. There is a status animation in the lower right of Eclipse - '''wait until it is done!'''
 
#You may have to wait a while. There is a status animation in the lower right of Eclipse - '''wait until it is done!'''
 
 
#Install a Android Virtual Device Manager if you haven't already.
 
#Go to Window -> AVD Manager
 
##Select your emulated device
 
##Click 'Edit'
 
##Give the SD Card some space (e.g. 10 MiB)
 
##Under 'Hardware', make sure both GPS support and Camera support are installed and enabled.
 
##Click 'Edit AVD'
 
#Run the Emulator you just edited. Wait a really long time. if it works right, Posit is the globe icon in the menu with the other apps.
 
 
  
 
'''Please Note''': If you have issues running the program try:
 
'''Please Note''': If you have issues running the program try:

Revision as of 15:57, 23 March 2012

Cross-Platform

  1. Download the Posit source code from Mercurial to somewhere you'll remember.
  2. Remember to change the branch
  3. Open Eclipse
  4. Go to File -> Import
  5. Under "General", click on "Existing Projects into Workspace"
  6. Hit Next
  7. Browse your workspace directory and find the Posit project folder you downloaded with Mercurial
  8. Check the "Copy projects into workspace" box
  9. Click Finish
  10. You may have to wait a while. There is a status animation in the lower right of Eclipse - wait until it is done!

Please Note: If you have issues running the program try:

  • Restarting Eclipse a couple of times
  • Deleting any other projects from the "Package Explorer" toolbar (they will not delete from the workspace directory)

Please keep posting solutions if you run into any other problems