Skip to content

Commit

Permalink
debugging action
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Thurner committed Aug 13, 2024
1 parent 578347b commit 5160588
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class EndpointParser {

public static void main(String[] args) {
final String relativeDirectoryPath = ".." + File.separator + ".." + File.separator + ".." + File.separator + "src" + File.separator + "main" + File.separator + "java";
final Path absoluteDirectoryPath = Paths.get(relativeDirectoryPath).toAbsolutePath();
final Path absoluteDirectoryPath = Paths.get(relativeDirectoryPath).toAbsolutePath().normalize();
System.out.println("working directory: " + System.getProperty("user.dir"));
System.out.println("absolute directory path: " + absoluteDirectoryPath);

Expand Down Expand Up @@ -141,7 +141,7 @@ else if (annotation instanceof NormalAnnotationExpr) {

ObjectMapper mapper = new ObjectMapper();
try {
mapper.writeValue(new File("supporting_scripts/analysis-of-endpoint-connections/endpoints.json"), endpointClasses);
mapper.writeValue(new File("endpoints.json"), endpointClasses);
}
catch (IOException e) {
e.printStackTrace();
Expand Down

0 comments on commit 5160588

Please sign in to comment.