-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
29e5f1e
commit b1d7c37
Showing
4 changed files
with
124 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
target/ | ||
classes/ | ||
*.iml | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,15 @@ | ||
# track17-autumn | ||
Курс Java Технотрек@mail.ru Весна 2017 | ||
# Добро пожаловать на курс "Основы Java"! | ||
## Курс читается в рамках проекта [Технотрек](https://track.mail.ru) осенний семестр 2016 | ||
|
||
### Программа курса | ||
|
||
* Знакомство с платформой Java | ||
* Базовые конструкции языка | ||
* Объектно-ориентированное программирование в Java | ||
* Исключения. Reflection API | ||
* Коллекции и параметризация | ||
* Внутренние и анонимные классы. Стримы и лямбда | ||
* Потоки в Java, проблемы многопоточных программ | ||
* Работа с базой данных, основы SQL | ||
* Сокеты, работа с сетью | ||
* Основы тестирования (JUnit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<!-- Каждый проект под maven имеет уникальный идентификатор--> | ||
<groupId>tehnotrack-mail</groupId> | ||
<artifactId>messenger</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
|
||
<!-- Настройки jvm и общие properties--> | ||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<maven.compiler.source>1.8</maven.compiler.source> | ||
<maven.compiler.target>1.8</maven.compiler.target> | ||
<maven.compiler.useIncrementalCompilation>false</maven.compiler.useIncrementalCompilation> | ||
<checkstyle.config.location>src/main/resources/google_checkstyle.xml</checkstyle.config.location> | ||
</properties> | ||
|
||
<!-- В этом блоке описывается процесс сборки и запуска. Действия запускаются с помощью плагинов - | ||
подпрограмм maven--> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<!-- Данный плагин описывает, какой класс мы хотим стартовать по умолчанию (должен содержать main())--> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>exec-maven-plugin</artifactId> | ||
<version>1.4.0</version> | ||
<configuration> | ||
<mainClass>track.lections.jdbc.JdbcExample</mainClass> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.apache.maven.plugins</groupId> | ||
<artifactId>maven-checkstyle-plugin</artifactId> | ||
<version>2.17</version> | ||
<configuration> | ||
<consoleOutput>true</consoleOutput> | ||
</configuration> | ||
<dependencies> | ||
<dependency> | ||
<groupId>com.puppycrawl.tools</groupId> | ||
<artifactId>checkstyle</artifactId> | ||
<version>6.16.1</version> | ||
</dependency> | ||
</dependencies> | ||
<executions> | ||
<execution> | ||
<id>checkstyle</id> | ||
<phase>validate</phase> | ||
<goals> | ||
<goal>check</goal> | ||
</goals> | ||
<configuration> | ||
<!--<configLocation>src/main/resources/google_checkstyle.xml</configLocation>--> | ||
<failOnViolation>true</failOnViolation> | ||
<consoleOutput>true</consoleOutput> | ||
</configuration> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
|
||
<!-- Maven умеет автоматически вытягивать необходимые библиотеки из глобального репозитория, не придется | ||
устанавливать их руками. Достаточно указать имя либы и версию. --> | ||
<dependencies> | ||
<dependency> | ||
<!-- Либа юнит тестов--> | ||
<groupId>junit</groupId> | ||
<artifactId>junit</artifactId> | ||
<version>4.12</version> | ||
<scope>test</scope> | ||
</dependency> | ||
<dependency> | ||
<!-- Либа для логирования--> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-api</artifactId> | ||
<version>1.7.12</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.slf4j</groupId> | ||
<artifactId>slf4j-log4j12</artifactId> | ||
<version>1.7.5</version> | ||
</dependency> | ||
|
||
</dependencies> | ||
|
||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package track.lessons.lesson1; | ||
|
||
/** | ||
* | ||
*/ | ||
public class HelloWorld { | ||
|
||
public static void main(String[] args) { | ||
System.out.println("Hello"); | ||
for (int i = 0; i < args.length; i++) { | ||
System.out.println("arg[" + i + "]=" + args[i]); | ||
} | ||
} | ||
} |