ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20915] New: - Library name validation seem to restrictive
Date Thu, 19 Jun 2003 15:14:04 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20915>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20915

Library name validation seem to restrictive

           Summary: Library name validation seem to restrictive
           Product: Ant
           Version: 1.5.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core
        AssignedTo: dev@ant.apache.org
        ReportedBy: jbostian@us.ibm.com


I'm trying to build a C project that links to a dll named libxerces-c2_2_0.dll.
 Whenever I specify the name of this export file to be used at link time
(libxerces-c2_2_0.x), Ant throws an exception:

file:/u/xml/sb/bostian/torharness/build.xml:604: Library names should not start
with "lib".
   at net.sf.antcontrib.cpptasks.types.LibrarySet.setLibs(LibrarySet.java:177)
   at java.lang.reflect.Method.invoke(Native Method)
                           ...

There is a check specifically made in the setLibs method (line 184) to detect
library names that begin with "lib".  I don't understand why this name check is
needed, since there are a lot of products with DLLs named lib*.  I've worked
around it by symbolically linking to the export file to give it a different
name, but would prefer not to do this.

Thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message