Skip to content

launches jars from text file of file paths; no dependence resolution

License

Notifications You must be signed in to change notification settings

Nzen/JarLauncher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jar Launcher

Allows user to select a jar and arguments. Able to build the selection from a xml that conforms to config.dtd . Adheres to a Compatibilty versioning strategy.

Motivation

We use a number of jars at work with differing arguments. I don't want so many shortcuts on my desktop. Hence, I'd rather press 2 and 5. Plus, this was an opportunity to learn one of java's xml parsing api`s. A little later I may use it to learn how to make a javafx gui.

License

see License.md for license information. Based off of Fair License

Usage

(Build a jar from the repo.) Copy the jar somewhere. Create either an xml or fastArg file that identifies paths to your jre, the jars to launch, and some options to send when launching them. (Or edit either config file.) Launching the jar with no arguments will look for config.xml in the working directory. JarLauncher accepts a path to either type of file, should you want it elsewhere.

Xml format summary

The real grammer is in config.dtd .

Basically, jl_options, the root element, expects some locations and maybe an argBundle. At least one location should be where your jre lives. The others can provide relative or absolute paths and an optional description. An argBundle has (potentially) a summary, some flags, and a needsIo element. Including the latter prompts JarLauncher to redirect io of the new process to its output.

About

launches jars from text file of file paths; no dependence resolution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published