Compile And Use Vaadin 6 Addons (2)

Emir Buğra KÖKSALAN tarafından tarihinde yayınlandı

Now lets create a new Maven project.

newproject

And RightClick -> Properties -> Project Facets -> “Convert to faceted form” -> Select “Dynamic Web Module” and OK.

dynamicwebmodule

Now Eclipse adds the WebContent folder. There are META-INF and WEB-INF folders now. We must create these folders:

src/main/webapp/VAADIN/widgetsets/

Eclipse will add the compiled widgetset files to here. Now we must add dependencies and write some code with addon (Invient Chart). I won’t explain how to create it but I will show you the current status of project:

project structure 1

Now open a terminal and go to ~/workspace/vaadinwidgetset/ folder and enter these commands:

$ mvn clean package
$ rm -rf -- /opt/tomcat/webapps/vaadinwidgetset/
$ cp target/vaadinwidgetset-0.0.1-SNAPSHOT.war /opt/tomcat/webapps/vaadinwidgetset.war

And now go to this url (my tomcat configured to http ssl connection. May be yours not):

https://localhost:8443/vaadinwidgetset/

TO BE CONTINUE


Emir Buğra KÖKSALAN

Java & PHP Developer

0 yorum

Bir yanıt yazın

Avatar yer tutucu

E-posta adresiniz yayınlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir

Time limit is exhausted. Please reload the CAPTCHA.

Bu site, istenmeyenleri azaltmak için Akismet kullanıyor. Yorum verilerinizin nasıl işlendiği hakkında daha fazla bilgi edinin.