Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BPMN 2.0 Modeler » Duplicate Custom Task pop-up error
Duplicate Custom Task pop-up error [message #949089] Thu, 18 October 2012 17:22 Go to next message
Ibrahim Hasbini is currently offline Ibrahim Hasbini
Messages: 2
Registered: October 2012
Junior Member
Hello,

I'm trying to define a custom task in a .wid file in my project.

I'm getting the following error pop-up dialog whenever I open a bpmn diagram in the bpmn2 modeler:
Quote:
Duplicate Custom Task
A Custom Task with id 'HelloWorld' was already defined.
The new Custom Task defined in the file:
project/src/test/resources/META-INF/CustomWorkDefinitions.wid
will be ignored.


It seems that after I build my project the file CustomWorkDefinitions.wid is copied into the folder:
project/target/test-classes/META-INF/CustomWorkDefinitions.wid

so the file exists in two locations:
project/src/test/resources/META-INF/CustomWorkDefinitions.wid
project/target/test-classes/META-INF/CustomWorkDefinitions.wid

If I delete the file in the target folder, then the pop-up error does not appear.

Shouldn't the bpmn2 modeler scan either the src or target folders for .wid files instead of both?

Thanks,
Ibrahim

Re: Duplicate Custom Task pop-up error [message #954015 is a reply to message #949089] Mon, 22 October 2012 18:20 Go to previous messageGo to next message
Robert Brodt is currently offline Robert Brodt
Messages: 593
Registered: August 2010
Location: Colorado Springs, CO
Senior Member

Hi Ibrahim,

This looks like a bug. Please create a bugzilla report here: https://bugs.eclipse.org/bugs/enter_bug.cgi?product=BPMN2Modeler

Thanks!
Bob
Re: Duplicate Custom Task pop-up error [message #956170 is a reply to message #954015] Wed, 24 October 2012 09:43 Go to previous message
Ibrahim Hasbini is currently offline Ibrahim Hasbini
Messages: 2
Registered: October 2012
Junior Member
Hi Bob,

bug report created: https://bugs.eclipse.org/bugs/show_bug.cgi?id=392730

Thanks,
Ibrahim
Previous Topic:problems with timer events
Next Topic:Generate Diagram from Model?
Goto Forum:
  


Current Time: Tue Sep 02 23:57:07 GMT 2014

Powered by FUDForum. Page generated in 0.02232 seconds