Project

General

Profile

Story #1353

checksumalgorithm enumerations need better formating

Added by Robert Waltz about 13 years ago. Updated about 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
d1_common_java
Target version:
Start date:
2011-03-01
Due date:
% Done:

100%

Story Points:
Sprint:

Subtasks

Task #1400: look at all the enumerations to make certain they have sensible namesClosedRobert Waltz

History

#1 Updated by Dave Vieglais about 13 years ago

  • Position set to 8
  • Target version changed from Sprint-2011.09-Block.2 to Sprint-2011.10-Block.2

#2 Updated by Robert Waltz about 13 years ago

  • Position deleted (8)
  • Position set to 9

#3 Updated by Robert Waltz about 13 years ago

  • Position set to 5
  • Target version changed from Sprint-2011.10-Block.2 to Sprint-2011.11-Block.2
  • Position deleted (17)

#4 Updated by Dave Vieglais about 13 years ago

  • Position deleted (16)
  • Position set to 4
  • Target version changed from Sprint-2011.11-Block.2 to Sprint-2011.12-Block.2

#5 Updated by Dave Vieglais about 13 years ago

  • Position set to 1
  • Target version changed from Sprint-2011.12-Block.2 to Sprint-2011.13-Block.2
  • Position deleted (12)
  • Position changed from 1 to 176

#6 Updated by Dave Vieglais about 13 years ago

  • Assignee changed from Robert Waltz to Rob Nahf

#7 Updated by Robert Waltz about 13 years ago

The file buildDomain.xml is an ant file that assists JibX in the production of the domain types from D1 xml schema. JibX makes some assumptions about how to compose Enums when generating the classes. We don't like their assumptions, and so after the code has been generated, we go back and perform substitutions to format Enums to our liking.

If you look in buildDomains.xml you will see a bunch of replace ant tasks against the file ObjectFormat.java. The token is the ill-formated JibX enumeration constant field name while the value is the nicely formated D1 substitution.

We need to perform similar substitutions for ChecksumAlgorithm.java.

Such that JibX's constant name of SH_A1 morphs into SHA_1, and so on...

Then we'll have to fix everything that this breaks. Hopefully not much...

#8 Updated by Dave Vieglais about 13 years ago

  • Position set to 2
  • Position deleted (178)
  • Target version changed from Sprint-2011.13-Block.2 to Sprint-2011.14-Block.2

#9 Updated by Rob Nahf about 13 years ago

  • Status changed from New to Closed

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)