Skip to Main Content

Java APIs

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!

embed version number using javac

843810Apr 10 2008 — edited Apr 16 2008
Hi,

I would like the ability to embed a version number into a class in a similar way to using -D defines in C compilation. I have written an class that generates another class called version with the version number and reason for compilation but I wondered if there is a way to do it using javac or anything else.

thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 14 2008
Added on Apr 10 2008
2 comments
105 views