Skip to content

Commit

Permalink
fixed build on windows 10
Browse files Browse the repository at this point in the history
  • Loading branch information
tandraschko committed Dec 18, 2024
1 parent be1fc8d commit 6f59063
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@ public void addFilesToBuilder(JavaDocBuilder builder, File dir) throws IOExcepti
boolean skip = false;
for(int i = 0; i < excludes.length; i++) {
String currentExclude= excludes[i];
if(currentExclude != null && f.toString().matches(currentExclude))
String filepath = f.toString().replace("\\", "/");
if(currentExclude != null && filepath.matches(currentExclude))
{
getLog().info("Excluding source from builder: " + f);
skip = true;
Expand Down

0 comments on commit 6f59063

Please sign in to comment.