Установлена Pentaho CE v. 8.0.0.0-28.
Имеется папка с кастомным компонентом, ниже XML компонента:
<DesignerComponent>
<Header>
<Name>Gantt Chart</Name>
<IName>GanttChart</IName>
<Description>Gantt Chart Component</Description>
<Category>CHARTS</Category>
<CatDescription>Charts</CatDescription>
<Type>PalleteEntry</Type>
</Header>
<Contents>
<Model>
<Definition name="jFreeChartDataSource">
<Property>dataSource</Property>
</Definition>
<Property>htmlObject</Property>
<Property>listeners</Property>
<Property>executeAtStart</Property>
<Property>preChange</Property>
<Property>postChange</Property>
<Property>preExecution</Property>
<Property>postExecution</Property>
<Property>refreshPeriod</Property>
<Property>tooltip</Property>
<Property>xmlDataString</Property>
<Property>gntLegendTitles</Property>
<Property>clickTaskList</Property>
<Property>clickTaskName</Property>
<Property>clickResource</Property>
<Property>clickDuration</Property>
<Property>clickPercent</Property>
<Property>clickSdate</Property>
<Property>clickEdate</Property>
<Property>columnOrder</Property>
<Property>mouseMoveTaskList</Property>
<Property>mouseMoveName</Property>
<Property>mouseMoveResource</Property>
<Property>mouseMoveDuration</Property>
<Property>mouseMovePercent</Property>
<Property>mouseMoveSdate</Property>
<Property>mouseMoveEdate</Property>
<Property>mouseOutTaskList</Property>
<Property>mouseOutName</Property>
<Property>mouseOutResource</Property>
<Property>mouseOutDuration</Property>
<Property>mouseOutPercent</Property>
<Property>mouseOutSdate</Property>
<Property>mouseOutEdate</Property>
<Property>customTitleBlock</Property>
<Property>clickTaskBar</Property>
</Model>
<Implementation>
<Code src="GanttChartComponent.js"/>
<Styles>
<Style src="/lib/jsgantt.css" version="1.7.5.2">jsgantt</Style>
</Styles>
<Dependencies>
<Dependency src="/lib/jsgantt.js" version="1.7.5.2">jsganttjs</Dependency>
</Dependencies>
<CustomProperties>
<DesignerProperty>
<Header>
<Name>xmlDataString</Name>
<Parent>BaseProperty</Parent>
<DefaultValue></DefaultValue>
<Description>xmlDataString</Description>
<Tooltip>Set data for a Gantt chart in XML</Tooltip>
<InputType>String</InputType>
<OutputType>String</OutputType>
<Order>0</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>gntLegendTitles</Name>
<Parent>BaseProperty</Parent>
<DefaultValue>"[]"</DefaultValue>
<Description>GNTLegendTitles</Description>
<Tooltip>Set title for a legend</Tooltip>
<InputType>GNTLegendTitles</InputType>
<OutputType>Array</OutputType>
<Order>1</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>clickTaskList</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>ClickTaskList</Description>
<Tooltip>The function caused when clicking the zero cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>2</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>clickTaskName</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>ClickTaskName</Description>
<Tooltip>The function caused when clicking the first cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>3</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>clickResource</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>ClickResource</Description>
<Tooltip>The function caused when clicking the second cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>4</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>clickDuration</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>ClickDuration</Description>
<Tooltip>The function caused when clicking the third cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>5</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>clickPercent</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>ClickPercent</Description>
<Tooltip>The function caused when clicking the fourth cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>6</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>clickSdate</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>ClickSdate</Description>
<Tooltip>The function caused when clicking the fifth cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>7</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>clickEdate</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>ClickEdate</Description>
<Tooltip>The function caused when clicking the sixth cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>8</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>columnOrder</Name>
<Parent>BaseProperty</Parent>
<DefaultValue></DefaultValue>
<Description>ColumnOrder</Description>
<Tooltip>Column order</Tooltip>
<InputType>ColumnOrder</InputType>
<OutputType>Array</OutputType>
<Order>9</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseMoveTaskList</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseMoveTaskList</Description>
<Tooltip>The function caused when clicking the zero cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>10</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseMoveName</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseMoveName</Description>
<Tooltip>The function caused when clicking the first cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>11</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseMoveResource</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseMoveResource</Description>
<Tooltip>The function caused when clicking the second cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>12</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseMoveDuration</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseMoveDuration</Description>
<Tooltip>The function caused when clicking the third cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>13</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseMovePercent</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseMovePercent</Description>
<Tooltip>The function caused when clicking the fourth cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>14</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseMoveSdate</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseMoveSdate</Description>
<Tooltip>The function caused when clicking the fifth cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>15</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseMoveEdate</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseMoveEdate</Description>
<Tooltip>The function caused when clicking the sixth cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>16</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseOutTaskList</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseOutTaskList</Description>
<Tooltip>The function caused when clicking the zero cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>17</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseOutName</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseOutName</Description>
<Tooltip>The function caused when clicking the first cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>18</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseOutDuration</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseOutDuration</Description>
<Tooltip>The function caused when clicking the second cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>19</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseMoveDuration</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseMoveDuration</Description>
<Tooltip>The function caused when clicking the third cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>20</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseOutPercent</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseOutPercent</Description>
<Tooltip>The function caused when clicking the fourth cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>21</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseOutSdate</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseOutSdate</Description>
<Tooltip>The function caused when clicking the fifth cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>22</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>mouseOutEdate</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>MouseOutEdate</Description>
<Tooltip>The function caused when clicking the sixth cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>23</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>customTitleBlock</Name>
<Parent>BaseProperty</Parent>
<DefaultValue></DefaultValue>
<Description>CustomTitleBlock</Description>
<Tooltip>Hint pattern</Tooltip>
<InputType>CustomTitleBlock</InputType>
<OutputType>String</OutputType>
<Order>24</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
<DesignerProperty>
<Header>
<Name>clickTaskBar</Name>
<Parent>BaseProperty</Parent>
<DefaultValue/>
<Description>ClickTaskBar</Description>
<Tooltip>The function caused when clicking the zero cell</Tooltip>
<InputType>JavaScript</InputType>
<OutputType>Function</OutputType>
<Order>25</Order>
<Advanced>false</Advanced>
<Version>1.0</Version>
</Header>
</DesignerProperty>
</CustomProperties>
</Implementation>
</Contents>
Все зависимости которые описаны в файле XML лежат корректно.
Перемещаю папку с файлами компонента по адресу:
**\pentaho-server\pentaho-solutions\system\pentaho-cdf-dd\resources\custom\components**
Соответственно очищаю кэш в папке Tomcat (logs, work, temp), на всякий "пожарный" так же чищу репозиторий в папке:
\pentaho-server\pentaho-solutions\system\jackrabbit
Запускаю Пентаху, компонент в списке чартов в CDE не появляется...
Возможно кто сталкивался ? Возможно еще где то хранится кэш который нужно очистить ?
Пентаха собрана из исходников, никакие манипуляции по доп. настройке не производились... Пентаха смотрит на ту папку solutions куда я добавляю папку с файлами своего компонента.
В программе есть несколько слабо пересекающихся модулейХотелось для каждого модуля сделать свой конфигурационный файл логгера