-
-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Platform independent compilation #172
Conversation
pom.xml
Outdated
</condition> | ||
<condition property="urlSlashesOsModifier" value="///"> | ||
<and> | ||
<os family="windows"></os> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ow windows.... gotta love that.
Funny enough, I'm on windows 11, but all work is done under WSL, so never noticed the problem
pom.xml
Outdated
@@ -598,13 +598,42 @@ | |||
<stagingProgressTimeoutMinutes>15</stagingProgressTimeoutMinutes> | |||
</configuration> | |||
</plugin> | |||
<plugin> | |||
<artifactId>maven-antrun-plugin</artifactId> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we use maven profiles instead?
ant
seems so 1994
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
@@ -134,7 +134,8 @@ public void toString_() throws IOException { | |||
BeanSerializer serializer = new BeanSerializer(); | |||
serializer.setAddToString(true); | |||
serializer.serialize(type, SimpleSerializerConfig.DEFAULT, new JavaWriter(writer)); | |||
assertThat(String.valueOf(writer)).contains(" @Override\n" + " public String toString()"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would a multine string fix this?
assertThat(String.valueOf(writer)).contains("""
@Override
public String toString()
""");
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope, text blocks always use \n
I made a few changes to eliminate the need of a maven profile and asserting line endings... Lemme know what you think. |
No description provided.