Vaadin 7 samples with maven - java

I am new to Vaadin, I would like to find easy to start Vaadin 7 examples with maven(I do not want to download jars manually). I have seen this github repositores, but had problem when trying to build project. github.com/nfrankel/More-Vaadin
Also are there a official examples from Vaadin.? I use IDEA as a ide.
Thanks.

You'll find the latest stable version of Vaadin at https://vaadin.com/download. Here you are also given the maven archetype so you can build a quickstart with the latest version, so you just run that command and don't have to download any jars.
The link to the wiki that Sean Connolly gave you is also good cause it has some starter tips on what to do when you built the archetype.
The following is also a tutorial for integrating GWT widgets: http://java.dzone.com/articles/using-gwt-widgets-vaadin-7

Related

Configuring Eclipse for Drools

I'm new to drools and I'm trying to configure drools in Eclipse IDE. I manged to install the drools plugin, but I'm stuck at installing GEF plugin. I'm using this link to install the plugin http://download.eclipse.org/tools/gef/updates/releases/ and see many options. Options doesn't match with the options in the drools documentation. Please check the screen shot below. Also if someone can point out whats the use of this plugin and how we can actually use this it will be really helpful.
I had the same problem, installing Drools messed up some of Spring STS plugin features in my eclipse. I used JBOSS Developer Studio and had no problems (ships with all Drools related tools), I downloaded it from jboss-downloads.

How to share code between Eclipse Swing/maven and Androidstudio / gradle project?

I am an experienced Java developer with years of familarity with Eclipse and Maven.
My goal is to create an android application and I am getting familiar with the latest Development environment Android Studio 2.3.2 which obviously uses Java 8 and Gradle. The app shall share code with an Eclipse based project that uses maven and Swing and is also Java 8 based. I am intending to publish the result as an open source project on github.
I found e.g.
https://github.com/uhafner/android-config as an example but that seems to be outdated.
https://github.com/cgeo/cgeo - which explictly states that eclipse is only used for codewriting/testing
Gradle project for plain Java and Android with single source tree suggests an answer for a gradle only approach that has a tutorial link as an answer (which is not accepted) and no example
https://github.com/javadev/calc which is purely maven driven and has two pom.xml files
https://github.com/adrian/upm-swing and https://github.com/adrian/upm-android simply have copied subdirectories instead of any kind of shared config management
How feasible is a combined maven/gradle project structure?
What would be a proper way to structure the project files to accomplish the above goals?
What are good examples projects that follow a similar approach?
My reason to be reluctant with Gradle and IntelliJ is obvious. It is an unfamiliar environment for me and android is not the main target of my development.
Part of the answer seems be covered at:
Can Android Studio be used to run standard Java projects?
I got somewhat of a success with the project https://github.com/BITPlan/can4eve
but would appreciate some help on the android studio / gradle side of things.
The project also has travis support built in and I am also running nightly Jenkins checks based on maven.

How to install OpenNTF Domino API 3.1.0 in Eclipse Mars for use with OSGi plugins?

I wanted to try using ODA when doing OSGi plugin development and found this example by Paul Withers:
http://www.intec.co.uk/wp-content/uploads/2015/10/com.paulwithers.demoServlet.update.3.0.zip
Problem after importing project is that ODA Dependencies (required plug-ins) are not resolved for 'org.openntf.domino' and 'org.openntf.domino.xsp'.
Trying to install ODA 3.1.0 in Eclipse Mars yields the following error:
Missing requirement: OpenNTF Domino API requires 'com.ibm.icu.base 0.0.0' but it could not be found
How to resolve?
Best regards from Ove
I've found it best to not actually install ODA into Eclipse, but instead add it to the Target Platform. What I do nowadays is, with an Eclipse workspace dedicated to XPages-targetted development, I create a new Target Platform definition in Preferences - Plug-in Development - Target Platform that points to each library I'm using, as well as the Update Site for Build Management IBM put together. For example, from one project I have:
That also helps for Maven builds, since then I can point to those repos from the pom and have a consistent Target Platform all around.
Do you have XPages SDK installed? That will point to all the relevant Domino-related jar files.
If more discussion is needed, it may be best to ask in ODA arera of OpenNTF Slack Chat. If you're not already in there (I can't see your name) you can join at https://openntfslackin.mybluemix.net/

What JARs are needed for Spring 4.2.6 version to create a CRUD project using Eclipse Mars

I'm creating Spring MVC CRUD Operations for a sample project. But I'm
confused what JARs should I need to build. when I look at some tutorials they
were using Spring 3.0.1 version. When I add the same JARs the project is not
able to run. I have created the same copy of the tutorial for code. But I'm
unable to run. Please help me with this task.
Use maven plugin to create the project. Mars has inbuilt maven plugin.
Go through this link.
Link

How do I migrate an Eclipse GAE project to Maven such that it won't be tied to Eclipse?

I have an open source Eclipse Google App Engine project (it's called LastCalc and it's open source, you can find it here, created using the GAE Eclipse plugin.
The problem is that several months ago I switched IDEs to IntelliJ IDEA. Since most of my projects were Maven-based this wasn't an issue, but LastCalc was stubbornly tied to Eclipse.
I'm hoping that someone can suggest an easy way to migrate this project to Maven such that it will work nicely in both IDEA and Eclipse.
We released the app engine maven plugin and a gustbook sample with that plugin. I don't think the manual migration is very difficult. You can create a directory structure similar to our guestbook sample and copy your source and resource files. Dependency might be a bit cumbersome, so maybe you can try the 'Convert to Maven Project' functionality of the newer version of m2eclipse.

Categories

Resources