Uploaded image for project: 'Commons CLI'
  1. Commons CLI
  2. CLI-5

[cli] Dependecy on commons-lang-2.0 but commons-lang-1.0 is obtained

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1
    • Component/s: CLI-1.x
    • Labels:
      None
    • Environment:

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      38842

      Description

      compile:
      [mkdir] Created dir: D:\development\apache\cli\trunk\target\classes
      [javac] Compiling 71 source files to D:\development\apache\cli\trunk\target\
      classes
      [javac] D:\development\apache\cli\trunk\src\java\org\apache\commons\cli\Type
      Handler.java:25: package org.apache.commons.lang.math does not exist
      [javac] import org.apache.commons.lang.math.NumberUtils;
      [javac] ^
      [javac] D:\development\apache\cli\trunk\src\java\org\apache\commons\cli\Type
      Handler.java:164: cannot resolve symbol
      [javac] symbol : variable NumberUtils
      [javac] location: class org.apache.commons.cli.TypeHandler
      [javac] return NumberUtils.createNumber(str);
      [javac] ^
      [javac] 2 errors

      Updating build.xml to obtain version 2.0 of commons-lang (instead of 1.0) fixes
      the problem.

        Activity

        Hide
        dennisl@apache.org Dennis Lundberg added a comment -

        Someone needs to regenerate the build.xml file. It's 15 months older than the
        project.xml file. Sorry for not providing a patch, but I have a not quite stable
        SNAPSHOT-version of the maven-ant-plugin installed.

        Show
        dennisl@apache.org Dennis Lundberg added a comment - Someone needs to regenerate the build.xml file. It's 15 months older than the project.xml file. Sorry for not providing a patch, but I have a not quite stable SNAPSHOT-version of the maven-ant-plugin installed.
        Hide
        bayard Henri Yandell added a comment -

        Updated.

        Show
        bayard Henri Yandell added a comment - Updated.

          People

          • Assignee:
            Unassigned
            Reporter:
            gawor@mcs.anl.gov Jarek Gawor
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development