-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mar 10, 2005, at 06:41, Vijay Venkataraman wrote:
I want to generate a unique number for all the jars which i build in my maven project. There are multiple projects (multi project)with in a given project. The value ${pom.currentVersion} is just not enough. I need to know the number of each build. For this i have a unique number generated for me. I need to pass this value to different projects that are part of the same project.
${systemScope.put('dateTimeStamp','${versionInfo}')}
The syntax of the form mentioned above does not help me since it is per JVM.
Is there a way i could store it in a kind of global context and retrieve it?
Can you leverage Ant's BuildNumber task? <http://ant.apache.org/manual/CoreTasks/buildnumber.html> Yes, this documentation is for Ant 1.6.2, but I'm pretty sure BuildNumber was in Ant 1.5.x.
- -- Craig S. Cottingham [EMAIL PROTECTED] OpenPGP key available from: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7977F79C -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin)
iD8DBQFCMGGxEJLQ3Hl395wRAtI4AJ4/isNG53ZNjgrdGWTZ5M+aMa/RmACcCnrc g+FwBzL824sOXMvhghT3bZ4= =MIPy -----END PGP SIGNATURE-----
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
