MVN

net.wetheinter : xapi-template

Maven & Gradle

Feb 20, 2013
4 stars

XApi - Code Generator Templates · A simple templating system for java codegen. This library includes an object-oriented, fluent source writing api, for a chained, intuitive codegen api. It also includes a template processor which can take java source files formatted with "magic comments", to allow simple mapping of GeneratorClass#generatorMethod() to inject dynamic source content. //@generateWith(GeneratorClass)// -Sets the current generator. You may use as many as you please //generatorMethod(arbitrary-string-data-you-may-want-to-parse)// -invokes the named method on the current injector, with any text (between brackets) sent as a string This allows you to markup default source with hooks where you may want to inject arbitrary code. It is especially useful for generating super-source in gwt compiles; changes to the default class are propagated to overrides.

<dependency>
    <groupId>net.wetheinter</groupId>
    <artifactId>xapi-template</artifactId>
    <version>0.2</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of net.wetheinter : xapi-template to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 0.2

All Versions

Choose a version of net.wetheinter : xapi-template to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
0.2
xapi-template-0.2

How to add a dependency to Maven

Add the following net.wetheinter : xapi-template maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>net.wetheinter</groupId>
    <artifactId>xapi-template</artifactId>
    <version>0.2</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following net.wetheinter : xapi-template gradle dependency to your build.gradle file:

implementation 'net.wetheinter:xapi-template:0.2'

Gradle Kotlin DSL: Add the following net.wetheinter : xapi-template gradle kotlin dependency to your build.gradle.kts file:

implementation("net.wetheinter:xapi-template:0.2")

How to add a dependency to SBT Scala

SBT Scala: Add the following net.wetheinter : xapi-template sbt scala dependency to your build.sbt file:

libraryDependencies += "net.wetheinter" % "xapi-template" % "0.2"

Advertisement