Automatic creation of Java archives
PrefaceCommand line versionEclipse plugin
Bernd Eggink, monoped@users.sourceforge.net Project page: SourceForge.net
Special parameters
A special (pseudo option) parameter consists of a hyphen and a letter. It doesn't represent a file or an option, but instead influences the processing of the following file parameter(s). If the first file parameter is a special one, a -- must be inserted before it, otherwise it will be mistaken for an option.
  • -C directory name
    This has the same meaning as with the jar command: The working directory is temporarily set to directory, then name is evaluated, and then the working directory is reset to the original value. name may contain wildcards (* and ?). A single dot denotes the directory as a whole.
  • -X pattern
    This defines an exclude pattern for files. It affects subsequent parameters which generate a file list (directories, patterns, or "."). Files matching an exclude pattern are ignored. If multiple patterns are given, they are logically combined by a logical "or". A pattern consisting of a single hyphen (-X - or -X-) clears the pattern list, so that (up to the next -X) all files are copied again.
    This parameter can be used, for example, to skip special directories like .svn or .bzr.
  • -Y library
    In contrast to other cases Autojar doesn't copy any classes from the library. It scans, however, their bytecode and copies referenced classes from other sources into the output library. This can be used to generate an "auxiliary library" for library.
    When library is used later on, the generated output library must be accessible by the classpath in addition to library itself.
up
Created 2011-05-10 by mopcoge