Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Build Number or Build Date, how to insert it automatically

807591Apr 10 2008 — edited Apr 10 2008
Hello,
I'm looking for any way I could automatically insert a Build Number or a Build Date at compile time or build time. I would like this inserted value to be ultimately available as a variable in the code. I'm using Netbeans 6.0. If anyone knows of a solution using an Ant script or any other method, please post an example.

Thanks,
Marcin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 8 2008
Added on Apr 10 2008
5 comments
428 views