Generating a CSS file for the domain entities
After you have defined the domain entities in the XML specification, the following setup is needed.
Run the bin\perllib\genDomainEntityIconClasses.pl command
from the top directory where the application has been setup, in a
command window. Running this command generates a CSS file that includes
the newly added domain entities for icon accessibility from the product.
Output similar to the following is displayed:
c:\projects_rtc\trunk\ccd_src>bin\perllib\genDomainEntityIconClasses.pl
Reading fileName = multi_domain_entities_en_US.xml, with localeString = en_US
Now processing domain entities for company: trigo in locale: en_US...
dei = DomainEntityInfo (Department, entry, department, departments, Department,
Departments, DEPARTMENT, DEPARTMENTS, /images/entities/department.png, /images/e
ntities/empty_display_value_department.png)
dei = DomainEntityInfo (Hardware, entry, machine, machines, Machine, Machines, M
ACHINE, MACHINES, /images/entities/machine.png, /images/entities/empty_display_v
alue_machine.png)
dei = DomainEntityInfo (Geography, entry, region, regions, Region, Regions, REGI
ON, REGIONS, /images/entities/geography.png, /images/entities/empty_display_valu
e_geography.png)
dei = DomainEntityInfo (Manager, entry, manager, managers, Manager, Managers, MA
NAGER, MANAGERS, /images/entities/manager.png, /images/entities/empty_display_va
lue_employee.png)
dei = DomainEntityInfo (Equipment, entry, equipment, equipments, Equipment, Equi
pments, EQUIPMENT, EQUIPMENTS, /images/entities/equipment.png, /images/entities/
empty_display_value_equipment.png)
dei = DomainEntityInfo (Employee, entry, employee, employees, Employee, Employee
s, EMPLOYEE, EMPLOYEES, /images/entities/employee.png, /images/entities/empty_di
splay_value_employee.png)
Now processing domain entities for company: acme in locale: en_US...
dei = DomainEntityInfo (Department, entry, department, departments, Department,
Departments, DEPARTMENT, DEPARTMENTS, /images/entities/department.png, /images/e
ntities/empty_display_value_department.png)
dei = DomainEntityInfo (Hardware, entry, machine, machines, Machine, Machines, M
ACHINE, MACHINES, /images/entities/machine.png, /images/entities/empty_display_v
alue_machine.png)
dei = DomainEntityInfo (Geography, entry, region, regions, Region, Regions, REGI
ON, REGIONS, /images/entities/geography.png, /images/entities/empty_display_valu
e_geography.png)
dei = DomainEntityInfo (Manager, entry, manager, managers, Manager, Managers, MA
NAGER, MANAGERS, /images/entities/manager.png, /images/entities/empty_display_va
lue_employee.png)
dei = DomainEntityInfo (Equipment, entry, equipment, equipments, Equipment, Equi
pments, EQUIPMENT, EQUIPMENTS, /images/entities/equipment.png, /images/entities/
empty_display_value_equipment.png)
dei = DomainEntityInfo (Employee, entry, employee, employees, Employee, Employee
s, EMPLOYEE, EMPLOYEES, /images/entities/employee.png, /images/entities/empty_di
splay_value_employee.png)
Now processing domain entities for company: junitdb in locale: en_US...
dei = DomainEntityInfo (Department, entry, department, departments, Department,
Departments, DEPARTMENT, DEPARTMENTS, /images/entities/department.png, /images/e
ntities/empty_display_value_department.png)
dei = DomainEntityInfo (Hardware, entry, machine, machines, Machine, Machines, M
ACHINE, MACHINES, /images/entities/machine.png, /images/entities/empty_display_v
alue_machine.png)
dei = DomainEntityInfo (Geography, entry, region, regions, Region, Regions, REGI
ON, REGIONS, /images/entities/geography.png, /images/entities/empty_display_valu
e_geography.png)
dei = DomainEntityInfo (Manager, entry, manager, managers, Manager, Managers, MA
NAGER, MANAGERS, /images/entities/manager.png, /images/entities/empty_display_va
lue_employee.png)
dei = DomainEntityInfo (Equipment, entry, equipment, equipments, Equipment, Equi
pments, EQUIPMENT, EQUIPMENTS, /images/entities/equipment.png, /images/entities/
empty_display_value_equipment.png)
dei = DomainEntityInfo (Employee, entry, employee, employees, Employee, Employee
s, EMPLOYEE, EMPLOYEES, /images/entities/employee.png, /images/entities/empty_di
splay_value_employee.png)
Reading fileName = multi_domain_entities_fr_FR.xml, with localeString = fr_FR
After you run the bin\perllib\genDomainEntityIconClasses.pl command,
restart the application.