Giter Site home page Giter Site logo

mostafagomaa / las2peer-template-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rwth-acis/las2peer-template-project

0.0 1.0 0.0 7.86 MB

A template service that shows the basic configuration of a LAS2peer project and features a wiki with all relevant LAS2peer information.

License: Other

las2peer-template-project's Introduction

LAS2peer-Template-Project

This project can be used as a starting point for your LAS2peer service development. It contains everything needed to start LAS2peer service development, you do not need to add any dependencies manually.

For documentation on the LAS2peer service API, please refer to the LAS2peer Project.

Please follow the instructions of this ReadMe to setup your basic service development environment.

  1. Enable Strong Encryption

If you use an Oracle Java version, you have to enable strong encryption for this software.

Please put the files to '[...]/lib/security/' of your java runtime installation (replacing the existing files).

The policy files can be downloaded via Oracle:

JCE for Java 7

  1. Quick Setup of your Service Development Environment

If you never used LAS2peer before, it is recommended that you first visit the Step by Step - First Service tutorial for a more detailed guidance on how to use this template.

Follow these five steps to setup your project:

  1. If you use Eclipse, import this project or just create a new project in the same folder.
  2. Run "ant get_deps" once to pull all dependencies (You can skip this but Eclipse will complain about missing libraries until you build the first time).
  3. The service source code can be found at "i5.las2peer.services.servicePackage.ServiceClass".
    (3.5 Optional: Change "etc/ant_configuration/service.properties" and "etc/ant_configuration/user.properties" according to the service you want to build. Rename your build directory structure according to the names you gave in 2., you have to also correct the package declaration and the 'testServiceClass' constant in your source code files.)
  4. Compile your service with "ant", this will also build the service jar.
  5. Generate documentation, run your JUnit tests and generate service and user agent with "ant all" (If this did not run check that the policy files are working correctly).

The jar file with your service will be in "export/" and "service/" and the generated agent XML files in "etc/startup/". You can find the JUnit reports in the folder "export/test_reports/".

If you decide to change the dependencies of your project, please make sure to run "ant clean_all" to remove all previously added libraries first.

  1. Next Steps

Please visit the Wiki of this project. There you will find guides and tutorials, information on LAS2peer concepts and further interesting LAS2peer knowledge.

las2peer-template-project's People

Contributors

pedela avatar gordin avatar mohamedalsherif avatar nmaster avatar tcuje avatar istvank avatar

Watchers

James Cloos 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.