Artur Signell 8b30dbf46f Handle unparsable JSON as invalid content (#11733) | 8 yıl önce | |
---|---|---|
.settings | 10 yıl önce | |
WebContent | 9 yıl önce | |
all | 9 yıl önce | |
bom | 9 yıl önce | |
build | 9 yıl önce | |
buildhelpers | 9 yıl önce | |
checkstyle | 10 yıl önce | |
client | 8 yıl önce | |
client-compiled | 9 yıl önce | |
client-compiler | 9 yıl önce | |
eclipse | 9 yıl önce | |
gwt | 9 yıl önce | |
liferay | 10 yıl önce | |
push | 9 yıl önce | |
scripts | 9 yıl önce | |
server | 8 yıl önce | |
shared | 8 yıl önce | |
tests/testbench/com/vaadin/tests/components | 10 yıl önce | |
themes | 9 yıl önce | |
uitest | 8 yıl önce | |
widgets | 9 yıl önce | |
.classpath | 9 yıl önce | |
.gitignore | 9 yıl önce | |
.project | 11 yıl önce | |
LICENSE | 9 yıl önce | |
README.md | 9 yıl önce | |
build.properties | 9 yıl önce | |
build.xml | 9 yıl önce | |
common.xml | 9 yıl önce | |
gwt-files.xml | 9 yıl önce | |
ivy-taskdefs.xml | 11 yıl önce | |
ivysettings-publish.xml | 10 yıl önce | |
ivysettings.xml | 9 yıl önce | |
pom-template.xml | 9 yıl önce | |
publish.properties | 11 yıl önce | |
publish.xml | 9 yıl önce |
Vaadin is a Java framework for building modern web applications that look great, perform well and make you and your users happy.
For instructions about using Vaadin to develop applications, please refer to https://vaadin.com/learn
To contribute, first refer to https://vaadin.com/wiki/-/wiki/Main/Contributing+Code for general instructions and requirements for contributing code to the Vaadin framework.
Instructions on how to set up a working environment for developing the Vaadin framework follow below.
git clone https://github.com/vaadin/vaadin.git
For more details, see below
The Vaadin repository can be cloned using
git clone https://github.com/vaadin/vaadin.git
or using your favorite Git tool.
If using Windows, you might want to add these Git settings: core.autocrlf=false and core.fileMode=false.
Start Eclipse with the workspace you would like to use. It is usually a good idea to use the parent folder of the Git repository as the workspace folder.
You’ll need the Apache Ivy plug-in for Eclipse to build the project:
http://www.apache.org/dist/ant/ivyde/updatesite
in the “Work with:” text fieldIf you have installed IvyDE via the Eclipse Marketplace previously, make sure that you also have Apache Ivy Ant Tasks installed, which is not included in that IvyDE installation:
The project should compile without further configuration. If the project does not compile without errors, choose Ivy -> Resolve from the vaadin project popup menu to ensure all dependencies have been resolved.
Note that the first compilation takes a while to finish as Ivy downloads dependencies used in the projects.
Compile the default widget set by executing the default target in build/ide.xml in the vaadin project. In Eclipse this is done by opening build/ide.xml, right clicking on it and choosing Run As -> Ant Build.
The following preferences need to be set to keep the project consistent. You need to do this especially to be able to contribute changes to the project.
Line width: 72
Format comments: true
Join lines: true
Insert whitespace before closing empty end-tags: true
Indent-using spaces: true
Indentation size: 4
The vaadin project includes an embedded Jetty (com.vaadin.launcher.DevelopmentServerLauncher) which is used for running the UI tests. In Eclipse you can launch it using the included launch configuration: Right click on *eclipse/Development Server (vaadin).launch” and select Debug As -> Development Server (vaadin).
This launches a Jetty on port 8888 which allows you to run any UI class in the project by opening http://localhost:8888/run/<UI class name>?restartApplication in your browser, e.g. http://localhost:8888/run/com.vaadin.tests.components.label.LabelModes?restartApplication (Use ?restartApplication to ensure the correct UI is shown).
The unit tests for the projects can be run using
ant test
Note that the included Vaadin TestBench (browser) tests require access to a TestBench cluster, currently only available internally at Vaadin Ltd.
The distribution files can be built in two steps.
ant -f gwt-files.xml unpack.gwt
ant
in the project root directory (add -Dvaadin.version=1.2.3 to use a specific version number).