PiervitoCreanza / IS24-AM02

This project is a Java-based implementation of the table game "Codex Naturalis", developed as the final project for the 2023/2024 Software Engineering course at Politecnico di Milano.
4 stars 0 forks source link

error if run in console #198

Closed ingconti closed 3 months ago

ingconti commented 4 months ago

I got

java -jar AM02-1.0-SNAPSHOT.jar no main manifest attribute, in AM02-1.0-SNAPSHOT.jar

simonecurci commented 4 months ago

Jars are built in the "jars" folder, one for the client and one for the server

ingconti commented 4 months ago

I see:

image

am I missing anything?

simonecurci commented 4 months ago

We didn't add them to GitHub yet, you need to clone the repo and launch maven package. In the target folder you will find a "jars" folder with both the jars, it should also build a zip with the windows client, and macos package (usable only in localhost at the moment)

mattiacolombomc commented 4 months ago

Updated README, will be merged soon. JARs will be added soon in "RELEASES" section.

ingconti commented 4 months ago

We didn't add them to GitHub yet, you need to clone the repo and launch maven package. In the target folder you will find a "jars" folder with both the jars, it should also build a zip with the windows client, and macos package (usable only in localhost at the moment)

I did so, but no order jars.

maybe I am missing some details, but I ALWAYS build and only build in MAVEN

"“Thou shalt have no other Buils system before MAVEN.”

ingconti commented 4 months ago

ad said MANY times... do not close foro yourself issues open by teachers.

mattiacolombomc commented 4 months ago

We didn't add them to GitHub yet, you need to clone the repo and launch maven package. In the target folder you will find a "jars" folder with both the jars, it should also build a zip with the windows client, and macos package (usable only in localhost at the moment)

I did so, but no order jars.

maybe I am missing some details, but I ALWAYS build and only build in MAVEN

"“Thou shalt have no other Buils system before MAVEN.”

I don't get what you mean, Professor. Maven lifecycle "package" (validate + test + package) is working fine on our end.

Could you please be more clear?

CleanShot 2024-06-25 at 11 20 31@2x

CleanShot 2024-06-25 at 11 19 33@2x

mattiacolombomc commented 4 months ago

We are obviously building with Maven

ingconti commented 4 months ago

I did the same

which branch are you using?

mattiacolombomc commented 4 months ago

I did the same

  • clone
  • mave clear
  • maven package

which branch are you using?

main branch

ingconti commented 3 months ago

let re re re do on main

git checkout..

mvn clean...

folders are empty

man package.....

I got there same:

image
mattiacolombomc commented 3 months ago

@ingconti or if you prefer:

https://github.com/PiervitoCreanza/IS24-AM02/releases/tag/v0.0.5

ingconti commented 3 months ago

discussed with mattia, very strange. I had to completely detete ALLL the folder, and download zip. non sense on this...

normally evil is in the POM file.. WTF..