JiBX
  1. JiBX
  2. JIBX-244

Reusing previously bound classes (in other package)

    Details

    • Type: New Feature New Feature
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: JiBX 1.1.6
    • Fix Version/s: JiBX 1.2
    • Component/s: core
    • Labels:
      None
    • Environment:
      Maven, several modules
    • Number of attachments :
      0

      Description

      Originally, we had the small and larger POJOs in the same package. But we had to refactor this, moving the small POJO's to another package, say com.base.package. But JIBX is not happy with this. If I create jibx-mappings in that com.base.package, how can I refer to them from the jibx-bindings in my other package?

      I think this is not possible with the current JIBX, which is why I'm creating an issue here.

      For us, this issue is important, as this could be an argument for having to drop jibx altogether.

      Kind regards,
      Nancy

        Activity

        Hide
        Dennis Sosnoski added a comment -

        You want to <include> the binding for the com.base.package in the other binding. You can either compile them both at the same time, or precompile the com.base.package bindings if that's more convenient. See the precompiled binding feature of JiBX 1.2: http://jibx.sourceforge.net/binding/precompiled.html

        Show
        Dennis Sosnoski added a comment - You want to <include> the binding for the com.base.package in the other binding. You can either compile them both at the same time, or precompile the com.base.package bindings if that's more convenient. See the precompiled binding feature of JiBX 1.2: http://jibx.sourceforge.net/binding/precompiled.html

          People

          • Assignee:
            Dennis Sosnoski
            Reporter:
            Nancy Mazur
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: