Continuous Integration and Non-desktop Builds

Hi all,

I am interested in setting up a continuous integration environment for our work with Servoy. However, I’m new to Servoy, and wanted to jump my knowledge ahead on this front.

Is it possible with Servoy to:
– build solutions from the command line (i.e. via Ant, Maven, etc.)?
– run JSunit tests on Servoy-based code from the command line?

Thanks,

Guerry

Hi Guerry,

the thing is that you don’t ‘build’ Servoy solutions. Or if you prefer the continuous build is done each time you save a form (or form’s script).
You have to understand that you are coding in JavaScript not Java, and JavaScript being an interpreted language, you don’t need to compile it (internally the Rhino library would compile your script but it is doing it on the fly - like a Just-In-Time compiler), so the solution is always in a built state.

That being said, for JSUnit it could be nice to have a way of launching them from the command line or maven/ant.
But I guess you will have to write that yourself, and I can only imagine that it might be achieved with a combination of bash/command line scripts + Servoy web services built in your solution that you would call to start the JSUnit tests.

Patrick,

Thanks for the response.

Yes, I was aware of the JavaScript/Java cycle. Using the term build here was somewhat shakey ground. :-) Being new to Servoy, I’m still learning my trust boundaries: if this setup builds/compiles on this machine, will it do so on that machine over there? So far, it looks that Servoy solutions, etc. are pretty self-contained, and so this may not be a concern. I’ve considered just going the old XP route of having the dedicated, minimal integration box where we can manually checkout and confirm the build regularly, and also run tests.

I’ll look into the testing scenario you mentioned. Lots to still learn.

hi all,
I have developed a DLL using dot net that provide synchronization between my servoy application and the outlook.
the DLL is working fine by when i get record from outlook and add those record in sybase database,which is working as a back-end in my sevoy application , the UI of my sevoy application does not show those record in complete, but it shows only few field.

please guide me in right direction
thanks all

Zahid,

I think your question has nothing to do with the topic of this thread.

If you’d like your question answered, I suggest posting the question in the relevant forum as a separate thread.

Paul

Is it possible with Servoy to:
– build solutions from the command line (i.e. via Ant, Maven, etc.)?
– run JSunit tests on Servoy-based code from the command line?

An unfortunate “no” on both accounts for now, but in the next major version of Servoy we will make such things possible.

There’ll be a session on this topic at ServoyWorld 2011. Hope to see you there.

Paul

Hi guys,

is there any progress on this topic?

Nevena

Yes http://wiki.servoy.com/display/public/tutorials/Building+a+Software+Factory
But you already knew that :). (SVY-4262)

Just bumping the thread as it could be used to have further discussions.