Question

I'm starting with Vaadin and I'd like to know if it's possible work with this framework in NetBeans without using maven. The reason is the project using maven takes ages downloading dependencies and never reaches to run because of a timeout connection problem.

I've downloaded the All-in-one file and tried following these README.txt file instructions:

  1. Copy all vaadin-* files except vaadin-client and vaadin-client-compiler to WEB-INF/lib in your project
  2. Copy lib/*.jar to WEB-INF/lib in your project
  3. Copy vaadin-client and vaadin-client-compiler to a lib folder which is on your classpath but will not be deployed. These files are only needed when compiling a module (widget set) to Javascript.

But had no luck compiling the widgetset.

I was looking for a couple of days but I can't find a way to make it work. I've read the Book of Vaadin section about NetBeans and I've searched in Google with no positive result.

I know questions asking for tutorials or libraries are off-topic in this site but I really don't know how sort this issue. Any hint will be appreaciated.

Was it helpful?

Solution

We initially also wished to do netbeans development with vaadin 7, without having to use the maven stuff.

In Vaadin6 this was simple, it worked fine. But for Vaadin 7 we have not been able to do it in a reasonable way. So we finally switched to maven for the Vaadin7 projects.

You can install a nexus repository which caches the maven downloads, so it can prevent the timeout problems.

Not sure what the Vaadin Plugin actually allows you to do, but perhaps this one also works without maven?

OTHER TIPS

If it's a dependency issue, you can use Maven to download all jars to a directory and then add the jars to a netbeans project. e.g. Using Maven to download dependencies to a directory on the command line

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top