Re: Is there really no wildcard adding for "jar -cvf my.jar classes\*.class" ?



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
.