# jargs
**Repository Path**: mirrors_purcell/jargs
## Basic Information
- **Project Name**: jargs
- **Description**: GNU getopt-style command-line argument parser for Java, used in JBoss
- **Primary Language**: Unknown
- **License**: BSD-3-Clause
- **Default Branch**: main
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2021-08-04
- **Last Updated**: 2026-05-17
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
JArgs command-line argument parsing library
===========================================
- Copyright (c) 2001-2019 Steve Purcell.
- Copyright (c) 2002 Vidar Holen.
- Copyright (c) 2002 Michal Ceresna.
- Copyright (c) 2005 Ewan Mellor.
- Copyright (c) 2010-2012 penSec.IT UG (haftungsbeschränkt).
All rights reserved.
Released under the terms of the BSD licence. See the file `LICENCE` for
details.
Prerequisites
-------------
For each prerequisite, the version with which JArgs has been tested is given
in parentheses. Any version equal to or later than this should work.
To build JArgs and run its tests you need on of
- [Apache Ant](http://ant.apache.org/) (1.8.2), by The Apache Software
Foundation
- [Apache Maven](http://maven.apache.org/) (3.0.4), by The Apache Software
Foundation
Moreover [JUnit](http://www.junit.org/) (4.3.1), by Eric Gamma, is used to run
the unit tests, but is not needed to run the library itself.
Installation
------------
To compile, package, and test the code, run either
ant
or
mvn clean package source:jar javadoc:jar jar:test-jar
Two jars are created, one called `target/jargs-$VERSION$.jar`, which contains
the runtime library, and one called `target/jargs-$VERSION$-tests.jar`, which
contains the unit tests and the examples. The Javadoc APIs are created in
`target/site/apidocs`.
To use the library with your own code, simply ensure that
`target/jargs-$VERSION$.jar` is on the CLASSPATH.
Pre-built packages are available via Sonatype's OSS Snapshots maven
repository. Ensure you have the oss-public repository enabled in your
`pom.xml`:
```xml