Skip to content

Commit

Permalink
Improve path processing (#337)
Browse files Browse the repository at this point in the history
* Refs #20755: Normalize path

Signed-off-by: elianalf <[email protected]>

* Refs #20755: Update idl-parser module

Signed-off-by: elianalf <[email protected]>

* Refs #20755: import java.nio.file.Paths

Signed-off-by: Mario Dominguez <[email protected]>

* Refs #20755: Update idl parser submodule up to 1.3.x

Signed-off-by: Mario Dominguez <[email protected]>

---------

Signed-off-by: elianalf <[email protected]>
Signed-off-by: Mario Dominguez <[email protected]>
Co-authored-by: Mario Dominguez <[email protected]>
  • Loading branch information
elianalf and Mario-DL authored May 16, 2024
1 parent 3681a3b commit 140a46b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/main/java/com/eprosima/fastdds/fastddsgen.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.List;
import java.util.Vector;
Expand Down Expand Up @@ -150,7 +151,7 @@ public fastddsgen(

if (!arg.startsWith("-"))
{
m_idlFiles.add(arg);
m_idlFiles.add(Paths.get(arg).normalize().toString());
}
else if (arg.equals("-example"))
{
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/idl-parser

0 comments on commit 140a46b

Please sign in to comment.