hoijui / Jawk

Java AWK interpreter/compiler
GNU General Public License v3.0
39 stars 23 forks source link
awk-interpreter awk-programming-language java

Jawk - ReadMe

Intro

JAWK is a pure Java distribution of AWK. It uses Maven, and comes with OSGi meta data (it only exports package(s)). Its is licensed under the GPL, and the location of the source code can be found in the project documentation site (see below), or the project file (pom.xml).

How to build

Jawk uses Maven 2+ as build system, which you have to install first. If you did so, you can:

compile & package:

mvn package

execute:

mvn exec:java

create project documentation (to be found under target/site/index.html):

mvn site

Jawk relies on BCEL for parsing AWK scripts.

Release

Prepare "target/" for the release process

mvn release:clean

Prepare the release

Perform the release

Promote it on Maven

Moves it from the Sonatype staging to the main Sonatype repo.

  1. using the Nexus staging plugin:

    mvn nexus:staging-close
    mvn nexus:staging-release
  2. ... alternatively, using the web-interface:

    • firefox https://oss.sonatype.org
    • login
    • got to the "Staging Repositories" tab
    • select "org.jawk..."
    • "Close" it
    • select "org.jawk..." again
    • "Release" it