diff --git a/IDE-integration.md b/IDE_integration.md similarity index 93% rename from IDE-integration.md rename to IDE_integration.md index a3b28337c75a4f52e6ee6bad1afa7ec18e9daf0d..86b6ba44c76c6f541abeae25fdfecad802468255 100644 --- a/IDE-integration.md +++ b/IDE_integration.md @@ -26,4 +26,4 @@ This can be easily done by selecting (from top left corner) View->Tool Windows - The leftmost icon is `reload` which allows you to update the entire project, for example when downloading new libraries. The `download` button to the right can also be used to download various things. The most important function looks like a green play button, which triggers different Maven **goals**. These goals are part of the stages of the compilation and build work performed with Maven. -Next, go to the file [pom-xml.md](https://gitlab.utu.fi/TKO_2116/week-3/-/blob/main/pom-xml.md). \ No newline at end of file +Next, go to the file [pom_xml.md](pom_xml.md). \ No newline at end of file diff --git a/README.md b/README.md index 42fcc719bfa270ca4175d3ed15cc6a9e0180c100..4f5ab9eed3762b1f6089da1fa5d038f15b27f4d6 100644 --- a/README.md +++ b/README.md @@ -27,4 +27,4 @@ From a specific library, you want... ,This guide introduces the basic features of Maven. Maven is discussed in two ways. Firstly, it is considered as a standalone program, which can be executed using the command line. In addition, since development environments were discussed earlier in the week, we will also demonstrate how to integrate Maven into a development environment, making it conveniently integrated into the press of the play button. -Continue reading at [ide-integration.md](https://gitlab.utu.fi/TKO_2116/week-3/-/blob/main/ide-integration.md) +Continue reading at [IDE-integration.md](IDE_integration.md) diff --git a/basics-of-Maven.md b/basics_of_Maven.md similarity index 98% rename from basics-of-Maven.md rename to basics_of_Maven.md index 9390a6f18e6bef7e9f80e5be1ce4514bc5b98838..0dab1dff7d451be9dc3274183c411fef138307aa 100644 --- a/basics-of-Maven.md +++ b/basics_of_Maven.md @@ -196,5 +196,5 @@ This definition can be found in the `plugins/build.xml` file, from this reposito If you now run `mvn package` again and then `java -jar Example-1.0-SNAPSHOT.jar` the program works. -Next, let's look at the last section, downloading dependencies: [dependencies.md](https://gitlab.utu.fi/TKO_2116/week-3/-/blob/main/dependencies.md). +Next, let's look at the last section, downloading dependencies: [dependencies.md](dependencies.md). diff --git a/dependencies.md b/dependencies.md index 4d9fb9f98ed695330300f0d006037924dab86ba3..35e96007c5c96df0a8e5cc0e561eafb5a3e76835 100644 --- a/dependencies.md +++ b/dependencies.md @@ -114,7 +114,8 @@ main method: System.out.println(x); } -```,As side notes, if the topic is unfamiliar: the `toString()` used in classes defines what an object looks like when it is converted to a string and printed. JSON, on the other hand, is a common standard that defines how objects with their lists, arrays and all other attributes are represented in JSON format. JSON is basically such that you can insert it into JavaScript code and often also into Python code and get a valid object or dictionary and can run it as it is. +``` +As side notes, if the topic is unfamiliar: the `toString()` used in classes defines what an object looks like when it is converted to a string and printed. JSON, on the other hand, is a common standard that defines how objects with their lists, arrays and all other attributes are represented in JSON format. JSON is basically such that you can insert it into JavaScript code and often also into Python code and get a valid object or dictionary and can run it as it is. Generally speaking, our Java example involves **serialization**. That is, how an abstract object scattered around in computer memory is serialized, i.e., converted into one long string, making it easy to save it to a file or database or to send it over a network. The serialized form also allows the object to be conveniently converted back to its original form. @@ -128,6 +129,6 @@ This was a very brief introduction to Maven and its basics. Note that in different tabs, configuration is also available for other build tools. These are of course only for Java. Python and JavaScript, for example, each have completely separate systems. -In [JetBrains' own guide](https://www.jetbrains.com/help/idea/2022.3/maven-projects-tool-window.html?utm_source=product&utm_medium=link&utm_campaign=IC&utm_content=2022.3#context), it is explained in more detail how the Maven tool window works and what features are associated with it. +In [JetBrains' own guide](https://www.jetbrains.com/help/idea/maven-projects-tool-window.html#toolbar), it is explained in more detail how the Maven tool window works and what features are associated with it. [Maven's guide](https://maven.apache.org/) also contains detailed documentation on all features, but as is usually the case with all documentation, they are not actual user guides. \ No newline at end of file diff --git a/pluginit/pluginit.md b/pluginit/pluginit.md deleted file mode 100644 index f9b1724430f0151f6458eed352c68dd6a5a24c1c..0000000000000000000000000000000000000000 --- a/pluginit/pluginit.md +++ /dev/null @@ -1,13 +0,0 @@ -# Pluginit eli lisäosat - -Eräässä ViLLE-tehtävässä käytetään erästä lisäpakettia, jotta paketti saadaan oikeasti suoritettua. Tämä löytyy tiedostosta build.xml. - - -Huomaa, että kun mukaan astuvat riippuvuudet, pitäisi tietää mitä näille tehdään: - -* Kopioidaanko ne projektin mukaan? -* Paketoidaanko ne jar -paketin sisälle? - -Näitä ei tarvitse tehtävissä, mutta aiheeseen voi tutustua esimerkiksi tämän stack-overflow -vastauksen avulla: https://stackoverflow.com/a/23986765 - -On myös mahdollista, että aihetta kuvaataan myöhemmin tässä ohjeessa, mutta tehtäviä silmällä pitäen tämä on ylimääräistä, eikä sitä tarvitse juuri nyt opetella. diff --git a/pluginit/build.xml b/plugins/build.xml similarity index 86% rename from pluginit/build.xml rename to plugins/build.xml index 757e37792d49281d14b177cb396ae252b7c66b1f..122fb78f09ea2e1058f48da01cc3854392e62c54 100644 --- a/pluginit/build.xml +++ b/plugins/build.xml @@ -8,7 +8,7 @@ <manifest> <addClasspath>true</addClasspath> <!--Määritä main-metodiluokka tähän!--> - <mainClass>fi.utu.omatunnus.Main</mainClass> + <mainClass>fi.utu.myCredentials.Main</mainClass> </manifest> </archive> </configuration> diff --git a/plugins/plugins.md b/plugins/plugins.md new file mode 100644 index 0000000000000000000000000000000000000000..7467783f3ab4e074486fae1bc1e5ff10f088ffce --- /dev/null +++ b/plugins/plugins.md @@ -0,0 +1,14 @@ +# Plugins or Add-ons + +In one ViLLE task, a certain add-on package is used so that the package can actually be executed. This can be found in the build.xml file. + +Please note that when dependencies come into play, you should know what to do with them: + +* Are they copied along with the project? + +* Are they packaged into the jar package? + +These are not needed in the tasks, but you can familiarize yourself with the topic, for example, with the help of this stack-overflow answer: https://stackoverflow.com/a/23986765 + +It is also possible that the topic will be described later in this guide, but with the tasks in mind, this is extra and you do not need to learn it right now. + diff --git a/pom-xml.md b/pom_xml.md similarity index 95% rename from pom-xml.md rename to pom_xml.md index b4f6d0fb13bc1e119cc8c74059f86971f2e63b18..69a8fe62318270b9a5707fc6842f0f1e5251d3fe 100644 --- a/pom-xml.md +++ b/pom_xml.md @@ -28,4 +28,4 @@ A brief explanation of the XML format for those who are not familiar with it: It If XML is a completely unfamiliar format, most errors will likely be caused by not understanding what is contained within what. -Next, we will discuss the [basics from the guide basics.md](https://gitlab.utu.fi/TKO_2116/viikko-3/-/blob/main/perusteet.md) \ No newline at end of file +Next, we will discuss the [basics from the guide basics.md](basics_of_Maven.md) \ No newline at end of file