2.2 SpecChange 规格变动
2.2.1 Situation 情景
A company requires approval from three departments, Automation, Manufacturing, and Quality,
for every specification change to its prodUCtion system. When submitted, the specification
change should immediately appear in Automation's and Manufacturing's 'Inbox's for Approval.
However, the specification change should not appear in Quality's 'Inbox' until the other two
departments have approved it.
对于每个产品系统的规格修改,一个公司需要得到三个部门的批准,自动化,制造和
质量。当规格修改的请求被提交时,规格修改将立即出现在自动化和制造部门的收件箱中
等待批准。然而,规格修改不应该出现在质量部门收件箱中,直到其他两个部门批准它以
后。
To simplify this example, rejecting a specification change will not be required.
为了简化这个例子,不需要否决一个规格。(例子中没有考虑这种情况)
2.2.2 Preparation预备
2.2.2.1 Overview
1) If the PowerFolder Server has not been started, start it now.
假如PowerFolder服务器没有启动,那么启动它。
2) Log into the PowerFolder Console
登录进入PowerFolder控制台.
3) Undeploy all scripts and web pages
卸载所有脚本和页面.
4) Deploy the following script and web pages.
发布下面的脚本和页面
Script:
脚本
- SpecChange
Web Pages:
页面
- AutomationAppr
- AutomationView
- Login
- ManufactAppr
- ManufactView
- QualityAppr
- QualityView
- SubmitResponse
2.2.2.2 How-To怎样做
- Starting the PowerFolder Server. If you configured environment variable 'Java_HOME'
during installation, just double-click 'run_with_tomcat.bat' in Windows EXPlorer. Otherwise,
open a command console and make sure the environment variable 'JAVA_HOME' is set to base
Directory of the Java installation. Start the PowerFolder server by going to the directory then go
to the 'jboss' subdirectory then again go to the 'bin' subdirectory. Run program
'run_with_tomcat.bat'.
启动PowerFolder服务器。假如你在安装时配置了环境变量JAVA_HOME,只要在资源
治理中双击run_with_tomcat.bat。否则的话,打开一个命令控制台,设计环境变量
JAVA_HOME到Java安装的根目录。要启动PowerFolder服务器,移动到安装目录,到
jboss子目录,到bin 子目录,运行程序run_with_tomcat.bat。
- Logging into the PowerFolder Console. Open a web browser and go to the address
'http://localhost:8080/powerfolder/login'. Enter 'admin' for the user name and passWord, and then
press 'Login'.
登录进入PowerFolder控制台:打开一个浏览器,到地址
'http://localhost:8080/powerfolder/login',输入admin作为用户名和口令,按下
Login按钮。
- Undeploying scripts and web pages. To undeploy scripts, from the PowerFolder Console open