java - extracting portion of jar to a path -


i using follwing command , intention extract dyedistinctappserver.topology discovery1-full-8.1.0-07-10-2010_1055.jar @ data/product/template-topologies/dyedistinctappserver.topology path.

command:

jar -xf discovery1-full-8.1.0-07-10-2010_1055.jar -c data/product/template-topologies/dyedistinctappserver.topology 

instead of extracting files, prompts me using command incorrectly , dumps out various options.

is there syntax error shown in usage part. using aix os.

thanks.

the option -c set directory in jar should run, not paths in jar file. try:

jar -xf discovery1-full-8.1.0-07-10-2010_1055.jar data/product/template-topologies/dyedistinctappserver.topology 

Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -