IntelliJ Java IDE
The moose likes Ant, Maven and Other Build Tools and the fly likes manifest task Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "manifest task" Watch "manifest task" New topic
Author

manifest task

Manish Hatwalne
Ranch Hand

Joined: Sep 22, 2001
Posts: 2559

How do I add value of "now" in the manifest attribute of ANT?
If I use "TODAY", it simply gives me the datte, whereas I need both date and time.

<attribute name="Build-Date" value="${TODAY}" />

TIA,
- Manish
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Have a look in the ant manual at the <tstamp /> task.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
IntelliJ Java IDE
 
subject: manifest task
 
Threads others viewed
Inserting Date value by using JSP......Please help
Manifest problem in creating a jar file (CLI)
How do you add a classpath to an EAR file?
Axis - Applet performance issue
jar and MANIFEST.MF
IntelliJ Java IDE

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture