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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.1
    • CLI-1.x
    • None
    • Operating System: other
      Platform: Other

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: