GithubHelp home page GithubHelp logo

mtippmann / query.api.freifunk.net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from freifunk/query.api.freifunk.net

0.0 1.0 0.0 331 KB

Freifunk API Query Client

License: GNU General Public License v2.0

Java 93.66% Python 6.34%

query.api.freifunk.net's Introduction

query.api.freifunk.net

Freifunk API Query Client

Development setup

  1. Build dependencies

Java JDK 1.7? maven ?

  1. Build DeepaMehta
git clone git://github.com/jri/deepamehta.git
cd deepamehta
mvn install -P all
  1. Setup for Hot-Deployment

Complete Instructions: https://trac.deepamehta.de/wiki/PluginDevelopmentGuide

In DeepaMehta's pom.xml: add the plugin's target directory (here: /home/mt/query/query.api.freifunk.net/dm4-ffapi-import/target) to the felix.fileinstall.dir property's CDATA section. Important: don't forget to append a comma to the previous line:

<project>
    ...
    <felix.fileinstall.dir>
        <![CDATA[
            ${project.basedir}/modules/dm4-core/target,
            ${project.basedir}/modules/dm4-webservice/target,
            ${project.basedir}/modules/dm4-webclient/target,
            ...
            ${project.basedir}/modules/dm4-storage-neo4j/target,
            /home/mt/query/query.api.freifunk.net/dm4-ffapi-import/target
        ]]>
    </felix.fileinstall.dir>
    ...
</project>

Now start DeepaMehta. In the directory deepamehta (where you've build):

mvn pax:run 

In the Plugin directory (here: /home/mt/query/query.api.freifunk.net/dm4-ffapi-import/targetrun:

mvn clean package

The package should now appear in DeepaMehta

[~/query/query.api.freifunk.net/dm4-ffapi-import]$ mvn clean package                       *[master] 
[INFO] Scanning for projects...
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Freifunk API Data 0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ ffapi-import ---
[INFO] Deleting /home/mt/query/query.api.freifunk.net/dm4-ffapi-import/target
[INFO] 
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ffapi-import ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 2 resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ffapi-import ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 1 source file to /home/mt/query/query.api.freifunk.net/dm4-ffapi-import/target/classes
[INFO] 
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ffapi-import ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /home/mt/query/query.api.freifunk.net/dm4-ffapi-import/src/test/resources
[INFO] 
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ ffapi-import ---
[INFO] No sources to compile
[INFO] 
[INFO] --- maven-surefire-plugin:2.17:test (default-test) @ ffapi-import ---
[INFO] No tests to run.
[INFO] 
[INFO] --- maven-bundle-plugin:2.3.7:bundle (default-bundle) @ ffapi-import ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.779s
[INFO] Finished at: Thu Jul 24 21:27:46 CEST 2014
[INFO] Final Memory: 19M/155M
[INFO] ------------------------------------------------------------------------
[~/query/query.api.freifunk.net/dm4-ffapi-import]$                                         *[master]

Eclipse

(tested with Eclipse Luna J2EE edition)

New Project -> Check out Maven Projects from SCM

SCM URL: (git): git://github.com/glycoknob/query.api.freifunk.net

If git is not available install the "SCM URL Install m2e Team provider" for maven git suppor via the link in the interface

This should create a new Eclipse project that uses maven and egit.

Source & JavaDoc for DeepaMehta

To add source and JavaDoc for DeepaMehta...

...do the same as before, but use instead the DeepaMehta repository:

SCM URL: (git): git://github.com/jri/deepamehta.git

query.api.freifunk.net's People

Contributors

mtippmann avatar andibraeu avatar

Watchers

 avatar

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.