$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install XDoclet on Gnu/Linux

June 29, 2022 | By the+gnu+linux+evangelist.

GNU/Linux Installing XDoclet – QuickStart Guide

Hi! The Guide shows you Step-by-step How to Install and Setup the XDoclet Java Tool in GNU/Linux.

XDoclet is an Open Source Code generation Engine that enables Attribute-Oriented Programming for Java.

In short, this means that you can add more significance to your code by adding Meta Data (attributes) to your Java Sources. This is done in special JavaDoc Tags.

Java Balloon
  1. Prerequisites Check-Up

    1. Java
      which java

      If Java is Not Installed then:

      Installing Oracle Java JDK on Linux
  • Apache-Jakarta Ant
    which ant

    If Apache-Jakarta-Ant is Not Installed then:

    How to Install Ant On Linux
  • Download XDoclet Java-Tool:

    Latest XDoclet Tool bin.zip
  • Unzip Archive

  • Relocate XDoclet

    1. Open a Terminal Window
      (Press “Enter” to Execute Commands)
    2. Login as SuperUser
      sudo su
      If Got “User is Not in Sudoers file” then see: How to Enable sudo
    3. Move XDoclet Folder
      mv /xdoclet-1.2.3 /opt

  • Set Environment Variable

    1. Logout from SuperUser
      exit
    2. Edit User .bashrc File Settings
      nano ~/.bashrc
      Append:
      export XDOCLET_HOME=/opt/xdoclet-1.2.3
    3. Load New Environment Set-Up
      bash

  • Verify XDoclet Installation on Terminal

    cd $XDOCLET_HOME/samples
    ant

    The Output should Resemble to this Here Below:

    Testing XDoclet Installation