kie-wb-distributions/kie-wb should compile if you fetch the latest drools and drools-wb. The class in the log is in drools/drools-workbench-models and was moved to a different package (reasonably recently).

Sent on the move

On 22 Jul 2014 21:21, "evidence01" <jmaterna@securelogix.com> wrote:
Hey folks,

I am working to try and get some of application code moved from 6.0.1 to
6.1.x and running into some issues.

Ive pulled droolsjbpm/drools, drools-wb, kie-b-distributions and only
drools-wb builds. We are using the "kie" skin under kie-wb-distributions and
as such I can't get that guy to build.

Who is prime on these wrt. to build sanity?

[root@ngp-m2 drools.git]# mvn install -DskipTests --fail-at-end
....
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 17.383 s
[INFO] Finished at: 2014-05-13T22:38:17-06:00
[INFO] Final Memory: 77M/535M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
(default-testCompile) on project drools-compiler: Compilation failure:
Compilation failure:
[ERROR]
/root/drools.git/drools-compiler/src/test/java/org/drools/compiler/integrationtests/QueryTest.java:[899,32]
error: cannot find symbol
[ERROR] symbol:   method verify()
[ERROR] location: variable helper of type KieHelper
[ERROR]
/root/drools.git/drools-compiler/src/test/java/org/drools/compiler/integrationtests/QueryTest.java:[919,32]
error: cannot find symbol
[ERROR] symbol:   method verify()
[ERROR] location: variable helper of type KieHelper
[ERROR]
/root/drools.git/drools-compiler/src/test/java/org/drools/compiler/integrationtests/QueryTest.java:[940,32]
error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the
command
[ERROR]   mvn <goals> -rf :drools-compiler
[root@ngp-m2 drools.git]# git branch
* 6.1.x

[root@ngp-m2 kie-wb-distributions.git]# mvn install -DskipTests
--fail-at-end
....
[INFO] --- gwt-maven-plugin:2.5.1:resources (gwt-compile) @
kie-drools-wb-webapp ---
[INFO] 16 source files from GWT module
org.kie.workbench.drools.FastCompiledKIEDroolsWebapp
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
kie-drools-wb-webapp ---
[INFO] Compiling 6 source files to
/root/kie-wb-distributions.git/kie-drools-wb/kie-drools-wb-webapp/target/classes
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources)
@ kie-drools-wb-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/root/kie-wb-distributions.git/kie-drools-wb/kie-drools-wb-webapp/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:testCompile (default-testCompile) @
kie-drools-wb-webapp ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-surefire-plugin:2.15:test (default-test) @
kie-drools-wb-webapp ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-resources-plugin:2.6:copy-resources (copy-resources) @
kie-drools-wb-webapp ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- gwt-maven-plugin:2.5.1:compile (gwt-compile) @
kie-drools-wb-webapp ---
[INFO] Compiling module org.kie.workbench.drools.FastCompiledKIEDroolsWebapp
[INFO]    Validating units:
[INFO]       [ERROR] Errors in
'org/drools/workbench/screens/guided/dtable/client/widget/AbstractBRLColumnViewImpl.java'
[INFO]          [ERROR] Line 43: The import
org.drools.workbench.models.datamodel.rule.RuleModelVisitor cannot be
resolved
[INFO]          [ERROR] Line 262: RuleModelVisitor cannot be resolved to a
type
[INFO]          [ERROR] Line 262: RuleModelVisitor cannot be resolved to a
type
[INFO]       [ERROR] Errors in
'org/drools/workbench/screens/guided/rule/client/widget/ExpressionBuilder.java'
[INFO]          [ERROR] Line 544: The method setName(String) is undefined
for the type ExpressionText
[INFO]       [ERROR] Errors in
'org/drools/workbench/screens/guided/rule/client/widget/FactPatternWidget.java'
[INFO]          [ERROR] Line 807: The method
getText(ToStringExpressionVisitor) in the type ExpressionFormLine is not
applicable for the arguments ()
[INFO]    [ERROR] Aborting compile due to errors in some input files
[INFO]
[INFO]
------------------------------------------------------------------------


Thanks!
-J



--
View this message in context: http://drools.46999.n3.nabble.com/6-1-x-build-failures-tp4030442.html
Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev