Skip to content

Commit 6d067a7

Browse files
committed
add: init
0 parents  commit 6d067a7

File tree

307 files changed

+15955
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

307 files changed

+15955
-0
lines changed

.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
HELP.md
2+
target/
3+
!.mvn/wrapper/maven-wrapper.jar
4+
!**/src/main/**/target/
5+
!**/src/test/**/target/
6+
7+
### STS ###
8+
.apt_generated
9+
.classpath
10+
.factorypath
11+
.project
12+
.settings
13+
.springBeans
14+
.sts4-cache
15+
16+
### IntelliJ IDEA ###
17+
.idea
18+
*.iws
19+
*.iml
20+
*.ipr
21+
22+
### NetBeans ###
23+
/nbproject/private/
24+
/nbbuild/
25+
/dist/
26+
/nbdist/
27+
/.nb-gradle/
28+
build/
29+
!**/src/main/**/build/
30+
!**/src/test/**/build/
31+
32+
### VS Code ###
33+
.vscode/
34+
35+
.DS_Store

Contribution.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
### Bài 2: Coupling
2+
- Subteam 1: Nguyễn Văn A, Nguyễn Thị B
3+
- Subteam 2: Nguyễn Văn C, Nguyễn Thị D
4+
5+
6+
7+
8+

README.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# An Internet Media Store
2+
<p align="center">
3+
<img src="src/main/resources/assets/images/aims_cover_image.png" />
4+
</p>
5+
6+
## Getting Started
7+
8+
Welcome to the AIMS project. Here is a guideline to help you get started.
9+
10+
## Folder Structure
11+
12+
The workspace contains the following folders, where:
13+
14+
- `src`: the folder to maintain sources
15+
- `lib`: the folder to maintain dependencies
16+
- `test`: the folder for testing purpose
17+
18+
## Dependency Management
19+
### Working with Eclipse
20+
Import the root directory of this repository after cloning under `Eclipse` -> `Open Projects from File System...` or by using EGit.
21+
22+
### SQLite
23+
Import `sqlite-jdbc-3.7.2.jar` in `lib` under `Eclipse` -> `Project` -> `Properties` -> `Java Build Path` -> `Classpath` -> `Add JARs...`.
24+
25+
26+
### JUnit
27+
Import `JUnit5` library under `Eclipse` -> `Project` -> `Properties` -> `Java Build Path` -> `Modulepath` -> `Add Library...` -> `JUnit` -> `Next`.
28+
29+
### JavaFX
30+
**Note:** At first, please try to run the project once, and then follow these steps.
31+
1. Create a new `User Library` under `Eclipse` -> `Window` -> `Preferences` -> `Java` -> `Build Path` -> `User Libraries` -> `New`
32+
2. Name it anything you want, e.g., `JavaFX15`, and include the ***jars*** under either the `lib/linux/javafx-sdk-15` directory for Linux distro or the `lib/win/javafx-sdk-15` directory for Windows in the project.
33+
3. Include the library, e.g., `JavaFX15`, into the classpath.
34+
35+
### Add VM arguments
36+
Click on `Run` -> `Run Configurations...` -> `Java Application`, create a new launch configuration for your project and add these VM arguments:
37+
- For Linux distro:
38+
> `--module-path lib/linux/javafx-sdk-15 --add-modules javafx.controls,javafx.fxml`
39+
- For Windows:
40+
> `--module-path lib/win/javafx-sdk-15 --add-modules javafx.controls,javafx.fxml`
41+
42+
## Author
43+
- nguyenlm - Software Engeneering Student - k61
44+
- manhvd - Software Engeneering Student - k61
45+
- hieudm - ICT - k61
46+
- thanhld - ICT - k62

intellij-migrate.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#### Migrate Configs
2+
1. Add lib to project
3+
```
4+
File > Project Structure > Libraries > Add /path/to/lib
5+
```
6+
2. Add VM options
7+
```
8+
Run > Edit configurations > Add the following argument:
9+
--module-path "/Users//java/javafx-sdk-15.0.1/lib"
10+
--add-modules javafx.controls,javafx.fxml [, etc]
11+
```

lib/alt-distance-api-1.0-SNAPSHOT.jar

4.27 KB
Binary file not shown.

lib/distance-api-1.0-SNAPSHOT.jar

3.79 KB
Binary file not shown.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
ADDITIONAL INFORMATION ABOUT LICENSING
2+
3+
Certain files distributed by Oracle America, Inc. and/or its affiliates are
4+
subject to the following clarification and special exception to the GPLv2,
5+
based on the GNU Project exception for its Classpath libraries, known as the
6+
GNU Classpath Exception.
7+
8+
Note that Oracle includes multiple, independent programs in this software
9+
package. Some of those programs are provided under licenses deemed
10+
incompatible with the GPLv2 by the Free Software Foundation and others.
11+
For example, the package includes programs licensed under the Apache
12+
License, Version 2.0 and may include FreeType. Such programs are licensed
13+
to you under their original licenses.
14+
15+
Oracle facilitates your further distribution of this package by adding the
16+
Classpath Exception to the necessary parts of its GPLv2 code, which permits
17+
you to use that code in combination with other independent modules not
18+
licensed under the GPLv2. However, note that this would not permit you to
19+
commingle code under an incompatible license with Oracle's GPLv2 licensed
20+
code by, for example, cutting and pasting such code into a file also
21+
containing Oracle's GPLv2 licensed code and then distributing the result.
22+
23+
Additionally, if you were to remove the Classpath Exception from any of the
24+
files to which it applies and distribute the result, you would likely be
25+
required to license some or all of the other code in that distribution under
26+
the GPLv2 as well, and since the GPLv2 is incompatible with the license terms
27+
of some items included in the distribution by Oracle, removing the Classpath
28+
Exception could therefore effectively compromise your ability to further
29+
distribute the package.
30+
31+
Failing to distribute notices associated with some files may also create
32+
unexpected legal consequences.
33+
34+
Proceed with caution and we recommend that you obtain the advice of a lawyer
35+
skilled in open source matters before removing the Classpath Exception or
36+
making modifications to this package which may subsequently be redistributed
37+
and/or involve the use of third party software.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
2+
OPENJDK ASSEMBLY EXCEPTION
3+
4+
The OpenJDK source code made available by Oracle America, Inc. (Oracle) at
5+
openjdk.java.net ("OpenJDK Code") is distributed under the terms of the GNU
6+
General Public License <http://www.gnu.org/copyleft/gpl.html> version 2
7+
only ("GPL2"), with the following clarification and special exception.
8+
9+
Linking this OpenJDK Code statically or dynamically with other code
10+
is making a combined work based on this library. Thus, the terms
11+
and conditions of GPL2 cover the whole combination.
12+
13+
As a special exception, Oracle gives you permission to link this
14+
OpenJDK Code with certain code licensed by Oracle as indicated at
15+
http://openjdk.java.net/legal/exception-modules-2007-05-08.html
16+
("Designated Exception Modules") to produce an executable,
17+
regardless of the license terms of the Designated Exception Modules,
18+
and to copy and distribute the resulting executable under GPL2,
19+
provided that the Designated Exception Modules continue to be
20+
governed by the licenses under which they were offered by Oracle.
21+
22+
As such, it allows licensees and sublicensees of Oracle's GPL2 OpenJDK Code
23+
to build an executable that includes those portions of necessary code that
24+
Oracle could not provide under GPL2 (or that Oracle has provided under GPL2
25+
with the Classpath exception). If you modify or add to the OpenJDK code,
26+
that new GPL2 code may still be combined with Designated Exception Modules
27+
if the new code is made subject to this exception by its copyright holder.

0 commit comments

Comments
 (0)