Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 2 TIBCO BusinessEvents Studio Tools Utility : Importing a TIBCO BusinessEvents (4.x) Studio Project at the Command Line

Importing a TIBCO BusinessEvents (4.x) Studio Project at the Command Line
This tool is equivalent to the following menu option in TIBCO BusinessEvents Studio: File > Import > TIBCO BusinessEvents > Existing TIBCO BusinessEvents 4.x Project. It is used to migrate 4.x projects to 5.x.
When you run this command-line utility, various migration actions are done, as explained in Migration from 4.x to 5.1 in TIBCO BusinessEvents Installation.
For migration of version 3.x projects, see Chapter 4, Migrating Projects from Earlier Versions in TIBCO BusinessEvents Installation.
Before you can use a 4.x project imported at the command-line in TIBCO BusinessEvents Studio you must do another procedure, explained in To Open a Project Imported at the Command Line in TIBCO BusinessEvents Studio.
To Import an Existing 4.x Project at the Command Line
1.
Navigate to BE_HOME/studio/bin/ and open a command prompt.
2.
studio-tools -core importExistingProject [-h] -p studioProjDir [-o targetProjDir] [-c CDDprojectPath] [-u PUNameFromCDD]
For example:
studio-tools -core importExistingProject -p C:\FT\SomeProj -o c:\MyWorkspace\SomeProj -c COM.cdd -u Invproc
If HTTP channel properties are migrated (from a specified CDD and processing unit to all HTTP channel resources’ Advanced tab) you see a message like this:
Migrating HTTP properties of Processing Unit "PUName" from CDD "CDDprojectPath" to HTTPChannel(s) present in the project
When the import has completed successfully, you see a message in the command window like the following:
The existing 4.0 TIBCO BusinessEvents project has been successfully imported to c:\MyWorkspace\SomeProj.
Table 6, TIBCO BusinessEvents Studio Tools Options for Importing an Existing Project (Cont’d), provides detailed information about the options.
Specifies the importExistingProject operation for importing a TIBCO BusinessEvents Studio project into the workspace.
Optional but if specified -c must also be specified. Specifies the name of the PU (within the specified CDD) that contains settings to be migrated.
To Open a Project Imported at the Command Line in TIBCO BusinessEvents Studio
To open a project imported at the command line, you must add it as a new project.
1.
Start TIBCO BusinessEvents Studio. In Windows, click Start > All Programs > TIBCO > YourEnvironment > TIBCO BusinessEvents 5.1 > TIBCO BusinessEvents Studio.
2.
From the File menu select New > Project. You see the New Project — Select a Wizard dialog.
3.
Select TIBCO BusinessEvents > Studio Project and click Next.
4.
5.
6.
Click Finish. The project folders appear in the Studio Explorer view.
 
 
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved