Skip to content

Checking out the source and setting up NewsRob

marianokamp edited this page Jun 1, 2013 · 2 revisions

That’s how it looked like for me:

Last login: Sat Jun 1 10:39:32 on ttys001

silver:~ mkamp$ java -version
java version “1.6.0_45”
Java™ SE Runtime Environment (build 1.6.0_45-b06-451-11M4406)
Java HotSpot™ 64-Bit Server VM (build 20.45-b01-451, mixed mode)
silver:~ mkamp$ git —version
git version 1.8.3

  1. Ruby is needed to run Rake (build tool) that in turn will create the icons (see below).

silver:~ mkamp$ ruby —version
ruby 1.8.7 (2012-02-08 patchlevel 358) [universal-darwin12.0]

silver:~ mkamp$ git clone https://github.com/marianokamp/newsrob.git
Cloning into ‘newsrob’…
Username for ‘https://github.com’: marianokamp
Password for ‘https://marianokamp@github.com’:
remote: Counting objects: 473, done.
remote: Compressing objects: 100% (294/294), done.
remote: Total 473 (delta 146), reused 470 (delta 146)
Receiving objects: 100% (473/473), 7.06 MiB | 315.00 KiB/s, done.
Resolving deltas: 100% (146/146), done.
silver:~ mkamp$ cd newsrob

  1. Generating the icons

silver:newsrob mkamp$ rake
(in /Users/mkamp/newsrob)
writing ./svg/m_downloaded_no_web.svg …

writing ./svg/m_downloaded_error_headers_hdpi.svg …
Generate toolbar icon for toolbar_icon_sort_order_descending.
About to transcode 1 SVG file(s)

Converting source.svg to ./app/res/drawable/gen_toolbar_icon_sort_order_descending.png … … success
About to transcode 1 SVG file(s)

Converting zoom_out.svg to ./app/res/drawable/gen_zoom_out.png … … success

silver:newsrob mkamp$

  1. To import into eclipse I use the “app” directory as the base dir for the project and the newsrob dir above that as the workspace dir.
Clone this wiki locally