Just use jdk's simpledateformat

MM/dd/yy HH:mm:ss a z

-----Original Message-----
From: Lu, David 
Sent: Thursday, February 05, 2004 5:03 PM
To: 'Maven Users List'
Subject: starteam changelog unparseable date


Hello,
 
I'm trying to generate changelogs from starteam and I get:
 
maven-changelog-plugin:report:
    [echo] Generating the changelog report
SCM Working Directory:
/space2/home/buildmaster/projects/ParticipantDownloadJ2EE
SCM Command Line[0]: stcmd
SCM Command Line[1]: hist
SCM Command Line[2]: -x
SCM Command Line[3]: -nologo
SCM Command Line[4]: -is
SCM Command Line[5]: -p
SCM Command Line[6]:
username:[EMAIL PROTECTED]:22222/ParticipantDownloadJ2
EE/ParticipantDownloadJ2EE/implementation
ParseException Caught
java.text.ParseException: Unparseable date: "1/30/04 2:19:34 PM EST"
        at java.text.DateFormat.parse(DateFormat.java:334)
        at
org.apache.maven.starteamlib.StarteamChangeLogParser.parseDate(StarteamChang
eLogParser.java:425)
        at
org.apache.maven.starteamlib.StarteamChangeLogParser.processGetAuthor(Starte
amChangeLogParser.java:327)
        at
org.apache.maven.starteamlib.StarteamChangeLogParser.parse(StarteamChangeLog
Parser.java:222)
        at
org.apache.maven.changelog.AbstractChangeLogGenerator.start(AbstractChangeLo
gGenerator.java:315)
        at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:439)
        at
org.apache.maven.changelog.AbstractChangeLogGenerator.getEntries(AbstractCha
ngeLogGenerator.java:212)
        at
org.apache.maven.changelog.ChangeLog.generateEntries(ChangeLog.java:274)
        at
org.apache.maven.changelog.ChangeLog.doExecute(ChangeLog.java:253)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

...
 
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
 
BUILD FAILED
File...... file:/home/buildmaster/.maven/plugins/maven-changelog-plugin-1.3/
Element... changelog:changelog
Line...... 64
Column.... 15
java.lang.NullPointerException
Total time: 22 seconds
Finished at: Thu Feb 05 16:48:48 EST 2004

 
Can anyone help me on this one?
 
I notice in the plugin.jelly file for the maven-changelog plugin, there is a

 
${maven.changelog.dateformat} parameter that is not defined in
plugin.properties.
 
Could this be the reason and if so, what should I set it to?
 
There is no documentation for this parameter in the plugins page.
 
 
 
Thank you.
 
David


 
 
 
 
 


**************************************************************
This message, including any attachments, contains confidential information
intended for a specific individual and purpose, and is protected by law.  If
you are not the intended recipient, please contact sender immediately by
reply e-mail and destroy all copies.  You are hereby notified that any
disclosure, copying, or distribution of this message, or the taking of any
action based on it, is strictly prohibited.
TIAA-CREF
**************************************************************



**************************************************************
This message, including any attachments, contains confidential information intended 
for a specific individual and purpose, and is protected by law.  If you are not the 
intended recipient, please contact sender immediately by reply e-mail and destroy all 
copies.  You are hereby notified that any disclosure, copying, or distribution of this 
message, or the taking of any action based on it, is strictly prohibited.
TIAA-CREF
**************************************************************


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

Reply via email to