[rules-dev] guvnor: can anyone write a direction about how to debug gunvor in eclipse?

李领康 yushanyuan at gmail.com
Fri Jan 28 06:20:44 EST 2011


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
> >
> >
> >
> >
> > --
> > ------------------------------
> > 李领康
> > JBoss方案工程师
> > 红帽服务中心
> >
> >
> > _______________________________________________
> > 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
>



-- 
------------------------------
李领康
JBoss方案工程师
红帽服务中心
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20110128/f0d1b90a/attachment-0001.html 


More information about the rules-dev mailing list