Giter Club home page Giter Club logo

androkom's Introduction

CHECKING OUT WITH SUBMODULE
---------------------------

You need to run the following to get the submodule subtrees into your
working tree:

  git submodule init
  git submodule update

Note that a git submodule refers to a specific revision of the
submodule project.

BUILDING USING ECLIPSE
----------------------

After checking out Androkom and the required submodule (above), you
can import it into Eclipse with the following steps:

1. Create a new project (e.g. "Androkom"): File -> New -> Project ->
   General/Project
2. Right-click on the project in Eclipse's Package Explorer and select
   "Import". Select "File System" as import source, click Next.
3. Click "Browse" and locate the folder where you checked out the
   Androkom tree.
4. Check the "androkom" folder and make sure it has some subfolders
   and and that they also are checked. Check "Overwrite existing
   resources without warning". Finish the import.

If Eclipse complains about a missing required source folder "gen"
and/or reports that the a file "R.java" is missing, restart Eclipse.

You should now be able to build and run Androkom by selecting the
project in Package Explorer and clicking "Run".

MAKING CHANGES TO A SUBMODULE
-----------------------------

The lattekom submodule is by default cloned from a read-only URL,
which means you can't push changes directly. However, you can push
changes to a different repository URL to which you have write access.

See https://git.wiki.kernel.org/index.php/GitSubmoduleTutorial for
instructions on how to work with git submodules. The basic idea is
that a submodule is a reference to a specific commit level in an
external project. If you want to make changes in the submodule, you
need to first commit it to the submodule, then update the parent
project with the new commit. Example (Androkom being a clone of an
androkom repository where you have write access):

karin:Androkom rasmus$ cd lattekom

# check out the master branch
karin:lattekom rasmus$ git checkout master

# hack away

# commit your changes to your local master branch
karin:lattekom rasmus$ git commit -am "hacked away"

# push your commit(s) to a repo where you have write access
karin:lattekom rasmus$ git push [email protected]:pajp/lattekom.git

# now update the submodule to point to your latest commit
karin:lattekom rasmus$ cd ..
karin:Androkom rasmus$ git add lattekom
karin:Androkom rasmus$ git commit -m "updated lattekom"

# push the updated submodule ref to the androkom repository
karin:Androkom rasmus$ git push


The 'lattekom' submodule has now been updated, and androkom has been
updated to point to the new lattekom revision.

If the submodule has been updated by someone else, do `git pull' and
then `git submodule update' in the androkom tree.

NOTE: if you run `git submodule update', it will overwrite any changes
you have made within that submodule.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.