| Author | 
		  Message
		 | 
		
		  | whiting | 
		  
		    
			  
				 Posted: Wed Apr 21, 2004 3:00 pm    Post subject: WMQI v5 import message flow from command line | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 26 Mar 2002 Posts: 64 Location: Greenville, SC 
  | 
		  
		    
			  
				| Is there a command line tool for importing message flow or message set into the eclipse toolset?  I don't see one in the documentation or by trolling the file system. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Wed Apr 21, 2004 3:18 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				Are you looking for mqsimigratemsgflows or mqsimigratemsgsets?
 
 
Because otherwise, it's a matter of putting the various files in the correct places in the workspace folder of an empty project of the correct type, and selecting 'Refresh' in the Tooling. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | whiting | 
		  
		    
			  
				 Posted: Wed Apr 21, 2004 4:48 pm    Post subject: import from command line | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 26 Mar 2002 Posts: 64 Location: Greenville, SC 
  | 
		  
		    
			  
				I'm looking for mqsiimportmsgset  
 
 
I want to be able to import a message flow and then create the bar file using mqsicreatebar without having to go through all the point and click.
 
 
//Bill | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Wed Apr 21, 2004 5:15 pm    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				Looking at 
   
	| Quote: | 
   
  
	BIP0955I Compile a broker archive file from source.
 
Syntax: mqsicreatebar [-data workspace] -b barName [-version id]
 
        [-p projectName [...]] -o filePath1 [filePath2 [...]]
 
Command Options:
 
'-data workspace' alterative workspace location (optional)
 
'-b barName' bar file name to create or replace
 
'-version id' appends '_' and id to compiled names in the archive (optional)
 
'-p projectName' specify projects containing files to link (optional, multiple
 
        projects can be specified)
 
'-o filePath1' workspace relative path (including the project) of msgflow
 
        or messageSet.mset files to add to the broker archive. Multiple msgflow
 
or
 
        messageSet.mset files can be compiled in a single mqsicreatebar command.
 
 | 
   
 
 
I wonder if you can use a combination of "-data <fakeworkspace>" and the appropriate -o options to do what you want.
 
 
In other words, script the creation of a folder structure that mimics a real workspace, and then pass this into mqsicreatebar. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | whiting | 
		  
		    
			  
				 Posted: Thu Apr 22, 2004 6:32 am    Post subject: message broker v5 import | 
				     | 
			   
			 
		   | 
		
		
		   Acolyte
 
 Joined: 26 Mar 2002 Posts: 64 Location: Greenville, SC 
  | 
		  
		    
			  
				| The eclipse stores additional information when it imports the flows   If  I construct a directory with the projects that are needed to build a message flow then mqsicreatebar errors with "ITEM.msgflow is in a project that has errors." | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | jefflowrey | 
		  
		    
			  
				 Posted: Thu Apr 22, 2004 6:36 am    Post subject:  | 
				     | 
			   
			 
		   | 
		
		
		   Grand Poobah
 
 Joined: 16 Oct 2002 Posts: 19981
  
  | 
		  
		    
			  
				Try launching mqsistudio with the same -data information first. _________________ I am *not* the model of the modern major general. | 
			   
			 
		   | 
		
		
		  | Back to top | 
		  
		  	
		   | 
		
		
		    | 
		
		
		  | 
		    
		   |