sirin05137 / CSE364_Project

2 stars 0 forks source link

Updated pom.xml, java, maven settings #5

Closed yuujinleee closed 3 years ago

yuujinleee commented 3 years ago

Changes I made :

  1. Dependencies and Properties settings in pom.xml

  2. For /src/test/java/group11/project.java, I renamed the java file name

Before After
project.java projectTest.java
  1. For /src/main/java/group11/project.java, I changed code for the location of *.dat files
Before
BufferedReader getuser = new BufferedReader(new FileReader("/Users/k/K/3학년/CSE364/CSE364_Project/data/users.dat"));
After
BufferedReader getuser = new BufferedReader(new FileReader("./data/users.dat"));

But I think if should be changed into sth like "${ENV_NAME}/data/users.dat"

yuujinleee commented 3 years ago

The links Ive referred to (for the record) : Maven project 제대로 사용하기 : pom.xml Maven - POM Reference Maven 프로젝트 JDK 8 에서 JDK 11로 migration

yuujinleee commented 3 years ago

@sirin05137 근데 저거 상대경로로 바꿔도 문제 없는거임?? run.shcd CSE364_Project 있어서 항상 CSE364폴더에서 자바커맨드 돌릴 것 같긴 한데..