diff --git a/docs/dev/CodeHeaders.md b/docs/dev/CodeHeaders.md index 65f689f641..a68f9f54eb 100644 --- a/docs/dev/CodeHeaders.md +++ b/docs/dev/CodeHeaders.md @@ -6,7 +6,7 @@ This file explains how to create and maintain copyright headers in source files. ``` /******************************************************************************** - * Copyright (c) {date} Contributors to the Eclipse Foundation + * Copyright (c) ${year} Contributors to the Eclipse Foundation * * See the NOTICE file(s) distributed with this work for additional * information regarding copyright ownership. @@ -22,11 +22,6 @@ This file explains how to create and maintain copyright headers in source files. See also . -## Templates -* Company: John Smith (University of Stuttgart) -* Student: John Smith -* Copyright (c) 2013 John Smith (University of Stuttgart). - ## Full information Full information is available at: http://www.eclipse.org/legal/copyrightandlicensenotice.php diff --git a/docs/dev/config/IntelliJ IDEA/README.md b/docs/dev/config/IntelliJ IDEA/README.md index 52b1350c7e..65eedab76e 100644 --- a/docs/dev/config/IntelliJ IDEA/README.md +++ b/docs/dev/config/IntelliJ IDEA/README.md @@ -28,6 +28,11 @@ Preparation: Generate a war to have all dependencies fetched by maven: `mvn pack 7. Press "OK" 8. Press "Close" 9. Press "OK" +5. Setup code headers to be inserted automatically + 1. Open the Settings by pressing Ctrl + Alt + S + 2. Go to "Editor > File and Code Templates page" + 3. Edit each java, typescript, html and xml template to contain the license header shown in [CodeHeaders.md](../../CodeHeaders.md) + 4. Click apply 6. Setup tomcat as usual. In case you develop the backend, use following configuration: - `org.eclipse.winery.repository.rest:war exploded` to `/winery` - External artifact `.../org.eclipse.winery.repository.ui/target/winery-ui.war` to `/winery-ui`