Installing Vaadin Plugin for Eclipse
The plugin includes:
- An integration plugin with wizards for
creating new Vaadin-based projects, themes, and client-side widgets
and widget sets.
- A visual editor for editing custom
composite user interface components in a WYSIWYG fashion. With full
round-trip support from source code to visual model and back, the
editor integrates seamlessly with your development process.
- A version of Book of Vaadin that you can
browse in the Eclipse Help system.
Installing the IvyDE Plugin
- Select
→ . - Add the IvyDE update site by clicking the
Enter a name such as "Apache Ivy Update Site" and the URL of the update site:
http://www.apache.org/dist/ant/ivyde/updatesite
Then click . The Vaadin site should now appear in the Available Software window.
button. - Select the new "Apache Ivy Update Site" from the Work
with list.
- Select the Apache Ivy, Apache Ivy
Ant Tasks, and Apache IvyDE plugins.
Then, click .
- Review the installation details and click
. - Accept or unaccept the license. Finally, click
. - Eclipse may warn about unsigned content. If you feel safe, click
.
- After the plugin is installed, Eclipse will ask to restart
itself. You can proceed to install the Vaadin plugin before the
restart, as described in the following section, so you can answer
.
Installing the Vaadin Plugin
- Select
→ . - Add the Vaadin plugin update site by clicking
http://vaadin.com/eclipse
. If you want or need to use the latest unstable plugin, which is usually more compatible with development and beta releases of Vaadin, you can usehttp://vaadin.com/eclipse/experimental
. Then click . The Vaadin site should now appear in the Available Software window.
button. - Select all the Vaadin plugins in the tree.
- Review the installation details and click
. - Accept or unaccept the license. Finally, click
. - After the plugin is installed, Eclipse will ask to restart
itself. Click
.
Updating the Plugins
- Select
→ . Eclipse will contact the
update sites of the installed software.
- After the updates are installed, Eclipse will ask to restart
itself. Click
.
Updating the Vaadin Libraries
- Open the
ivy.xml
in an editor Eclipse.
- Edit the entity definition at the beginning of the file to set the
Vaadin version.
<!ENTITY vaadin.version "7.0.1">
You can specify either a fixed version number, as shown in the above example, or a dynamic revision tag such aslatest.release
. You can find more information about the dependency declarations in Ivy documentation.
- Right-click the project and select
Updating the libraries can take several minutes. You can see the progress in the Eclipse status bar. You can get more details about the progress by clicking the indicator.
→ .
- If you have compiled the widget set for your project, recompile it
by clicking the
button in Eclipse toolbar.
- Stop the integrated Tomcat (or other server) in Eclipse, clear its
caches by right-clicking the server and selecting
as well as , and restart it.
If you experience problems after updating the libraries, you can try
clearing the Ivy resolution caches by right-clicking the project and
selecting
→ . Then, do the
→ and other tasks again. Update Vaadin 7 Project with Ivyde
Right click/ Ivyde / Resolve
Source:
https://vaadin.com/book/vaadin7/-/page/getting-started.eclipse.html
0 comments:
Post a Comment