[23150] Apply user template to included IDL files#472
Merged
MiguelCompany merged 2 commits intomasterfrom May 16, 2025
Merged
Conversation
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
Member
I didn't think about this. It might be better to use another character like |
MiguelCompany
requested changes
May 13, 2025
Member
MiguelCompany
left a comment
There was a problem hiding this comment.
We should backport this. Please include backports in the description.
Documentation PR pending.
Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
8 tasks
MiguelCompany
approved these changes
May 13, 2025
Member
|
@Mergifyio backport 4.0.x 3.3.x 2.5.x |
1 similar comment
Member
|
@Mergifyio backport 4.0.x 3.3.x 2.5.x |
🟠 Waiting for conditions to matchDetails
|
cferreiragonz
added a commit
that referenced
this pull request
May 20, 2025
* Refs #23150: Apply user template to included IDL files Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> * Refs #23150: Apply Review Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com>
9 tasks
Contributor
Author
|
Backport to 4.0.x has been manually done with: Other backports will be created from that PR |
This was referenced May 20, 2025
cferreiragonz
added a commit
that referenced
this pull request
May 20, 2025
mergify bot
pushed a commit
that referenced
this pull request
May 20, 2025
* Refs #23150: Apply user template to included IDL files * Refs #23150: Apply Review --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit fbb0672) # Conflicts: # src/main/java/com/eprosima/fastdds/fastddsgen.java
mergify bot
pushed a commit
that referenced
this pull request
May 20, 2025
* Refs #23150: Apply user template to included IDL files * Refs #23150: Apply Review --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit fbb0672) # Conflicts: # src/main/java/com/eprosima/fastdds/fastddsgen.java
This was referenced May 20, 2025
cferreiragonz
added a commit
that referenced
this pull request
May 20, 2025
* Apply user template to included IDL files (#472) (#474) * Refs #23150: Apply user template to included IDL files * Refs #23150: Apply Review --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit fbb0672) # Conflicts: # src/main/java/com/eprosima/fastdds/fastddsgen.java * Fix Conflicts Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> Co-authored-by: Carlos Ferreira González <carloos.499@gmail.com> Co-authored-by: cferreiragonz <carlosferreira@eprosima.com>
MiguelCompany
added a commit
that referenced
this pull request
May 27, 2025
* Apply user template to included IDL files (#472) (#474) * Refs #23150: Apply user template to included IDL files * Refs #23150: Apply Review --------- Signed-off-by: cferreiragonz <carlosferreira@eprosima.com> (cherry picked from commit fbb0672) # Conflicts: # src/main/java/com/eprosima/fastdds/fastddsgen.java * Fix conflicts Signed-off-by: Miguel Company <miguelcompany@eprosima.com> --------- Signed-off-by: Miguel Company <miguelcompany@eprosima.com> Co-authored-by: Carlos Ferreira González <carloos.499@gmail.com> Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the required logic to apply user templates to included IDL files.
If the
output file namespecified in-extrastgcontains the character '@', the custom template will be also applied to included IDL files. The '$' will be replaced with the included file name.Usage example:
-extrastg /path/to/template/Custom.stg @MyCustomTemplate.cppAbove command will generate file:
HelloWorldMyCustomTemplate.cppin caseHelloWorld.idlwas included.@Mergifyio backport 4.0.x 3.3.x 2.5.x
Contributor Checklist
Reviewer Checklist