velocity

Scrum与看板区别

放肆的年华 提交于 2021-02-17 12:28:00
看板:在制品(work-in-progress, WIP)必须被限制 WIP上限和拉动式生产 1. Scrum与看板简述 Scrum:组织拆分,工作拆分,开发时间拆分,优化发布计划,过程优化 看板:流程可视化,限制WIP,度量生产周期 2. Scrum和看板的关系 Scrum和看板都是过程工具 Scrum和看板只是给了一些明确的约束和指导,比如,Scrum的约束是固定时长的迭代和跨功能团队,看板的约束是要有可见的看板,队列大小要有约束 敏捷方法也被称作轻量级方法 3. Scrum规定了角色 Scrum规定了三种角色:PO/Team/SM,看板没规定任何角色 4. Scrum规定了固定时长的迭代 Scrum的迭代混合了三种活动:计划/过程改进/发布 5. Scrum按迭代限制WIP,看板按流程状态限制WIP 6. Scrum与看板都是经验主义,需要自省/反馈/调整 7. Scrum在迭代期间内拒绝变化 看板的原则是“一件出去,一件进来”,响应时间等于手头事情的处理时间 Scrum的平均响应实践等于sprint长度的一半 8. 关于任务规模 Scrum团队只承诺一个迭代内能完成的任务,如果任务太大会进行拆分 看板对任务规模没有明确规定必须要在某个时间段做完 9. Scrum规定了估算和生产率,看板没有规定估算 有的团队跳过估算,把每个任务拆分得大小接近,统计每周完成的特性数

Apache Velocity + Servlet 3.0

可紊 提交于 2021-02-10 20:50:00
问题 I'm upgrading from servlet 2.5 to 3.0, and I'm using Apache Velocity for templating, after a mvn dependency:tree I see velocity-tools depends on servlet-api:jar:2.3, there's a way to use servlet 3.0 with Apache Velocity? Thanks in advance 回答1: I had the same problem; my Servlet 3.0 project wouldn't compile because servlet-api 2.3 was on the Maven classpath as a dependency of Velocity Tools. The work-around is to declare the Velocity dependency as runtime so at compile-time the project still

Apache Velocity + Servlet 3.0

心已入冬 提交于 2021-02-10 20:43:51
问题 I'm upgrading from servlet 2.5 to 3.0, and I'm using Apache Velocity for templating, after a mvn dependency:tree I see velocity-tools depends on servlet-api:jar:2.3, there's a way to use servlet 3.0 with Apache Velocity? Thanks in advance 回答1: I had the same problem; my Servlet 3.0 project wouldn't compile because servlet-api 2.3 was on the Maven classpath as a dependency of Velocity Tools. The work-around is to declare the Velocity dependency as runtime so at compile-time the project still

Apache Velocity + Servlet 3.0

我只是一个虾纸丫 提交于 2021-02-10 20:37:50
问题 I'm upgrading from servlet 2.5 to 3.0, and I'm using Apache Velocity for templating, after a mvn dependency:tree I see velocity-tools depends on servlet-api:jar:2.3, there's a way to use servlet 3.0 with Apache Velocity? Thanks in advance 回答1: I had the same problem; my Servlet 3.0 project wouldn't compile because servlet-api 2.3 was on the Maven classpath as a dependency of Velocity Tools. The work-around is to declare the Velocity dependency as runtime so at compile-time the project still

velocity template drop element from array

女生的网名这么多〃 提交于 2021-02-10 14:14:39
问题 I'm trying to get the last element of an array in a velocity template dropped before joining it together into a string and showing the result in the "className": key below: #set($elem = '"System.NotImplementedException: Test Exception') #set($trace = $elem.replace('"',"")) #set($tracearray = $trace.split("\.")) #set($arraysize = $tracearray.size()) #set($lastelem = $tracearray.size() - 1) { "className":$tracearray.remove($lastelem).toString(), "method":"$tracearray[$lastelem]" }#if($foreach

How can I display image in velocity template

血红的双手。 提交于 2021-02-10 06:59:40
问题 How can I display this image in velocity template? Is there any configuration required to display image? I have java configuration for velocity. Please help me. Thanks in advance. 回答1: Thank you very much for your kind reply glw, issue already fixed. I forgot that email template takes only live images path which are deployed, not local project paths like src="${pageContext.request.contextPath}/resources/images/.jpg" Issue is fixed by src="www..com/images/.jpg". 回答2: I'm using base 64 image to

How to use split() in velocity template?

我与影子孤独终老i 提交于 2021-02-09 11:33:56
问题 I am trying to split a string in velocity context to get an array in return like following-- #if($stringValue.split("::")[1].length()==0) //some code But it does not work for velocity.I am getting a parser error which is unable to compile [] So,how can I implement this logic in velocity??? 回答1: Using velocity 1.7 and possibly below this can be done using the String split() method. Unlike it's Java counterpart for special characters one doesn't need to escape the forward slash (.e.g "\\|" ).

How to use split() in velocity template?

本小妞迷上赌 提交于 2021-02-09 11:33:49
问题 I am trying to split a string in velocity context to get an array in return like following-- #if($stringValue.split("::")[1].length()==0) //some code But it does not work for velocity.I am getting a parser error which is unable to compile [] So,how can I implement this logic in velocity??? 回答1: Using velocity 1.7 and possibly below this can be done using the String split() method. Unlike it's Java counterpart for special characters one doesn't need to escape the forward slash (.e.g "\\|" ).

Subtract months from date in velocity

核能气质少年 提交于 2021-02-08 11:02:12
问题 I am trying to get the date a certain number of months ago from a given date I've tried converting to Calendar to then use the add method, but that didn't work: #set( $myCalendar = $date.toCalendar($endDate)) #set( $startdate = $calendarstart.add("MONTH", -$minusMonths)) I've tried to do this in a few different ways: #set( $temp = 0 - $numberOfMissedPremiums) #evaluate($calendarstart.add( 2 , $temp )) #set( $a = $calendarstart.add( 2 , $temp )) I've even tried defining blocks, but that didn't

Subtract months from date in velocity

荒凉一梦 提交于 2021-02-08 11:01:41
问题 I am trying to get the date a certain number of months ago from a given date I've tried converting to Calendar to then use the add method, but that didn't work: #set( $myCalendar = $date.toCalendar($endDate)) #set( $startdate = $calendarstart.add("MONTH", -$minusMonths)) I've tried to do this in a few different ways: #set( $temp = 0 - $numberOfMissedPremiums) #evaluate($calendarstart.add( 2 , $temp )) #set( $a = $calendarstart.add( 2 , $temp )) I've even tried defining blocks, but that didn't