Bug 1331545 - JBDS 8.1 is not showing the custom task under diagram pallete for maven projects
Summary: JBDS 8.1 is not showing the custom task under diagram pallete for maven projects
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: Eclipse Tooling
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Kris Verlaenen
QA Contact: Jozef Marko
URL:
Whiteboard:
Depends On:
Blocks: 1331546
TreeView+ depends on / blocked
 
Reported: 2016-04-28 18:42 UTC by Amana
Modified: 2020-03-27 19:44 UTC (History)
0 users

Fixed In Version:
Clone Of:
: 1331546 (view as bug list)
Environment:
Last Closed: 2020-03-27 19:44:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
GoogleCalendar.wid (sample) (702 bytes, text/plain)
2016-04-28 18:42 UTC, Amana
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Eclipse Project 492792 0 None None None 2016-05-02 07:41:14 UTC

Description Amana 2016-04-28 18:42:07 UTC
Created attachment 1152037 [details]
GoogleCalendar.wid (sample)

Description of problem:
After creating a custom task it is not showed in the pallete for Diagram Editor in JBDS 8.1. if the project is mavenized.

It works well for common jBPM Project, but not for jBPM Project (Maven).

Version-Release number of selected component (if applicable):
JBDS 8.1 - BPM Suite 6.2


How reproducible:
Always

Steps to Reproduce:
## jBPM Project (Maven)
1. Create a new jBPM Project (Maven) in JBDS 8.1;
2. Copy the attached GoogleCalendar.wid to the src/main/resources/META-INF under your project;
3. Close and open the sample.bpmn process. A new category displaying "Google" custom task is NOT displayed under pallete.

## jBPM Project (NOT a MAVEN project)
1. Create a new jBPM Project in JBDS 8.1;
2. Copy the attached GoogleCalendar.wid to the src/main/resources/META-INF under your project;
3. Close and open the sample.bpmn process. A new category displaying "Google" custom task IS displayed under pallete.

Actual results:
1. For maven projects it does not work.


Expected results:
It should work anyway.


Additional info:
There is not workaround.

Comment 3 Jozef Marko 2016-05-02 07:26:07 UTC
Hello Amana,
This bug was already fixed in:
jbds-9.1.0.CR1_jbdsis-9.0.0.CR1
jbtis-4.3.0.CR1
BPMN2 Modeler - 1.2.4.Final-v20160330-1625-B110

Bob, can you say if this will be fixed also in jbds-8.x or if some workaround exists?

Comment 5 Robert (Bob) Brodt 2016-05-19 12:54:18 UTC
The small red rectangle is the "universal icon" (in eclipse) for a missing icon - this is working as expected.

Comment 6 Amana 2016-05-19 13:02:43 UTC
Hi Robert,

Thanks for your answer. Yes, in fact it is working. What I meant is that even if I have a custom icon set, I still see the red icon. Is it another bug?

Thanks!

Comment 7 Robert (Bob) Brodt 2016-05-19 13:22:43 UTC
Hmm, that shouldn't be happening. Have you made sure the icon file is in the same folder as the wid?

Comment 8 Amana 2016-05-19 13:35:00 UTC
Hi Robert,

In fact I was placing the icon file under /resources folder and the wid under /resources/META-INF as stated in the doc [1]. It worked in a non-mavenized project in JBDS 8.

It worked now in JBDS 9 after changing the icon image under the same folder.

[1] https://access.redhat.com/documentation/en-US/Red_Hat_JBoss_BPM_Suite/6.2/html/User_Guide/sect-Domain-specific_Tasks.html

Thanks!


Note You need to log in before you can comment on or make changes to this bug.