• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Latest code check

 
Ranch Hand
Posts: 466
1
IntelliJ IDE Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I need to check if the code provided to us is latest. One approach suggested is to take running ear from production and compile code present in version control and compare the class files.

Though I am apprenhensive about the above approach however we do not have any other option to do so (we can't do a full round of teststing right now ). Could any one please suggest a way to verify if the code is latest provided only production ear and code in version control (provided by third party) is present?

Also provide your feedback on the approach of compiling code and checking with ear files.

Thanks
Vinod
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
builds and releases should include a numbering system which gets attached to both the release and version control. There is no concept of 'latest', but you can atleast determine what version you are running, what it contains and when it was created.

This information can be written to a java source file before building, it can be written to static files and can also be written to JAR/WAR/EAR manifest files as well as the EAR file name itself. Then you tag the version control with the same information.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic