Uploaded image for project: 'Immutant'
  1. Immutant
  2. IMMUTANT-460

Uberjar fails to start due to multiple wunderboss.properties files

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-alpha1
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1. Write a toy app that schedules a function
      2. lein uberjar
      3. java -jar target/something.0.1.0-SNAPSHOT-standalone.jar

      Show
      1. Write a toy app that schedules a function 2. lein uberjar 3. java -jar target/something.0.1.0-SNAPSHOT-standalone.jar

      Description

      Built the simplest possible scheduling app I could manage. It just does the (prn 'fire) scheduling/cancelling from the public News page that describes how the scheduler works.

      It works fine from the repl or using lein run.

      When I create an uberjar, I get an IllegalArgumentException from WunderBoss.getComponentProvider (line 134): "Unknown component: org.projectodd.wunderboss.scheduling.Scheduling".

      jcrossley on IRC said that it looks like the properties file that does component registration doesn't seem to be getting included in the conversion.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jimrthy James Gatannah
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: