Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag for United States of America

asked on

war command

I have a chapter04 directory(folder) at

C:\Documents and Settings\gg\Desktop\zzz

I used the command below

jar –cvf chapter04.war *

to make it a war file.

I am getting Illegal Pption error as in attachment.


 Please advise
Any ideas, suggestions, sample code, links, source code highly appreciated. Thanks in advance
Jar-Command.JPG
ASKER CERTIFIED SOLUTION
Avatar of Am P
Am P
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of gudii9

ASKER

it worked what is the difference between these two
jar -cvf chapter04.war *.*

or

jar cvf chapter04.war *.*

Please advise
No difference except the hyphen (-)
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial