Hello All,
I’ve been away from the forums[1]
for the last few months, working on other non-Vaadin related projects; however, I am in the early stages of planning and designing a new web application.
All that’s a roundabout way of saying I haven’t flexed my Vaadin (or, indeed, web-application) muscles for a while, so please forgive the simple newbie style questions that are about to follow.
I am trying to set up a small experimental/prototype web application using Vaadin. I want to use some add-ons from the directory : we don’t use Eclipse, and so we don’t use the Eclipse plugin. We are not (yet) developing our own Widgets.[2]
From what I remember, I believe I need to do the following
- Reference a custom widgetset in the web.xml
- Generate the widgetset based on all the widgets in the add-ons (IIRC this is an xml file saying what other widgetsets are being used)
- Compile the widgetset (generate the gwt javascript and the css/images used by the widgets in the widgetset)
Questions
a) Have I missed any steps?
b) Are there any unecessary steps?
c) How do I do 2 & 3?
I have been trying to deconstruct both the
NetBeans build-widgetset.xml
and the
vaadin-6.4.4\WebContent\docs\example-source\build-widgetset.xml
but I think I am going round and round in circles - I think it’s the references to “src”, when I am not compiling any of my own widgets, that’s throwing me.
In short, I’d like to develop a simple ant build file with the following customizable properties
a) the name of the widgetset to generate and compile
a) a vaadin installation directory (because it’ll contain the necessary version of gwt)
b) a directory containing all the add-ons I want to use
c) an output directory (e.g. the web root)
I suspect that both of the ant files reference above are almost - or quite possibly exactly - there; I just can’t quite cross the last hurdle!
Any and all help/pointers will be gratefully received; if I succeed in building/mangling thisbuild file, and others consider such a thing useful, I’ll happily return it to the community.
Cheers,
Charles.
[1]
This is the second time I’ve constructed this post : I hate the editor for this forum! I ended up retyping everything in a text editor, just so I wouldn’t lose it when I tried to insert tokens using the Toolbar…
[2]
Nor do we use Netbeans and it’s plugin : for what it’s worth, we use an old version (7.0.5) IntelliJ. We can’t really justify upgrading versions, and since we’ve been using IntelliJ for more than 7 years, my fingers and brain are pretty much wired-in to their way of thinking; I’ve tried many times, but I just can’t get comfortable and productive in Eclipse. Some of our dev’s do use Eclipse, but the majority don’t.