ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » change CMF file name in BAR

Post new topic  Reply to topic
 change CMF file name in BAR « View previous topic :: View next topic » 
Author Message
scravr
PostPosted: Wed Aug 18, 2010 5:18 am    Post subject: change CMF file name in BAR Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
mqjeff
PostPosted: Wed Aug 18, 2010 5:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Aug 18, 2010 5:26 am    Post subject: Reply with quote

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
View user's profile Send private message
scravr
PostPosted: Wed Aug 18, 2010 5:27 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » change CMF file name in BAR
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.