This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Copyright 2016 Red Hat, Inc. and/or its affiliates. | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | |
| * http://www.apache.org/licenses/LICENSE-2.0 | |
| * | |
| * Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void testDeleteFile() throws IOException, InterruptedException { | |
| final Path path = getBasePath( this.getClass().getSimpleName() ).resolve( "delete-me.txt" ); | |
| // The first write results in 1 commit that we count | |
| setupCountDown( 1 ); | |
| ioService().write( path, | |
| "content", | |
| Collections.<OpenOption>emptySet(), | |
| new FileAttribute<Object>() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| YOUR CODE | |
| --------- | |
| @Override | |
| public List<GridColumn.HeaderMetaData> makeHeaderMetaData( final BaseColumn column ) { | |
| return new ArrayList<GridColumn.HeaderMetaData>() {{ | |
| if ( column instanceof ActionSetFieldCol52 ) { | |
| ActionSetFieldCol52 actionSetFieldColumn = ( ActionSetFieldCol52 ) column; | |
| if ( actionSetFieldColumn.getBoundName() != null && !actionSetFieldColumn.getBoundName().isEmpty() ) { | |
| add( new BaseHeaderMetaData( actionSetFieldColumn.getBoundName(), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ERROR_EXTERNAL_CLASS_VERIFICATION = "Verification of class {0} failed and will not be available for authoring. " + | |
| "Underlying system error is {1}. Please check the necessary external dependencies for this project are configured correctly."; | |
| } catch (Throwable e) { | |
| final String msg = MessageFormat.format( ERROR_EXTERNAL_CLASS_VERIFICATION, | |
| toFQCN( packageName, className ), | |
| e.getMessage() ); | |
| logger.warn( msg ); | |
| logger.debug( "This state is usually encountered when the Project references a class not on the classpath; e.g. in a Maven 'provided' scope or 'optional' dependency." ); | |
| buildMessages.add( makeWarningMessage( msg ) ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 1) The new GRE must be meta-data driven, so it's features do not become stale when DRL changes. The meta-data would be generated from ANTRL grammer (for KIE 7.x). | |
| Mario and Alexandre have suggested DRL8 will have support for providing the meta-data in future versions. | |
| 2) The persistent format must remain as DRL (as this was a key initiative we took going from 5.x to 6.x to support round-tripping of rules). It also fits in with our documented vision of opening any rule with any editor. | |
| 3) The new editor is "Guided DRL Editor" and not a "Guided RULE editor". Whatever can be defined with DRL should be supported by the new editor; which is possible if it's meta-data driven. | |
| This would introduce the ability to define DRL Queries, Functions and CEP Windows with the Editor; and consolidate the current "Globals" editor into the new GRE. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| manstis@manstis-ThinkPad-T540p kie-drools-wb-webapp [mymaster $] $ mvn gwt:run | |
| [INFO] Scanning for projects... | |
| [INFO] | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] Building KIE Drools Workbench - Webapp 7.0.0-SNAPSHOT | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] | |
| [INFO] >>> gwt-maven-plugin:2.8.0:run (default-cli) > process-classes @ kie-drools-wb-webapp >>> | |
| [INFO] | |
| [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-plugin-versions) @ kie-drools-wb-webapp --- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| M kie-drools-wb/kie-drools-wb-home-page-community/src/main/resources/org/kie/workbench/drools/client/resources/i18n/HomePageCommunityConstants_de.properties (1) | |
| M kie-drools-wb/kie-drools-wb-home-page-community/src/main/resources/org/kie/workbench/drools/client/resources/i18n/HomePageCommunityConstants_es.properties (1) | |
| M kie-drools-wb/kie-drools-wb-home-page-community/src/main/resources/org/kie/workbench/drools/client/resources/i18n/HomePageCommunityConstants_fr.properties (1) | |
| M kie-drools-wb/kie-drools-wb-home-page-community/src/main/resources/org/kie/workbench/drools/client/resources/i18n/HomePageCommunityConstants_ja.properties (1) | |
| M kie-drools-wb/kie-drools-wb-home-page-community/src/main/resources/org/kie/workbench/drools/client/resources/i18n/HomePageCommunityConstants_pt_BR.properties (1) | |
| M kie-drools-wb/kie-drools-wb-home-page-community/src/main/resources/org/kie/workbench/drools/client/resources/i18n/HomePageCommunityConstants_zh_CN.properties (1) | |
| A kie-drools-wb/kie-drools-wb-webapp/src/main/resour |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Test | |
| public void checkIncrementalCompilationWithRuleFunctionRule() throws Exception { | |
| String rule_1 = "package org.kie.scanner\n" + | |
| "rule R1 when\n" + | |
| " String()\n" + | |
| "then\n" + | |
| "end\n"; | |
| String rule_2 = "package org.kie.scanner\n" + | |
| "rule R1 when\n" + |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| manstis@manstis-ThinkPad-T540p kie-docs [mymaster] $ mvn clean install -DskipTests | |
| [INFO] Scanning for projects... | |
| [INFO] ------------------------------------------------------------------------ | |
| [INFO] Reactor Build Order: | |
| [INFO] | |
| [INFO] KIE :: Documentation | |
| [INFO] KIE :: Documentation :: Example Code | |
| [INFO] KIE :: Documentation :: Drools Docbook | |
| [INFO] KIE :: Documentation :: Drools Asciidoc | |
| [INFO] KIE :: Documentation :: OptaPlanner Workbench and Execution Server Docbook |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /home/manstis/libraries/jdk/jdk1.8.0_72/bin/java -Xmx4096m -XX:CompileThreshold=7000 -Derrai.jboss.home=/home/manstis/workspaces/git/manstis/forks/drools-wb-BPMSPL-159/drools-wb-webapp/target/wildfly-8.1.0.Final/ -Dorg.uberfire.nio.git.dir=/tmp/niogit -Didea.launcher.port=7532 -Didea.launcher.bin.path=/home/manstis/installs/inteliJ/idea-IU-141.713.2/bin -Dfile.encoding=UTF-8 -classpath /home/manstis/.m2/repository/com/google/gwt/gwt-codeserver/2.8.0-beta1/gwt-codeserver-2.8.0-beta1.jar:/home/manstis/workspaces/git/manstis/forks/drools-wb-BPMSPL-159/drools-wb-webapp/src/main/java:/home/manstis/workspaces/git/manstis/forks/drools-wb-BPMSPL-159/drools-wb-webapp/src/main/resources:/home/manstis/workspaces/git/manstis/forks/drools-wb-BPMSPL-159/drools-wb-webapp/target/generated-sources/annotations:/home/manstis/.m2/repository/org/kie/workbench/widgets/kie-wb-common-ui/7.0.0-SNAPSHOT/kie-wb-common-ui-7.0.0-20160601.223847-347-sources.jar:/home/manstis/.m2/repository/org/uberfire/uberfire-commons-editor-client/0.9.0 |