Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Help > Re: Is there re...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 11 of 18 Topic 16031 of 16269
Post > Topic >>

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

by =?ISO-8859-1?Q?Arne_Vajh=F8j?= <arne@[EMAIL PROTECTED] > Apr 28, 2008 at 06:39 PM

Catherina Svensson wrote:
> When I try to execute a jar command like the following:
> 
> jar -cvf my.jar cl*****\*.class
> 
> then JVM gives me an error about non-existing files/folders.
> 
> However when I specify all the class files in detail:
> 
> jar -cvf my.jar cl*****\a.class cl*****\b.class ..... cl*****\z.class
> 
> then everything is fine.
> 
> Is there really no flag/option to let users pass wildcards for jar
adding operations ?

Wildcards works fine.

C:\>jar cvf z.jar Z*.class
added manifest
adding: Z1.class(in = 204) (out= 118)(deflated 42%)
adding: Z2.class(in = 204) (out= 118)(deflated 42%)
adding: Z3.class(in = 204) (out= 118)(deflated 42%)

if you post what error you actually get instead of
"an error about non-existing files/folders", then we may be
able to tell you what the problem is.

Arne
 




 18 Posts in Topic:
Is there really no wildcard adding for "jar -cvf my.jar classes\
gremlin@[EMAIL PROTECTED]  2008-04-28 19:50:18 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
Thomas Kellerer <FJIFA  2008-04-28 22:27:21 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
"John B. Matthews&qu  2008-04-28 17:15:24 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
Knute Johnson <nospam@  2008-04-28 14:38:41 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
Roedy Green <see_websi  2008-04-28 21:44:36 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
Knute Johnson <nospam@  2008-04-28 14:59:13 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
Knute Johnson <nospam@  2008-04-28 14:45:53 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
Mark Space <markspace@  2008-04-28 15:19:15 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
Knute Johnson <nospam@  2008-04-28 21:46:11 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
Mark Space <markspace@  2008-04-29 08:37:57 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
=?ISO-8859-1?Q?Arne_Vajh=  2008-04-28 18:39:18 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
Donkey Hot <spam@[EMAI  2008-04-29 05:38:13 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
Lew <lew@[EMAIL PROTEC  2008-04-29 07:32:45 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
"Arved Sandstrom&quo  2008-04-29 15:00:22 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
Perry Wolfe <pwolfe@[E  2008-05-01 09:03:47 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
=?ISO-8859-1?Q?Roger_Lind  2008-05-01 16:46:37 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
Logan Shaw <lshaw-usen  2008-05-04 09:54:06 
Re: Is there really no wildcard adding for "jar -cvf my.jar clas
efriedNoSpam@[EMAIL PROTE  2008-05-05 03:02:33 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Jul 25 23:11:49 CDT 2008.