Uploaded image for project: 'Buildr (Retired)'
  1. Buildr (Retired)
  2. BUILDR-635

JRE container entry to be declared before user sources and dependencies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4.7
    • 1.4.7
    • IDE
    • Linux / 32 bits / Fedora 15
      java version "1.6.0_25"
      Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
      Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)

    Description

      (I reported this issue in github because I hadn't read Buildr's contribution policy. See https://github.com/apache/buildr/pull/3)

      See https://gist.github.com/1605072 in order to reproduce the bug. In summary, if you use Drools, it already ships a JRE container. Since the user's dependencies are written first to '.classpath' , Drools container will be taken instead of Eclipse's. In my case, it produces undesired effects like disabling Java Generics because I use the last JDK in Eclipse whereas Drools doesn't.

      It makes sense to me to have JRE libs before user libs but I ignore if this change might have side effects. This bug might potentially affect any dependency making use of its own embedded JRE (i.e.: rather unlikely).

      Attachments

        Activity

          People

            pdonald Peter Donald
            daniperez Dani Perez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 20m
                20m
                Remaining:
                Remaining Estimate - 20m
                20m
                Logged:
                Time Spent - Not Specified
                Not Specified