Up vote 0 down vote favorite 1 share g+ share fb share tw.
I have a automatic build system that build my applications by running ant build scripts. I want to use a variable that I have in ant (for example a build number) in java. I want to display the build number for example to the user.
Does anybody knows how to do this or have a example (ant and java)? Java android ant build link|improve this question asked Oct 22 '11 at 13:21Peerke699614 88% accept rate.
I typically use the ant variable to generate a new java constants class or a generate a properties file and access that from my java application. Either work depending on how complex the build is going to get.
– Peerke Oct 22 '11 at 13:32 1 As Marcel points out below... stackoverflow.com/q/7843098/260424 has examples. – Ahmed Masud Oct 22 '11 at 13:37.
Ahmed gave the right answer. This question has been asked before, for more info: Is there a way to pass ant variables to java code (android)?
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.