Coder Social home page Coder Social logo

unedifact's Introduction

Smooks UN/EDIFACT Artifact Sources

Here are some slideshare slides about this project philosiphy

Building

Maven

For the moment if you try to build all modules in the same reactor you will gel out of memory exception if you still want to build all in a single step cd to root folder and run

> mvn clean install

If you want to build just a part or you tried the method above and failed do these steps: cd to root folder and :

cd parent
mvn clean install
cd ../d96a
mvn clean install

build.sh and threaded.sh

To build all packages run ./build.sh with no parameters. To build a specific set of packages, supply the package names as a space separated list of parameters e.g. ./build.sh d00a d00b.

./threaded.sh performs the same action as ./build.sh, but spins off multiple builds in parallel, greatly reducing the amount of time to build all packages. You need to supply the script with a number indicating how many parallel builds it can run. This number should be based on the number of cores the host has (max) e.g. if the host has 8 cores then something like ./threaded.sh -j 6 would probably work perfectly well i.e. 6 parallel package builds.

Docker

You can also build from the docker image:

  1. Install docker.
  2. Run sudo docker build -t smooks-unedifact github.com/smooks/unedifact. This will create a docker image named "smooks-unedifact" that contains the correct build environment and a cloned copy of this git repo.
  3. Run sudo docker run -i smooks-unedifact <command> to execute the desired build (see above).

Adding a new specification

Find your specification on UNECE site then create a directory named after the specification (you can copy paste an older one) where you will download the desired zip.


Maven

Read build steps above


Gradle

Run 'gradle projects' to see that you newly added project was added:

> gradle projects

------------------------------------------------------------
Root Project - Smooks Unedifact project
------------------------------------------------------------

Root project 'unedifact' - Smooks Unedifact project
+--- Project ':d00a/binding'
+--- Project ':d00a/mapping'
+--- Project ':d00b/binding'
...

Uploading artifacts

Maven

mvn clean install deploy

Gradle

To deploy artifacts first create a gradle.properties in the root project directory:

milynUser=<username>
milynPassword=<password>

Then run the deploy task: > gradle uploadArchives


unedifact's People

Contributors

alexproca avatar tfennelly avatar zubairov avatar

Watchers

 avatar  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.