not heard back from you, another small note. The JAR does have the relevant dependencies,
so that @Entity and @Embeddable are on the class path?
Mark
On 4 Feb 2014, at 23:06, Mark Proctor <mproctor(a)codehaus.org> wrote:
And both classes are in the same uploaded JAR?
it’s strange, as it just builds a URLClassloader from that JAR, and then does loadClass
on it. Can you try master, just incase this has been fixed;
http://hp-dl380pg8-01.lab.eng.brq.redhat.com/jbpm-artifacts/master/
Mark
On 4 Feb 2014, at 21:59, John Manko <john.manko(a)gmail.com> wrote:
> yes. Added the maven based jar (binary), added the dependencies to the project, then
opened the data modeller and got that error. :(
>
>
> On Tue, Feb 4, 2014 at 4:15 PM, Mark Proctor <mproctor(a)codehaus.org> wrote:
> I’m not sure what you are trying to do?
>
> You’ve uploaded a JAR, which you’ve added to your project editor, which you then try
and open (for viewing only) in the data modeller?
>
> Mark
>
> On 4 Feb 2014, at 19:25, John Manko <john.manko(a)gmail.com> wrote:
>
>> It doesn't seem to work that well.
>>
>> Error: "An error occurred when the requested data model was loaded from
server". The server error is:
"java.lang.ClassNotFoundException:com.comp.project.entity.SomeEntityPK"
>>
>> SomeEntityPK is an @Embeddable for SomeEntity
>>
>> @Entity
>> public class SomeEntity implements Serializable {
>> private static final long serialVersionUID = 1L;
>> @EmbeddedId
>> protected SomeEntityPK someEntityPK;
>> /* fields */
>> }
>>
>>
>> @Embeddable
>> public class SomeEntityPK implements Serializable {
>> /* primary key fields */
>> }
>>
>>
>> Both are in the same package. Is this a bug?
>>
>>
>>
>>
>> On Tue, Feb 4, 2014 at 12:43 PM, Mark Proctor <mproctor(a)codehaus.org>
wrote:
>> Lots of videos here:
>>
http://blog.athico.com/2013/12/drools-60-workbench-and-editor-videos.html
>>
>> You need to go to the Deployment menu option, and upload jar. It’s then available
as a dependency, in the project editor configuration
>>
http://www.youtube.com/watch?v=FKVFkRHLGjQ&list=PLb9jQNHBKBRj9IJkc_F5...
>>
>> On 4 Feb 2014, at 17:32, John Manko <john.manko(a)gmail.com> wrote:
>>
>>> KIE 6.0.1.Final
>>>
>>>
>>> On Tue, Feb 4, 2014 at 12:10 PM, Michael Anstis
<michael.anstis(a)gmail.com> wrote:
>>> What version?
>>>
>>> Sent on the move
>>>
>>> On 4 Feb 2014 16:56, "John Manko" <john.manko(a)gmail.com>
wrote:
>>> I downloaded and configured Workbench (Guvnor), and I'd like to add my
entity classes to it in order to create rules to manipulate their data. I don't see
an JAR import function. Is this possible?
>>>
>>>
>>> _______________________________________________
>>> rules-users mailing list
>>> rules-users(a)lists.jboss.org
>>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>>
>> --
>> “If the American people ever allow private banks to control the issue of their
currency, first by inflation, then by deflation, the banks...will deprive the people of
all property until their children wake-up homeless on the continent their fathers
conquered... The issuing power should be taken from the banks and restored to the people,
to whom it properly belongs." -- Thomas Jefferson
>> _______________________________________________
>> rules-users mailing list
>> rules-users(a)lists.jboss.org
>>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>
>
> --
> “If the American people ever allow private banks to control the issue of their
currency, first by inflation, then by deflation, the banks...will deprive the people of
all property until their children wake-up homeless on the continent their fathers
conquered... The issuing power should be taken from the banks and restored to the people,
to whom it properly belongs." -- Thomas Jefferson
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users