Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2236

Remove / from ConfigurationInfo

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 5.0.3
    • 5.0.2
    • Common
    • None

      I've been working on compiling Java using the Avian project (http://oss.readytalk.com/avian/) and have eventually had success in running some of our hammer tests. However, there was a blocker which was to do with the way in which we locate the property file within the jar using the manifest. We can argue as to whether the issue resides within Avian or the way in which we do things, but the solution was to simply remove the / from:

      int suffixLength = ("/"ConfigurationInfo.class.getCanonicalName()".class").length();

      Rebuilding and rerunning the tests made everything work.

      I don't want to check in this change until I am sure that it is right, so would appreciate someone looking at it and at least running all of the QE tests to be sure nothing else breaks.

      I've included a reference to the Avian forum article where I discussed this with their team.

              thjenkin@redhat.com Tom Jenkinson
              nmcl2001 Mark Little
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: