on 07-01-2010 4:51 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.