cancel
Showing results for 
Search instead for 
Did you mean: 

Making A Copy Of A Project In 12.1

former_member1170711
Participant
0 Kudos

In the 12.1 environment is there any easy way to make a copy of a project? The Copy command does not include subdirectories which makes the process long and tedious.

Thanks,

Mike

Accepted Solutions (1)

Accepted Solutions (1)

jcgood25
Active Contributor
0 Kudos

Mike,

The export process (screen in the admin menu) creates an archive zip file that can be ported around or put on a file server for backup purposes. You could hack the export manifest file to 'rename' the project and import it back as a new name (even adding a description as well). The links and object mappings would NOT refactor themselves just by renaming a project, but with some careful search and replaces at the file system level you could do a fair amount of it offline - perhaps not a good task for a novice though...

Can you elaborate a bit more on what you would like the copy process to do and why?

Regards,

Jeremy

former_member1170711
Participant
0 Kudos

Hi Jeremy,

Thanks for the input. I will give this a try.

What I am looking for is a way for developers to run different versions of the same project on the same MII server at the same time. In 11.5 we did this by making copies of folders and naming them based on the Software Change Request that the developer was working on. Allmost all of our paths withing the project are project relative. The SCR number became part of the URL and it was easy to run whicherver version of the project you wanted to. After the SCRs went through code verification and testing the changes would get merged into the main version of the application and the copies of the project would get delete. This process worked very well for us in 11.5. I am looking for a way to do something similar in 12.1.

In 12.1 it would be nice to have a version of the project for each Activity that is being worked.

Please let me know if you can think of any better way to accomplish this.

Thanks,

Mike

Former Member
0 Kudos

Michael,

after changing to 12.0 where the MII sources are stored in the MII database, I use the copy method Jeremy proposed (Export ZIP and rename). To correct the path entries inside transactions, queries and displays, I have developped a BLT that reads all folders and files and replaces the old pathwith the new path. Maybe this would be an option for you?

Actions of the replacement BLT:

- use XML query to get all folders and subfolders

- use Get File List action to get all files in a folder

- replace all occurrences

After developing this BLT once you can use it whenever you copy a project. This only works however for Catalog sources (trans, queries, displays). You may develop something similar for the Web sources (irpt, html etc.).

Michael

former_member1170711
Participant
0 Kudos

Michael,

This is very helpful. Any chance you could share your transaction?

Thanks,

Mike

Former Member
0 Kudos

Michael,

unfortunately the BLT is property of my client, I am not allowed to distribute it. However I can give you some more hints on it, it is quite easy to build.

Michael

Answers (0)