Re: Is there really no wildcard adding for "jar -cvf my.jar classes\*.class" ?
- From: Lew <lew@xxxxxxxxxxxxx>
- Date: Tue, 29 Apr 2008 07:32:45 -0400
Donkey Hot wrote:
Correct format is
(partially, circumstantially correct)
jar -cvf my.jar classes
Knute Johnson explained the weakness with that approach. Essentially you have to be darn sure there aren't any extraneous files in the classes/ directory.
Classpath contains DIRECTORIES or/and jar.files [sic].
No, it doesn't.
All classes in those dirctories and jar-files are in.
Merely including JARs in another JAR does not put those contained JARs in the classpath.
--
Lew
.
- References:
- Prev by Date: Re: Is there an option for auto-create output dirs when compiling with javac?
- Next by Date: Re: Is there an option for auto-create output dirs when compiling with javac?
- Previous by thread: Re: Is there really no wildcard adding for "jar -cvf my.jar classes\*.class" ?
- Next by thread: Re: Is there really no wildcard adding for "jar -cvf my.jar classes\*.class" ?
- Index(es):