Framework Manager入门教程(十二) - FM逆向工程(MotioPI)
来源:互联网 发布:linux下vim配置 编辑:程序博客网 时间:2024/06/04 23:51
在搞Java的时候,Java是可以根据class文件逆向生成代码的;Cognos呢,居然也可以,在网上找到了一些资料,现分享一下。
有的时候会遇到,本地的FM被删掉或者其他的情况,想要将已经发布的Package逆向生成模型,这种场景还是很常见的。
1. 官方解决方案
How to recover a corrupted or lost Framework Manager model.
Cognos 10.x.x :Steps :1. Backup <Cognos_Root_Installation>/configuration/CQEConfig.xml.sample2. Rename CQEConfig.xml.sample to CQEConfig.xml:3. Under XML tag : <component name="CQE"> add content :<section name="General Options"><entry name="KeepModelXML" value="1" /></section>4. Save file and stop Cognos service5. Rename the directory <Cognos_Root_Installation>/data/cqe/RTModels to "ORIGINAL_RTModels" .6. Restart the Cognos Service.7. Launch Cognos Report Studio and create a new report using the package you wish to recover and run it, noting the time.8. Verify that a new <Cognos_Root_Installation>/data/cqe/RTModels directory has been created and an xml file with a creation time matching the run time of the report exists.9. Rename CQEConfig.xml created to CQEConfig.xml.recoversave or delete it.10. Move the newly created <Cognos_Root_Installation>/data/cqe/RTModels directory to a working location.11. Rename <Cognos_Root_Installation>/data/cqe/ORIGINAL_RTModels directory back to "RTModels".12. Restart the Cognos Service.13. Open Framework Manager, create and save a new empty project.14. Close Framework Manager.15. Locate the empty Framework Manager project directory and rename the model.xml file to model.xml.origin16. Copy the the xml file created in steps 8 into the empty Framework Manager project directory and rename the file "model.xml".17. It should now be possible to open the model in Framework Manager
官方的这里看上去复杂点,以后有机会在尝试吧。
2. 使用MotioPI工具
这个略坑啊,官网上找了半天没找到下载地址,在经过一系列的波折后终于下载到了,
官方的使用教程:http://info.motio.com/Blog/bid/70358/Recover-a-Lost-Cognos-Framework-Manager-Model-in-60-seconds-or-less
官方教程:http://www.motio.com/products/pi/gettingStarted.do
工具下载:
http://download.csdn.net/detail/jolingogo/7785129
这里就分享下我的使用过程吧:
2.1 安装
。。。。。。后面就不贴了,没什么特别的,一路安装就可以了。
我们打开使用:
。。。刚刚使用了下,看上去很强大啊,我们继续
2.2 使用
打开后的界面
在这里,我们需要输入服务器的Dispatch,Gateway,NameSpace,namespace的话可以自动带出来,如果有权限认证的话,需要填上账号,然后登陆即可。
我们暂时找到需要逆向工程的菜单
好了,到这里,就可以导出model.xml了,最后我们新建个项目,把model.xml文件覆盖一下就可以了。
0 0
- Framework Manager入门教程(十二) - FM逆向工程(MotioPI)
- FrameWork逆向工程之MotioPI
- Framework Manager入门教程(二) - FM开发规范
- 使用MotioPI恢复Framework Manager的Package
- Framework Manager入门教程(十三) - FM配置:Set Governors(控制规则)
- Framework Manager入门教程(三) - 固定显示4个季度(FM建模)(上)
- Framework Manager入门教程(四) - 固定显示4个季度(FM建模)(中)
- Framework Manager入门教程(五) - 固定显示4个季度(FM建模)(下)
- Framework Manager入门教程(六) - 固定显示4个季度(FM建模)(续一)
- Framework Manager入门教程(七) - 固定显示4个季度(FM建模)(续二)
- Framework Manager入门教程(八) - 目标值(按层级取数) (FM建模)(上)
- Framework Manager入门教程(九) - 目标值(按层级取数) (FM建模)(下)
- Framework Manager入门教程(十) - 行政组织显示负责人信息(FM建模)
- mybatis (十二) 逆向工程
- Cognos入门教程(二)- framework manager安装
- Framework Manager入门教程(十一) - 决定因素
- 逆向工程---Mybatis学习笔记(十二)
- 逆向工程---Mybatis学习笔记(十二)
- autorelease探究
- SDUTOJ 2142 数据结构实验图论一:基于邻接表的广度优先搜索遍历
- ajax中文乱码问题
- QT菜单制作
- 基于HTML5 Canvas的饼状图表实现教程
- Framework Manager入门教程(十二) - FM逆向工程(MotioPI)
- jquery 限制文本框只能输入数字
- 【#define PI acos(-1.0)】【非凸包】poj 2365 Rope
- 删除数据库中的次要文件出错
- 解决CCScrollView中菜单条目在不可见时仍响应点击事件的问题
- CGI实现页面的动态生成
- 学习笔记,2014年8月19日,序列化一个实体,写入到本地,和读出。
- Android LayoutInflater原理分析,带你一步步深入了解View
- 设计 4 个 ( 可以是 n 个 ) 线程,其中两个线程每次对 j 增加 1 ,另外两个线程对 j 每次减少 1