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 17 of 18 Topic 16031 of 16269
Post > Topic >>

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

by Logan Shaw <lshaw-usenet@[EMAIL PROTECTED] > May 4, 2008 at 09:54 AM

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.

> Is there really no flag/option to let users pass wildcards for jar
adding operations ?

This would, I guess, depend on the JVM and the platform that the JVM is
running on.

On a Unix or Linux system, you could simply remove the backslash and the
shell would do the expansion for you, which would give you exactly what
you'd want.  But then on Unix and Linux systems, the convention is that
the shell does the wildcard expansion rather than the program being
invoked.  And Java originally comes from Sun, so it wouldn't be surprising
if they went with the Unix idiom on that.

Of course there could be some JVM out there that does the wildcard
expansion
itself.

   - Logan
 




 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 Sat Jul 26 5:04:10 CDT 2008.