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.

        Attachments

          Activity

            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: