可以说我有类似下面的模块结构
Modules
->utils
->domain
->client
->services
->deploy (this is at the module level)
Run Code Online (Sandbox Code Playgroud)
现在,我需要建立所有模块的客户端,i.e utils, domain, client, services,因为我正在加载所有上述模块的罐子,以便客户端
并且所有罐子都在模块部署中组装.
我的问题是,如果我改变了服务中的任何内容,那么有没有办法在运行构建时deploy maven可以识别它只需要构建services并因此构建它并将其部署在deploy文件夹中?
这是我的oracle 11.2.0配置
LISTENER.ORA:
LISTENER_ORCL =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = IPC)(KEY = ORCL))
(ADDRESS = (PROTOCOL = TCP)(HOST =localhost)(PORT = 1521))
)
)
Run Code Online (Sandbox Code Playgroud)
tnsnames.ora中
ORCL =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = ORCL)
)
)
Run Code Online (Sandbox Code Playgroud)
我在Windows 8机器上以管理员用户身份启动OracleServieORCL.然后在同一个系统上,我使用sqldevloper(4.0.1)连接到SID ORCL,用户名系统和密码admin(admin是安装时给出的密码)
我收到错误ORA-12518:TNS:监听器无法切断客户端连接.
我试图重新安装该软件,但这没有帮助.我的盒子上安装了Java 8(8-101)版本.
lsnrctl services
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 14-SEP-2016 12:02:11
Copyright (c) 1991, 2014, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1))) …Run Code Online (Sandbox Code Playgroud) 只是想到有没有办法使用Drools API将drl文件转换为excel表?
我们目前在Drools 5.3但是真的可以使用任何版本.
提前致谢
我一直在研究如何简化我用DRL手动编写的一些规则,这些规则变得难以维护.
通过谷歌搜索导致"决策表是最好的方式去forawad".
但遗憾的是我们的事实非常复杂,所以当下drools电子书转换器,无法处理如此复杂的事实,
所以第一个问题是开发人员通常如何处理drools知识库中非常复杂的事实?
例如,我们有类似的事实
Person->List<Cars>->List<Insurances>->Each insurance Has List<History>
Run Code Online (Sandbox Code Playgroud)
现在我必须写一条规则,说人有他的保险索赔的糟糕历史.然后我发现将它放在speadsheet中非常困难,因为它更容易在drl文件上手动编写此规则.
谢谢您的帮助.对上述示例的任何帮助也都非常好.
我写了一个以下文件grunt.js
var _path = require('path');
module.exports = function (grunt) {
var config = {
};
function addProject(project) {
grunt.helper('addProject', config, project);
}
addProject({
name:'mytest',
type:'module',
sourcePath:'../source',
outputPath:'../test/',
version : grunt.option('ver')||'0.1.0.0'
});
grunt.registerTask('default', 'module closureCompiler');
grunt.initConfig(config);
};
Run Code Online (Sandbox Code Playgroud)
当我在我的bat文件模块closureCompiler sync中使用命令运行它时,它会出错
Running "sync" task
>> No "sync" targets found.
<WARN> Task "sync" failed. Use --force
Run Code Online (Sandbox Code Playgroud)
这是什么意思?
我收到日期这种格式14-MAY-13 01.17.16.250000 PM和
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd-MMM-yy hh:mm:ss aaa");
simpleDateFormat.parse("14-MAY-13 01.17.16.250000 PM")
Run Code Online (Sandbox Code Playgroud)
给我这个例外
java.text.ParseException: Unparseable date: "14-MAY-13 01.17.16.250000 PM" .. simpledateformat的格式应该是什么?
我编写了一个slickgrid指令,但它似乎没有显示数据.
如果我检查chrome中的元素,那么我可以看到我的数据呈现的位置slick-viewport和grid-canvasdiv.
我确实试过resizeCanvas没有效果.
基本上网格行被重新连接但不可见.
我的模态看起来像这样
<div id="TestModal" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="width: 900px; margin-left: -450px">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="myModalLabel">Results</h3>
</div>
<div class="modal-body">
<myGrid
rows="results" //results = tow way bind to controller
columns="columns" //columns =two way bind to controller
width="1100px"
height="200px"/>
</div>
<div class="modal-footer">
<button ng-class="dialogButtonClass" data-dismiss="modal" aria-hidden="true">Select</button>
<button class="btn" data-dismiss="modal" aria-hidden="true">Cancel</button>
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
并且codel启动它看起来像这样 $('#TestModal').appendTo("body").modal('show');
然后我按照记录的方式渲染数据
即
var view= this.grid.getData();
// To set the entire the …Run Code Online (Sandbox Code Playgroud) public class ShiftPatternDTO{
private boolean monday;
private boolean tuesday;
private boolean wednesday;
private boolean thursday;
private boolean friday;
private boolean saturday;
private boolean sunday;
public boolean isMonday() {
return monday;
}
public boolean isTuesday() {
return tuesday;
}
public boolean isWednesday() {
return wednesday;
}
public boolean isThursday() {
return thursday;
}
public boolean isFriday() {
return friday;
}
public boolean isSaturday() {
return saturday;
}
public boolean isSunday() {
return sunday;
}
}
public enum WeekDay {
MONDAY("Monday", 1), …Run Code Online (Sandbox Code Playgroud)