[rules-dev] guvnor: can anyone write a direction about how to debug gunvor in eclipse?
Michael Anstis
michael.anstis at gmail.com
Fri Jan 28 07:19:02 EST 2011
Looks OK.
The Run Configuration is not a file in GIT but what you create in Eclipse
when you run the GWT application.
Can you check this?
2011/1/28 李领康 <yushanyuan at gmail.com>
>
> i imported all the projects that eclipse can find in the directory
> 5.2.0.36439-M1 into eclipse.
>
> i ship one picture with this email. you can check.
>
> i have all the drools sub-project in my workspace,but i dont add all of
> them to my classpath.
>
> by the way , i did not find a launch configuration file as you said.
>
>
>
>
> 在 2011年1月28日 下午7:27,Michael Anstis <michael.anstis at gmail.com>写道:
>
>> What Drools projects do you have in your workspace?
>>
>> Are all of these projects referenced by Guvnor, rather than the equivalent
>> JARs in your build path?
>>
>> Also check your Launch Configuration is not referencing Drools JARs when
>> it should reference the projects.
>>
>> 2011/1/28 李领康 <yushanyuan at gmail.com>
>>
>> Hi, Geoffrey
>>>
>>> when i saw the error like :"No source code is available for
>>> type org.drools.ide.common.client.modeldriven.dt.GuidedDecisionTable;
>>> did you forget to inherit a required module?" . i add the drools-ide-common
>>> to Source in "Run configuration"->Source --> add-->java project,
>>> and i selected all the drools sub-project. but it does work. i also added
>>> the project to the classpath in "Run configuration".
>>> i try everything i can, no works.
>>>
>>>
>>> 在 2011年1月28日 下午7:02,Geoffrey De Smet <ge0ffrey.spam at gmail.com>写道:
>>>
>>> The problem is clearly that the drools-ide-common (and
>>>> drools-factconstraints) sources files aren't given to the gwt compiler.
>>>>
>>>> Maybe our eclipse users (I am not one of them), do something special
>>>> like
>>>> add in an extra source path dependency from drools-guvnor to
>>>> drools-ide-common (and drools-factconstraints)?
>>>>
>>>> Op 28-01-11 10:39, 李领康 schreef:
>>>> > Hi, Geoffrey
>>>> > *
>>>> > *
>>>> > **yes, i had readed that readme.txt. i do execute mvn eclipse:eclipse
>>>> > in directory 5.2.0.36439-M1, and import all the sub-project in
>>>> eclipse.
>>>> >
>>>> >
>>>> >
>>>> > 2011/1/28 Geoffrey De Smet <ge0ffrey.spam at gmail.com
>>>> > <mailto:ge0ffrey.spam at gmail.com>>
>>>> >
>>>> > Hi Derek,
>>>> >
>>>> > The content of that page should probably be centralized in the
>>>> > README.txt:
>>>> > https://github.com/droolsjbpm/droolsjbpm/blob/master/README.txt
>>>> >
>>>> > Did you also follow the "Configuring Eclipse" info in the
>>>> README.txt?
>>>> >
>>>> > After the split-up I'll take a look and where and how we'll
>>>> centralize
>>>> > all "how do I setup my build" documentation.
>>>> >
>>>> > Op 28-01-11 04:03, 李领康 schreef:
>>>> > > HI,
>>>> > > i want to debug guvnor in eclipse, i follow the derection in
>>>> > >
>>>> http://community.jboss.org/wiki/RulesRepositoryBuildInstructions.
>>>> > > un fortunately, i Failure.
>>>> > >
>>>> > > the following are my environment.
>>>> > >
>>>> > > window xp sp3
>>>> > > eclipse sdk 3.6.1,( install gwt plugin from
>>>> > > http://dl.google.com/eclipse/plugin/3.6. )(gwt-2.1.1)
>>>> > > java .1.6.0_18
>>>> > > maven 3.0.2
>>>> > > ant 1.8.2
>>>> > > drools 5.2.0.36439-M1
>>>> > >
>>>> > >
>>>> > > and when run --> web application. the Development Mode show
>>>> these:
>>>> > > -------------------------------
>>>> > >
>>>> > > [DEBUG] [org.drools.guvnor.Guvnor] - Validating newly compiled
>>>> units
>>>> > > [ERROR] [org.drools.guvnor.Guvnor] - Errors in
>>>> > >
>>>> >
>>>> 'file:/F:/JAVA/Drool/5.2.0.36439-M1/drools-guvnor/src/main/java/org/drools/guvnor/client/decisiontable/ActionInsertColumn.java'
>>>> > > [ERROR] [org.drools.guvnor.Guvnor] - Line 58: No source code is
>>>> > > available for type
>>>> > > org.drools.ide.common.client.modeldriven.dt.GuidedDecisionTable;
>>>> did
>>>> > > you forget to inherit a required module?
>>>> > > [ERROR] [org.drools.guvnor.Guvnor] - Line 59: No source code is
>>>> > > available for type
>>>> > >
>>>> org.drools.ide.common.client.modeldriven.SuggestionCompletionEngine;
>>>> > > did you forget to inherit a required module?
>>>> > > [ERROR] [org.drools.guvnor.Guvnor] - Line 60: No source code is
>>>> > > available for type
>>>> > > org.drools.ide.common.client.modeldriven.dt.ActionInsertFactCol;
>>>> did
>>>> > > you forget to inherit a required module?
>>>> > > [ERROR] [org.drools.guvnor.Guvnor] - Line 179: No source code is
>>>> > > available for type
>>>> > > org.drools.ide.common.client.modeldriven.dt.ActionCol; did you
>>>> > forget
>>>> > > to inherit a required module?
>>>> > > [ERROR] [org.drools.guvnor.Guvnor] - Line 198: No source code is
>>>> > > available for type
>>>> > >
>>>> org.drools.ide.common.client.modeldriven.FieldAccessorsAndMutators;
>>>> > > did you forget to inherit a required module?
>>>> > > [ERROR] [org.drools.guvnor.Guvnor] - Errors in
>>>> > >
>>>> >
>>>> 'file:/F:/JAVA/Drool/5.2.0.36439-M1/drools-guvnor/src/main/java/org/drools/guvnor/client/decisiontable/ActionSetColumn.java'
>>>> > > [ERROR] [org.drools.guvnor.Guvnor] - Line 55: No source code is
>>>> > > available for type
>>>> > > org.drools.ide.common.client.modeldriven.dt.ActionSetFieldCol;
>>>> > did you
>>>> > > forget to inherit a required module?
>>>> > > [ERROR] [org.drools.guvnor.Guvnor] - Line 58: No source code is
>>>> > > available for type
>>>> > > org.drools.ide.common.client.modeldriven.dt.GuidedDecisionTable;
>>>> did
>>>> > > you forget to inherit a required module?
>>>> > > [ERROR] [org.drools.guvnor.Guvnor] - Line 59: No source code is
>>>> > > available for type
>>>> > >
>>>> org.drools.ide.common.client.modeldriven.SuggestionCompletionEngine;
>>>> > > did you forget to inherit a required module?
>>>> > > [ERROR] [org.drools.guvnor.Guvnor] - Line 183: No source code is
>>>> > > available for type
>>>> > > org.drools.ide.common.client.modeldriven.dt.ActionCol; did you
>>>> > forget
>>>> > > to inherit a required module?
>>>> > > [ERROR] [org.drools.guvnor.Guvnor] - Line 265: No source code is
>>>> > > available for type
>>>> > > org.drools.ide.common.client.modeldriven.dt.ConditionCol; did
>>>> you
>>>> > > forget to inherit a required module?
>>>> > > ...............................
>>>> > > ..........................
>>>> > >
>>>> > > thanks
>>>> > >
>>>> > > derek lee.
>>>> > >
>>>> > >
>>>> > > _______________________________________________
>>>> > > rules-dev mailing list
>>>> > > rules-dev at lists.jboss.org <mailto:rules-dev at lists.jboss.org>
>>>> > > https://lists.jboss.org/mailman/listinfo/rules-dev
>>>> >
>>>> > --
>>>> > With kind regards,
>>>> > Geoffrey De Smet
>>>> >
>>>> >
>>>> > _______________________________________________
>>>> > rules-dev mailing list
>>>> > rules-dev at lists.jboss.org <mailto:rules-dev at lists.jboss.org>
>>>> > https://lists.jboss.org/mailman/listinfo/rules-dev
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > --
>>>>
>>>> >
>>>> > _______________________________________________
>>>> > rules-dev mailing list
>>>> > rules-dev at lists.jboss.org
>>>> > https://lists.jboss.org/mailman/listinfo/rules-dev
>>>>
>>>> --
>>>> With kind regards,
>>>> Geoffrey De Smet
>>>>
>>>>
>>>> _______________________________________________
>>>> rules-dev mailing list
>>>> rules-dev at lists.jboss.org
>>>> https://lists.jboss.org/mailman/listinfo/rules-dev
>>>>
>>>
>>>
>>> rules-dev mailing list
>>> rules-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/rules-dev
>>>
>>>
>>
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-dev
>>
>>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20110128/8127f4cd/attachment.html
More information about the rules-dev
mailing list