You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

addons-downloading.asciidoc 2.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ---
  2. title: Downloading Add-ons from Vaadin Directory
  3. order: 4
  4. layout: page
  5. ---
  6. [[addons.downloading]]
  7. = Downloading Add-ons from Vaadin Directory
  8. If you are not using Maven or a Maven-compatible dependency manager such as Ivy,
  9. or want to manage for your libraries manually, you can download add-on packages
  10. from the details page of an add-on in Vaadin Directory.
  11. . Select the version; some add-ons have several versions available. The latest is
  12. shown by default, but you can choose another the version to download from the
  13. dropdown menu in the header of the details page.
  14. . Click [guibutton]#Download Now# and save the JAR or Zip file on your computer.
  15. . If the add-on is packaged in a Zip package, unzip the package and follow any
  16. instructions provided inside the package. Typically, you just need to copy a JAR
  17. file to your web project under the [filename]#WEB-INF/lib# directory.
  18. +
  19. Note that some add-ons may require other libraries. You can resolve such
  20. dependencies manually, but we recommend using a dependency manager such as Ivy
  21. or Maven in your project.
  22. . Update and recompile your project. In Eclipse, select the project and press F5.
  23. . You may need to compile the client-side implementations of the add-on
  24. components, that is, a __widget set__. This is the case for majority of add-ons,
  25. except for pure server-side, theme, or data binding add-ons. Compiling the
  26. widget set depends on the build environment. See <<addons.downloading.ant>>, or
  27. later in this chapter for instructions for compiling the widget set with Eclipse
  28. and Maven.
  29. ////
  30. See &lt;xref linkend="addons.compiling"/&gt; for
  31. instructions.
  32. ////
  33. . Update the project in your development web server and possibly restart the
  34. server.
  35. [[addons.downloading.ant]]
  36. == Compiling Widget Sets with an Ant Script
  37. If you need to compile the widget set with an Ant script, you can find a script
  38. template package at the link:http://vaadin.com/download/[Vaadin download page].
  39. You can copy the files in the package to your project and, once configured, use
  40. it by running Ant in the directory.
  41. If you are using an IDE such as Eclipse, __always__ remember to refresh the
  42. project to synchronize it with the filesystem after compiling the widget set
  43. outside the IDE.