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



Mark Space wrote:
Catherina Svensson wrote:
When I try to execute a jar command like the following:

jar -cvf my.jar classes\*.class

I think it's just:

jar -cvf my.jar classes

That will include all the files in the classes directory, not just ..class files. That isn't her problem anyway, she's got a package mismatch between the declarations and the jar structure, and that's why it won't run.

--

Knute Johnson
email s/nospam/linux/

--
Posted via NewsDemon.com - Premium Uncensored Newsgroup Service
------->>>>>>http://www.NewsDemon.com<<<<<<------
Unlimited Access, Anonymous Accounts, Uncensored Broadband Access
.



Relevant Pages

  • Re: Is there really no wildcard adding for "jar -cvf my.jar classes*.class" ?
    ... jar -cvf my.jar classes\*.class ... That will include all the files in the classes directory, ... If someone actually does need to filter .class files out of a directory, then I think their build process is broken. ... Get the extraneous stuff out of the classes subdir, ...
    (comp.lang.java.help)
  • Re: Is there really no wildcard adding for "jar -cvf my.jar classes*.class" ?
    ... However when I specify all the class files in detail: ... Is there really no flag/option to let users pass wildcards for jar adding operations? ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.help)
  • Re: Is there really no wildcard adding for "jar -cvf my.jar classes*.class" ?
    ... However when I specify all the class files in detail: ... Is there really no flag/option to let users pass wildcards for jar adding operations? ... Posted via NewsDemon.com - Premium Uncensored Newsgroup Service ... Unlimited Access, Anonymous Accounts, Uncensored Broadband Access ...
    (comp.lang.java.help)
  • Re: Performance issue: jar vs. bin/classes
    ... appications packed into jar files and java applications which are ... jars are more compact for transmission. ... Class files don't need to be ... With a jar you know exactly what classes are being ...
    (comp.lang.java.programmer)
  • Re: Big JARs = Big Problems?
    ... meaning they have a lot of .class files. ... even one comma in one class changes you have to send the whole jar. ... make sure they are on the classpath. ...
    (comp.lang.java.programmer)