Editor Settings for Contributors
How to organize your development environment for Vaadin documentation contributions.
Setting up your development environment as do Vaadin employees makes it easier to review and accept code contributions.
Copyright Notice
All source code files need to include a copyright notice at the beginning of the file.
-
Open
(Windows) or (Mac) -
On the
page, edit the template to add the copyright text:
Copyright 2000-${currentDate:date('yyyy')} Vaadin Ltd.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under
the License.
Known Problems in Configuration
IntelliJ IDEA has a known problem with importing sources of other modules as resources. This affects the Flow project where flow-client
has flow-server
sources as a resource.
The fix for this is to comment out the flow-server
resource for the flow-client/pom.xml
(source) during development.
To build the flow-client
package, remember to un-comment the resource. And don’t commit this change to the repository.
<!--
<resource>
<directory>../flow-server/src/main/java</directory>
</resource>
-->
A0EF8ED7-DED5-454E-A5D0-DA4F9669F650