Camel
  1. Camel
  2. CAMEL-456

Invalid jar in binary distribution

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      The apache-camel jar in the binary distribution misses a lot of files, including class and schema files (12k in size compared to the 1.9M released jar).

      1. camel-456.patch
        17 kB
        Jonathan Anstey

        Activity

        Hadrian Zbarcea created issue -
        Jonathan Anstey made changes -
        Field Original Value New Value
        Assignee Jonathan Anstey [ janstey ]
        Hide
        Jonathan Anstey added a comment -

        Here's a patch to fix this issue.

        Basically, the shaded jar (i.e. the larger one) was being generated after the assemblies were created and so was not being included. The simple fix would have been to change the ordering in the pom... when I tried to do this, the shade plugin messed up the environment such that the assembly plugin didn't work anymore. Try it for yourself, it was quite wonky Anyway, the solution was to separate out the shade portion to a submodule.

        Show
        Jonathan Anstey added a comment - Here's a patch to fix this issue. Basically, the shaded jar (i.e. the larger one) was being generated after the assemblies were created and so was not being included. The simple fix would have been to change the ordering in the pom... when I tried to do this, the shade plugin messed up the environment such that the assembly plugin didn't work anymore. Try it for yourself, it was quite wonky Anyway, the solution was to separate out the shade portion to a submodule.
        Jonathan Anstey made changes -
        Attachment camel-456.patch [ 16337 ]
        Jonathan Anstey made changes -
        Patch Info [Patch Available]
        Hide
        Hadrian Zbarcea added a comment -

        Awesome. Thanks a lot Jon.

        Show
        Hadrian Zbarcea added a comment - Awesome. Thanks a lot Jon.
        Hadrian Zbarcea made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Claus Ibsen made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Jeff Turner made changes -
        Project Import Sat Nov 27 00:14:50 EST 2010 [ 1290834890113 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        3d 6h 24m 1 Hadrian Zbarcea 12/Apr/08 23:12
        Resolved Resolved Closed Closed
        89d 6h 8m 1 Claus Ibsen 11/Jul/08 05:21

          People

          • Assignee:
            Jonathan Anstey
            Reporter:
            Hadrian Zbarcea
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development