|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
change CMF file name in BAR |
« View previous topic :: View next topic » |
Author |
Message
|
scravr |
Posted: Wed Aug 18, 2010 5:18 am Post subject: change CMF file name in BAR |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
Does anyone knows what class and functions are used in toolkit to change the CMF file name inside BAR file? |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Aug 18, 2010 5:22 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Yes. Someone knows.
The person who wrote the BAR file editor.
It is unlikely this is exposed to the public.
As you have already been told, a BAR file is just a ZIP file. Any function or method or API that is available that can work with a ZIP file, and exposes a method to RENAME an item inside a ZIP file, can be used to do this for you.
Another dead simple method is to unzip the file, rename the relevant resources, and then rezip the file. |
|
Back to top |
|
 |
Vitor |
Posted: Wed Aug 18, 2010 5:26 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mqjeff wrote: |
As you have already been told, a BAR file is just a ZIP file. |
For the benefit of our less dedicated readers, you'll find this thread here _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
scravr |
Posted: Wed Aug 18, 2010 5:27 am Post subject: |
|
|
 Partisan
Joined: 03 Apr 2003 Posts: 391 Location: NY NY USA 10021
|
Whats about the "bar-reference.links" file in the BAR file.
It references the CMF files also.
Do I need to change the names in it also? |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|