Skip to content
This repository has been archived by the owner on Mar 3, 2024. It is now read-only.

mhus/z-mhus-transform

Repository files navigation

====
    Copyright 2018 Mike Hummel

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
====


version=1.1.2-SNAPSHOT
install -s mvn:de.mhus.osgi/mhu-transform-api/${version}
install -s mvn:de.mhus.osgi/mhu-transform-core/${version}
install -s mvn:de.mhus.osgi/mhu-transform-jtwig/${version}
install -s mvn:de.mhus.osgi/mhu-transform-velocity/${version}
install -s mvn:de.mhus.osgi/mhu-transform-freemarker/${version}

install -s mvn:de.mhus.ports/ports-groovy/1.3.5-SNAPSHOT
install -s mvn:de.mhus.osgi/mhu-transform-pdf/${version}

bundle:install -s mvn:com.innoventsolutions.birt.runtime/com.ibm.icu_58.2.0.v20170418-1837/4.8.0
install -s mvn:de.mhus.osgi/mhu-transform-birt/${version}

install -s mvn:de.mhus.osgi/mhu-transform-soffice/${version}

Test installation:

transform:test

======================
 TWIG
======================
>>> Transform successful
======================
 VM
======================
>>> Transform successful
======================
 FTL
======================
>>> Transform successful
======================
 Birt
======================
2018-11-09 19:42:53,210 | INFO  | nsole user karaf | DataEngineImpl                   | 203 - mhu-transform-birt - 1.1.2.SNAPSHOT | Data Engine lifetime: 15 ms
>>> Transform successful

Execute transform by command:

transform:transform -p example.twig example.html var=World