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

Summary: nbbuild/antsrc: Fix of CheckLinks to accept end slash
Product: www Reporter: David Kaspar <dkaspar>
Component: Builds & RepositoriesAssignee: nbbuild-issues@ide <nbbuild-issues>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 97784    
Bug Blocks:    
Attachments: Proposed patch

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