Navigation Menu

Skip to content

Commit

Permalink
add description to atomatically add license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
lharzenetter committed Nov 15, 2017
1 parent 003b93c commit 583b824
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
7 changes: 1 addition & 6 deletions docs/dev/CodeHeaders.md
Expand Up @@ -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.
Expand All @@ -22,11 +22,6 @@ This file explains how to create and maintain copyright headers in source files.

See also <https://www.eclipse.org/projects/handbook/#ip-copyright-headers>.

## 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
Expand Down
5 changes: 5 additions & 0 deletions docs/dev/config/IntelliJ IDEA/README.md
Expand Up @@ -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 <kbd>Ctrl</kbd> + <kbd>Alt</kbd> + <kbd>S</kbd>
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`
Expand Down

0 comments on commit 583b824

Please sign in to comment.