Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.03 KB

File metadata and controls

37 lines (26 loc) · 1.03 KB

xml2yaml Build Status

Deprecated This project is deprecated. The preferred way of reading data is shifted from Yaml to XML.

A tool to converter xml data files into yml data files

Building

The project relies on maven for building. Running the following command builds several artifacts.

mvn package

Usage

After building the project there is an artifact xml2yaml-<VERSION>-jar-with-dependencies.jar in the target directory. This is an executable jar that can be run with the following command

java -jar xml2yaml-<VERSION>-jar-with-dependencies.jar <data-file>

For ease of use, one can create the following script

#! /usr/bin/env bash

LOCATION=<INSTALLATION-DIRECTORY>
VERSION=<INSTALLED-VERSION>

java -jar $LOCATION/xml2yaml-$VERSION-jar-with-dependencies.jar "$@"

substituting the correct values for <INSTALLATION-DIRECTORY> and <VERSION>.