This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 97785 - nbbuild/antsrc: Fix of CheckLinks to accept end slash
Summary: nbbuild/antsrc: Fix of CheckLinks to accept end slash
Status: RESOLVED FIXED
Alias: None
Product: www
Classification: Unclassified
Component: Builds & Repositories (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: nbbuild-issues@ide
URL:
Keywords:
Depends on: 97784
Blocks:
  Show dependency tree
 
Reported: 2007-03-13 22:18 UTC by David Kaspar
Modified: 2007-03-16 21:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Proposed patch (936 bytes, application/octet-stream)
2007-03-13 22:23 UTC, David Kaspar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Kaspar 2007-03-13 22:18:42 UTC
The CheckLinks ant task does not accept html files with following style:
<a name="validname"/>

The problem is that this is not matched by the regexp pattern specified in the
CheckLinks ant task.

There is a
nbbuild/test/unit/src/org/netbeans/nbbuild/CheckLinksTest#testDocFilesRelativeLinks
test case that covers the problem.
Comment 1 David Kaspar 2007-03-13 22:19:43 UTC
Now the test success because of an issue #97784.
Comment 2 David Kaspar 2007-03-13 22:23:06 UTC
Created attachment 39458 [details]
Proposed patch
Comment 3 Jesse Glick 2007-03-16 21:42:31 UTC
Thanks for patch and test!

Checking in CheckLinks.java;
/shared/data/ccvs/repository/nbbuild/antsrc/org/netbeans/nbbuild/CheckLinks.java,v
 <--  CheckLinks.java
new revision: 1.28; previous revision: 1.27
done