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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to