Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
brycecurtis committed Feb 21, 2012
0 parents commit 2a3e046
Show file tree
Hide file tree
Showing 29 changed files with 3,754 additions and 0 deletions.
87 changes: 87 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
Cordova Tools
===

This is a Cordova development tool that helps build and manage Cordova builds and Cordova applications.
It can:

- Download Apache GIT repositories from server
- Build cordova-js for all platforms
- Build Android cordova.js and cordova.jar files
- Create, build and run Android applications
- Create, build and run Android mobile-spec for testing
- Create Android applications from a web directory


It is written using Node.js.


Requires
---

- Node.js
- npm commander (included)
- npm wrench (included)


Installing
---

- Install Node.js
- Copy program files in their own directory.

Running
---

Enter 'node cordova.js' at command line

The first time you run, the installation screen will display:

***************************************************************
* Cordova build tool. *
* This tool helps manage development of Cordova and projects. *
***************************************************************
* Configuration: *
***************************************************************
* Base directory (cordova):
* Download cordova-js (default=y) (y/n)?
* Download android (default=y) (y/n)?
* Download bada (default=n) (y/n)?
* Download blackberry (default=n) (y/n)?
* Download docs (default=y) (y/n)?
* Download ios (default=y) (y/n)?
* Download mac (default=n) (y/n)?
* Download spec (default=y) (y/n)?
* Download qt (default=n) (y/n)?
* Download webos (default=n) (y/n)?
* Download weinre (default=y) (y/n)?
* Download wp7 (default=y) (y/n)?
* Do you want to run configuration (y/n)?:

This will create the base directory where all of the selected repositories will be downloaded.

Once installation is completed, the main menu screen will display:

***************************************************************
* Cordova build tool. *
* This tool helps manage development of Cordova and projects. *
***************************************************************
* Choose option:
1) JavaScript: Build new cordova.*.js
2) Android: Build cordova.js/jar
3) Android: Create new project
4) Android: Create new mobile-spec project
5) Android: Build project
6) Android: Run project on device or emulator
7) Android: Update project(s) to latest cordova.js/jar
8) Android: Delete project
9) Web: Create or Update Android project
10) Web: Delete project
11) Configure: Select repositories to download from Apache git
12) Configure: Download repositories from Apache git
13) Exit

Enter 1 to build Cordova-js.

Enter 2 to build cordova.js/jar. You will be asked where your Android sdk is installed.
After that, Cordova for Android will be built. Then you can create new Android projects.

11 changes: 11 additions & 0 deletions android/local.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must *NOT* be checked in Version Control Systems,
# as it contains information specific to your local configuration.

# location of the SDK. This is only used by Ant
# For customization when using a Version Control System, please read the
# header note.
sdk.dir=%INPUT%

19 changes: 19 additions & 0 deletions config.orig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"init" : false,
"base": "cordova",
"appDirs": ["android-apps", "web-apps"],
"gitRepos": {
"cordova-js": {"dir": "callback-js", "uri": "[email protected]:callback/callback-js.git", "sync":true},
"android": {"dir": "incubator-cordova-android", "uri": "https://git-wip-us.apache.org/repos/asf/incubator-cordova-android.git", "sync":true},
"bada": {"dir": "incubator-cordova-bada", "uri": "https://git-wip-us.apache.org/repos/asf/incubator-cordova-bada.git", "sync":false},
"blackberry": {"dir": "incubator-cordova-blackberry-webworks", "uri": "https://git-wip-us.apache.org/repos/asf/incubator-cordova-blackberry-webworks.git", "sync":false},
"docs": {"dir": "incubator-cordova-docs", "uri": "https://git-wip-us.apache.org/repos/asf/incubator-cordova-docs.git", "sync":true},
"ios": {"dir": "incubator-cordova-ios", "uri": "https://git-wip-us.apache.org/repos/asf/incubator-cordova-ios.git", "sync":true},
"mac": {"dir": "incubator-cordova-mac", "uri": "https://git-wip-us.apache.org/repos/asf/incubator-cordova-mac.git", "sync":false},
"spec": {"dir": "incubator-cordova-mobile-spec", "uri": "https://git-wip-us.apache.org/repos/asf/incubator-cordova-mobile-spec.git", "sync":true},
"qt": {"dir": "incubator-cordova-qt", "uri": "https://git-wip-us.apache.org/repos/asf/incubator-cordova-qt.git", "sync":false},
"webos": {"dir": "incubator-cordova-webos", "uri": "https://git-wip-us.apache.org/repos/asf/incubator-cordova-webos.git", "sync":false},
"weinre": {"dir": "incubator-cordova-weinre", "uri": "https://git-wip-us.apache.org/repos/asf/incubator-cordova-weinre.git", "sync":true},
"wp7": {"dir": "incubator-cordova-wp7", "uri": "https://git-wip-us.apache.org/repos/asf/incubator-cordova-wp7.git", "sync":true}
}
}
Loading

0 comments on commit 2a3e046

Please sign in to comment.