Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: Trunk
    • Fix Version/s: 16.11.01
    • Component/s: framework
    • Labels:
      None

      Description

      With the move to gradle/gradlew the lib folder - that previously held the external libraries - doesn't exist anymore in various components. This results in unnecessary warnings in the log files, e.g.:

      2016-07-11 13:15:00,008 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/base/build/lib' does not exist
      2016-07-11 13:15:00,008 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/base/lib/ant' does not exist
      2016-07-11 13:15:00,008 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/base/lib/commons' does not exist
      2016-07-11 13:15:00,008 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/base/lib/j2eespecs' does not exist
      2016-07-11 13:15:00,009 |main                 |ComponentContainer            |I| Loaded component : [base]
      2016-07-11 13:15:00,041 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/geronimo/lib' does not exist
      2016-07-11 13:15:00,041 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/geronimo/build/lib' does not exist
      2016-07-11 13:15:00,042 |main                 |ComponentContainer            |I| Loaded component : [geronimo]
      2016-07-11 13:15:00,073 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/entity/lib' does not exist
      2016-07-11 13:15:00,073 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/entity/lib/jdbc' does not exist
      2016-07-11 13:15:00,073 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/entity/build/lib' does not exist
      2016-07-11 13:15:00,073 |main                 |ComponentContainer            |I| Loaded component : [entity]
      2016-07-11 13:15:00,098 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/security/build/lib' does not exist
      2016-07-11 13:15:00,098 |main                 |ComponentContainer            |I| Loaded component : [security]
      2016-07-11 13:15:00,122 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/datafile/build/lib' does not exist
      2016-07-11 13:15:00,123 |main                 |ComponentContainer            |I| Loaded component : [datafile]
      2016-07-11 13:15:00,142 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/minilang/build/lib' does not exist
      2016-07-11 13:15:00,142 |main                 |ComponentContainer            |I| Loaded component : [minilang]
      2016-07-11 13:15:00,178 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/common/build/lib' does not exist
      2016-07-11 13:15:00,178 |main                 |ComponentContainer            |I| Loaded component : [common]
      2016-07-11 13:15:00,207 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/service/lib' does not exist
      2016-07-11 13:15:00,207 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/service/build/lib' does not exist
      2016-07-11 13:15:00,207 |main                 |ComponentContainer            |I| Loaded component : [service]
      2016-07-11 13:15:00,237 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/catalina/lib' does not exist
      2016-07-11 13:15:00,237 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/catalina/build/lib' does not exist
      2016-07-11 13:15:00,237 |main                 |ComponentContainer            |I| Loaded component : [catalina]
      2016-07-11 13:15:00,262 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/entityext/build/lib' does not exist
      2016-07-11 13:15:00,263 |main                 |ComponentContainer            |I| Loaded component : [entityext]
      2016-07-11 13:15:00,286 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/webapp/lib' does not exist
      2016-07-11 13:15:00,286 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/webapp/build/lib' does not exist
      2016-07-11 13:15:00,286 |main                 |ComponentContainer            |I| Loaded component : [webapp]
      2016-07-11 13:15:00,310 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/widget/build/lib' does not exist
      2016-07-11 13:15:00,310 |main                 |ComponentContainer            |I| Loaded component : [widget]
      2016-07-11 13:15:00,337 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/testtools/lib' does not exist
      2016-07-11 13:15:00,337 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/testtools/build/lib' does not exist
      2016-07-11 13:15:00,337 |main                 |ComponentContainer            |I| Loaded component : [testtools]
      2016-07-11 13:15:00,363 |main                 |ComponentContainer            |W| Location '/Users/pierre/dev/ofbiz/ofbiz-gradle/framework/webtools/build/lib' does not exist
      

      The code should be cleaned up further so that these messages don't appear anymore.

        Activity

        Hide
        jacques.le.roux Jacques Le Roux added a comment - - edited

        To fix this issue I'd wait that all external jars are removed (except gradle ones of course)

        Show
        jacques.le.roux Jacques Le Roux added a comment - - edited To fix this issue I'd wait that all external jars are removed (except gradle ones of course)
        Hide
        jacques.le.roux Jacques Le Roux added a comment -

        Fixed at r1755306

        • Also removes empty framework/base/lib/scripting and useless applications\content\lib\uno\README (miss doc in wiki)
        • When jpim-0.1.jar will be (hopefully) replaced we can drop lib ref in framework/base/ofbiz-component.xml
        • I wonder if we should let the geronimo component alone with only 2 classes, could we not put that in entity or entityext?
        Show
        jacques.le.roux Jacques Le Roux added a comment - Fixed at r1755306 Also removes empty framework/base/lib/scripting and useless applications\content\lib\uno\README (miss doc in wiki) When jpim-0.1.jar will be (hopefully) replaced we can drop lib ref in framework/base/ofbiz-component.xml I wonder if we should let the geronimo component alone with only 2 classes, could we not put that in entity or entityext?

          People

          • Assignee:
            jacques.le.roux Jacques Le Roux
            Reporter:
            pfm.smits Pierre Smits
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development