[apparatus-templi] Re: Eclipse to work with git

  • From: Jonathan Nelson <ciasaboark@xxxxxxxxx>
  • To: apparatus-templi <apparatus-templi@xxxxxxxxxxxxx>
  • Date: Thu, 30 Jan 2014 19:53:25 -0500

OK.  I think the repository is ready for everyone to use with eclipse.
 From a fresh eclipse install
-open eclipse
-choose the default workspace (or move it where you want)
-choose file->import->git->projects from git
-clone uri
-use https://github.com/ciasaboark/apparatus-templi.git as the uri
-add your github username and password so you can commit changes
-choose master branch (only one for now)
-use the default location
-import existing projects
-choose coordinator

the project should be added to the workspace.  open coordinator.java and
click run.  it will fail since the rxtx library hasnt been configured.
in the package explorer tab
-right click referenced libraries ->build path->configure
-remove rxtxcomm.jar
-add jar->Coordinator/lib/<os version>/rxtxcomm.jar
-expand rxtxcomm.jar
-click native library location, click edit
-choose the same directory the jar was selected from
-try running the project again.  if it complains about not being able to
connect to the serial port this is fine.  Right now it will exit if it can
not find an arduino attached.  You can comment out this check in main() if
you want to test.

You can do commits from within eclipse window->open
perspective->other->git repository exploring
From there right click on apparatus-templi[master] and choose commit when
you want to upload your changes (make sure to commit and push)

You can also use a 3rd part git client if you want.  Just point it to the
existing project location at (the default windows location)
c:\users\<username>\git\apparatus-templi\.  Using a 3rd part git client
might be better, since the eclipse plugin will only update code written for
the coordinator.  We will also have arduino sketches, system scripts, web
pages etc... that will be added later.


On Thu, Jan 30, 2014 at 4:09 AM, Christopher Hagler <
haglerchristopher@xxxxxxxxx> wrote:

> http://www.youtube.com/watch?v=SeblMez-R_0
>



-- 
Jonathan Nelson

Other related posts: