Re: build.date

"Adam Jack" <[email protected]> Wed, 4 Feb 2004 23:44:17 -0700
Newsgroups gmane.comp.krysalis.user
Message-ID <[email protected]>
Please look in the archives for this list (if you can). If they go back far
enough, you ought find some old postings on this topic. Sorry I can't do
more right now, I'm on the road. I recall there is an inconsistency, maybe
two choices (property names?), but I think this can be set.
regards
Adam
----- Original Message -----
From: "Xserty" <[email protected]>
To: <[email protected]>
Sent: Wednesday, February 04, 2004 3:01 AM
Subject: build.date


> Hi all...
> I'm using Krysalis-Version to generate a Version.java class.
> Everything works, except the fact that the generated class contains the
> method getBuildDate() that returns null.
>
> The ant code snippet used is the following:
>
> <target name="version">
>   <version-stamp dest="src" versionId="com.mycompany" overWrite="true">
>     <version major="1" minor="0" point="0"/>
>   </version-stamp>
> </target>
>
> I've noticed that the nested element version does not accept the "date"
> or "buildDate" attribute, so I assume that it should be set
> automagically, likely by the ant ${build.date} property(?).
> I've been all yesterday afternoon searching on mail archieves and on the
> Internet, but found nothing...
> Guessing that this would not be a Krysalis-Version problem, but an ant
> problem, I've tried even setting ant's variable {build.date} or
> initialising <TSTAMP/> in the target:
>
> <tstamp>
>   <format property="build.date" pattern="yyyyMMdd"/>
> </tstamp>
>
> Still, this did not solve the problem...
> Can anybody help me, please?
>         Xserty
>
> PS: I'm using Krysalis-Version 0.9.0-rc2, ant version 1.5.4 and J2SE
> 1.4.2-b28 under Linux.
>
>
>
> -------------------------------------------------------
> The SF.Net email is sponsored by EclipseCon 2004
> Premiere Conference on Open Tools Development and Integration
> See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
> http://www.eclipsecon.org/osdn
> _______________________________________________
> krysalis-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/krysalis-users
>



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn