Fika

A commandline survival kit for developers on the JVM
maven sbt java

Fika

Fika is a commandline survival kit for developers on the JVM

fika-utils is a collection of commandline utilities to automate frequent tasks in the Java/Groovy/Scala world such as:

    Finding which jar contains a given Class
    Generate Ant project
    Recall Maven project archetype
    Generate a Scala project that builds with either Maven or Sbt
    Putting every needed jar in the CLASSPATH
    Generate a decent format for the final user

Get the software

git clone https://github.com/madunixman/fika 

Install with Make

cd fika
./configure
make 
sudo make install

Use the software

To generate a new project with fika just invoke the command and get a quick summary of the options:

$ fika 
Usage: fika <command> [[args]]

Some useful fika commands are:
   assembly               builds an assembly with every jar dependency and a Name.sh shell script
   commands               List all fika commands
   libs                   puts every jar dependency into ./lib
   project:android        creates a new Android project [project-name] in the current directory
   project:ant            creates a new Ant project [project-name] in the current directory
   project:embedrest      creates a RestEasy web project [project-name] in the current directory
   project:embedtomcat    creates a web project [project-name] in the current directory
   project:java9          creates a new modular Java 9 project [project-name] in the current directory
   project:json           creates a new web project [project-name] in the current directory
   project:maven          creates a new Maven project [project-name] in the current directory
   project:metadao        creates a new scala/java project [project-name] in the current directory
   project:osgi           creates a new Osgi project [project-name] in the current directory
   project:playframework  creates a new Scala project using Play Framework [project-name] in the current directory
   project:rest           creates a new web project [project-name] in the current directory
   project:scala          creates a new Scala project [project-name] in the current directory
   project:servlet        creates a new web project [project-name] in the current directory
   project:spark          creates a new Spark / Scala project [project-name] in the current directory
   search:class           Search the class [Classname] in the jars under [path]
   spring:boot            creates a new Spring Boot project [project-name] containing a groovy file

What in a name

Since the Java folks (and programmers in general) have totally polluted the coffee-related namespace:

I had to resolve for something else to name a bunch of scripts for daily survival in a highly IDE-driven environment. Therefore I decided to take up the swedish name for “Coffee Break”.

Create your first Java 9 project

Java 9
java java9 tech linux