diff --git a/Klausuren/Sd1/2014winter/Exam/Readme.md b/Klausuren/Sd1/2014winter/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2014winter/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2014winter/Exam/pom.xml b/Klausuren/Sd1/2014winter/Exam/pom.xml index 2b467b2cff56fffe9679553e69b5f6c342509212..839f8fd6ff0ac68a24dcdf9e6995a596b2046878 100644 --- a/Klausuren/Sd1/2014winter/Exam/pom.xml +++ b/Klausuren/Sd1/2014winter/Exam/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,64 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.0</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.1.1</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> - - <additionalJOptions> - <additionalJOption>-html5</additionalJOption> - </additionalJOptions> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> + + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> + + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.2.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -96,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2014winter/Exam/src/main/assembly b/Klausuren/Sd1/2014winter/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2014winter/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2014winter/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2014winter/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2014winter/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2014winter/Exam/src/main/resources b/Klausuren/Sd1/2014winter/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2014winter/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2014winter/Solution/pom.xml b/Klausuren/Sd1/2014winter/Solution/pom.xml index c70f36fd77bcff2a41f1b32a9e1683c8f559b74e..b35081f6c3103620ce92323496dec94a558f01ca 100644 --- a/Klausuren/Sd1/2014winter/Solution/pom.xml +++ b/Klausuren/Sd1/2014winter/Solution/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,64 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.0</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.1.1</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> - - <additionalJOptions> - <additionalJOption>-html5</additionalJOption> - </additionalJOptions> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> + + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> + + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.2.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -96,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2015summer/Exam/Readme.md b/Klausuren/Sd1/2015summer/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2015summer/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2015summer/Exam/Readme.md b/Klausuren/Sd1/2015summer/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2015summer/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2015summer/Exam/pom.xml b/Klausuren/Sd1/2015summer/Exam/pom.xml index 3594dd7471e93b284af887c4c58567ffc4d3eb74..249b52efeb65791fc22ab31105917ebda04acbca 100644 --- a/Klausuren/Sd1/2015summer/Exam/pom.xml +++ b/Klausuren/Sd1/2015summer/Exam/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,64 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.1</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.1.1</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> - - <additionalJOptions> - <additionalJOption>-html5</additionalJOption> - </additionalJOptions> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> + + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> + + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.2.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -96,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2015summer/Exam/src/main/assembly b/Klausuren/Sd1/2015summer/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2015summer/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2015summer/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2015summer/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2015summer/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2015summer/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2015summer/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2015summer/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2015summer/Exam/src/main/resources b/Klausuren/Sd1/2015summer/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2015summer/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2015summer/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2015summer/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index e4bd6e38899c495a0a6c363b44847059063a2e23..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2015summer/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="q.w.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2015summer/Solve/pom.xml b/Klausuren/Sd1/2015summer/Solve/pom.xml index bf4228f824b54f719e909a1ff3e1ce969d76484f..3fddfb4566c93fd68d68be2a26faadaec73bf7d9 100644 --- a/Klausuren/Sd1/2015summer/Solve/pom.xml +++ b/Klausuren/Sd1/2015summer/Solve/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,64 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.0</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.1.1</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> - - <additionalJOptions> - <additionalJOption>-html5</additionalJOption> - </additionalJOptions> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> + + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> + + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.2.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -96,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2015summer/Solve/src/main/assembly b/Klausuren/Sd1/2015summer/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2015summer/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2015summer/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2015summer/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2015summer/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2015summer/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2015summer/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2015summer/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2015summer/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2015summer/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2015summer/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2015summer/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2015summer/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2015summer/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2015summer/Solve/src/main/resources b/Klausuren/Sd1/2015summer/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2015summer/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2015summer/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2015summer/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index e4bd6e38899c495a0a6c363b44847059063a2e23..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2015summer/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="q.w.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2015winter/Exam/Readme.md b/Klausuren/Sd1/2015winter/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2015winter/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2015winter/Exam/Readme.md b/Klausuren/Sd1/2015winter/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2015winter/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2015winter/Exam/pom.xml b/Klausuren/Sd1/2015winter/Exam/pom.xml index 74fd1949dc9f9df1f4719bcce9bb7284b9634684..e3abf9b4e2979c49d885e71a56a38dc2e0b78cb3 100644 --- a/Klausuren/Sd1/2015winter/Exam/pom.xml +++ b/Klausuren/Sd1/2015winter/Exam/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,64 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.0</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.1.1</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> - - <additionalJOptions> - <additionalJOption>-html5</additionalJOption> - </additionalJOptions> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> + + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> + + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.2.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -96,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2015winter/Exam/src/main/assembly b/Klausuren/Sd1/2015winter/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2015winter/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2015winter/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2015winter/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2015winter/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2015winter/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2015winter/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2015winter/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2015winter/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2015winter/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2015winter/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2015winter/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2015winter/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2015winter/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2015winter/Exam/src/main/resources b/Klausuren/Sd1/2015winter/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2015winter/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2015winter/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2015winter/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index e4bd6e38899c495a0a6c363b44847059063a2e23..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2015winter/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="q.w.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2015winter/Solve/pom.xml b/Klausuren/Sd1/2015winter/Solve/pom.xml index e36d46f1ff029340a40bc62364164418c7fd3dd4..f8ff07789a23410a2df3a876a3ee1334b30ffcfa 100644 --- a/Klausuren/Sd1/2015winter/Solve/pom.xml +++ b/Klausuren/Sd1/2015winter/Solve/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,64 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.0</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.1.1</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> - - <additionalJOptions> - <additionalJOption>-html5</additionalJOption> - </additionalJOptions> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> + + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> + + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.2.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -96,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2016summer.failed/Exam/Readme.md b/Klausuren/Sd1/2016summer.failed/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2016summer.failed/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer.failed/Exam/pom.xml b/Klausuren/Sd1/2016summer.failed/Exam/pom.xml index fc28162372f87b7b668f323aaec520aef691991d..9515d5f6dc6fc2a41dde9346d1a305aee7795844 100644 --- a/Klausuren/Sd1/2016summer.failed/Exam/pom.xml +++ b/Klausuren/Sd1/2016summer.failed/Exam/pom.xml @@ -10,104 +10,121 @@ <name>sw1_2016sommer_exam</name> <url>https://freedocs.mi.hdm-stuttgart.de</url> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> - </plugin> + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> + </properties> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.1.1</version> - <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> - <stylesheetfile>localstyles.css</stylesheetfile> + <dependencies> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.2</version> + </dependency> + </dependencies> - <additionalJOptions> - <additionalJOption>-html5</additionalJOption> - </additionalJOptions> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> - </configuration> - </plugin> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.11.0</version> + </plugin> - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>3.2.0</version> - <configuration> - <descriptors> - <descriptor>src/main/assembly/assembly.xml</descriptor> - </descriptors> - </configuration> - <executions> - <execution> - <id>make-assembly</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <archive> - <manifest> - <mainClass>de.hdm_stuttgart.sw1.klausur.test.ShowReachedPoints</mainClass> - </manifest> - </archive> - </configuration> - </execution> - </executions> - </plugin> - </plugins> - </build> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> + <configuration> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-api</artifactId> - <version>2.16.0</version> - </dependency> + <windowtitle>Exam documentation</windowtitle> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> - </dependencies> + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.4.2</version> + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/Klausuren/Sd1/2016summer.failed/Exam/src/main/assembly b/Klausuren/Sd1/2016summer.failed/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2016summer.failed/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer.failed/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2016summer.failed/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index d73dec33b66746889b8b7b2987a2826f734b87fa..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer.failed/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> diff --git a/Klausuren/Sd1/2016summer.failed/Exam/src/main/javadoc/localstyles.css b/Klausuren/Sd1/2016summer.failed/Exam/src/main/javadoc/localstyles.css deleted file mode 100644 index 89340880d2a8a21714da54bd2ce82777d41d4e5c..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer.failed/Exam/src/main/javadoc/localstyles.css +++ /dev/null @@ -1,927 +0,0 @@ -/* - * Javadoc style sheet - */ - -/* - * Styles for individual HTML elements. - * - * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular - * HTML element throughout the page. - */ - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; - padding:0; - height:100%; - width:100%; -} -iframe { - margin:0; - padding:0; - height:100%; - width:100%; - overflow-y:scroll; - border:none; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a[href]:hover, a[href]:focus { - text-decoration:none; - color:#bb7a2a; -} -a[name] { - color:#353833; -} -a[name]:before, a[name]:target, a[id]:before, a[id]:target { - content:""; - display:inline-block; - position:relative; - padding-top:129px; - margin-top:-129px; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} - -/* - * Styles for HTML generated by javadoc. - * - * These are style classes that are used by the standard doclet to generate HTML documentation. - */ - -/* - * Styles for document title and copyright. - */ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* - * Styles for navigation bar. - */ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.navPadding { - padding-top: 107px; -} -.fixedNav { - position:fixed; - width:100%; - z-index:999; - background-color:#ffffff; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.navListSearch { - float:right; - margin:0 0 0 0; - padding:0; -} -ul.navListSearch li { - list-style:none; - float:right; - padding: 5px 6px; - text-transform:uppercase; -} -ul.navListSearch li label { - position:relative; - right:-16px; -} -ul.subNavList li { - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* - * Styles for page header and footer. - */ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexNav { - position:relative; - font-size:12px; - background-color:#dee3e9; -} -.indexNav ul { - margin-top:0; - padding:5px; -} -.indexNav ul li { - display:inline; - list-style-type:none; - padding-right:10px; - text-transform:uppercase; -} -.indexNav h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* - * Styles for headings. - */ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* - * Styles for page layout containers. - */ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer, -.allClassesContainer, .allPackagesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* - * Styles for lists. - */ -li.circle { - list-style:circle; -} -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* - * Styles for tables. - */ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary, -.requiresSummary, .packagesSummary, .providesSummary, .usesSummary { - width:100%; - border-spacing:0; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary, .requiresSummary, .packagesSummary, .providesSummary, .usesSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption, -.requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.constantsSummary caption a:link, .deprecatedSummary caption a:link, -.requiresSummary caption a:link, .packagesSummary caption a:link, .providesSummary caption a:link, -.usesSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.requiresSummary caption a:hover, .packagesSummary caption a:hover, .providesSummary caption a:hover, -.usesSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.constantsSummary caption a:active, .deprecatedSummary caption a:active, -.requiresSummary caption a:active, .packagesSummary caption a:active, .providesSummary caption a:active, -.usesSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.constantsSummary caption a:visited, .deprecatedSummary caption a:visited, -.requiresSummary caption a:visited, .packagesSummary caption a:visited, .providesSummary caption a:visited, -.usesSummary caption a:visited { - color:#FFFFFF; -} -.useSummary caption a:link, .useSummary caption a:hover, .useSummary caption a:active, -.useSummary caption a:visited { - color:#1f389c; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span, -.requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span, -.usesSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span, -.overviewSummary caption span.activeTableTab span, .typeSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span, -.overviewSummary caption span.tableTab span, .typeSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab, -.packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab, -.overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab, -.typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd, -.requiresSummary .tabEnd, .packagesSummary .tabEnd, .providesSummary .tabEnd, .usesSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd, .packagesSummary .activeTableTab .tabEnd, -.overviewSummary .activeTableTab .tabEnd, .typeSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd, .packagesSummary .tableTab .tabEnd, -.overviewSummary .tableTab .tabEnd, .typeSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; -} -.rowColor th, .altColor th { - font-weight:normal; -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td, -.requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .useSummary th, -.constantsSummary th, .packagesSummary th, td.colFirst, td.colSecond, td.colLast, .useSummary td, -.constantsSummary td { - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .constantsSummary th, -.packagesSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - font-size:13px; -} -td.colSecond, th.colSecond, td.colLast, th.colConstructorName, th.colDeprecatedItemName, th.colLast { - font-size:13px; -} -.constantsSummary th, .packagesSummary th { - font-size:13px; -} -.providesSummary th.colFirst, .providesSummary th.colLast, .providesSummary td.colFirst, -.providesSummary td.colLast { - white-space:normal; - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.requiresSummary td.colFirst, .requiresSummary th.colFirst, -.packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th, -.usesSummary td.colFirst, .usesSummary th.colFirst, -.providesSummary td.colFirst, .providesSummary th.colFirst, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName, -.typeSummary td.colFirst, .typeSummary th.colFirst { - vertical-align:top; -} -.packagesSummary th.colLast, .packagesSummary td.colLast { - white-space:normal; -} -td.colFirst a:link, td.colFirst a:visited, -td.colSecond a:link, td.colSecond a:visited, -th.colFirst a:link, th.colFirst a:visited, -th.colSecond a:link, th.colSecond a:visited, -th.colConstructorName a:link, th.colConstructorName a:visited, -th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited, -.constantValuesContainer td a:link, .constantValuesContainer td a:visited, -.allClassesContainer td a:link, .allClassesContainer td a:visited, -.allPackagesContainer td a:link, .allPackagesContainer td a:visited { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor, .altColor th { - background-color:#FFFFFF; -} -.rowColor, .rowColor th { - background-color:#EEEEEF; -} -/* - * Styles for contents. - */ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -td.colLast div { - padding-top:0px; -} -td.colLast a { - padding-bottom:3px; -} -/* - * Styles for formatting effect. - */ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .implementationLabel, .memberNameLabel, .memberNameLink, -.moduleLabelInPackage, .moduleLabelInType, .overrideSpecifyLabel, .packageLabelInType, -.packageHierarchyLabel, .paramLabel, .returnLabel, .seeLabel, .simpleTagLabel, -.throwsLabel, .typeNameLabel, .typeNameLink, .searchTagLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} -.deprecationBlock { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; - border-style:solid; - border-width:thin; - border-radius:10px; - padding:10px; - margin-bottom:10px; - margin-right:10px; - display:inline-block; -} -div.block div.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} -div.contentContainer ul.blockList li.blockList h2 { - padding-bottom:0px; -} -/* - * Styles for IFRAME. - */ -.mainContainer { - margin:0 auto; - padding:0; - height:100%; - width:100%; - position:fixed; - top:0; - left:0; -} -.leftContainer { - height:100%; - position:fixed; - width:320px; -} -.leftTop { - position:relative; - float:left; - width:315px; - top:0; - left:0; - height:30%; - border-right:6px solid #ccc; - border-bottom:6px solid #ccc; -} -.leftBottom { - position:relative; - float:left; - width:315px; - bottom:0; - left:0; - height:70%; - border-right:6px solid #ccc; - border-top:1px solid #000; -} -.rightContainer { - position:absolute; - left:320px; - top:0; - bottom:0; - height:100%; - right:0; - border-left:1px solid #000; -} -.rightIframe { - margin:0; - padding:0; - height:100%; - right:30px; - width:100%; - overflow:visible; - margin-bottom:30px; -} -/* - * Styles specific to HTML5 elements. - */ -main, nav, header, footer, section { - display:block; -} -/* - * Styles for javadoc search. - */ -.ui-autocomplete-category { - font-weight:bold; - font-size:15px; - padding:7px 0 7px 3px; - background-color:#4D7A97; - color:#FFFFFF; -} -.resultItem { - font-size:13px; -} -.ui-autocomplete { - max-height:85%; - max-width:65%; - overflow-y:scroll; - overflow-x:scroll; - white-space:nowrap; - box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); -} -ul.ui-autocomplete { - position:fixed; - z-index:999999; -} -ul.ui-autocomplete li { - float:left; - clear:both; - width:100%; -} -.resultHighlight { - font-weight:bold; -} -#search { - background-image:url('resources/glass.png'); - background-size:13px; - background-repeat:no-repeat; - background-position:2px 3px; - padding-left:20px; - position:relative; - right:-18px; -} -#reset { - background-color: rgb(255,255,255); - background-image:url('resources/x.png'); - background-position:center; - background-repeat:no-repeat; - background-size:12px; - border:0 none; - width:16px; - height:17px; - position:relative; - left:-4px; - top:-4px; - font-size:0px; -} -.watermark { - color:#545454; -} -.searchTagDescResult { - font-style:italic; - font-size:11px; -} -.searchTagHolderResult { - font-style:italic; - font-size:12px; -} -.searchTagResult:before, .searchTagResult:target { - color:red; -} -.moduleGraph span { - display:none; - position:absolute; -} -.moduleGraph:hover span { - display:block; - margin: -100px 0 0 100px; - z-index: 1; -} -.methodSignature { - white-space:normal; -} - -/* - * Styles for user-provided tables. - * - * borderless: - * No borders, vertical margins, styled caption. - * This style is provided for use with existing doc comments. - * In general, borderless tables should not be used for layout purposes. - * - * plain: - * Plain borders around table and cells, vertical margins, styled caption. - * Best for small tables or for complex tables for tables with cells that span - * rows and columns, when the "striped" style does not work well. - * - * striped: - * Borders around the table and vertical borders between cells, striped rows, - * vertical margins, styled caption. - * Best for tables that have a header row, and a body containing a series of simple rows. - */ - -table.borderless, -table.plain, -table.striped { - margin-top: 10px; - margin-bottom: 10px; -} -table.borderless > caption, -table.plain > caption, -table.striped > caption { - font-weight: bold; - font-size: smaller; -} -table.borderless th, table.borderless td, -table.plain th, table.plain td, -table.striped th, table.striped td { - padding: 2px 5px; -} -table.borderless, -table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, -table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { - border: none; -} -table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { - background-color: transparent; -} -table.plain { - border-collapse: collapse; - border: 1px solid black; -} -table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { - background-color: transparent; -} -table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, -table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { - border: 1px solid black; -} -table.striped { - border-collapse: collapse; - border: 1px solid black; -} -table.striped > thead { - background-color: #E3E3E3; -} -table.striped > thead > tr > th, table.striped > thead > tr > td { - border: 1px solid black; -} -table.striped > tbody > tr:nth-child(even) { - background-color: #EEE -} -table.striped > tbody > tr:nth-child(odd) { - background-color: #FFF -} -table.striped > tbody > tr > th, table.striped > tbody > tr > td { - border-left: 1px solid black; - border-right: 1px solid black; -} -table.striped > tbody > tr > th { - font-weight: normal; -} - - -/* Extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 1px solid black; - border-collapse: collapse; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer.failed/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2016summer.failed/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2016summer.failed/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer.failed/Exam/src/main/resources b/Klausuren/Sd1/2016summer.failed/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2016summer.failed/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer.failed/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2016summer.failed/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index e4bd6e38899c495a0a6c363b44847059063a2e23..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer.failed/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="q.w.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer.failed/Solution/pom.xml b/Klausuren/Sd1/2016summer.failed/Solution/pom.xml index 3ff664f342986d9d2675ca1d55f7af830229d863..f6aa93cd54dd08f3ef7c17273ad062ed4cf4270e 100644 --- a/Klausuren/Sd1/2016summer.failed/Solution/pom.xml +++ b/Klausuren/Sd1/2016summer.failed/Solution/pom.xml @@ -10,105 +10,121 @@ <name>sw1_2016summer_solve</name> <url>https://freedocs.mi.hdm-stuttgart.de</url> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> - </plugin> + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> + </properties> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.1.1</version> - <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> - <stylesheetfile>localstyles.css</stylesheetfile> + <dependencies> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.2</version> + </dependency> + </dependencies> - <additionalJOptions> - <additionalJOption>-html5</additionalJOption> - </additionalJOptions> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> - </configuration> - </plugin> - - <plugin> - <artifactId>maven-assembly-plugin</artifactId> - <version>3.2.0</version> - <configuration> - <descriptors> - <descriptor>src/main/assembly/assembly.xml</descriptor> - </descriptors> - </configuration> - <executions> - <execution> - <id>make-assembly</id> - <phase>package</phase> - <goals> - <goal>single</goal> - </goals> - <configuration> - <archive> - <manifest> - <mainClass>de.hdm_stuttgart.sw1.klausur.test.ShowReachedPoints</mainClass> - </manifest> - </archive> - </configuration> - </execution> - </executions> - </plugin> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.11.0</version> + </plugin> - </plugins> - </build> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> + <configuration> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-api</artifactId> - <version>2.16.0</version> - </dependency> + <windowtitle>Exam documentation</windowtitle> - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> - </dependencies> + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.4.2</version> + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/Klausuren/Sd1/2016summer.failed/Solution/src/main/assembly b/Klausuren/Sd1/2016summer.failed/Solution/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2016summer.failed/Solution/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer.failed/Solution/src/main/assembly/assembly.xml b/Klausuren/Sd1/2016summer.failed/Solution/src/main/assembly/assembly.xml deleted file mode 100644 index d73dec33b66746889b8b7b2987a2826f734b87fa..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer.failed/Solution/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> diff --git a/Klausuren/Sd1/2016summer.failed/Solution/src/main/javadoc/localstyles.css b/Klausuren/Sd1/2016summer.failed/Solution/src/main/javadoc/localstyles.css deleted file mode 100644 index 89340880d2a8a21714da54bd2ce82777d41d4e5c..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer.failed/Solution/src/main/javadoc/localstyles.css +++ /dev/null @@ -1,927 +0,0 @@ -/* - * Javadoc style sheet - */ - -/* - * Styles for individual HTML elements. - * - * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular - * HTML element throughout the page. - */ - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; - padding:0; - height:100%; - width:100%; -} -iframe { - margin:0; - padding:0; - height:100%; - width:100%; - overflow-y:scroll; - border:none; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a[href]:hover, a[href]:focus { - text-decoration:none; - color:#bb7a2a; -} -a[name] { - color:#353833; -} -a[name]:before, a[name]:target, a[id]:before, a[id]:target { - content:""; - display:inline-block; - position:relative; - padding-top:129px; - margin-top:-129px; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} - -/* - * Styles for HTML generated by javadoc. - * - * These are style classes that are used by the standard doclet to generate HTML documentation. - */ - -/* - * Styles for document title and copyright. - */ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* - * Styles for navigation bar. - */ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.navPadding { - padding-top: 107px; -} -.fixedNav { - position:fixed; - width:100%; - z-index:999; - background-color:#ffffff; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.navListSearch { - float:right; - margin:0 0 0 0; - padding:0; -} -ul.navListSearch li { - list-style:none; - float:right; - padding: 5px 6px; - text-transform:uppercase; -} -ul.navListSearch li label { - position:relative; - right:-16px; -} -ul.subNavList li { - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* - * Styles for page header and footer. - */ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexNav { - position:relative; - font-size:12px; - background-color:#dee3e9; -} -.indexNav ul { - margin-top:0; - padding:5px; -} -.indexNav ul li { - display:inline; - list-style-type:none; - padding-right:10px; - text-transform:uppercase; -} -.indexNav h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* - * Styles for headings. - */ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* - * Styles for page layout containers. - */ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer, -.allClassesContainer, .allPackagesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* - * Styles for lists. - */ -li.circle { - list-style:circle; -} -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* - * Styles for tables. - */ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary, -.requiresSummary, .packagesSummary, .providesSummary, .usesSummary { - width:100%; - border-spacing:0; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary, .requiresSummary, .packagesSummary, .providesSummary, .usesSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption, -.requiresSummary caption, .packagesSummary caption, .providesSummary caption, .usesSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.constantsSummary caption a:link, .deprecatedSummary caption a:link, -.requiresSummary caption a:link, .packagesSummary caption a:link, .providesSummary caption a:link, -.usesSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.requiresSummary caption a:hover, .packagesSummary caption a:hover, .providesSummary caption a:hover, -.usesSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.constantsSummary caption a:active, .deprecatedSummary caption a:active, -.requiresSummary caption a:active, .packagesSummary caption a:active, .providesSummary caption a:active, -.usesSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.constantsSummary caption a:visited, .deprecatedSummary caption a:visited, -.requiresSummary caption a:visited, .packagesSummary caption a:visited, .providesSummary caption a:visited, -.usesSummary caption a:visited { - color:#FFFFFF; -} -.useSummary caption a:link, .useSummary caption a:hover, .useSummary caption a:active, -.useSummary caption a:visited { - color:#1f389c; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span, -.requiresSummary caption span, .packagesSummary caption span, .providesSummary caption span, -.usesSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span, .packagesSummary caption span.activeTableTab span, -.overviewSummary caption span.activeTableTab span, .typeSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span, .packagesSummary caption span.tableTab span, -.overviewSummary caption span.tableTab span, .typeSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab, -.packagesSummary caption span.tableTab, .packagesSummary caption span.activeTableTab, -.overviewSummary caption span.tableTab, .overviewSummary caption span.activeTableTab, -.typeSummary caption span.tableTab, .typeSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd, -.requiresSummary .tabEnd, .packagesSummary .tabEnd, .providesSummary .tabEnd, .usesSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd, .packagesSummary .activeTableTab .tabEnd, -.overviewSummary .activeTableTab .tabEnd, .typeSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd, .packagesSummary .tableTab .tabEnd, -.overviewSummary .tableTab .tabEnd, .typeSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; -} -.rowColor th, .altColor th { - font-weight:normal; -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td, -.requiresSummary td, .packagesSummary td, .providesSummary td, .usesSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .useSummary th, -.constantsSummary th, .packagesSummary th, td.colFirst, td.colSecond, td.colLast, .useSummary td, -.constantsSummary td { - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colSecond, th.colLast, th.colConstructorName, th.colDeprecatedItemName, .constantsSummary th, -.packagesSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - font-size:13px; -} -td.colSecond, th.colSecond, td.colLast, th.colConstructorName, th.colDeprecatedItemName, th.colLast { - font-size:13px; -} -.constantsSummary th, .packagesSummary th { - font-size:13px; -} -.providesSummary th.colFirst, .providesSummary th.colLast, .providesSummary td.colFirst, -.providesSummary td.colLast { - white-space:normal; - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.requiresSummary td.colFirst, .requiresSummary th.colFirst, -.packagesSummary td.colFirst, .packagesSummary td.colSecond, .packagesSummary th.colFirst, .packagesSummary th, -.usesSummary td.colFirst, .usesSummary th.colFirst, -.providesSummary td.colFirst, .providesSummary th.colFirst, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colSecond, .memberSummary th.colSecond, .memberSummary th.colConstructorName, -.typeSummary td.colFirst, .typeSummary th.colFirst { - vertical-align:top; -} -.packagesSummary th.colLast, .packagesSummary td.colLast { - white-space:normal; -} -td.colFirst a:link, td.colFirst a:visited, -td.colSecond a:link, td.colSecond a:visited, -th.colFirst a:link, th.colFirst a:visited, -th.colSecond a:link, th.colSecond a:visited, -th.colConstructorName a:link, th.colConstructorName a:visited, -th.colDeprecatedItemName a:link, th.colDeprecatedItemName a:visited, -.constantValuesContainer td a:link, .constantValuesContainer td a:visited, -.allClassesContainer td a:link, .allClassesContainer td a:visited, -.allPackagesContainer td a:link, .allPackagesContainer td a:visited { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor, .altColor th { - background-color:#FFFFFF; -} -.rowColor, .rowColor th { - background-color:#EEEEEF; -} -/* - * Styles for contents. - */ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -td.colLast div { - padding-top:0px; -} -td.colLast a { - padding-bottom:3px; -} -/* - * Styles for formatting effect. - */ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .implementationLabel, .memberNameLabel, .memberNameLink, -.moduleLabelInPackage, .moduleLabelInType, .overrideSpecifyLabel, .packageLabelInType, -.packageHierarchyLabel, .paramLabel, .returnLabel, .seeLabel, .simpleTagLabel, -.throwsLabel, .typeNameLabel, .typeNameLink, .searchTagLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} -.deprecationBlock { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; - border-style:solid; - border-width:thin; - border-radius:10px; - padding:10px; - margin-bottom:10px; - margin-right:10px; - display:inline-block; -} -div.block div.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} -div.contentContainer ul.blockList li.blockList h2 { - padding-bottom:0px; -} -/* - * Styles for IFRAME. - */ -.mainContainer { - margin:0 auto; - padding:0; - height:100%; - width:100%; - position:fixed; - top:0; - left:0; -} -.leftContainer { - height:100%; - position:fixed; - width:320px; -} -.leftTop { - position:relative; - float:left; - width:315px; - top:0; - left:0; - height:30%; - border-right:6px solid #ccc; - border-bottom:6px solid #ccc; -} -.leftBottom { - position:relative; - float:left; - width:315px; - bottom:0; - left:0; - height:70%; - border-right:6px solid #ccc; - border-top:1px solid #000; -} -.rightContainer { - position:absolute; - left:320px; - top:0; - bottom:0; - height:100%; - right:0; - border-left:1px solid #000; -} -.rightIframe { - margin:0; - padding:0; - height:100%; - right:30px; - width:100%; - overflow:visible; - margin-bottom:30px; -} -/* - * Styles specific to HTML5 elements. - */ -main, nav, header, footer, section { - display:block; -} -/* - * Styles for javadoc search. - */ -.ui-autocomplete-category { - font-weight:bold; - font-size:15px; - padding:7px 0 7px 3px; - background-color:#4D7A97; - color:#FFFFFF; -} -.resultItem { - font-size:13px; -} -.ui-autocomplete { - max-height:85%; - max-width:65%; - overflow-y:scroll; - overflow-x:scroll; - white-space:nowrap; - box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); -} -ul.ui-autocomplete { - position:fixed; - z-index:999999; -} -ul.ui-autocomplete li { - float:left; - clear:both; - width:100%; -} -.resultHighlight { - font-weight:bold; -} -#search { - background-image:url('resources/glass.png'); - background-size:13px; - background-repeat:no-repeat; - background-position:2px 3px; - padding-left:20px; - position:relative; - right:-18px; -} -#reset { - background-color: rgb(255,255,255); - background-image:url('resources/x.png'); - background-position:center; - background-repeat:no-repeat; - background-size:12px; - border:0 none; - width:16px; - height:17px; - position:relative; - left:-4px; - top:-4px; - font-size:0px; -} -.watermark { - color:#545454; -} -.searchTagDescResult { - font-style:italic; - font-size:11px; -} -.searchTagHolderResult { - font-style:italic; - font-size:12px; -} -.searchTagResult:before, .searchTagResult:target { - color:red; -} -.moduleGraph span { - display:none; - position:absolute; -} -.moduleGraph:hover span { - display:block; - margin: -100px 0 0 100px; - z-index: 1; -} -.methodSignature { - white-space:normal; -} - -/* - * Styles for user-provided tables. - * - * borderless: - * No borders, vertical margins, styled caption. - * This style is provided for use with existing doc comments. - * In general, borderless tables should not be used for layout purposes. - * - * plain: - * Plain borders around table and cells, vertical margins, styled caption. - * Best for small tables or for complex tables for tables with cells that span - * rows and columns, when the "striped" style does not work well. - * - * striped: - * Borders around the table and vertical borders between cells, striped rows, - * vertical margins, styled caption. - * Best for tables that have a header row, and a body containing a series of simple rows. - */ - -table.borderless, -table.plain, -table.striped { - margin-top: 10px; - margin-bottom: 10px; -} -table.borderless > caption, -table.plain > caption, -table.striped > caption { - font-weight: bold; - font-size: smaller; -} -table.borderless th, table.borderless td, -table.plain th, table.plain td, -table.striped th, table.striped td { - padding: 2px 5px; -} -table.borderless, -table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, -table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { - border: none; -} -table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { - background-color: transparent; -} -table.plain { - border-collapse: collapse; - border: 1px solid black; -} -table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { - background-color: transparent; -} -table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, -table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { - border: 1px solid black; -} -table.striped { - border-collapse: collapse; - border: 1px solid black; -} -table.striped > thead { - background-color: #E3E3E3; -} -table.striped > thead > tr > th, table.striped > thead > tr > td { - border: 1px solid black; -} -table.striped > tbody > tr:nth-child(even) { - background-color: #EEE -} -table.striped > tbody > tr:nth-child(odd) { - background-color: #FFF -} -table.striped > tbody > tr > th, table.striped > tbody > tr > td { - border-left: 1px solid black; - border-right: 1px solid black; -} -table.striped > tbody > tr > th { - font-weight: normal; -} - - -/* Extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 1px solid black; - border-collapse: collapse; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer.failed/Solution/src/main/javadoc/resources b/Klausuren/Sd1/2016summer.failed/Solution/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2016summer.failed/Solution/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer.failed/Solution/src/main/resources b/Klausuren/Sd1/2016summer.failed/Solution/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2016summer.failed/Solution/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer.failed/Solution/src/main/resources/log4j2.xml b/Klausuren/Sd1/2016summer.failed/Solution/src/main/resources/log4j2.xml deleted file mode 100644 index e4bd6e38899c495a0a6c363b44847059063a2e23..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer.failed/Solution/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="q.w.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer/Exam/Readme.md b/Klausuren/Sd1/2016summer/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2016summer/Exam/Readme.md b/Klausuren/Sd1/2016summer/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2016summer/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer/Exam/pom.xml b/Klausuren/Sd1/2016summer/Exam/pom.xml index 666a4c18fcfaa0c7b473f02849c13f7a1b488caf..14024a0a9abad307d453dedc9c9421d99985b5e5 100644 --- a/Klausuren/Sd1/2016summer/Exam/pom.xml +++ b/Klausuren/Sd1/2016summer/Exam/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,73 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.13</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.1</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.2.0</version> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://freedocs.mi.hdm-stuttgart.de/lib/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> </additionalOptions> <nohelp>true</nohelp> + <header><![CDATA[ - <script type="text/javascript" - src="https://freedocs.mi.hdm-stuttgart.de/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/mi/jdocSupplement.css"> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/styles/idea.css"> - <script src="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.3.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -105,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2016summer/Exam/src/main/assembly b/Klausuren/Sd1/2016summer/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2016summer/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2016summer/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index d73dec33b66746889b8b7b2987a2826f734b87fa..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> diff --git a/Klausuren/Sd1/2016summer/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2016summer/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2016summer/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2016summer/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2016summer/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2016summer/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2016summer/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2016summer/Exam/src/main/resources b/Klausuren/Sd1/2016summer/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2016summer/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2016summer/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index e4bd6e38899c495a0a6c363b44847059063a2e23..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="q.w.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer/Solve/pom.xml b/Klausuren/Sd1/2016summer/Solve/pom.xml index 0c24d0c5463cc201a4dc73ce568f11a1b2f067cb..13b648e77287486a9fab885b1bc237d784e2c067 100644 --- a/Klausuren/Sd1/2016summer/Solve/pom.xml +++ b/Klausuren/Sd1/2016summer/Solve/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,73 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.13</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.1</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.2.0</version> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://freedocs.mi.hdm-stuttgart.de/lib/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> </additionalOptions> <nohelp>true</nohelp> + <header><![CDATA[ - <script type="text/javascript" - src="https://freedocs.mi.hdm-stuttgart.de/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/mi/jdocSupplement.css"> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/styles/idea.css"> - <script src="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.3.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -105,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2016summer/Solve/src/main/assembly b/Klausuren/Sd1/2016summer/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2016summer/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2016summer/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index d73dec33b66746889b8b7b2987a2826f734b87fa..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> diff --git a/Klausuren/Sd1/2016summer/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2016summer/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2016summer/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2016summer/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2016summer/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2016summer/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2016summer/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2016summer/Solve/src/main/resources b/Klausuren/Sd1/2016summer/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2016summer/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2016summer/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2016summer/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index e4bd6e38899c495a0a6c363b44847059063a2e23..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016summer/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="q.w.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2016winter/Exam/Readme.md b/Klausuren/Sd1/2016winter/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016winter/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2016winter/Exam/Readme.md b/Klausuren/Sd1/2016winter/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2016winter/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2016winter/Exam/pom.xml b/Klausuren/Sd1/2016winter/Exam/pom.xml index e893617e1d2b9226e006bb81ddb6cd965164733f..df37bf9c4ce92654f8ae1473c09baa3033613ea7 100644 --- a/Klausuren/Sd1/2016winter/Exam/pom.xml +++ b/Klausuren/Sd1/2016winter/Exam/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,73 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.13</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.1</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.2.0</version> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://freedocs.mi.hdm-stuttgart.de/lib/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> </additionalOptions> <nohelp>true</nohelp> + <header><![CDATA[ - <script type="text/javascript" - src="https://freedocs.mi.hdm-stuttgart.de/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/mi/jdocSupplement.css"> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/styles/idea.css"> - <script src="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.3.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -105,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2016winter/Exam/src/main/assembly b/Klausuren/Sd1/2016winter/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2016winter/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2016winter/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2016winter/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index d73dec33b66746889b8b7b2987a2826f734b87fa..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016winter/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> diff --git a/Klausuren/Sd1/2016winter/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2016winter/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2016winter/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2016winter/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2016winter/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016winter/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2016winter/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2016winter/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016winter/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2016winter/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2016winter/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016winter/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2016winter/Exam/src/main/resources b/Klausuren/Sd1/2016winter/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2016winter/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2016winter/Solve/pom.xml b/Klausuren/Sd1/2016winter/Solve/pom.xml index 10e204eba2e97d627dbba5afbc080acf23f1cc90..639ae2b7f4b48ed0cc4cb7f12ad9661443f57475 100644 --- a/Klausuren/Sd1/2016winter/Solve/pom.xml +++ b/Klausuren/Sd1/2016winter/Solve/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,73 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.13</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.1</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.2.0</version> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://freedocs.mi.hdm-stuttgart.de/lib/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> </additionalOptions> <nohelp>true</nohelp> + <header><![CDATA[ - <script type="text/javascript" - src="https://freedocs.mi.hdm-stuttgart.de/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/mi/jdocSupplement.css"> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/styles/idea.css"> - <script src="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.3.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -105,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2016winter/Solve/src/main/assembly b/Klausuren/Sd1/2016winter/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2016winter/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2016winter/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2016winter/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index d73dec33b66746889b8b7b2987a2826f734b87fa..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016winter/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> diff --git a/Klausuren/Sd1/2016winter/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2016winter/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2016winter/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2016winter/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2016winter/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016winter/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2016winter/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2016winter/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016winter/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2016winter/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2016winter/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016winter/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2016winter/Solve/src/main/resources b/Klausuren/Sd1/2016winter/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2016winter/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2016winter/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2016winter/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2016winter/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2017summer/Exam/Readme.md b/Klausuren/Sd1/2017summer/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017summer/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2017summer/Exam/Readme.md b/Klausuren/Sd1/2017summer/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2017summer/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2017summer/Exam/pom.xml b/Klausuren/Sd1/2017summer/Exam/pom.xml index 1910ee18c12ae8fd51903517405b4ae417aa290e..7a69c54cf69806f25050f8dba5a94d4f2dcf2eb9 100644 --- a/Klausuren/Sd1/2017summer/Exam/pom.xml +++ b/Klausuren/Sd1/2017summer/Exam/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,80 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.13</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.hamcrest</groupId> - <artifactId>hamcrest</artifactId> - <version>2.2</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.1</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.2.0</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://freedocs.mi.hdm-stuttgart.de/lib/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> </additionalOptions> <nohelp>true</nohelp> + <header><![CDATA[ - <script type="text/javascript" - src="https://freedocs.mi.hdm-stuttgart.de/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/mi/jdocSupplement.css"> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/styles/idea.css"> - <script src="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.3.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -112,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2017summer/Exam/src/main/assembly b/Klausuren/Sd1/2017summer/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2017summer/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2017summer/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2017summer/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2017summer/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2017summer/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2017summer/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017summer/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2017summer/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2017summer/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017summer/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2017summer/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2017summer/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017summer/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2017summer/Exam/src/main/resources b/Klausuren/Sd1/2017summer/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2017summer/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2017summer/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2017summer/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017summer/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2017summer/Extras/pom.xml b/Klausuren/Sd1/2017summer/Extras/pom.xml index a5e66a4e722a6f22d0720ed830d731b742eb687d..ec6d100509ae6c53504bb0041a17f1282bb65118 100644 --- a/Klausuren/Sd1/2017summer/Extras/pom.xml +++ b/Klausuren/Sd1/2017summer/Extras/pom.xml @@ -11,85 +11,121 @@ <url>http://www.mi.hdm-stuttgart.de/freedocs/topic/de.hdm_stuttgart.mi.lectures/sd1SectUsingMaven.html</url> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - - </dependencies> - - <build> - <plugins> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.1.1</version> - <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> - - <stylesheetfile>localstyles.css</stylesheetfile> - - <additionalJOptions> - <additionalJOption>-html5</additionalJOption> - </additionalJOptions> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> - </configuration> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-shade-plugin</artifactId> - <version>2.4.3</version> - <configuration> - <transformers> - <transformer - implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> - <manifestEntries> - <Main-Class>de.hdm_stuttgart.mi.sd1.sd1_sose2017.App</Main-Class> - </manifestEntries> - </transformer> - </transformers> - </configuration> - <executions> - <execution> - <phase>package</phase> - <goals> - <goal>shade</goal> - </goals> - </execution> - </executions> - </plugin> - - </plugins> - </build> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> + </properties> + + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> + + <dependencies> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.2</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> + <configuration> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> + + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> + + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.4.2</version> + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/Klausuren/Sd1/2017summer/Solve/pom.xml b/Klausuren/Sd1/2017summer/Solve/pom.xml index cf893761609ddf25da38935bfd7e0c2d91826366..a29b967815ae65ea83592e0cb01d44060fc1696d 100644 --- a/Klausuren/Sd1/2017summer/Solve/pom.xml +++ b/Klausuren/Sd1/2017summer/Solve/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,80 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.13</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.hamcrest</groupId> - <artifactId>hamcrest</artifactId> - <version>2.2</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.1</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.2.0</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://freedocs.mi.hdm-stuttgart.de/lib/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> </additionalOptions> <nohelp>true</nohelp> + <header><![CDATA[ - <script type="text/javascript" - src="https://freedocs.mi.hdm-stuttgart.de/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/mi/jdocSupplement.css"> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/styles/idea.css"> - <script src="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.3.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -112,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2017summer/Solve/src/main/assembly b/Klausuren/Sd1/2017summer/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2017summer/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2017summer/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2017summer/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017summer/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2017summer/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2017summer/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2017summer/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2017summer/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2017summer/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017summer/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2017summer/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2017summer/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017summer/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2017summer/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2017summer/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017summer/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2017summer/Solve/src/main/resources b/Klausuren/Sd1/2017summer/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2017summer/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2017summer/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2017summer/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017summer/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2017winter/Exam/Readme.md b/Klausuren/Sd1/2017winter/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017winter/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2017winter/Exam/Readme.md b/Klausuren/Sd1/2017winter/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2017winter/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2017winter/Exam/pom.xml b/Klausuren/Sd1/2017winter/Exam/pom.xml index 064a313f63f12ee64790165a605418b0535fa70b..d94dfc6055670c8f9d3853b672a2044db4c5885a 100644 --- a/Klausuren/Sd1/2017winter/Exam/pom.xml +++ b/Klausuren/Sd1/2017winter/Exam/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,73 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.13</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.1</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.2.0</version> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://freedocs.mi.hdm-stuttgart.de/lib/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> </additionalOptions> <nohelp>true</nohelp> + <header><![CDATA[ - <script type="text/javascript" - src="https://freedocs.mi.hdm-stuttgart.de/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/mi/jdocSupplement.css"> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/styles/idea.css"> - <script src="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.3.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -105,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2017winter/Exam/src/main/assembly b/Klausuren/Sd1/2017winter/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2017winter/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2017winter/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2017winter/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index d73dec33b66746889b8b7b2987a2826f734b87fa..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017winter/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> diff --git a/Klausuren/Sd1/2017winter/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2017winter/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2017winter/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2017winter/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2017winter/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017winter/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2017winter/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2017winter/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017winter/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2017winter/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2017winter/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017winter/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2017winter/Exam/src/main/resources b/Klausuren/Sd1/2017winter/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2017winter/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2017winter/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2017winter/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017winter/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2017winter/Extra/pom.xml b/Klausuren/Sd1/2017winter/Extra/pom.xml index acc6cc49b105fb0e86a0a075053189f9154c2951..e0d5c6ca47a084c4c581031a7c4d2ff05e8586f3 100644 --- a/Klausuren/Sd1/2017winter/Extra/pom.xml +++ b/Klausuren/Sd1/2017winter/Extra/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,73 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.13</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.1</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.2.0</version> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://freedocs.mi.hdm-stuttgart.de/lib/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> </additionalOptions> <nohelp>true</nohelp> + <header><![CDATA[ - <script type="text/javascript" - src="https://freedocs.mi.hdm-stuttgart.de/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/mi/jdocSupplement.css"> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/styles/idea.css"> - <script src="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.3.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -105,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2017winter/Solve/pom.xml b/Klausuren/Sd1/2017winter/Solve/pom.xml index 883408f8ecd7430dc1fd6f4909fc1a0fe86234e0..3e80b0804ed4a3c0c269348d83cf90c4d5e4a27f 100644 --- a/Klausuren/Sd1/2017winter/Solve/pom.xml +++ b/Klausuren/Sd1/2017winter/Solve/pom.xml @@ -13,6 +13,14 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> </properties> <repositories> @@ -23,73 +31,79 @@ </repositories> <dependencies> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.13</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>org.apache.logging.log4j</groupId> - <artifactId>log4j-core</artifactId> - <version>2.16.0</version> - </dependency> - <dependency> <groupId>de.hdm_stuttgart.mi.exam</groupId> <artifactId>unitmarking</artifactId> - <version>1.1</version> + <version>1.2</version> </dependency> - </dependencies> <build> <plugins> - <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> + <version>3.11.0</version> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.2.0</version> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://freedocs.mi.hdm-stuttgart.de/lib/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> </additionalOptions> <nohelp>true</nohelp> + <header><![CDATA[ - <script type="text/javascript" - src="https://freedocs.mi.hdm-stuttgart.de/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/mi/jdocSupplement.css"> - <link rel="stylesheet" href="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/styles/idea.css"> - <script src="https://freedocs.mi.hdm-stuttgart.de/lib/highlight.js/highlight.js"></script> - <script type="text/javascript">hljs.initHighlightingOnLoad();</script>]]> + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> </header> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> </configuration> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> - <version>3.3.0</version> - + <version>3.4.2</version> <configuration> <descriptors> <descriptor>src/main/assembly/assembly.xml</descriptor> @@ -105,7 +119,7 @@ <configuration> <archive> <manifest> - <mainClass>de.hdm_stuttgart.mi.sd1.test.ShowReachedPoints</mainClass> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> </manifest> </archive> </configuration> diff --git a/Klausuren/Sd1/2017winter/Solve/src/main/assembly b/Klausuren/Sd1/2017winter/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2017winter/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2017winter/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2017winter/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index d73dec33b66746889b8b7b2987a2826f734b87fa..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017winter/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> diff --git a/Klausuren/Sd1/2017winter/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2017winter/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2017winter/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2017winter/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2017winter/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017winter/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2017winter/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2017winter/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017winter/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2017winter/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2017winter/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017winter/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2017winter/Solve/src/main/resources b/Klausuren/Sd1/2017winter/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2017winter/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2017winter/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2017winter/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2017winter/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2018summer/Exam/Readme.md b/Klausuren/Sd1/2018summer/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018summer/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2018summer/Exam/Readme.md b/Klausuren/Sd1/2018summer/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2018summer/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2018summer/Exam/pom.xml b/Klausuren/Sd1/2018summer/Exam/pom.xml index 851e8154f3ea9f4043ed3c518e2322843d8d9a29..5753f0e18b1985caeb865be657b0830bf7495fcd 100644 --- a/Klausuren/Sd1/2018summer/Exam/pom.xml +++ b/Klausuren/Sd1/2018summer/Exam/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2018summer/Exam/src/main/assembly b/Klausuren/Sd1/2018summer/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2018summer/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2018summer/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2018summer/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index d73dec33b66746889b8b7b2987a2826f734b87fa..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018summer/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> diff --git a/Klausuren/Sd1/2018summer/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2018summer/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2018summer/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2018summer/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2018summer/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018summer/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2018summer/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2018summer/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018summer/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2018summer/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2018summer/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018summer/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2018summer/Exam/src/main/resources b/Klausuren/Sd1/2018summer/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2018summer/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2018summer/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2018summer/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018summer/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2018summer/Solve/pom.xml b/Klausuren/Sd1/2018summer/Solve/pom.xml index da07686798fcca81a1d9ec81d20f4a4dfd14492f..3e9b62b341af1c98575e658c652d51dd2a6c41d1 100644 --- a/Klausuren/Sd1/2018summer/Solve/pom.xml +++ b/Klausuren/Sd1/2018summer/Solve/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2018summer/Solve/src/main/assembly b/Klausuren/Sd1/2018summer/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2018summer/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2018summer/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2018summer/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index d73dec33b66746889b8b7b2987a2826f734b87fa..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018summer/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> diff --git a/Klausuren/Sd1/2018summer/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2018summer/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2018summer/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2018summer/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2018summer/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018summer/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2018summer/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2018summer/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018summer/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2018summer/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2018summer/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018summer/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2018summer/Solve/src/main/resources b/Klausuren/Sd1/2018summer/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2018summer/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2018summer/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2018summer/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018summer/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Exam/Readme.md b/Klausuren/Sd1/2018winter/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018winter/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2018winter/Exam/Readme.md b/Klausuren/Sd1/2018winter/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2018winter/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Exam/pom.xml b/Klausuren/Sd1/2018winter/Exam/pom.xml index 331e20c1af05a5312875b1e7d810e1410ea1a2be..8dc2630f1df70af228890459356ccc74aeec3e04 100644 --- a/Klausuren/Sd1/2018winter/Exam/pom.xml +++ b/Klausuren/Sd1/2018winter/Exam/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2018winter/Exam/src/main/assembly b/Klausuren/Sd1/2018winter/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2018winter/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2018winter/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018winter/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2018winter/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2018winter/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2018winter/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018winter/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2018winter/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018winter/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2018winter/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2018winter/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018winter/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2018winter/Exam/src/main/resources b/Klausuren/Sd1/2018winter/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2018winter/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2018winter/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018winter/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Solve/pom.xml b/Klausuren/Sd1/2018winter/Solve/pom.xml index 49bac78001a9f1870e00b0f3b1d1f2da74781b86..fb60811b3a213cfe247ba3443c0887349c95bbfa 100644 --- a/Klausuren/Sd1/2018winter/Solve/pom.xml +++ b/Klausuren/Sd1/2018winter/Solve/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,17 +43,33 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> <release>17</release> <doclint>all</doclint> <show>public</show> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2018winter/Solve/src/main/assembly b/Klausuren/Sd1/2018winter/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2018winter/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2018winter/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018winter/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2018winter/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2018winter/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2018winter/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018winter/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2018winter/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018winter/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2018winter/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2018winter/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018winter/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2018winter/Solve/src/main/resources b/Klausuren/Sd1/2018winter/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..7b34d7e13734312ad44d4ccefa28811b04dc0aca --- /dev/null +++ b/Klausuren/Sd1/2018winter/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2018winter/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2018winter/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2018winter/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Exam/Readme.md b/Klausuren/Sd1/2019summer/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019summer/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2019summer/Exam/Readme.md b/Klausuren/Sd1/2019summer/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2019summer/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Exam/pom.xml b/Klausuren/Sd1/2019summer/Exam/pom.xml index fd03087fab49a73437d134478bc08c73dfdbd33d..7e47f45b853a9ffcebe0c8030d6791977eb627a0 100644 --- a/Klausuren/Sd1/2019summer/Exam/pom.xml +++ b/Klausuren/Sd1/2019summer/Exam/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2019summer/Exam/src/main/assembly b/Klausuren/Sd1/2019summer/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2019summer/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2019summer/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019summer/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2019summer/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2019summer/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2019summer/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019summer/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2019summer/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019summer/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2019summer/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2019summer/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019summer/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2019summer/Exam/src/main/resources b/Klausuren/Sd1/2019summer/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2019summer/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2019summer/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019summer/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Solve/pom.xml b/Klausuren/Sd1/2019summer/Solve/pom.xml index b15a4a0c12dab72ff378723cdbe5c649567442eb..0d00725d14e178272ffbc268cd1062fa38b32fa2 100644 --- a/Klausuren/Sd1/2019summer/Solve/pom.xml +++ b/Klausuren/Sd1/2019summer/Solve/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2019summer/Solve/src/main/assembly b/Klausuren/Sd1/2019summer/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2019summer/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2019summer/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019summer/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2019summer/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2019summer/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2019summer/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019summer/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2019summer/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019summer/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2019summer/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2019summer/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019summer/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2019summer/Solve/src/main/resources b/Klausuren/Sd1/2019summer/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2019summer/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019summer/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2019summer/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019summer/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Exam/Readme.md b/Klausuren/Sd1/2019winter/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019winter/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2019winter/Exam/Readme.md b/Klausuren/Sd1/2019winter/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2019winter/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Exam/pom.xml b/Klausuren/Sd1/2019winter/Exam/pom.xml index b005bf31cc3ff3ff3419c0df36f8d1f5c990ffb8..438365eb7242580a8fd0edb12bcded56c63720d7 100644 --- a/Klausuren/Sd1/2019winter/Exam/pom.xml +++ b/Klausuren/Sd1/2019winter/Exam/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2019winter/Exam/src/main/assembly b/Klausuren/Sd1/2019winter/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2019winter/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2019winter/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019winter/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2019winter/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2019winter/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2019winter/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019winter/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2019winter/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019winter/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2019winter/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2019winter/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019winter/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2019winter/Exam/src/main/resources b/Klausuren/Sd1/2019winter/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2019winter/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2019winter/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019winter/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Solve/pom.xml b/Klausuren/Sd1/2019winter/Solve/pom.xml index f26c496a2f840edfa8aa780e8e2b90979623eb4e..1481dca884d02419d823c37f0f9b75f85db2c657 100644 --- a/Klausuren/Sd1/2019winter/Solve/pom.xml +++ b/Klausuren/Sd1/2019winter/Solve/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,17 +43,33 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> <release>17</release> <doclint>all</doclint> <show>public</show> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2019winter/Solve/src/main/assembly b/Klausuren/Sd1/2019winter/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2019winter/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2019winter/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019winter/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2019winter/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2019winter/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2019winter/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019winter/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2019winter/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019winter/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2019winter/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2019winter/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019winter/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2019winter/Solve/src/main/resources b/Klausuren/Sd1/2019winter/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2019winter/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2019winter/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2019winter/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2019winter/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2020summer/Exam/Readme.md b/Klausuren/Sd1/2020summer/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020summer/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2020summer/Exam/Readme.md b/Klausuren/Sd1/2020summer/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2020summer/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2020summer/Exam/pom.xml b/Klausuren/Sd1/2020summer/Exam/pom.xml index 997686dc111822048aab6dff9e5bd141f52fc271..71da195af24c0b13843362ee9a5170f549386c36 100644 --- a/Klausuren/Sd1/2020summer/Exam/pom.xml +++ b/Klausuren/Sd1/2020summer/Exam/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2020summer/Exam/src/main/assembly b/Klausuren/Sd1/2020summer/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2020summer/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020summer/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2020summer/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020summer/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2020summer/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2020summer/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2020summer/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020summer/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2020summer/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020summer/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2020summer/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2020summer/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020summer/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2020summer/Exam/src/main/resources b/Klausuren/Sd1/2020summer/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2020summer/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020summer/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2020summer/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020summer/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2020summer/Solve/pom.xml b/Klausuren/Sd1/2020summer/Solve/pom.xml index 6a6dfb9d777753178470aaa89204fd1fe7d380a4..8fc63dd258e9518969a79e4b4d03c383a4552c40 100644 --- a/Klausuren/Sd1/2020summer/Solve/pom.xml +++ b/Klausuren/Sd1/2020summer/Solve/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2020summer/Solve/src/main/assembly b/Klausuren/Sd1/2020summer/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..1758a19c766b79e3dff7f53192b622153b64a377 --- /dev/null +++ b/Klausuren/Sd1/2020summer/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly \ No newline at end of file diff --git a/Klausuren/Sd1/2020summer/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2020summer/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020summer/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2020summer/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2020summer/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2020summer/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020summer/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2020summer/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020summer/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2020summer/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2020summer/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020summer/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2020summer/Solve/src/main/resources b/Klausuren/Sd1/2020summer/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2020summer/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020summer/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2020summer/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020summer/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Exam/Readme.md b/Klausuren/Sd1/2020winter_1/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_1/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2020winter_1/Exam/Readme.md b/Klausuren/Sd1/2020winter_1/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2020winter_1/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Exam/pom.xml b/Klausuren/Sd1/2020winter_1/Exam/pom.xml index 1a13a24554314d02647a67e48afd399ac1dc6099..1fd9cc78d4179ba886224dc730b6b77883c300dc 100644 --- a/Klausuren/Sd1/2020winter_1/Exam/pom.xml +++ b/Klausuren/Sd1/2020winter_1/Exam/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2020winter_1/Exam/src/main/assembly b/Klausuren/Sd1/2020winter_1/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2020winter_1/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2020winter_1/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_1/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2020winter_1/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2020winter_1/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2020winter_1/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_1/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2020winter_1/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_1/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2020winter_1/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2020winter_1/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_1/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2020winter_1/Exam/src/main/resources b/Klausuren/Sd1/2020winter_1/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2020winter_1/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2020winter_1/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_1/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Solve/pom.xml b/Klausuren/Sd1/2020winter_1/Solve/pom.xml index 4b60dc75910ccf601fedef8045522f62638c5146..3e821e71cbff2ee24ec4c845a6dbaacc1d892924 100644 --- a/Klausuren/Sd1/2020winter_1/Solve/pom.xml +++ b/Klausuren/Sd1/2020winter_1/Solve/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2020winter_1/Solve/src/main/assembly b/Klausuren/Sd1/2020winter_1/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2020winter_1/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2020winter_1/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_1/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2020winter_1/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2020winter_1/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2020winter_1/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_1/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2020winter_1/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_1/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2020winter_1/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2020winter_1/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_1/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2020winter_1/Solve/src/main/resources b/Klausuren/Sd1/2020winter_1/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2020winter_1/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_1/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2020winter_1/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_1/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Exam/Readme.md b/Klausuren/Sd1/2020winter_2/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_2/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2020winter_2/Exam/Readme.md b/Klausuren/Sd1/2020winter_2/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2020winter_2/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Exam/pom.xml b/Klausuren/Sd1/2020winter_2/Exam/pom.xml index 71b4116cf6c47db4cced6ad956752aa0450c1215..843e2e011f4b322bfb89577d285a53d7f5e94949 100644 --- a/Klausuren/Sd1/2020winter_2/Exam/pom.xml +++ b/Klausuren/Sd1/2020winter_2/Exam/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2020winter_2/Exam/src/main/assembly b/Klausuren/Sd1/2020winter_2/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2020winter_2/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2020winter_2/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_2/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2020winter_2/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2020winter_2/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2020winter_2/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_2/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2020winter_2/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_2/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2020winter_2/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2020winter_2/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_2/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2020winter_2/Exam/src/main/resources b/Klausuren/Sd1/2020winter_2/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2020winter_2/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2020winter_2/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_2/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Solve/pom.xml b/Klausuren/Sd1/2020winter_2/Solve/pom.xml index 7c84a3075a9e0113353b8f85ca7d9b15822f9848..65e6a6690d2d22ad3f723fbe17bb100ba999554b 100644 --- a/Klausuren/Sd1/2020winter_2/Solve/pom.xml +++ b/Klausuren/Sd1/2020winter_2/Solve/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2020winter_2/Solve/src/main/assembly b/Klausuren/Sd1/2020winter_2/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2020winter_2/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2020winter_2/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_2/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2020winter_2/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2020winter_2/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2020winter_2/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_2/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2020winter_2/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_2/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2020winter_2/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2020winter_2/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_2/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2020winter_2/Solve/src/main/resources b/Klausuren/Sd1/2020winter_2/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2020winter_2/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2020winter_2/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2020winter_2/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2020winter_2/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2021summer/Exam/pom.xml b/Klausuren/Sd1/2021summer/Exam/pom.xml index a105c7c0428fb9fe997b22510343a2731f0ee2b7..b03c7fd8d6f3b17db089b0b55d079adee6c9fe51 100644 --- a/Klausuren/Sd1/2021summer/Exam/pom.xml +++ b/Klausuren/Sd1/2021summer/Exam/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2021summer/Solve/pom.xml b/Klausuren/Sd1/2021summer/Solve/pom.xml index 7039ddcfcb787dd6c736fd8b6e9724da4eda3b78..356a920cf47234bd18c59b16842b756f08a5283d 100644 --- a/Klausuren/Sd1/2021summer/Solve/pom.xml +++ b/Klausuren/Sd1/2021summer/Solve/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,18 +43,34 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> - <version>3.4.1</version> + <version>3.5.0</version> <configuration> - <!-- Tweak: Get rid of Error message - »fetching link: .../target/javadoc-bundle-options. Ignored it« - corresponding to api_11 below --> - <release>11</release> + <release>17</release> <doclint>all</doclint> <show>public</show> <docfilessubdirs>true</docfilessubdirs> @@ -65,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2021winter/Exam/Readme.md b/Klausuren/Sd1/2021winter/Exam/Readme.md deleted file mode 100644 index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2021winter/Exam/Readme.md +++ /dev/null @@ -1,54 +0,0 @@ -# Generate ond open class/method javadoc for browsing - -Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the following command: - -<pre>Exam> mvn javadoc:javadoc -... -[<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> -[<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks -...</pre> - -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. - -# Implementation tasks - -Your project's following packages do contain implementation tasks: - -- `de.hdm_stuttgart.mi.sd1.task1` (50 Points) - -- `de.hdm_stuttgart.mi.sd1.task2` (20 points, more difficult) - -Read the generated documentation and implement the skeleton methods and classes. - -Your project's `test` branch does contain corresponding unit tests for verifying your solutions' correctness. - -# Hints - -- Your score solely depends on the number of successfully executing unit tests. A »nearly correct« implementation failing -with respect to a given unit tests will not contribute any points at all. - -- General advice: Implement less but correctly. - -- Mind special cases i.e. `null` variable values or null values being contained in arrays. - -- In case of test failures both the IDEA debugger and logging statements are your friend. - -Executing `de.hdm_stuttgart.mi.sd1.ShowReachedPoints` in your project's test branch as a Java application -(not as Junit test!) shows your number of points reached so far. - -Do not model your implementations along unit test definitions i.e. avoid cheating this way! Such behaviour will be -regarded as an attempt at deception (Täuschungsversuch). - -# Exam system upload - -After finishing implementing: - -1. Export this project by hitting **»File ➔ Export ➔ Project to Zip File«**. -1. Use a self-explanatory file name like e.g. `solution1.zip`. -1. Go to your exam browser window and upload `solution1.zip` . -1. Complete by **clicking the »<span style="background: #527A35;color:white;">Speichern + weiter ➞ </span>«** button. -1. Hit **<span style="background: #446684;color:white;"> 🠬 Speichern + zurück</span>** and check if your - upload is visible. -1. If you advance on implementing: Repeat steps 1. to 5.: Only the least uploaded `.zip` archive will become subject to - marking. diff --git a/Klausuren/Sd1/2021winter/Exam/Readme.md b/Klausuren/Sd1/2021winter/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea --- /dev/null +++ b/Klausuren/Sd1/2021winter/Exam/Readme.md @@ -0,0 +1 @@ +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Exam/pom.xml b/Klausuren/Sd1/2021winter/Exam/pom.xml index d0a28878965774dcf432c96484af24ef65a55db9..d1631f5a5c7ae77e753aa0421e63eefb274abd08 100644 --- a/Klausuren/Sd1/2021winter/Exam/pom.xml +++ b/Klausuren/Sd1/2021winter/Exam/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,11 +43,13 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> <executions> <execution> <phase>generate-sources</phase> @@ -56,9 +57,9 @@ <goal>run</goal> </goals> <configuration> - <tasks> - <echo>Generating file://${project.basedir}/target/site/apidocs/index.html</echo> - </tasks> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> </configuration> </execution> </executions> @@ -66,8 +67,8 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.5.0</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> <release>17</release> <doclint>all</doclint> @@ -79,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2021winter/Exam/src/main/assembly b/Klausuren/Sd1/2021winter/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2021winter/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2021winter/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2021winter/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2021winter/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..7854fee2fca9f6ef211f742581040a234fd55a8a --- /dev/null +++ b/Klausuren/Sd1/2021winter/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2021winter/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2021winter/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2021winter/Exam/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2021winter/Exam/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2021winter/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2021winter/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2021winter/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2021winter/Exam/src/main/resources b/Klausuren/Sd1/2021winter/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2021winter/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2021winter/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2021winter/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Solve/pom.xml b/Klausuren/Sd1/2021winter/Solve/pom.xml index d0a28878965774dcf432c96484af24ef65a55db9..d1631f5a5c7ae77e753aa0421e63eefb274abd08 100644 --- a/Klausuren/Sd1/2021winter/Solve/pom.xml +++ b/Klausuren/Sd1/2021winter/Solve/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,11 +43,13 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> <executions> <execution> <phase>generate-sources</phase> @@ -56,9 +57,9 @@ <goal>run</goal> </goals> <configuration> - <tasks> - <echo>Generating file://${project.basedir}/target/site/apidocs/index.html</echo> - </tasks> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> </configuration> </execution> </executions> @@ -66,8 +67,8 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.5.0</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> <release>17</release> <doclint>all</doclint> @@ -79,12 +80,9 @@ <windowtitle>Exam documentation</windowtitle> - <javaApiLinks> - <property> - <name>api_11</name> - <value>${jdk.api_17.url}</value> - </property> - </javaApiLinks> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> <additionalOptions> <additionalOption>-html5 --allow-script-in-comments</additionalOption> diff --git a/Klausuren/Sd1/2021winter/Solve/src/main/assembly b/Klausuren/Sd1/2021winter/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2021winter/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2021winter/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2021winter/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2021winter/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..8d52773de49f719b6e7ef177d708c614c9978377 --- /dev/null +++ b/Klausuren/Sd1/2021winter/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2021winter/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2021winter/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2021winter/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 9f39b10d8588f548a5a009835cff44add2bdb638..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2021winter/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,68 +0,0 @@ -/* Javadoc extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2021winter/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2021winter/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2021winter/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2021winter/Solve/src/main/resources b/Klausuren/Sd1/2021winter/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2021winter/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2021winter/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2021winter/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2021winter/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Exam/Readme.md b/Klausuren/Sd1/2022winter/Exam/Readme.md index 47b704be2468a7d24309aa7cfaf440dd97a8f5e1..0cdf24738be2ebf8e0a6c29399c5ae730946c8ea 120000 --- a/Klausuren/Sd1/2022winter/Exam/Readme.md +++ b/Klausuren/Sd1/2022winter/Exam/Readme.md @@ -1 +1 @@ -../../Readme.md \ No newline at end of file +../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Exam/pom.xml b/Klausuren/Sd1/2022winter/Exam/pom.xml index 6288987e51b18e18e176f55bbeaedb8e18598e58..0263b2c013e6f8c421abf6d7ec856ec63e21564f 100644 --- a/Klausuren/Sd1/2022winter/Exam/pom.xml +++ b/Klausuren/Sd1/2022winter/Exam/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,11 +43,13 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> <executions> <execution> <phase>generate-sources</phase> @@ -56,9 +57,9 @@ <goal>run</goal> </goals> <configuration> - <tasks> - <echo>Generating file://${project.basedir}/target/site/apidocs/index.html</echo> - </tasks> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> </configuration> </execution> </executions> @@ -66,8 +67,8 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.5.0</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> <release>17</release> <doclint>all</doclint> diff --git a/Klausuren/Sd1/2022winter/Exam/src/main/assembly b/Klausuren/Sd1/2022winter/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2022winter/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/2022winter/Exam/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2022winter/Exam/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Exam/src/main/javadoc/resources b/Klausuren/Sd1/2022winter/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..7854fee2fca9f6ef211f742581040a234fd55a8a --- /dev/null +++ b/Klausuren/Sd1/2022winter/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2022winter/Exam/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2022winter/Exam/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2022winter/Exam/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2022winter/Exam/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2022winter/Exam/src/main/resources b/Klausuren/Sd1/2022winter/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2022winter/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/2022winter/Exam/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2022winter/Exam/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Solve/pom.xml b/Klausuren/Sd1/2022winter/Solve/pom.xml index c565f936926f8974773dc9f2a011f65cff469f03..a91d9dcbca76336f85d5a3e9305595f48a120aa1 100644 --- a/Klausuren/Sd1/2022winter/Solve/pom.xml +++ b/Klausuren/Sd1/2022winter/Solve/pom.xml @@ -36,7 +36,6 @@ <artifactId>unitmarking</artifactId> <version>1.2</version> </dependency> - </dependencies> <build> @@ -44,11 +43,13 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> - <version>3.10.1</version> + <version>3.11.0</version> </plugin> <plugin> + <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> <executions> <execution> <phase>generate-sources</phase> @@ -56,9 +57,9 @@ <goal>run</goal> </goals> <configuration> - <tasks> - <echo>Generating file://${project.basedir}/target/site/apidocs/index.html</echo> - </tasks> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> </configuration> </execution> </executions> @@ -66,8 +67,8 @@ <plugin> <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.5.0</version> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> <configuration> <release>17</release> <doclint>all</doclint> diff --git a/Klausuren/Sd1/2022winter/Solve/src/main/assembly b/Klausuren/Sd1/2022winter/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..c428ca162d41ae4a5ff66cfdcbf0d8b4350c1ad8 --- /dev/null +++ b/Klausuren/Sd1/2022winter/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Solve/src/main/assembly/assembly.xml b/Klausuren/Sd1/2022winter/Solve/src/main/assembly/assembly.xml deleted file mode 100644 index 85268e2965620878373d76337f524d8785fd0e1f..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2022winter/Solve/src/main/assembly/assembly.xml +++ /dev/null @@ -1,36 +0,0 @@ -<assembly - xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.3 http://maven.apache.org/xsd/assembly-1.1.3.xsd"> - <id>fat-tests</id> - <formats> - <format>jar</format> - </formats> - <includeBaseDirectory>false</includeBaseDirectory> - <dependencySets> - <dependencySet> - <outputDirectory/> - <useProjectArtifact>true</useProjectArtifact> - <unpack>true</unpack> - <scope>test</scope> - </dependencySet> - </dependencySets> - <fileSets> - <fileSet> - <directory>${project.build.directory}/test-classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - <fileSet> - <directory>${project.build.directory}/classes</directory> - <outputDirectory/> - <includes> - <include>**/*.class</include> - </includes> - <useDefaultExcludes>true</useDefaultExcludes> - </fileSet> - </fileSets> -</assembly> \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Solve/src/main/javadoc/resources b/Klausuren/Sd1/2022winter/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..7854fee2fca9f6ef211f742581040a234fd55a8a --- /dev/null +++ b/Klausuren/Sd1/2022winter/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/javadoc/resources \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Solve/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/2022winter/Solve/src/main/javadoc/resources/fonts/dejavu.css deleted file mode 100644 index 4fec2b593cdcc719fd7edd6744a33a3395ca8401..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2022winter/Solve/src/main/javadoc/resources/fonts/dejavu.css +++ /dev/null @@ -1,3 +0,0 @@ -/* shame on you, javadoc! Still providing -@import url('resources/fonts/dejavu.css') line in stylesheet.css -*/ \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Solve/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/2022winter/Solve/src/main/javadoc/resources/jdocSupplement.css deleted file mode 100644 index 08840cdbf55d1f43368245d0a965659c4411b2ee..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2022winter/Solve/src/main/javadoc/resources/jdocSupplement.css +++ /dev/null @@ -1,72 +0,0 @@ -/* Javadoc extensions: */ - -ul > li > ul { - list-style-type: circle; -} - -table.goikTableDefaults, -table.goikTableDefaults>caption, -table.goikTableDefaults>tr>th, -table.goikTableDefaults>tr>td, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 2px solid black; - border-collapse: collapse; - padding: 1ex; - vertical-align: top; -} - -table.goikTableDefaults>caption { - /* border-top-style: solid; border-left-style: solid; border-right-style: solid' */ - border-bottom-style: none; - font-weight: bold; - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} -table.goikTableDefaults { - border-spacing: 0px !important; -} - -table.indexTable { - border-collapse: collapse; - border-style: hidden; -} - -table.indexTable caption { - text-align: left; -} - -table.indexTable td, table.indexTable th { - border: 1px solid black; - padding: 0.5ex; -} - -em { - font-weight: bold; - font-style: normal; -} -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} - -code { - white-space: pre; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -.myRed { - color: red; -} - -.myGreen { - color: limegreen; -} diff --git a/Klausuren/Sd1/2022winter/Solve/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/2022winter/Solve/src/main/javadoc/resources/jdocSupplement.js deleted file mode 100644 index 97911e5581090aac5e37323427450f8c8c8a3f94..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2022winter/Solve/src/main/javadoc/resources/jdocSupplement.js +++ /dev/null @@ -1,7 +0,0 @@ -for(var i in document.links) { - var link = document.links[i]; - if (link.href && link.href.indexOf('http') === 0) { - link.target = '_blank'; - } -} - diff --git a/Klausuren/Sd1/2022winter/Solve/src/main/resources b/Klausuren/Sd1/2022winter/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a93d42fd0c96a827407af9d97b91f8e5d3f9c333 --- /dev/null +++ b/Klausuren/Sd1/2022winter/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/2022winter/Solve/src/main/resources/log4j2.xml b/Klausuren/Sd1/2022winter/Solve/src/main/resources/log4j2.xml deleted file mode 100644 index 130f87a144c4eb0107a846e580c8fa7f5e819fc1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/2022winter/Solve/src/main/resources/log4j2.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<Configuration> - <Appenders> - <File name="A1" fileName="A1.log" append="false"> - <PatternLayout pattern="%t %-5p %c{2} - %m%n"/> - </File> - <Console name="STDOUT" target="SYSTEM_OUT"> - <PatternLayout pattern="%d %-5p [%t] %C{2} (%F:%L) - %m%n"/> - </Console> - </Appenders> - <Loggers> - - <!-- You my want to define class or package level per-logger rules --> - <Logger name="de.hdm_stuttgart.mi.sd1.App" level="debug"> - <AppenderRef ref="A1"/> - </Logger> - <Root level="info"> - <AppenderRef ref="STDOUT"/> - </Root> - </Loggers> -</Configuration> \ No newline at end of file diff --git a/Klausuren/Sd1/Readme.md b/Klausuren/Sd1/Common/Readme.md similarity index 86% rename from Klausuren/Sd1/Readme.md rename to Klausuren/Sd1/Common/Readme.md index 178630e3cacda7b28d9f76ecb864b8a2ba8da2e1..117f68a50982b7bac1d18665ab27fe313eeb5b99 100644 --- a/Klausuren/Sd1/Readme.md +++ b/Klausuren/Sd1/Common/Readme.md @@ -5,11 +5,12 @@ Grab a terminal in this IDE (By lower left icon or Alt+F12) and issue the follow <pre>Exam> mvn javadoc:javadoc ... [<span style="color:blue;font-weight:bold;">INFO</span>] Executing tasks - [echo] Generating <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> +[<span style="color:orange;font-weight:bold;">WARNING</span>] [echo] Javadoc root at <span style="color:blue;">file:///home/.../Downloads/Exam/target/site/apidocs/index.html</span> [<span style="color:blue;font-weight:bold;">INFO</span>] Executed tasks ...</pre> -Click the link from your Maven execution's output to open the project's `index.html` Javadoc root in your system's default web browser. +Click the <span style="color:blue;">file:///.../index.html</span> link opening your project's `index.html` Javadoc root +in your system's default web browser. # Implementation tasks diff --git a/Klausuren/Sd1/2017summer/Exam/src/main/assembly/assembly.xml b/Klausuren/Sd1/Common/src/main/assembly/assembly.xml similarity index 100% rename from Klausuren/Sd1/2017summer/Exam/src/main/assembly/assembly.xml rename to Klausuren/Sd1/Common/src/main/assembly/assembly.xml diff --git a/Klausuren/Sd1/2015summer/Exam/src/main/javadoc/resources/fonts/dejavu.css b/Klausuren/Sd1/Common/src/main/javadoc/resources/fonts/dejavu.css similarity index 100% rename from Klausuren/Sd1/2015summer/Exam/src/main/javadoc/resources/fonts/dejavu.css rename to Klausuren/Sd1/Common/src/main/javadoc/resources/fonts/dejavu.css diff --git a/Klausuren/Sd1/2022winter/Exam/src/main/javadoc/resources/jdocSupplement.css b/Klausuren/Sd1/Common/src/main/javadoc/resources/jdocSupplement.css similarity index 100% rename from Klausuren/Sd1/2022winter/Exam/src/main/javadoc/resources/jdocSupplement.css rename to Klausuren/Sd1/Common/src/main/javadoc/resources/jdocSupplement.css diff --git a/Klausuren/Sd1/2015summer/Exam/src/main/javadoc/resources/jdocSupplement.js b/Klausuren/Sd1/Common/src/main/javadoc/resources/jdocSupplement.js similarity index 100% rename from Klausuren/Sd1/2015summer/Exam/src/main/javadoc/resources/jdocSupplement.js rename to Klausuren/Sd1/Common/src/main/javadoc/resources/jdocSupplement.js diff --git a/Klausuren/Sd1/2016winter/Exam/src/main/resources/log4j2.xml b/Klausuren/Sd1/Common/src/main/resources/log4j2.xml similarity index 100% rename from Klausuren/Sd1/2016winter/Exam/src/main/resources/log4j2.xml rename to Klausuren/Sd1/Common/src/main/resources/log4j2.xml diff --git a/Klausuren/Sd1/Makefile b/Klausuren/Sd1/Makefile index 10c64f728cc964b182c656f9c9d80c3c45502a43..e3185e486ffb0be4de2c09ec69b244dd956671b8 100644 --- a/Klausuren/Sd1/Makefile +++ b/Klausuren/Sd1/Makefile @@ -2,7 +2,7 @@ SHELL = /bin/bash INSTALLDIR=/tmp/Exam DOCMODULES = 2014winter 2015summer 2015winter 2016summer 2016summer.failed 2016winter 2017summer 2017winter \ - 2018summer 2018winter 2019summer 2019winter 2020summer 2020winter_1 2020winter_2 2021summer # 2021winter 2022winter + 2018summer 2018winter 2019summer 2019winter 2020summer 2020winter_1 2020winter_2 2021summer 2021winter 2022winter diff --git a/Klausuren/Sd1/Tests/IntMax/Exam/Readme.md b/Klausuren/Sd1/Tests/IntMax/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..80f885962359569c74940b272d7bfbd2dde4fcd9 --- /dev/null +++ b/Klausuren/Sd1/Tests/IntMax/Exam/Readme.md @@ -0,0 +1 @@ +../../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/IntMax/Exam/pom.xml b/Klausuren/Sd1/Tests/IntMax/Exam/pom.xml index 71893a8d827a8ebc2890ed31ebb3ca5eeefc6690..1f9a237e85c9bb280c5cedb8ae1e069d85e6b96b 100644 --- a/Klausuren/Sd1/Tests/IntMax/Exam/pom.xml +++ b/Klausuren/Sd1/Tests/IntMax/Exam/pom.xml @@ -9,67 +9,121 @@ <name>Intmax</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> - </plugin> + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> + </properties> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.1.1</version> - <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> - <stylesheetfile>localstyles.css</stylesheetfile> + <dependencies> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.2</version> + </dependency> + </dependencies> - <additionalJOptions> - <additionalJOption>-html5</additionalJOption> - </additionalJOptions> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> - </configuration> - </plugin> - </plugins> - </build> + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.11.0</version> + </plugin> - <dependencies> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> + <configuration> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> - </dependencies> + <windowtitle>Exam documentation</windowtitle> + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> + + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> + + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.4.2</version> + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/Klausuren/Sd1/Tests/IntMax/Exam/src/main/assembly b/Klausuren/Sd1/Tests/IntMax/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..7f417d19495e2d524e21bf94e6d7acc796b5b84c --- /dev/null +++ b/Klausuren/Sd1/Tests/IntMax/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/IntMax/Exam/src/main/javadoc/localstyles.css b/Klausuren/Sd1/Tests/IntMax/Exam/src/main/javadoc/localstyles.css deleted file mode 100644 index d045d69bb3f5fd356c2d8ea5caa93d532540770c..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/Tests/IntMax/Exam/src/main/javadoc/localstyles.css +++ /dev/null @@ -1,814 +0,0 @@ -/* - * Javadoc style sheet - */ - -@import url('resources/fonts/dejavu.css'); - -/* - * Styles for individual HTML elements. - * - * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular - * HTML element throughout the page. - */ - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; - padding:0; - height:100%; - width:100%; -} -iframe { - margin:0; - padding:0; - height:100%; - width:100%; - overflow-y:scroll; - border:none; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a[href]:hover, a[href]:focus { - text-decoration:none; - color:#bb7a2a; -} -a[name] { - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -button { - font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size: 14px; -} -/* - * Styles for HTML generated by javadoc. - * - * These are style classes that are used by the standard doclet to generate HTML documentation. - */ - -/* - * Styles for document title and copyright. - */ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.about-language { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legal-copy { - margin-left:.5em; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* - * Styles for navigation bar. - */ -@media screen { - .flex-box { - position:fixed; - display:flex; - flex-direction:column; - height: 100%; - width: 100%; - } - .flex-header { - flex: 0 0 auto; - } - .flex-content { - flex: 1 1 auto; - overflow-y: auto; - } -} -.top-nav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottom-nav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.sub-nav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.sub-nav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -.sub-nav .nav-list { - padding-top:5px; -} -ul.nav-list, ul.sub-nav-list { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.nav-list li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -.sub-nav .nav-list-search { - float:right; - margin:0 0 0 0; - padding:5px 6px; - clear:none; -} -.nav-list-search label { - position:relative; - right:-16px; -} -ul.sub-nav-list li { - list-style:none; - float:left; - padding-top:10px; -} -.top-nav a:link, .top-nav a:active, .top-nav a:visited, .bottom-nav a:link, .bottom-nav a:active, .bottom-nav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.top-nav a:hover, .bottom-nav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.nav-bar-cell1-rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skip-nav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* - * Hide navigation links and search box in print layout - */ -@media print { - ul.nav-list, div.sub-nav { - display:none; - } -} -/* - * Styles for page header and footer. - */ -.title { - color:#2c4557; - margin:10px 0; -} -.sub-title { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* - * Styles for headings. - */ -body.class-declaration-page .summary h2, -body.class-declaration-page .details h2, -body.class-use-page h2, -body.module-declaration-page .block-list h2 { - font-style: italic; - padding:0; - margin:15px 0; -} -body.class-declaration-page .summary h3, -body.class-declaration-page .details h3, -body.class-declaration-page .summary .inherited-list h2 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -/* - * Styles for page layout containers. - */ -main { - clear:both; - padding:10px 20px; - position:relative; -} -dl.notes > dt { - font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -dl.notes > dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -dl.name-value > dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -dl.name-value > dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* - * Styles for lists. - */ -li.circle { - list-style:circle; -} -ul.horizontal li { - display:inline; - font-size:0.9em; -} -div.inheritance { - margin:0; - padding:0; -} -div.inheritance div.inheritance { - margin-left:2em; -} -ul.block-list, -ul.details-list, -ul.member-list, -ul.summary-list { - margin:10px 0 10px 0; - padding:0; -} -ul.block-list > li, -ul.details-list > li, -ul.member-list > li, -ul.summary-list > li { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* - * Styles for tables. - */ -.overview-summary table, .member-summary table, .type-summary table, .use-summary table, .constants-summary table, .deprecated-summary table, -.requires-summary table, .packages-summary table, .provides-summary table, .uses-summary table, .system-properties-summary table { - width:100%; - border-spacing:0; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overview-summary table, .member-summary table, .requires-summary table, .packages-summary table, -.provides-summary table, .uses-summary table, .system-properties-summary table { - padding:0px; -} -.overview-summary caption, .member-summary caption, .type-summary caption, -.use-summary caption, .constants-summary caption, .deprecated-summary caption, -.requires-summary caption, .packages-summary caption, .provides-summary caption, -.uses-summary caption, .system-properties-summary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.constants-summary caption a:link, .constants-summary caption a:visited, -.use-summary caption a:link, .use-summary caption a:visited { - color:#1f389c; -} -.overview-summary caption a:link, .member-summary caption a:link, .type-summary caption a:link, -.deprecated-summary caption a:link, -.requires-summary caption a:link, .packages-summary caption a:link, .provides-summary caption a:link, -.uses-summary caption a:link, -.overview-summary caption a:hover, .member-summary caption a:hover, .type-summary caption a:hover, -.use-summary caption a:hover, .constants-summary caption a:hover, .deprecated-summary caption a:hover, -.requires-summary caption a:hover, .packages-summary caption a:hover, .provides-summary caption a:hover, -.uses-summary caption a:hover, -.overview-summary caption a:active, .member-summary caption a:active, .type-summary caption a:active, -.use-summary caption a:active, .constants-summary caption a:active, .deprecated-summary caption a:active, -.requires-summary caption a:active, .packages-summary caption a:active, .provides-summary caption a:active, -.uses-summary caption a:active, -.overview-summary caption a:visited, .member-summary caption a:visited, .type-summary caption a:visited, -.deprecated-summary caption a:visited, -.requires-summary caption a:visited, .packages-summary caption a:visited, .provides-summary caption a:visited, -.uses-summary caption a:visited { - color:#FFFFFF; -} -.overview-summary caption span, .member-summary caption span, .type-summary caption span, -.use-summary caption span, .constants-summary caption span, .deprecated-summary caption span, -.requires-summary caption span, .packages-summary caption span, .provides-summary caption span, -.uses-summary caption span, .system-properties-summary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} - -div.table-tabs > button { - border: none; - cursor: pointer; - padding: 5px 12px 7px 12px; - font-weight: bold; - margin-right: 3px; -} -div.table-tabs > button.active-table-tab { - background: #F8981D; - color: #253441; -} -div.table-tabs > button.table-tab { - background: #4D7A97; - color: #FFFFFF; -} - -.row-color th, -.alt-color th { - font-weight:normal; -} -.overview-summary td, .member-summary td, .type-summary td, -.use-summary td, .constants-summary td, .deprecated-summary td, -.requires-summary td, .packages-summary td, .provides-summary td, -.uses-summary td, .system-properties-summary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.col-first, th.col-second, th.col-last, th.col-constructor-name, th.col-deprecated-item-name, .use-summary th, -.constants-summary th, .packages-summary th, td.col-first, td.col-second, td.col-last, .use-summary td, -.constants-summary td, .system-properties-summary th { - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.col-first, th.col-second, th.col-last, th.col-constructor-name, th.col-deprecated-item-name, .constants-summary th, -.packages-summary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.col-first, th.col-first { - font-size:13px; -} -td.col-second, th.col-second, td.col-last, th.col-constructor-name, th.col-deprecated-item-name, th.col-last { - font-size:13px; -} -.constants-summary th, .packages-summary th { - font-size:13px; -} -.provides-summary th.col-first, .provides-summary th.col-last, .provides-summary td.col-first, -.provides-summary td.col-last { - white-space:normal; - font-size:13px; -} -.overview-summary td.col-first, .overview-summary th.col-first, -.requires-summary td.col-first, .requires-summary th.col-first, -.packages-summary td.col-first, .packages-summary td.col-second, .packages-summary th.col-first, .packages-summary th, -.uses-summary td.col-first, .uses-summary th.col-first, -.provides-summary td.col-first, .provides-summary th.col-first, -.member-summary td.col-first, .member-summary th.col-first, -.member-summary td.col-second, .member-summary th.col-second, .member-summary th.col-constructor-name, -.type-summary td.col-first, .type-summary th.col-first { - vertical-align:top; -} -.packages-summary th.col-last, .packages-summary td.col-last { - white-space:normal; -} -td.col-first a:link, td.col-first a:visited, -td.col-second a:link, td.col-second a:visited, -th.col-first a:link, th.col-first a:visited, -th.col-second a:link, th.col-second a:visited, -th.col-constructor-name a:link, th.col-constructor-name a:visited, -th.col-deprecated-item-name a:link, th.col-deprecated-item-name a:visited, -.constant-values-container td a:link, .constant-values-container td a:visited, -.all-classes-container td a:link, .all-classes-container td a:visited, -.all-packages-container td a:link, .all-packages-container td a:visited { - font-weight:bold; -} -.table-sub-heading-color { - background-color:#EEEEFF; -} -.alt-color, .alt-color th { - background-color:#FFFFFF; -} -.row-color, .row-color th { - background-color:#EEEEEF; -} -/* - * Styles for contents. - */ -.description pre { - margin-top:0; -} -.deprecated-content { - margin:0; - padding:10px 0; -} -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -td.col-last div { - padding-top:0px; -} -td.col-last a { - padding-bottom:3px; -} -div.member-signature { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - margin:14px 0; - white-space: pre-wrap; -} -div.member-signature span.annotations { - white-space: pre-wrap; -} -div.member-signature span.type-parameters-long, -div.member-signature span.parameters, -div.member-signature span.exceptions { - display: inline-block; - vertical-align: top; - white-space: pre; -} -div.member-signature span.type-parameters { - white-space: normal; -} -/* - * Styles for formatting effect. - */ -.source-line-no { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:0 10px 5px 0; - color:#474747; -} -.deprecated-label, .descfrm-type-label, .implementation-label, .member-name-label, .member-name-link, -.module-label-in-package, .module-label-in-type, .override-specify-label, .package-label-in-type, -.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link { - font-weight:bold; -} -.deprecation-comment, .help-footnote, .interface-name { - font-style:italic; -} -.deprecation-block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; - border-style:solid; - border-width:thin; - border-radius:10px; - padding:10px; - margin-bottom:10px; - margin-right:10px; - display:inline-block; -} -div.block div.deprecation-comment, div.block div.block span.emphasized-phrase, -div.block div.block span.interface-name { - font-style:normal; -} -/* - * Styles specific to HTML5 elements. - */ -main, nav, header, footer, section { - display:block; -} -/* - * Styles for javadoc search. - */ -.ui-autocomplete-category { - font-weight:bold; - font-size:15px; - padding:7px 0 7px 3px; - background-color:#4D7A97; - color:#FFFFFF; -} -.result-item { - font-size:13px; -} -.ui-autocomplete { - max-height:85%; - max-width:65%; - overflow-y:scroll; - overflow-x:scroll; - white-space:nowrap; - box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); -} -ul.ui-autocomplete { - position:fixed; - z-index:999999; -} -ul.ui-autocomplete li { - float:left; - clear:both; - width:100%; -} -.result-highlight { - font-weight:bold; -} -#search { - background-image:url('resources/glass.png'); - background-size:13px; - background-repeat:no-repeat; - background-position:2px 3px; - padding-left:20px; - position:relative; - right:-18px; - width:400px; -} -#reset { - background-color: rgb(255,255,255); - background-image:url('resources/x.png'); - background-position:center; - background-repeat:no-repeat; - background-size:12px; - border:0 none; - width:16px; - height:16px; - position:relative; - left:-4px; - top:-4px; - font-size:0px; -} -.watermark { - color:#545454; -} -.search-tag-desc-result { - font-style:italic; - font-size:11px; -} -.search-tag-holder-result { - font-style:italic; - font-size:12px; -} -.search-tag-result:target { - background-color:yellow; -} -.module-graph span { - display:none; - position:absolute; -} -.module-graph:hover span { - display:block; - margin: -100px 0 0 100px; - z-index: 1; -} -.inherited-list { - margin: 10px 0 10px 0; -} -section.description { - line-height: 1.4; -} -.summary section[class$="-summary"], .details section[class$="-details"], -.class-uses .detail, .serialized-class-details { - padding: 0px 20px 5px 10px; - border: 1px solid #ededed; - background-color: #f8f8f8; -} -.inherited-list, section[class$="-details"] .detail { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -.vertical-separator { - padding: 0 5px; -} -ul.help-section-list { - margin: 0; -} -/* - * Indicator icon for external links. - */ -main a[href*="://"]::after { - content:""; - display:inline-block; - background-image:url('data:image/svg+xml; utf8, \ - <svg xmlns="http://www.w3.org/2000/svg" width="768" height="768">\ - <path d="M584 664H104V184h216V80H0v688h688V448H584zM384 0l132 \ - 132-240 240 120 120 240-240 132 132V0z" fill="%234a6782"/>\ - </svg>'); - background-size:100% 100%; - width:7px; - height:7px; - margin-left:2px; - margin-bottom:4px; -} -main a[href*="://"]:hover::after, -main a[href*="://"]:focus::after { - background-image:url('data:image/svg+xml; utf8, \ - <svg xmlns="http://www.w3.org/2000/svg" width="768" height="768">\ - <path d="M584 664H104V184h216V80H0v688h688V448H584zM384 0l132 \ - 132-240 240 120 120 240-240 132 132V0z" fill="%23bb7a2a"/>\ - </svg>'); -} - -/* - * Styles for user-provided tables. - * - * borderless: - * No borders, vertical margins, styled caption. - * This style is provided for use with existing doc comments. - * In general, borderless tables should not be used for layout purposes. - * - * plain: - * Plain borders around table and cells, vertical margins, styled caption. - * Best for small tables or for complex tables for tables with cells that span - * rows and columns, when the "striped" style does not work well. - * - * striped: - * Borders around the table and vertical borders between cells, striped rows, - * vertical margins, styled caption. - * Best for tables that have a header row, and a body containing a series of simple rows. - */ - -table.borderless, -table.plain, -table.striped { - margin-top: 10px; - margin-bottom: 10px; -} -table.borderless > caption, -table.plain > caption, -table.striped > caption { - font-weight: bold; - font-size: smaller; -} -table.borderless th, table.borderless td, -table.plain th, table.plain td, -table.striped th, table.striped td { - padding: 2px 5px; -} -table.borderless, -table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, -table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { - border: none; -} -table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { - background-color: transparent; -} -table.plain { - border-collapse: collapse; - border: 1px solid black; -} -table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { - background-color: transparent; -} -table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, -table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { - border: 1px solid black; -} -table.striped { - border-collapse: collapse; - border: 1px solid black; -} -table.striped > thead { - background-color: #E3E3E3; -} -table.striped > thead > tr > th, table.striped > thead > tr > td { - border: 1px solid black; -} -table.striped > tbody > tr:nth-child(even) { - background-color: #EEE -} -table.striped > tbody > tr:nth-child(odd) { - background-color: #FFF -} -table.striped > tbody > tr > th, table.striped > tbody > tr > td { - border-left: 1px solid black; - border-right: 1px solid black; -} -table.striped > tbody > tr > th { - font-weight: normal; -} - -/* Extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 1px solid black; - border-collapse: collapse; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/IntMax/Exam/src/main/javadoc/resources b/Klausuren/Sd1/Tests/IntMax/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..c1a5a52613d6893de6ebfed59dda5bd4719567e1 --- /dev/null +++ b/Klausuren/Sd1/Tests/IntMax/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/IntMax/Exam/src/main/resources b/Klausuren/Sd1/Tests/IntMax/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a4a04a82e34f9c61f158fc027587afd0c7d500d9 --- /dev/null +++ b/Klausuren/Sd1/Tests/IntMax/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/IntMax/Solution/pom.xml b/Klausuren/Sd1/Tests/IntMax/Solution/pom.xml deleted file mode 100644 index 8ff0453036fe943ab3dacf21ddc833780d0a04b7..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/Tests/IntMax/Solution/pom.xml +++ /dev/null @@ -1,75 +0,0 @@ -<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> - - <groupId>de.hdm_stuttgart.mi.sd1</groupId> - <artifactId>intmax_solution</artifactId> - <version>2.0</version> - <packaging>jar</packaging> - - <name>Intmax_solution</name> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> - </plugin> - - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-javadoc-plugin</artifactId> - <version>3.1.1</version> - <configuration> - <doclint>none</doclint> - <javaApiLinks> - <property> - <name>api_11</name> - <value>https://klausur.mi.hdm-stuttgart.de/doc/openjdk-11-doc/api/</value> - </property> - </javaApiLinks> - - <stylesheetfile>localstyles.css</stylesheetfile> - - <additionalJOptions> - <additionalJOption>-html5</additionalJOption> - </additionalJOptions> - <javadocExecutable>${java.home}/bin/javadoc</javadocExecutable> - </configuration> - </plugin> - </plugins> - </build> - - <dependencies> - - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> - </dependencies> - -</project> diff --git a/Klausuren/Sd1/Tests/IntMax/Solution/src/main/javadoc/localstyles.css b/Klausuren/Sd1/Tests/IntMax/Solution/src/main/javadoc/localstyles.css deleted file mode 100644 index d045d69bb3f5fd356c2d8ea5caa93d532540770c..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/Tests/IntMax/Solution/src/main/javadoc/localstyles.css +++ /dev/null @@ -1,814 +0,0 @@ -/* - * Javadoc style sheet - */ - -@import url('resources/fonts/dejavu.css'); - -/* - * Styles for individual HTML elements. - * - * These are styles that are specific to individual HTML elements. Changing them affects the style of a particular - * HTML element throughout the page. - */ - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; - padding:0; - height:100%; - width:100%; -} -iframe { - margin:0; - padding:0; - height:100%; - width:100%; - overflow-y:scroll; - border:none; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a[href]:hover, a[href]:focus { - text-decoration:none; - color:#bb7a2a; -} -a[name] { - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -button { - font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size: 14px; -} -/* - * Styles for HTML generated by javadoc. - * - * These are style classes that are used by the standard doclet to generate HTML documentation. - */ - -/* - * Styles for document title and copyright. - */ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.about-language { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legal-copy { - margin-left:.5em; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* - * Styles for navigation bar. - */ -@media screen { - .flex-box { - position:fixed; - display:flex; - flex-direction:column; - height: 100%; - width: 100%; - } - .flex-header { - flex: 0 0 auto; - } - .flex-content { - flex: 1 1 auto; - overflow-y: auto; - } -} -.top-nav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottom-nav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.sub-nav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.sub-nav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -.sub-nav .nav-list { - padding-top:5px; -} -ul.nav-list, ul.sub-nav-list { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.nav-list li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -.sub-nav .nav-list-search { - float:right; - margin:0 0 0 0; - padding:5px 6px; - clear:none; -} -.nav-list-search label { - position:relative; - right:-16px; -} -ul.sub-nav-list li { - list-style:none; - float:left; - padding-top:10px; -} -.top-nav a:link, .top-nav a:active, .top-nav a:visited, .bottom-nav a:link, .bottom-nav a:active, .bottom-nav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.top-nav a:hover, .bottom-nav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.nav-bar-cell1-rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skip-nav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* - * Hide navigation links and search box in print layout - */ -@media print { - ul.nav-list, div.sub-nav { - display:none; - } -} -/* - * Styles for page header and footer. - */ -.title { - color:#2c4557; - margin:10px 0; -} -.sub-title { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* - * Styles for headings. - */ -body.class-declaration-page .summary h2, -body.class-declaration-page .details h2, -body.class-use-page h2, -body.module-declaration-page .block-list h2 { - font-style: italic; - padding:0; - margin:15px 0; -} -body.class-declaration-page .summary h3, -body.class-declaration-page .details h3, -body.class-declaration-page .summary .inherited-list h2 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -/* - * Styles for page layout containers. - */ -main { - clear:both; - padding:10px 20px; - position:relative; -} -dl.notes > dt { - font-family: 'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -dl.notes > dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -dl.name-value > dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -dl.name-value > dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* - * Styles for lists. - */ -li.circle { - list-style:circle; -} -ul.horizontal li { - display:inline; - font-size:0.9em; -} -div.inheritance { - margin:0; - padding:0; -} -div.inheritance div.inheritance { - margin-left:2em; -} -ul.block-list, -ul.details-list, -ul.member-list, -ul.summary-list { - margin:10px 0 10px 0; - padding:0; -} -ul.block-list > li, -ul.details-list > li, -ul.member-list > li, -ul.summary-list > li { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* - * Styles for tables. - */ -.overview-summary table, .member-summary table, .type-summary table, .use-summary table, .constants-summary table, .deprecated-summary table, -.requires-summary table, .packages-summary table, .provides-summary table, .uses-summary table, .system-properties-summary table { - width:100%; - border-spacing:0; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overview-summary table, .member-summary table, .requires-summary table, .packages-summary table, -.provides-summary table, .uses-summary table, .system-properties-summary table { - padding:0px; -} -.overview-summary caption, .member-summary caption, .type-summary caption, -.use-summary caption, .constants-summary caption, .deprecated-summary caption, -.requires-summary caption, .packages-summary caption, .provides-summary caption, -.uses-summary caption, .system-properties-summary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.constants-summary caption a:link, .constants-summary caption a:visited, -.use-summary caption a:link, .use-summary caption a:visited { - color:#1f389c; -} -.overview-summary caption a:link, .member-summary caption a:link, .type-summary caption a:link, -.deprecated-summary caption a:link, -.requires-summary caption a:link, .packages-summary caption a:link, .provides-summary caption a:link, -.uses-summary caption a:link, -.overview-summary caption a:hover, .member-summary caption a:hover, .type-summary caption a:hover, -.use-summary caption a:hover, .constants-summary caption a:hover, .deprecated-summary caption a:hover, -.requires-summary caption a:hover, .packages-summary caption a:hover, .provides-summary caption a:hover, -.uses-summary caption a:hover, -.overview-summary caption a:active, .member-summary caption a:active, .type-summary caption a:active, -.use-summary caption a:active, .constants-summary caption a:active, .deprecated-summary caption a:active, -.requires-summary caption a:active, .packages-summary caption a:active, .provides-summary caption a:active, -.uses-summary caption a:active, -.overview-summary caption a:visited, .member-summary caption a:visited, .type-summary caption a:visited, -.deprecated-summary caption a:visited, -.requires-summary caption a:visited, .packages-summary caption a:visited, .provides-summary caption a:visited, -.uses-summary caption a:visited { - color:#FFFFFF; -} -.overview-summary caption span, .member-summary caption span, .type-summary caption span, -.use-summary caption span, .constants-summary caption span, .deprecated-summary caption span, -.requires-summary caption span, .packages-summary caption span, .provides-summary caption span, -.uses-summary caption span, .system-properties-summary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} - -div.table-tabs > button { - border: none; - cursor: pointer; - padding: 5px 12px 7px 12px; - font-weight: bold; - margin-right: 3px; -} -div.table-tabs > button.active-table-tab { - background: #F8981D; - color: #253441; -} -div.table-tabs > button.table-tab { - background: #4D7A97; - color: #FFFFFF; -} - -.row-color th, -.alt-color th { - font-weight:normal; -} -.overview-summary td, .member-summary td, .type-summary td, -.use-summary td, .constants-summary td, .deprecated-summary td, -.requires-summary td, .packages-summary td, .provides-summary td, -.uses-summary td, .system-properties-summary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.col-first, th.col-second, th.col-last, th.col-constructor-name, th.col-deprecated-item-name, .use-summary th, -.constants-summary th, .packages-summary th, td.col-first, td.col-second, td.col-last, .use-summary td, -.constants-summary td, .system-properties-summary th { - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.col-first, th.col-second, th.col-last, th.col-constructor-name, th.col-deprecated-item-name, .constants-summary th, -.packages-summary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.col-first, th.col-first { - font-size:13px; -} -td.col-second, th.col-second, td.col-last, th.col-constructor-name, th.col-deprecated-item-name, th.col-last { - font-size:13px; -} -.constants-summary th, .packages-summary th { - font-size:13px; -} -.provides-summary th.col-first, .provides-summary th.col-last, .provides-summary td.col-first, -.provides-summary td.col-last { - white-space:normal; - font-size:13px; -} -.overview-summary td.col-first, .overview-summary th.col-first, -.requires-summary td.col-first, .requires-summary th.col-first, -.packages-summary td.col-first, .packages-summary td.col-second, .packages-summary th.col-first, .packages-summary th, -.uses-summary td.col-first, .uses-summary th.col-first, -.provides-summary td.col-first, .provides-summary th.col-first, -.member-summary td.col-first, .member-summary th.col-first, -.member-summary td.col-second, .member-summary th.col-second, .member-summary th.col-constructor-name, -.type-summary td.col-first, .type-summary th.col-first { - vertical-align:top; -} -.packages-summary th.col-last, .packages-summary td.col-last { - white-space:normal; -} -td.col-first a:link, td.col-first a:visited, -td.col-second a:link, td.col-second a:visited, -th.col-first a:link, th.col-first a:visited, -th.col-second a:link, th.col-second a:visited, -th.col-constructor-name a:link, th.col-constructor-name a:visited, -th.col-deprecated-item-name a:link, th.col-deprecated-item-name a:visited, -.constant-values-container td a:link, .constant-values-container td a:visited, -.all-classes-container td a:link, .all-classes-container td a:visited, -.all-packages-container td a:link, .all-packages-container td a:visited { - font-weight:bold; -} -.table-sub-heading-color { - background-color:#EEEEFF; -} -.alt-color, .alt-color th { - background-color:#FFFFFF; -} -.row-color, .row-color th { - background-color:#EEEEEF; -} -/* - * Styles for contents. - */ -.description pre { - margin-top:0; -} -.deprecated-content { - margin:0; - padding:10px 0; -} -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} -td.col-last div { - padding-top:0px; -} -td.col-last a { - padding-bottom:3px; -} -div.member-signature { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - margin:14px 0; - white-space: pre-wrap; -} -div.member-signature span.annotations { - white-space: pre-wrap; -} -div.member-signature span.type-parameters-long, -div.member-signature span.parameters, -div.member-signature span.exceptions { - display: inline-block; - vertical-align: top; - white-space: pre; -} -div.member-signature span.type-parameters { - white-space: normal; -} -/* - * Styles for formatting effect. - */ -.source-line-no { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:0 10px 5px 0; - color:#474747; -} -.deprecated-label, .descfrm-type-label, .implementation-label, .member-name-label, .member-name-link, -.module-label-in-package, .module-label-in-type, .override-specify-label, .package-label-in-type, -.package-hierarchy-label, .type-name-label, .type-name-link, .search-tag-link { - font-weight:bold; -} -.deprecation-comment, .help-footnote, .interface-name { - font-style:italic; -} -.deprecation-block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; - border-style:solid; - border-width:thin; - border-radius:10px; - padding:10px; - margin-bottom:10px; - margin-right:10px; - display:inline-block; -} -div.block div.deprecation-comment, div.block div.block span.emphasized-phrase, -div.block div.block span.interface-name { - font-style:normal; -} -/* - * Styles specific to HTML5 elements. - */ -main, nav, header, footer, section { - display:block; -} -/* - * Styles for javadoc search. - */ -.ui-autocomplete-category { - font-weight:bold; - font-size:15px; - padding:7px 0 7px 3px; - background-color:#4D7A97; - color:#FFFFFF; -} -.result-item { - font-size:13px; -} -.ui-autocomplete { - max-height:85%; - max-width:65%; - overflow-y:scroll; - overflow-x:scroll; - white-space:nowrap; - box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); -} -ul.ui-autocomplete { - position:fixed; - z-index:999999; -} -ul.ui-autocomplete li { - float:left; - clear:both; - width:100%; -} -.result-highlight { - font-weight:bold; -} -#search { - background-image:url('resources/glass.png'); - background-size:13px; - background-repeat:no-repeat; - background-position:2px 3px; - padding-left:20px; - position:relative; - right:-18px; - width:400px; -} -#reset { - background-color: rgb(255,255,255); - background-image:url('resources/x.png'); - background-position:center; - background-repeat:no-repeat; - background-size:12px; - border:0 none; - width:16px; - height:16px; - position:relative; - left:-4px; - top:-4px; - font-size:0px; -} -.watermark { - color:#545454; -} -.search-tag-desc-result { - font-style:italic; - font-size:11px; -} -.search-tag-holder-result { - font-style:italic; - font-size:12px; -} -.search-tag-result:target { - background-color:yellow; -} -.module-graph span { - display:none; - position:absolute; -} -.module-graph:hover span { - display:block; - margin: -100px 0 0 100px; - z-index: 1; -} -.inherited-list { - margin: 10px 0 10px 0; -} -section.description { - line-height: 1.4; -} -.summary section[class$="-summary"], .details section[class$="-details"], -.class-uses .detail, .serialized-class-details { - padding: 0px 20px 5px 10px; - border: 1px solid #ededed; - background-color: #f8f8f8; -} -.inherited-list, section[class$="-details"] .detail { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -.vertical-separator { - padding: 0 5px; -} -ul.help-section-list { - margin: 0; -} -/* - * Indicator icon for external links. - */ -main a[href*="://"]::after { - content:""; - display:inline-block; - background-image:url('data:image/svg+xml; utf8, \ - <svg xmlns="http://www.w3.org/2000/svg" width="768" height="768">\ - <path d="M584 664H104V184h216V80H0v688h688V448H584zM384 0l132 \ - 132-240 240 120 120 240-240 132 132V0z" fill="%234a6782"/>\ - </svg>'); - background-size:100% 100%; - width:7px; - height:7px; - margin-left:2px; - margin-bottom:4px; -} -main a[href*="://"]:hover::after, -main a[href*="://"]:focus::after { - background-image:url('data:image/svg+xml; utf8, \ - <svg xmlns="http://www.w3.org/2000/svg" width="768" height="768">\ - <path d="M584 664H104V184h216V80H0v688h688V448H584zM384 0l132 \ - 132-240 240 120 120 240-240 132 132V0z" fill="%23bb7a2a"/>\ - </svg>'); -} - -/* - * Styles for user-provided tables. - * - * borderless: - * No borders, vertical margins, styled caption. - * This style is provided for use with existing doc comments. - * In general, borderless tables should not be used for layout purposes. - * - * plain: - * Plain borders around table and cells, vertical margins, styled caption. - * Best for small tables or for complex tables for tables with cells that span - * rows and columns, when the "striped" style does not work well. - * - * striped: - * Borders around the table and vertical borders between cells, striped rows, - * vertical margins, styled caption. - * Best for tables that have a header row, and a body containing a series of simple rows. - */ - -table.borderless, -table.plain, -table.striped { - margin-top: 10px; - margin-bottom: 10px; -} -table.borderless > caption, -table.plain > caption, -table.striped > caption { - font-weight: bold; - font-size: smaller; -} -table.borderless th, table.borderless td, -table.plain th, table.plain td, -table.striped th, table.striped td { - padding: 2px 5px; -} -table.borderless, -table.borderless > thead > tr > th, table.borderless > tbody > tr > th, table.borderless > tr > th, -table.borderless > thead > tr > td, table.borderless > tbody > tr > td, table.borderless > tr > td { - border: none; -} -table.borderless > thead > tr, table.borderless > tbody > tr, table.borderless > tr { - background-color: transparent; -} -table.plain { - border-collapse: collapse; - border: 1px solid black; -} -table.plain > thead > tr, table.plain > tbody tr, table.plain > tr { - background-color: transparent; -} -table.plain > thead > tr > th, table.plain > tbody > tr > th, table.plain > tr > th, -table.plain > thead > tr > td, table.plain > tbody > tr > td, table.plain > tr > td { - border: 1px solid black; -} -table.striped { - border-collapse: collapse; - border: 1px solid black; -} -table.striped > thead { - background-color: #E3E3E3; -} -table.striped > thead > tr > th, table.striped > thead > tr > td { - border: 1px solid black; -} -table.striped > tbody > tr:nth-child(even) { - background-color: #EEE -} -table.striped > tbody > tr:nth-child(odd) { - background-color: #FFF -} -table.striped > tbody > tr > th, table.striped > tbody > tr > td { - border-left: 1px solid black; - border-right: 1px solid black; -} -table.striped > tbody > tr > th { - font-weight: normal; -} - -/* Extensions: */ - -table.goikTableDefaults, -table.goikTableDefaults>tbody>tr>th, -table.goikTableDefaults>tbody>tr>td { - border: 1px solid black; - border-collapse: collapse; -} - -table.goikTableDefaults>tbody>tr>td { - vertical-align:top; -} - -.implementationHints { - background-color: hsl(120, 100%, 95%) !important; -} - -section.implementationHints>h3 { - font-weight: bold; - background-color: rgb(222, 227, 233); -} \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/IntMax/Solution/.gitignore b/Klausuren/Sd1/Tests/IntMax/Solve/.gitignore similarity index 100% rename from Klausuren/Sd1/Tests/IntMax/Solution/.gitignore rename to Klausuren/Sd1/Tests/IntMax/Solve/.gitignore diff --git a/Klausuren/Sd1/Tests/IntMax/Solution/Doc/a.xhtml b/Klausuren/Sd1/Tests/IntMax/Solve/Doc/a.xhtml similarity index 100% rename from Klausuren/Sd1/Tests/IntMax/Solution/Doc/a.xhtml rename to Klausuren/Sd1/Tests/IntMax/Solve/Doc/a.xhtml diff --git a/Klausuren/Sd1/Tests/IntMax/Solve/pom.xml b/Klausuren/Sd1/Tests/IntMax/Solve/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..aa4268309e2e78cfc5aa3309b27f3fe61b22f385 --- /dev/null +++ b/Klausuren/Sd1/Tests/IntMax/Solve/pom.xml @@ -0,0 +1,129 @@ +<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> + + <groupId>de.hdm_stuttgart.mi.sd1</groupId> + <artifactId>intmax_solution</artifactId> + <version>2.0</version> + <packaging>jar</packaging> + + <name>Intmax_solution</name> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> + </properties> + + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> + + <dependencies> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.2</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> + <configuration> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> + + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> + + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.4.2</version> + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> diff --git a/Klausuren/Sd1/Tests/IntMax/Solve/src/main/assembly b/Klausuren/Sd1/Tests/IntMax/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..7f417d19495e2d524e21bf94e6d7acc796b5b84c --- /dev/null +++ b/Klausuren/Sd1/Tests/IntMax/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/IntMax/Solution/src/main/java/de/hdm_stuttgart/mi/sd1/intmax/Max.java b/Klausuren/Sd1/Tests/IntMax/Solve/src/main/java/de/hdm_stuttgart/mi/sd1/intmax/Max.java similarity index 100% rename from Klausuren/Sd1/Tests/IntMax/Solution/src/main/java/de/hdm_stuttgart/mi/sd1/intmax/Max.java rename to Klausuren/Sd1/Tests/IntMax/Solve/src/main/java/de/hdm_stuttgart/mi/sd1/intmax/Max.java diff --git a/Klausuren/Sd1/Tests/IntMax/Solve/src/main/javadoc/resources b/Klausuren/Sd1/Tests/IntMax/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..c1a5a52613d6893de6ebfed59dda5bd4719567e1 --- /dev/null +++ b/Klausuren/Sd1/Tests/IntMax/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/IntMax/Solve/src/main/resources b/Klausuren/Sd1/Tests/IntMax/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a4a04a82e34f9c61f158fc027587afd0c7d500d9 --- /dev/null +++ b/Klausuren/Sd1/Tests/IntMax/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/IntMax/Solution/src/test/java/de/hdm_stuttgart/mi/sd1/intmax/MaxTest.java b/Klausuren/Sd1/Tests/IntMax/Solve/src/test/java/de/hdm_stuttgart/mi/sd1/intmax/MaxTest.java similarity index 100% rename from Klausuren/Sd1/Tests/IntMax/Solution/src/test/java/de/hdm_stuttgart/mi/sd1/intmax/MaxTest.java rename to Klausuren/Sd1/Tests/IntMax/Solve/src/test/java/de/hdm_stuttgart/mi/sd1/intmax/MaxTest.java diff --git a/Klausuren/Sd1/Tests/IntMax/Solution/src/test/java/de/hdm_stuttgart/sw1/klausur/mein_ergebnis/ShowReachedPoints.java b/Klausuren/Sd1/Tests/IntMax/Solve/src/test/java/de/hdm_stuttgart/sw1/klausur/mein_ergebnis/ShowReachedPoints.java similarity index 100% rename from Klausuren/Sd1/Tests/IntMax/Solution/src/test/java/de/hdm_stuttgart/sw1/klausur/mein_ergebnis/ShowReachedPoints.java rename to Klausuren/Sd1/Tests/IntMax/Solve/src/test/java/de/hdm_stuttgart/sw1/klausur/mein_ergebnis/ShowReachedPoints.java diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/Readme.md b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/Readme.md new file mode 120000 index 0000000000000000000000000000000000000000..80f885962359569c74940b272d7bfbd2dde4fcd9 --- /dev/null +++ b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/Readme.md @@ -0,0 +1 @@ +../../../Common/Readme.md \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/pom.xml b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/pom.xml index 85f391861976168532e61be0c7470551652e2804..ccf17c7b96b822801c1e14e43ad2702885eb3fb9 100644 --- a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/pom.xml +++ b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/pom.xml @@ -9,44 +9,121 @@ <name>Diff_solution</name> - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> - </plugin> - </plugins> - </build> - <dependencies> - - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> - - </dependencies> + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> + </properties> + + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> + + <dependencies> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.2</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> + <configuration> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> + + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> + + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.4.2</version> + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> </project> diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/src/main/assembly b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..7f417d19495e2d524e21bf94e6d7acc796b5b84c --- /dev/null +++ b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/src/main/assembly @@ -0,0 +1 @@ +../../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/src/main/javadoc/resources b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..c1a5a52613d6893de6ebfed59dda5bd4719567e1 --- /dev/null +++ b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/src/main/resources b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a4a04a82e34f9c61f158fc027587afd0c7d500d9 --- /dev/null +++ b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Exam/src/main/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/pom.xml b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/pom.xml deleted file mode 100644 index c9a7306407b4ec5dbc5cf8acbce208a0b28e96e1..0000000000000000000000000000000000000000 --- a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/pom.xml +++ /dev/null @@ -1,53 +0,0 @@ -<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> - - <groupId>de.hdm_stuttgart.sd1</groupId> - <artifactId>diff_solution</artifactId> - <version>1.0</version> - <packaging>jar</packaging> - - <name>Diff_solution</name> - - <properties> - <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - </properties> - - <repositories> - <repository> - <id>hdm-mi-internal-maven-repo</id> - <url>https://maven.mi.hdm-stuttgart.de/artifacts</url> - </repository> - </repositories> - - <build> - <plugins> - <plugin> - <groupId>org.apache.maven.plugins</groupId> - <artifactId>maven-compiler-plugin</artifactId> - <version>3.8.1</version> - <configuration> - <source>11</source> - <target>11</target> - </configuration> - </plugin> - - </plugins> - </build> - <dependencies> - - <dependency> - <groupId>junit</groupId> - <artifactId>junit</artifactId> - <version>4.12</version> - <scope>test</scope> - </dependency> - - <dependency> - <groupId>de.hdm_stuttgart.mi.exam</groupId> - <artifactId>unitmarking</artifactId> - <version>0.9</version> - </dependency> - - </dependencies> -</project> diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/.gitignore b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/.gitignore similarity index 100% rename from Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/.gitignore rename to Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/.gitignore diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/Doc/a.xhtml b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/Doc/a.xhtml similarity index 100% rename from Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/Doc/a.xhtml rename to Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/Doc/a.xhtml diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/pom.xml b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/pom.xml new file mode 100644 index 0000000000000000000000000000000000000000..ccf17c7b96b822801c1e14e43ad2702885eb3fb9 --- /dev/null +++ b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/pom.xml @@ -0,0 +1,129 @@ +<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> + + <groupId>de.hdm_stuttgart.sd1</groupId> + <artifactId>diff_solution</artifactId> + <version>1.0</version> + <packaging>jar</packaging> + + <name>Diff_solution</name> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + + <maven.compiler.target>17</maven.compiler.target> + <maven.compiler.source>17</maven.compiler.source> + + <freedocs.url>https://freedocs.mi.hdm-stuttgart.de</freedocs.url> + <jdk.api_17.url>${freedocs.url}/doc/openjdk-17-doc/api/</jdk.api_17.url> + <mathjax.url>${freedocs.url}/lib/MathJax/es5/tex-chtml.js</mathjax.url> + <libhighlight.url>${freedocs.url}/lib/highlight.js</libhighlight.url> + </properties> + + <repositories> + <repository> + <id>hdm-mi-internal-maven-repo</id> + <url>https://maven.mi.hdm-stuttgart.de/nexus/repository/mi-maven</url> + </repository> + </repositories> + + <dependencies> + <dependency> + <groupId>de.hdm_stuttgart.mi.exam</groupId> + <artifactId>unitmarking</artifactId> + <version>1.2</version> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-compiler-plugin</artifactId> + <version>3.11.0</version> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-antrun-plugin</artifactId> + <version>3.1.0</version> + <executions> + <execution> + <phase>generate-sources</phase> + <goals> + <goal>run</goal> + </goals> + <configuration> + <target> + <echo>Javadoc root at file://${project.basedir}/target/site/apidocs/index.html</echo> + </target> + </configuration> + </execution> + </executions> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-javadoc-plugin</artifactId> + <version>3.5.0</version> + <configuration> + <release>17</release> + <doclint>all</doclint> + <show>public</show> + <docfilessubdirs>true</docfilessubdirs> + <addStylesheets> + <stylesheet>resources/jdocSupplement.css</stylesheet> + </addStylesheets> + + <windowtitle>Exam documentation</windowtitle> + + <links> + <link>https://freedocs.mi.hdm-stuttgart.de/doc/openjdk-17-doc/api/</link> + </links> + + <additionalOptions> + <additionalOption>-html5 --allow-script-in-comments</additionalOption> + </additionalOptions> + <nohelp>true</nohelp> + + <header><![CDATA[ + <script type="text/javascript" src="${mathjax.url}"></script> + <script type="text/javascript" src="{@docRoot}/resources/jdocSupplement.js"></script> + + <link rel="stylesheet" href="${libhighlight.url}/styles/idea.min.css"> + <script src="${libhighlight.url}/highlight.min.js"></script> + <script type="text/javascript">hljs.highlightAll();</script>]]> + </header> + </configuration> + </plugin> + + <plugin> + <groupId>org.apache.maven.plugins</groupId> + <artifactId>maven-assembly-plugin</artifactId> + <version>3.4.2</version> + <configuration> + <descriptors> + <descriptor>src/main/assembly/assembly.xml</descriptor> + </descriptors> + </configuration> + <executions> + <execution> + <id>make-assembly</id> + <phase>package</phase> + <goals> + <goal>single</goal> + </goals> + <configuration> + <archive> + <manifest> + <mainClass>de.hdm_stuttgart.mi.sd1.ShowReachedPoints</mainClass> + </manifest> + </archive> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> +</project> diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/assembly b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/assembly new file mode 120000 index 0000000000000000000000000000000000000000..7f417d19495e2d524e21bf94e6d7acc796b5b84c --- /dev/null +++ b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/assembly @@ -0,0 +1 @@ +../../../../../Common/src/main/assembly/ \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/src/main/java/de/hdm_stuttgart/mi/sd1/diff/Diff.java b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/java/de/hdm_stuttgart/mi/sd1/diff/Diff.java similarity index 100% rename from Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/src/main/java/de/hdm_stuttgart/mi/sd1/diff/Diff.java rename to Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/java/de/hdm_stuttgart/mi/sd1/diff/Diff.java diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/src/main/java/de/hdm_stuttgart/mi/sd1/diff/package-info.java b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/java/de/hdm_stuttgart/mi/sd1/diff/package-info.java similarity index 100% rename from Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/src/main/java/de/hdm_stuttgart/mi/sd1/diff/package-info.java rename to Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/java/de/hdm_stuttgart/mi/sd1/diff/package-info.java diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/javadoc/resources b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/javadoc/resources new file mode 120000 index 0000000000000000000000000000000000000000..c1a5a52613d6893de6ebfed59dda5bd4719567e1 --- /dev/null +++ b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/javadoc/resources @@ -0,0 +1 @@ +../../../../../../Common/src/main/javadoc/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/resources b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/resources new file mode 120000 index 0000000000000000000000000000000000000000..a4a04a82e34f9c61f158fc027587afd0c7d500d9 --- /dev/null +++ b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/main/resources @@ -0,0 +1 @@ +../../../../../Common/src/main/resources/ \ No newline at end of file diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/src/test/java/de/hdm_stuttgart/sw1/klausur/mein_ergebnis/ShowReachedPoints.java b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/test/java/de/hdm_stuttgart/sw1/klausur/mein_ergebnis/ShowReachedPoints.java similarity index 100% rename from Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/src/test/java/de/hdm_stuttgart/sw1/klausur/mein_ergebnis/ShowReachedPoints.java rename to Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/test/java/de/hdm_stuttgart/sw1/klausur/mein_ergebnis/ShowReachedPoints.java diff --git a/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/src/test/java/de/hdm_stuttgart/sw1/klausur/test/Test_MaxDiff.java b/Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/test/java/de/hdm_stuttgart/sw1/klausur/test/Test_MaxDiff.java similarity index 100% rename from Klausuren/Sd1/Tests/MaxThreeValueDiff/Solution/src/test/java/de/hdm_stuttgart/sw1/klausur/test/Test_MaxDiff.java rename to Klausuren/Sd1/Tests/MaxThreeValueDiff/Solve/src/test/java/de/hdm_stuttgart/sw1/klausur/test/Test_MaxDiff.java