jackiszhp / i-jetty

Java Web Server on Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i-jetty

Android下可用的Java Web Server(base eclipse jetty and google i-jetty)

Can run at Android 1.6 ~ 9.

用法参见:Android下运行Tomcat、Jetty等Java Web服务器

Building from Source

Depedencies

  • git
  • Java 1.6~1.7
  • Maven 3.2 (not support 3.5+)

Checkout source

Check out the project from github.com:

$ git clone https://github.com/zollty/i-jetty.git

Source structure

The checkout will produce a directory structure like so:

  • i-jetty
    • i-jetty-server : adaptation of Jetty to Android
    • i-jetty-ui : Android app bundle for Jetty

Building

  1. modify the android sdk version: open the pom.xml and modify "<android.sdk.version>4</android.sdk.version>"

  2. modify the script: open the build.bat and modify the maven(3.2) path, JDK(1.6\1.7) path and android-sdk(test pass on v4~v28) path.

  3. run build.bat

Configuring i-jetty

NIO is the Default. Commonly no need to spcecial config.

About

Java Web Server on Android


Languages

Language:Java 99.1%Language:Shell 0.6%Language:Batchfile 0.3%