FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

How can i have build date in manifest file?

 
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users
View previous topic :: View next topic  
Author Message
anupsth



Joined: 29 Jun 2009
Posts: 3

PostPosted: Mon Jun 29, 2009 6:53 am    Post subject: How can i have build date in manifest file? Reply with quote

Hi I want to put build date in manifest file, can anyone provide me ant script for this and how to put in Netbeans?
Back to top
View user's profile Send private message
shche123



Joined: 19 May 2009
Posts: 41

PostPosted: Mon Jun 29, 2009 1:54 pm    Post subject: Reply with quote

Take a look how the MIDlet-Verion is done...

In NetBeans you create Attributes in Project Properties, Application Descriptor window.
Back to top
View user's profile Send private message
anupsth



Joined: 29 Jun 2009
Posts: 3

PostPosted: Tue Jun 30, 2009 5:23 am    Post subject: Reply with quote

I m zero on ant scripting. I added below line in build-impl.xml
<tstamp>
<format property="TODAY" pattern="yyyy-MM-dd HH:mm:ss" />
</tstamp>
when i try to add "Build-Date" attribute with value ${TODAY} in netbeans project properties ->application descriptor, it 's automatically deleted.

can u describe in detail please
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java ME Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB