Skip to content

Commit

Permalink
Fix path resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
masesdevelopers committed Nov 6, 2023
1 parent f6e021d commit 8e25496
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net/engine/JavaBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ async static Task<int> CreateSourceListAndCompile(string jdkFolder, JDKVersion j
var folder = Path.Combine(originFolder, assembly);
if (assembly == Const.FileNameAndDirectory.CommonDirectory)
{
folder = Path.Combine(rootFolder, Const.FileNameAndDirectory.RootDirectory, Const.FileNameAndDirectory.SourceDirectory, Const.FileNameAndDirectory.CommonDirectory);
folder = Path.Combine(originFolder, Const.FileNameAndDirectory.CommonDirectory);
}

foreach (var item in Directory.EnumerateFiles(folder, "*.java", SearchOption.AllDirectories))
Expand Down Expand Up @@ -202,7 +202,7 @@ static async Task<int> CreateSourceListAndGenerateDocs(string jdkFolder, JDKVers
var folder = Path.Combine(originFolder, assembly);
if (assembly == Const.FileNameAndDirectory.CommonDirectory)
{
folder = Path.Combine(rootFolder, Const.FileNameAndDirectory.RootDirectory, Const.FileNameAndDirectory.SourceDirectory, Const.FileNameAndDirectory.CommonDirectory);
folder = Path.Combine(originFolder, Const.FileNameAndDirectory.CommonDirectory);
}

foreach (var item in Directory.EnumerateFiles(folder, "*.java", SearchOption.AllDirectories))
Expand Down

0 comments on commit 8e25496

Please sign in to comment.