Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Best practice for java package versioning in NWDS?

$
0
0

I would like to be able to annotate java-based components (eg: ME activities) that we develop in-house with a version number.  My requirements are:

 

  1. There must be a way for the developer to update the version of the individual component in the source system.  And it would be nice if the build or DTR would assist with this, so that the developer does not have to remember to do it.  A simple example:  I make a bug fix to an ME activity (eg: a POD plug-in).  It was a version "2.1.0".  I kick it up to "2.1.1".  Or the build just adds a sequentially-generated build number.
  2. I want the version to be visible at run time, somehow.  I could have a coding standard that specifies that we always make the version string visible somewhere on the GUI.  But it would be preferable if this were more automated.
  3. Ideally, I would be able to run a listing of all installed component versions.  This could be a function in NWA.  If we have this, then #2 is less important.
  4. If the same mechanism could be extended to support other meta-data, such as our 'ECR' number, that would be handy, also.

 

Is there a way to use the Java standard for package versioning?

http://docs.oracle.com/javase/8/docs/technotes/guides/versioning/spec/versioning2.html#wp89936

 

One of the issues that is leading to this need:  We are having trouble with deployment of code into our Development system from NWDI (CBS/CMS).  It has been somewhat 'unreliable' in our implementation.  So it is hard to tell, when looking at the runtime ME UI, whether a deployment was actually successful.  We can see in the CBS web UI that the activation and build were successful.  But the updated code fails to make it onto our Development instance.  This failure is intermittent.

 

I apologize in advance if this question has been answered before.  Try a search in SCN for the word "version"....  It's a very generic term that appears everywhere.

 

Thanks,

Barry


Viewing all articles
Browse latest Browse all 9159

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>