Issue Details (XML | Word | Printable)

Key: CLI-5
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Jarek Gawor
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons CLI

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

Created: 04/Mar/06 02:43 AM   Updated: 15/Mar/07 04:49 PM
Return to search
Component/s: CLI-1.x
Affects Version/s: None
Fix Version/s: 1.1

Time Tracking:
Not Specified

Environment:
Operating System: other
Platform: Other

Bugzilla Id: 38842


 Description  « Hide
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.



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Dennis Lundberg added a comment - 04/Mar/06 06:47 AM
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.

Henri Yandell added a comment - 08/Mar/06 02:19 PM
Updated.