Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #28153 > unrolled thread
| Started by | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| First post | 2014-04-20 21:29 -0700 |
| Last post | 2014-04-20 21:29 -0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.java.programmer
easily accessible jar date Roedy Green <see_website@mindprod.com.invalid> - 2014-04-20 21:29 -0700
| From | Roedy Green <see_website@mindprod.com.invalid> |
|---|---|
| Date | 2014-04-20 21:29 -0700 |
| Subject | easily accessible jar date |
| Message-ID | <o779l9tl1js0bc9du26123d1ino5tg4ipu@4ax.com> |
When my program is running, it wants to know the timestamp of when any of the classes last changed. I might be running it in a debugger in IntelliJ, as separate classes, in a jar, or in a Jet exe. If the program is distributed, I don't know where they might put the pieces. So I would like it if a timestamp were automatically created and included as a resource. Are their easy ways of pulling this off, perhaps with ANT, or do I need to write some utility? All I want to do is invalidate cache entries when the program runs if the software changes. -- Roedy Green Canadian Mind Products http://mindprod.com "Don't worry about people stealing an idea; if it's original, you'll have to shove it down their throats." ~ Howard Aiken (born: 1900-03-08 died: 1973-03-14 at age: 73)
Back to top | Article view | comp.lang.java.programmer
csiph-web