Closed ingconti closed 1 year ago
Thanks for the feedback, our project is Maven scoped hence it should be IDE-independent. We will look into it ASAP!
yes, I do see maven settings, but I got an error.
PS even I use IJ, as said, it uses maven, and in detail tried using mvn cmds inside IJ.
Hi @ingconti , I downloaded a clean version of IntelliJ Idea (I'm on macos but this shouldn't matter), then cloned a fresh copy of the repo. Build works perfectly:
And then all tests pass (executed from maven right panel):
Also mvn package
for release works fine:
Please note that the JDK used is Amazon Corretto 17, a well-mantained fork of OpenJDK.
I will give a try, with branch are You using?
About JDK, use whatever want, we do stay with oracle
I will be glad to re-download and try.
On 15 Mar 2023, at 14:24, Francesco Buccoliero @.***> wrote:
Hi @ingconti https://github.com/ingconti , I downloaded a clean version of IntelliJ Idea (I'm on macos but this shouldn't matter), then cloned a fresh copy of the repo. Build works perfectly:
https://user-images.githubusercontent.com/14348908/225320786-b5c32dbb-fb5c-429c-bc38-f647b676fe63.png And then all tests pass (executed from maven right panel): https://user-images.githubusercontent.com/14348908/225321375-767bf0b0-8bd4-44bb-bf7c-446995c27668.png Also mvn package for release works fine: https://user-images.githubusercontent.com/14348908/225321507-41e7ceb5-ea03-48c4-bfd3-0c26529ed689.png Please note that the SDK used is Amazon Corretto 17, a well-mantained fork of OpenSDK.
— Reply to this email directly, view it on GitHub https://github.com/mattteochen/IS23-AM10/issues/49#issuecomment-1470006851, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA64MJ4JJJZY3AXNV6FAAMTW4G7IBANCNFSM6AAAAAAV3VDJDQ. You are receiving this because you were mentioned.
ing. Conti G. Enrico @.*** Ordine Ingegneri di Monza al n. A894 Certing MBB-2430-IT20
PIVA 02119300966
C.FISC. CNTGNR63A23M052W
via Duca degli Abruzzi 29
20900 MONZA MB ITALY
0039-039-324723
www.ingconti.com
Pec: @.***
CODICE DESTINATARIO KRRH6B9
with branch are You using?
/develop
About JDK, use whatever want, we do stay with oracle
Sure, thanks. We are using Corretto because of previous experience, but it should be 100% back-compatible with Oracle's OpenJDK, being a fork
I do have:
but I got:
/Users/ingconti/IdeaProjects/IS23-AM10/is23am10/src/main/java/it/polimi/is23am10/App.java:13:27 java: cannot find symbol symbol: variable LogManager location: class it.polimi.is23am10.App
Can't really say. I tried from scratch and it all worked, maybe try commenting whatever is causing errors in App.java
me too. my "clone" is missing "LogManager" as you say.
from specs/ex1:
Ci aspettiamo un progetto Maven:
Compilabile Testabile Eseguibile Senza errori
LogManager
is not a class we defined. It's from the maven plugin Log4j2
, it is correctly defined in pom.xml
and loaded by Maven. If it's not downloaded by your Maven we can't really do anything.
Can you check that your maven project successfully imported these two dependencies?
just a note: you select the INNER folder when using IntelliJ?
just a note: you select the INNER folder when using IntelliJ?
Good morning, we do not open the folder directly but we open the existing Maven project
hence select directly the pom.xml
file. IDE does the rest.
Closing issue following in-person meeting
I did read readme. b ut would br nice I can use the same logic as other groups.
I downloaded develop branch and tried to run tests: I got
/Users/ingconti/IdeaProjects/IS23-AM10/is23am10/src/main/java/it/polimi/is23am10/App.java:13:27 java: cannot find symbol symbol: variable LogManager location: class it.polimi.is23am10.App