Open CSchoel opened 3 years ago
@manuEbg I assigned you, because you are the Scrum Master. You can delegate this issue as you like.
To clarify: The program works fine, but is extremely confusing to use due to the intermittent lines added by gradle.
On my System the Output looks the same. I don't really considered this a problem since a user would use the Jars, which don't have this outputproblem, and a developer would probably use IntelliJ 😊
Well, here you have a developer, who prefers to use the shell directly. :wink: And also your README instructs the user to use the command ./gradlew startMopeServer
directly.
It turns out that this is indeed normal behavior of gradle, which can be disabled by adding the argument --console plain
to the gradlew
command. You don't have to change anything in the code, but I think you should add this argument to the README (and a short half-sentence that explains why it is there).
@IlmarB please Update the Readme like stated in this Comment:)
Well, here you have a developer, who prefers to use the shell directly. 😉 And also your README instructs the user to use the command
./gradlew startMopeServer
directly.It turns out that this is indeed normal behavior of gradle, which can be disabled by adding the argument
--console plain
to thegradlew
command. You don't have to change anything in the code, but I think you should add this argument to the README (and a short half-sentence that explains why it is there).
okay, will do
done
I don't know where it went, but the README.md does not include the hint to use --console plain
anymore.
Actually, thanks to Git, I now know what happened:
The change was introduced here 2223b69049a9247556c5f2806d0e76c3736c243a and here 238824bd1b4a6459e645a588d2d9f1e38257923c, but then reverted here a07ae40bf79c1b8f42e277a53155b6739bfa2d1f.
And this is a prime example, while small commits with meaningful messages are important. I have no clue what was the actual purpose of the "readme update" (a07ae40bf79c1b8f42e277a53155b6739bfa2d1f). From the contents, I suppose it should actually add additional console commands to the readme. However, it accidentally also reverted the changes for this issue and completely deleted the section "Instructions to build the server- and console-jar-files".
Tip for the future: Never use git add .
, or really any git add
command, without excactly knowing what changes you are staging. For this purpose I alwas use git gui
, which shows an overview of all staged and unstaged changes and also lets me split a large change set into smaller ones if required. (Right-click on changes -> stage/unstage lines/hunk)
@IlmarB , please have a look at this and fix the README.md.
It seems that the gradlew commands to start the server and the client do not work properly on all shells/gradle versions. On my system, the output looks as follows:
Stage: Input the serverip, before pressing enter:
Stage: Select command
I am using bash and other relevant software versions are the following: