From: Kai Moritz Date: Fri, 13 Feb 2026 13:23:57 +0000 (+0100) Subject: Code-Listings in den Konvertierten Wordpress-Posts korrigiert X-Git-Url: https://juplo.de/gitweb/?a=commitdiff_plain;h=562c6ebac5a3909bdf42b0d98cae07258ea7fbc6;p=website Code-Listings in den Konvertierten Wordpress-Posts korrigiert --- diff --git a/content/blog/archive/2012/hibernate4-maven-plugin-1-0-released.md b/content/blog/archive/2012/hibernate4-maven-plugin-1-0-released.md index e05215ec..18ea6b21 100644 --- a/content/blog/archive/2012/hibernate4-maven-plugin-1-0-released.md +++ b/content/blog/archive/2012/hibernate4-maven-plugin-1-0-released.md @@ -22,11 +22,11 @@ That means, that you now can use it without manually downloading and adding it t Simply define it in your `plugins`-section... ``` - - de.juplo - hibernate4-maven-plugin - 1.0 - + + de.juplo + hibernate4-maven-plugin + 1.0 + ``` ...and there you go! diff --git a/content/blog/archive/2013/bidirectional-association-with-elementcollection.md b/content/blog/archive/2013/bidirectional-association-with-elementcollection.md index 14c414dc..58f02f88 100644 --- a/content/blog/archive/2013/bidirectional-association-with-elementcollection.md +++ b/content/blog/archive/2013/bidirectional-association-with-elementcollection.md @@ -19,7 +19,7 @@ Have you ever wondered, how to map a bidirectional association from an entity to So, here we go: Just add the `@Parent`-annotation to the attribute of your associated `@Embeddable`-class, that points back to its _parent_. -``` +```java @Entity class Cat { @@ -42,7 +42,6 @@ class Kitten ... } - ``` ## Drawback diff --git a/content/blog/archive/2013/combining-jetty-maven-plugin-and-wro4j-maven-plugin-for-dynamic-reloading-of-less-resources.md b/content/blog/archive/2013/combining-jetty-maven-plugin-and-wro4j-maven-plugin-for-dynamic-reloading-of-less-resources.md index 482ea771..cbb72864 100644 --- a/content/blog/archive/2013/combining-jetty-maven-plugin-and-wro4j-maven-plugin-for-dynamic-reloading-of-less-resources.md +++ b/content/blog/archive/2013/combining-jetty-maven-plugin-and-wro4j-maven-plugin-for-dynamic-reloading-of-less-resources.md @@ -18,18 +18,14 @@ Ever searched for a simple configuration, that lets you use your [jetty-maven-pl You cannot do both, use the [Client-side mode](http://www.lesscss.org/#usage "More about the client-side usage of LESS") of LESS to ease development and use the [lesscss-maven-plugin](https://github.com/marceloverdijk/lesscss-maven-plugin "Homepage of the official LESS CSS maven plugin") to automatically compile the LESS-sources into CSS for production. That does not work, because your stylesheets must be linked in different ways if you are switching between the client-side mode - which is best for development - and the pre-compiled mode - which is best for production. For the client-side mode you need something like: ```html - - ``` While, for the pre-compiled mode, you want to link to your stylesheets as usual, with: ```html - - ``` While looking for a solution to this dilemma, I stumbled accross [wro4j](https://code.google.com/p/wro4j/ "See the documentation of ths wounderfull tool"). Originally intended, to speed up page-delivery by combining and minimizing multiple resources into one through the use of a servlet-filter, this tool also comes with a maven-plugin, that let you do the same offline, while compiling your webapp. @@ -47,12 +43,11 @@ First, we configure **wro4j**, like as we want to use it to speed up our page. T wro.xml tells wro4j, which resources should be combined and how the result should be named. I am using the following configuration to generate all LESS-Sources beneath `base/` into one CSS-file called `base.css`: ```xml - /less/base/*.less - + ``` wro4j looks for `/less/base/*.less` inside the root of the web-context, which is equal to `src/main/webapp` in a normal maven-project. There are [other ways to specifie the resources](http://code.google.com/p/wro4j/wiki/ResourceTypes "See the resource locator documentation of wro4j for more details"), which enable you to store them elswhere. But this approach works best for our goal, because the path is understandable for both: the wro4j servlet-filter, we are configuring now for our development-environment, and the wro4j-maven-plugin, that we will configure later for build-time compilation. @@ -62,12 +57,10 @@ wro4j looks for `/less/base/*.less` inside the root of the web-context, which is wro.properties in short tells wro4j, how or if it should convert the combined sources and how it should behave. I am using the following configuration to tell wro4j, that it should convert `*.less`-sources into CSS and do that on _every request_: ```properties - managerFactoryClassName=ro.isdc.wro.manager.factory.ConfigurableWroManagerFactory preProcessors=cssUrlRewriting,lessCssImport postProcessors=less4j disableCache=true - ``` First of all we specify the `ConfigurableWroManagerFactory`, because otherwise, wro4j would not pick up our pre- and post-processor-configuration. This is a little bit confusing, because wro4j is already reading the `wro.properties`-file - otherwise wro4j would never detect the `managerFactoryClassName`-directive - and you might think: "Why? He is already interpreting our configuration!" But belive me, he is not! You can [read more about that in wro4j's documentation](http://code.google.com/p/wro4j/wiki/ConfigurableWroManagerFactory "Read the full story in wro4j's documentation"). The `disableCache=true` is also crucial, because otherwise, we would not see the changes take effect when developing with **jetty-maven-plugin** later on. The pre-processors `lessCssImport` and `cssUrlRewriting` merge together all our LESS-resources under `/less/base/*.less` and do some URL-rewriting, in case you have specified paths to images, fonts or other resources inside your LESS-code, to reflect that the resulting CSS is found under `/css/base.css` and not `/css/base/YOURFILE.css` like the LESS-resources. @@ -83,7 +76,6 @@ Configuring the filter in the **web.xml** is easy. It is explained in wro4j's [i This parameter lets you specify additional configuration options for the web.xml of your webapp. I am using the following configuration for my jetty-maven-plugin: ```xml - org.eclipse.jetty jetty-maven-plugin @@ -183,7 +175,6 @@ This parameter lets you specify additional configuration options for the web.xml - ``` The dependencies to **wro4j-core** and **wro4j-extensions** are needed by jetty, to be able to enable the filter defined below. Unfortunatly, one of the transitive dependencies of `wro4j-extensions` triggers an uggly error when running the jetty-maven-plugin. Therefore, all unneeded dependencies of `wro4j-extensions` are excluded, as a workaround for this error/bug. @@ -193,7 +184,6 @@ The dependencies to **wro4j-core** and **wro4j-extensions** are needed by jetty, And my jetty-web.xml looks like this: ```xml - *.css - ``` The filter processes any URI's that end with `.css`. This way, the wro4j servlet-filter makes `base.css` available under any path, because for exampl `/base.css`, `/css/base.css` and `/foo/bar/base.css` all end with `.css`. @@ -220,7 +209,6 @@ This is all, that is needed to develop with dynamically reloadable compiled LESS All that is left over to configure now, is the build-process. If you would build and deploy your webapp now, the CSS-file `base.css` would not be generated and the link to your stylesheet, that already works in our jetty-maven-plugin environment would point to a 404. Hence, we need to set up the **wro4j-maven-plugin**. I am using this configuration: ```xml - ro.isdc.wro4j wro4j-maven-plugin @@ -238,7 +226,6 @@ All that is left over to configure now, is the build-process. If you would build - ``` I connected the `run`-goal with the `package`-phase, because the statically compiled CSS-file is needed only in the final war. The `ConfigurableWroManagerFactory` tells wro4j, that it should look up further configuration options in our `wro.properties`-file, where we tell wro4j, that it should compile our LESS-resources. The ``-tag tells wro4j, where it should put the generated CSS-file. You can adjust that to suite your needs. @@ -256,7 +243,6 @@ If you already compile your LESS-resources with the lesscss-maven-plugin, you ca With a configuration like the above one, your LESS-resources and wro4j-configuration-files will be packed into your production-war. That might be confusing later, because neither wro4j nor LESS is used in the final war. You can add the following to your `pom.xml` to exclude these files from your war for the sake of clarity: ```xml - maven-war-plugin @@ -266,7 +252,6 @@ With a configuration like the above one, your LESS-resources and wro4j-configura - ``` ### What's next? diff --git a/content/blog/archive/2013/hibernate4-maven-plugin-1-0-1-released.md b/content/blog/archive/2013/hibernate4-maven-plugin-1-0-1-released.md index ea77ee21..a68dd721 100644 --- a/content/blog/archive/2013/hibernate4-maven-plugin-1-0-1-released.md +++ b/content/blog/archive/2013/hibernate4-maven-plugin-1-0-1-released.md @@ -25,7 +25,6 @@ Appart from two bugfixes, this version includes some minor improvements, which m ## Release notes: ``` - commit 4b507b15b0122ac180e44b8418db8d9143ae9c3a Author: Kai Moritz Date: Tue Jan 15 23:09:01 2013 +0100 diff --git a/content/blog/archive/2013/hibernate4-maven-plugin-1-0-2-release.md b/content/blog/archive/2013/hibernate4-maven-plugin-1-0-2-release.md index c76bfabd..22764b43 100644 --- a/content/blog/archive/2013/hibernate4-maven-plugin-1-0-2-release.md +++ b/content/blog/archive/2013/hibernate4-maven-plugin-1-0-2-release.md @@ -29,7 +29,6 @@ This release includes: ## Release notes: ``` - commit 4edef457d2b747d939a141de24bec5e32abbc0c7 Author: Kai Moritz Date: Fri Aug 2 00:37:40 2013 +0200 diff --git a/content/blog/archive/2014/aspectj-maven-plugin-can-not-compile-valid-java-7-0-code.md b/content/blog/archive/2014/aspectj-maven-plugin-can-not-compile-valid-java-7-0-code.md index e20d8223..c4df0ba2 100644 --- a/content/blog/archive/2014/aspectj-maven-plugin-can-not-compile-valid-java-7-0-code.md +++ b/content/blog/archive/2014/aspectj-maven-plugin-can-not-compile-valid-java-7-0-code.md @@ -15,7 +15,6 @@ url: /aspectj-maven-plugin-can-not-compile-valid-java-7-0-code/ I stumbled over a valid construction, that can not be compiled by the [aspectj-maven-plugin](http://mojo.codehaus.org/aspectj-maven-plugin/ "Jump to the homepage of the aspectj-maven-plugin"): ```java - class Outer { void outer(Inner inner) @@ -32,7 +31,6 @@ class Outer } } } - ``` This code might look very useless. @@ -41,15 +39,13 @@ I just striped down all other code, that was not needed, to trigger the error. If you put the class `Outer` in a maven-project and configure the aspectj-maven-plugin to weave this class with compliance-level 1.6, you will get the following error: -``` - +```log [ERROR] Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.6:compile (default-cli) on project shouter: Compiler errors: [ERROR] error at outer.inner(this); [ERROR] [ERROR] /home/kai/juplo/shouter/src/main/java/Outer.java:16:0::0 The method inner(Outer.Inner) is undefined for the type Outer [ERROR] error at queue.done(this, System.currentTimeMillis() - start); [ERROR] - ``` The normal compilation works, because the class is syntactically correct Java-7.0-Code. diff --git a/content/blog/archive/2014/hibernate4-maven-plugin-1-0-3-released.md b/content/blog/archive/2014/hibernate4-maven-plugin-1-0-3-released.md index 3b3d35d5..f91134fa 100644 --- a/content/blog/archive/2014/hibernate4-maven-plugin-1-0-3-released.md +++ b/content/blog/archive/2014/hibernate4-maven-plugin-1-0-3-released.md @@ -37,7 +37,6 @@ Many thanks also to Stephen Johnson and Eduard Szente, who pointed out bugs and ## Release notes: ``` - commit adb20bc4da63d4cec663ca68648db0f808e3d181 Author: Kai Moritz Date: Fri Oct 18 01:52:27 2013 +0200 diff --git a/content/blog/archive/2014/hibernate4-maven-plugin-1-0-4-released.md b/content/blog/archive/2014/hibernate4-maven-plugin-1-0-4-released.md index 129d50fb..211fa7a3 100644 --- a/content/blog/archive/2014/hibernate4-maven-plugin-1-0-4-released.md +++ b/content/blog/archive/2014/hibernate4-maven-plugin-1-0-4-released.md @@ -28,7 +28,6 @@ If you have some special small-sized (example) use-cases for the plugin, we woul ## Release notes: ``` - commit f3dabc0e6e3676244986b5bbffdb67d427c8383c Author: Kai Moritz Date: Mon Jun 2 10:31:12 2014 +0200 diff --git a/content/blog/archive/2014/rooting-the-hama-00054807-internet-tv-stick-with-the-help-of-factory_update_param-aml.md b/content/blog/archive/2014/rooting-the-hama-00054807-internet-tv-stick-with-the-help-of-factory_update_param-aml.md index c8ce6b39..2632dce9 100644 --- a/content/blog/archive/2014/rooting-the-hama-00054807-internet-tv-stick-with-the-help-of-factory_update_param-aml.md +++ b/content/blog/archive/2014/rooting-the-hama-00054807-internet-tv-stick-with-the-help-of-factory_update_param-aml.md @@ -23,7 +23,7 @@ I began with opening the device and found the device-ID `B.AML8726.6B 12122`. Bu ## Boot Into Recovery -{{< figure align="left" width=300 src="/wp-uploads/2014/02/hama%5F00054807%5Fstock%5Frecovery-300x199.jpg" alt="stock recovery screenshot" caption="stock recovery screenshot" >}} +![stock recovery screenshot](/wp-uploads/2014/02/hama_00054807_stock_recovery.jpg "stock recovery screenshot") I found out, that you can boot into recovery, by pressing the reset-button, while the stick is booting. You can reach the reset-button without the need to open the case through a little hole in the back of the device. Just hold the button pressed, until recovery shows up (see screenshot). @@ -34,9 +34,7 @@ Unfortunatly, the keyboard does not work, while you are in recovery-mode. So at But I found out, that you can control stock recovery with the help of a file called `factory_update_param.aml`, which is read from the external sd-card and interpreted by stock recovery on startup. Just create a text-file with the following content (I think it should use [unix stle newlines, aka LF](http://en.wikipedia.org/wiki/Newline#Representations "Learn more about line endings")): ```html - --update_package=/sdcard/update.zip - ``` Place this file on the sd-card and name it `factory_update_param.aml`. Now you can place any suitable correctly signed android-update on the sd-card and rename it to `update.zip` and stock recovery will install it upon boot, if you boot into recovery with the sd-card inserted. @@ -44,12 +42,10 @@ Place this file on the sd-card and name it `factory_update_param.aml`. Now you c If you want to wipe all data as well and factory reset your device, you can extend `factory_update_param.aml` like this: ```html - --update_package=/sdcard/update.zip --wipe_data --wipe_cache --wipe_media - ``` But be carefull to remove these extra-lines later, because they are executed _every time_ you boot into recovery with the sd-card inserted! You have been warned :) diff --git a/content/blog/archive/2014/running-aspectj-maven-plugin-with-the-current-version-1-8-1-of-aspectj.md b/content/blog/archive/2014/running-aspectj-maven-plugin-with-the-current-version-1-8-1-of-aspectj.md index 1dc0f6c9..07cc4c49 100644 --- a/content/blog/archive/2014/running-aspectj-maven-plugin-with-the-current-version-1-8-1-of-aspectj.md +++ b/content/blog/archive/2014/running-aspectj-maven-plugin-with-the-current-version-1-8-1-of-aspectj.md @@ -22,7 +22,6 @@ This can be done, by overwriting its dependency to the bundled aspectj. This definition of the plugin does the trick: ```xml - org.codehaus.mojo aspectj-maven-plugin @@ -51,13 +50,11 @@ This definition of the plugin does the trick: - ``` The crucial part is the explicit dependency, the rest depends on your project and might have to be adjusted accordingly: ```xml - org.aspectj @@ -65,7 +62,6 @@ The crucial part is the explicit dependency, the rest depends on your project an 1.8.1 - ``` I hope, that helps, folks! diff --git a/content/blog/archive/2015/bypassing-the-same-origin-policiy-for-loal-files-during-development.md b/content/blog/archive/2015/bypassing-the-same-origin-policiy-for-loal-files-during-development.md index 8482a488..b6a8beaa 100644 --- a/content/blog/archive/2015/bypassing-the-same-origin-policiy-for-loal-files-during-development.md +++ b/content/blog/archive/2015/bypassing-the-same-origin-policiy-for-loal-files-during-development.md @@ -22,9 +22,7 @@ Furthermore, the browsers behave very differently here. Firefox, for example, just states, that the download of the font failed: ```bash - downloadable font: download failed (font-family: "XYZ" style:normal weight:normal stretch:normal src index:0): status=2147500037 source: file:///home/you/path/to/font/xyz.woff - ``` Meanwhile, Chrome just happily uses the same font. @@ -32,9 +30,7 @@ Considering the SVG-graphics, that are not shown, Firefox just does not show the Chrome logs an error: ```bash - Unsafe attempt to load URL file:///home/you/path/to/project/img/sprite.svg#logo from frame with URL file:///home/you/path/to/project/templates/layout.html. Domains, protocols and ports must match - ``` ...though, no protocol, domain or port is involved. @@ -54,22 +50,18 @@ I often violate that rule, when developing templates for dynamically rendered pa That is, because I like to place the template-files on a subdirectory of the directory, that contains my webapp ( `src/main/webapp` with Maven): ``` - + src/main/webapp/ + css/ + img/ + fonts/ + thymeleaf/templates/ - ``` I packed a simple example-project for developing static templates with [LESS](http://lesscss.org/ "Read more about less"), [nodejs](https://nodejs.org/ "Read more about nodejs") and [grunt](http://gruntjs.com/ "Read more about grunt"), that shows the problem and the [quick solution for Firefox](#quick-solution "Jump to the quick solution for Firefox") presented later. You can browse it on my [juplo.de/gitweb](/gitweb/?p=examples/template-development;a=tree;h=1.0.3;hb=1.0.3 "Browse the example-project on juplo.de/gitweb"), or clone it with: ```bash - git clone /git/examples/template-development - ``` ## Cross-Browser Solution @@ -106,7 +98,6 @@ This can be used to bypass the policy, if you place a file with a frameset in th In [my case](#my-case "See the directory-tree I use this frameset with"), the frameset-file looks like this: ```html - @@ -117,5 +108,4 @@ In [my case](#my-case "See the directory-tree I use this frameset with"), the fr - ``` diff --git a/content/blog/archive/2015/hibernate4-maven-plugin-1-0-5-released.md b/content/blog/archive/2015/hibernate4-maven-plugin-1-0-5-released.md index 0c371b99..3e7b0547 100644 --- a/content/blog/archive/2015/hibernate4-maven-plugin-1-0-5-released.md +++ b/content/blog/archive/2015/hibernate4-maven-plugin-1-0-5-released.md @@ -36,7 +36,6 @@ _If you stumble across any problems, please let me know!_ ## Release notes: ``` - commit ec30af2068f2d12a9acf65474ca1a4cdc1aa7122 Author: Kai Moritz Date: Tue Nov 11 15:28:12 2014 +0100 diff --git a/content/blog/archive/2015/hibernate4-maven-plugin-1-1-0-released.md b/content/blog/archive/2015/hibernate4-maven-plugin-1-1-0-released.md index 6c23931e..145dc1c9 100644 --- a/content/blog/archive/2015/hibernate4-maven-plugin-1-1-0-released.md +++ b/content/blog/archive/2015/hibernate4-maven-plugin-1-1-0-released.md @@ -38,7 +38,6 @@ This release also fixes a bug, that occured on some platforms, if the path to th ## Release notes: ``` - commit 94e6b2e93fe107e75c9d20aa1eb3126e78a5ed0a Author: Kai Moritz Date: Sat May 16 14:14:44 2015 +0200 diff --git a/content/blog/archive/2015/integrating-a-maven-backend-with-a-nodjsgrunt-fronted-project.md b/content/blog/archive/2015/integrating-a-maven-backend-with-a-nodjsgrunt-fronted-project.md index dc3f81bf..faf1c510 100644 --- a/content/blog/archive/2015/integrating-a-maven-backend-with-a-nodjsgrunt-fronted-project.md +++ b/content/blog/archive/2015/integrating-a-maven-backend-with-a-nodjsgrunt-fronted-project.md @@ -48,7 +48,6 @@ As it turned out, there are several npm-plugins for managing and building sub-pr I programmed a simple [Gruntfile](/gitweb/?p=examples/maven-grunt-integration;a=blob_plain;f=Gruntfile.js;hb=2.0.0 "Download the Gruntfile from juplo.de/gitweb"), that lets you do exactly this: ```javascript - module.exports = function(grunt) { grunt.loadNpmTasks('grunt-newer'); @@ -83,7 +82,6 @@ module.exports = function(grunt) { grunt.registerTask('default', [ 'frontend' ]); }; - ``` This Gruntfile loads the npm-taks [grunt-newer](https://www.npmjs.com/package/grunt-newer "Read more about the npm-plugin grunt-newer"). @@ -97,19 +95,15 @@ The frontend-project is then included into the backend, which is managed by mave The whole example can be browsed at [juplo.de/gitweb](/gitweb/?p=examples/maven-grunt-integration;a=tree;h=2.0.0 "Browse the example on juplo.de/gitweb") or cloned with: ```bash - git clone /git/examples/maven-grunt-integration - ``` Be sure to checkout the tag `2.0.0` for the corresponding version after the cloning, in case i add more commits to demonstrate other stuff. Also, you have to init and clone the submodule after checkout: ```bash - git submodule init git submodule update - ``` If you run `mvn jetty:run`, you will notice, that the frontend-maven-plugin will automatically download Nodejs into a the folder `node` of the parent-project. diff --git a/content/blog/archive/2015/logging-request-and-response-data-from-requets-made-through-resttemplate.md b/content/blog/archive/2015/logging-request-and-response-data-from-requets-made-through-resttemplate.md index 06a0e5e0..20a61566 100644 --- a/content/blog/archive/2015/logging-request-and-response-data-from-requets-made-through-resttemplate.md +++ b/content/blog/archive/2015/logging-request-and-response-data-from-requets-made-through-resttemplate.md @@ -19,19 +19,15 @@ In its default configuration, the `RestTemplate` uses the [HttpClient](https://h You can verify this and the used version with the mvn-command ```bash - mvn dependency:tree - ``` To enable for example logging of the HTTP-Headers send and received, you then simply can add the following to your logging configuration: ```xml - - ``` ## Possible Pitfalls diff --git a/content/blog/archive/2015/replace-text-by-graphic-without-extra-markup.md b/content/blog/archive/2015/replace-text-by-graphic-without-extra-markup.md index 068571d0..beb65a5c 100644 --- a/content/blog/archive/2015/replace-text-by-graphic-without-extra-markup.md +++ b/content/blog/archive/2015/replace-text-by-graphic-without-extra-markup.md @@ -13,8 +13,7 @@ url: /replace-text-by-graphic-without-extra-markup/ --- Here is a little trick for you, to replace text by a graphic through pure CSS without the need to add extra markup: -```java - +```css SELECTOR { text-indent: -99em; @@ -26,7 +25,6 @@ SELECTOR:after text-indent: 0; content: REPLACEMENT; } - ``` `SELECTOR` can be any valid CSS-selector. diff --git a/content/blog/archive/2015/serve-static-html-with-nodjs-and-grunt.md b/content/blog/archive/2015/serve-static-html-with-nodjs-and-grunt.md index d63b039a..201fc3f8 100644 --- a/content/blog/archive/2015/serve-static-html-with-nodjs-and-grunt.md +++ b/content/blog/archive/2015/serve-static-html-with-nodjs-and-grunt.md @@ -29,33 +29,25 @@ This might not be the best solutions, but it is a good starting point for beginn You can browse the example-development-environment on [juplo.de/gitweb](/gitweb/?p=examples/template-development;a=tree;h=1.0.3;hb=1.0.3 "Browse the example development-environment on juplo.de/gitweb"), or clone it with: ```bash - git clone /git/examples/template-development - ``` After [installing npm](https://docs.npmjs.com/getting-started/installing-node "Read how to install npm") you have to fetch the dependencies with: ```bash - npm install - ``` Than you can fire up a build with: ```bash - grunt - ``` ...or start a webserver for development with: ```bash - git run-server - ``` ## Serving The HTML and CSS For Local Development @@ -69,7 +61,6 @@ That is the main reason, why I am writing this explanation now, in order to fill I realised that goal by implemnting a grunt-task, that spawn's a process that uses the [http-server](https://www.npmjs.com/package/http-server "Read the description of the plugin on npm") to serve up the files and combine that task with a common watch-task: ```javascript - grunt.registerTask('http-server', function() { grunt.util.spawn({ @@ -81,7 +72,6 @@ grunt.registerTask('http-server', function() { }); grunt.registerTask('run-server', [ 'default', 'http-server', 'watch' ]); - ``` The rest of the configuration is really pretty self-explaining.