Rename Project
Hello folks.
I've been hitting my head against the wall and hope you all can help. I need to make copy of and then rename an existing v9 project. The problem is when I do this the Referenced Libraries fail to reference the namespace within those libraries. So everything bombs. I get "namespace name xxxxx could not be found (are you missing a using directive or assembly reference)." It seems as though the libraries are still reference to the old project name.
Is there some mapping XML file out there I should be manually changing?
Thanks
-lee
Comments
-
What are you trying to rename? You mention renaming the project, but you refer to the library name changing. Are you renaming a library?
Note that if you do rename a library, or indeed a project, the namespace in server 'scripts' need to be updated. You know, that namespace just under that default comment that says "change this to a namepspace of your choice", and if you do change it, the whole thing falls apart. Or if you rename the librray / project, the whole thing falls apart.....
0 -
Hello Jerome
Love your BPM forum. Been a great resource during my v6-v7 days. Thanks for that btw.
Ok. I'm trying to rename the project. The library stays the same. So I renamed the project name, project namespace, process map and the namespace within the server side script. Anything else I'm missing?
thanks
-lee
0 -
Thanks for that.
I am not sure how renaming the project would break references to the referenced libraries, I must say. I am not sure I've done that, but I may get a chance sometime today to have a go.
What type of things are you referencing in the library?
0 -
I have a very similar problem. I renamed a library (I had to unfortunately), changed the namespaces in scripts etc, republished the library and then removed the old library from the project and re-added the renamed one.
Having re-linked some form segments etc in the project I am unable to publish the project as it says "The type or namespace '[Old Library Name]' does not exist in the namespace 'Metastorm.Runtime.Models' (are you missing an assembly reference?).
I have done a text search across all of the files in the solution for the old Library name but I can't find anything that references it?
Any ideas?
0 -
I would suspect something in a Visual Script activity
0 -
I finally solved this.
Using a text editor (TextPad) to search across all of the solution files I did find some references buried in some of the files in the Library so I updated these and republished the library, re-linked it to the project and it worked.
0 -
I had assumed from your previous entry that you had used a text editor, otherwise I would have suggested it. I am not sure how much Visual Script Activities mangle code in the XML, which is why I suggested taht.
Good that you found it, anyway!
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 152 General Questions
- 148 Thrust Services
- 57 Developer Hackathon
- 37 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 190 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 10 XM Fax
- Follow Categories