Author: dennyxu
Date: 2010-01-11 02:01:54 -0500 (Mon, 11 Jan 2010)
New Revision: 19683
Modified:
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java
Log:
The postfix of bpel archive name is inconsistent with system time because of month number
Modified:
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java
===================================================================
---
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java 2010-01-11
03:17:20 UTC (rev 19682)
+++
trunk/bpel/plugins/org.jboss.tools.bpel.runtimes/src/org/jboss/tools/bpel/runtimes/module/JBTBPELPublisher.java 2010-01-11
07:01:54 UTC (rev 19683)
@@ -155,7 +155,7 @@
IModule last = moduleTree[moduleTree.length-1];
Calendar cal = Calendar.getInstance();
StringBuffer lastSeg = new StringBuffer(formatString(cal.get(Calendar.YEAR)));
- lastSeg.append(formatString(cal.get(Calendar.MONTH)));
+ lastSeg.append(formatString(cal.get(Calendar.MONTH) + 1));
lastSeg.append(formatString(cal.get(Calendar.DAY_OF_MONTH)));
lastSeg.append(formatString(cal.get(Calendar.HOUR_OF_DAY)));
lastSeg.append(formatString(cal.get(Calendar.MINUTE)));
Show replies by date