Skip to content
This repository has been archived by the owner on Apr 20, 2023. It is now read-only.

loosebazooka/xml-yaml-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML -> YAML converter

Usage

Clone the repository

$ git clone https://github.com/loosebazooka/xml-yaml-converter.git

Run the converter

$ ./gradlew runConverter -Pwebapp.dir=<path to your webapp dir>

# or use the sample files

$ ./gradlew runConverter -Pwebapp.dir=src/test/resources/webapp

<path to your webapp dir> can be anywhere, it doesn't have to be a whole appengine app but it must be structured like below because the underlying tooling expects that, it can contain any combinations of the xmls (it doesn't handle web.xml or appengine-web.xml), and it will just convert what's present.

webapp/
└── WEB-INF
    ├── cron.xml
    ├── datastore-indexes.xml
    ├── dispatch.xml
    ├── dos.xml
    └── queue.xml

Congrats, your yamls are in

$ tree build/yaml-out

yaml-out/
├── cron.yaml
├── index.yaml
├── dispatch.yaml
├── dos.yaml
└── queue.yaml

About

appengine xml -> yaml converter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages