The date format should match the description given in
http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html.

For this particular date (2/08/05 16:57) (which refers to 2 August 2005
16:57), the date format should be d/MM/yy hh:mm.  I don't know why there
isn't a leading zero before the 2.
If the date actually refers to 8 February 2005 16:57, then the date
format should be M/dd/yy hh:mm.

..David..


-----Original Message-----
From: Bahaa Nasrallah [mailto:[EMAIL PROTECTED] 
Sent: Friday, August 26, 2005 9:37 AM
To: [email protected]
Subject: maven-change-log plugin with VSS

Hi,
I am trying to run maven-changelog-plugin with VSS. i found that there
is a problem with the date format. as it doesn't accpet the format
"dd/mm/yy hh/mm" and i get the following error message:

ParseException Caught
java.text.ParseException: Unparseable date: "2/08/05 16:57"
        at java.text.DateFormat.parse(DateFormat.java:335)
        at
org.apache.maven.vsslib.VssChangeLogParser.parseDate(VssChangeLogPars
er.java:318)
        at
org.apache.maven.vsslib.VssChangeLogParser.processGetAuthor(VssChange
LogParser.java:208)
        at
org.apache.maven.vsslib.VssChangeLogParser.parse(VssChangeLogParser.j
ava:158)
        at
org.apache.maven.changelog.AbstractChangeLogGenerator.start(AbstractC
hangeLogGenerator.java:405) ....


I tried to change the setting of the date format in my computer and
still with the same problem. I think it might be bug in
maven-changelog-plugin implementation for VSS.

Any suggestions?

thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to