Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Build Tool for RAP
Build Tool for RAP [message #1228031] Mon, 06 January 2014 08:38 Go to next message
S. SchulzFriend
Messages: 72
Registered: September 2011
Member
Hello!

A question to all companies using RAP productively:

What tool do you use to automatically build your software components?

Thanks for taking the time to answer!
Re: Build Tool for RAP [message #1228098 is a reply to message #1228031] Mon, 06 January 2014 12:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

In the past we used Ant scripts - you can do everything in your way, but the support in large scale is comparatively higher.
Now for the plugins - Maven with "eclipse-plugin" packaging and for the WAR itself - "maven-war-plugin" packaging. We still need to maintain the config.ini file manually as well as the overall WAR directory structure required by the RAP application.

Is it what you are looking for?

Regards,
Nedelcho
Re: Build Tool for RAP [message #1228120 is a reply to message #1228098] Mon, 06 January 2014 13:05 Go to previous messageGo to next message
S. SchulzFriend
Messages: 72
Registered: September 2011
Member
Yes, thanks for answering!

We have exactly the same history, but we somehow doubt Tycho is the best approach, because of the lack of JUnit support and because managing "config.ini" and the WAR folder are error prone. So we are looking around for a build tool that is closer to the Eclipse way.
Re: Build Tool for RAP [message #1228170 is a reply to message #1228120] Mon, 06 January 2014 15:13 Go to previous messageGo to next message
Eclipse UserFriend
OK, if there is something better is really good to know Smile
Btw. We use exactly Tycho and Surefire "eclipse-test-plugin" as you for JUnit tests in fragments, which are triggered during the build. Of course, the tested stuff is only controllers/presenters, models and business functions, which can be tested with plain JUnit Tests not JUnit Plugin Tests. This was because of the bad experience we had with the maintenance and stability of the Plugin JUnit Tests...
Re: Build Tool for RAP [message #1228419 is a reply to message #1228170] Tue, 07 January 2014 07:36 Go to previous messageGo to next message
S. SchulzFriend
Messages: 72
Registered: September 2011
Member
We don't use "eclipse-test-plugin" anymore, since this will run integration tests, which are really slow and since an OSGi environment is started, things like access to package protected classes is not possible. Instead we force Tycho into a Maven-like structure with the source folders "src/main/java" and "src/test/java" and compile and run tests manually with the Surefire plug-in. It's probably not the best approach, but it works for now.

But I'm still working on finding a better alternative, it does not look good for now =/
Re: Build Tool for RAP [message #1228983 is a reply to message #1228419] Wed, 08 January 2014 13:32 Go to previous message
John Gymer is currently offline John GymerFriend
Messages: 279
Registered: November 2012
Location: UK
Senior Member
We simply build within Eclipse then use WAR Tooling to export as WAR. For there we have a series of home-grown scripts to do any other modifications required - the relevant JARs are also extracted from the WAR to use as a stand-alone OSGi unit test environment. Very simple really, but we don't need to do too much ourselves.


---
Just because you can doesn't mean you should
Previous Topic:Platform.getExtensionRegistry is null
Next Topic:Using the DateTime widget - how to remove week number
Goto Forum:
  


Current Time: Thu Apr 25 21:39:15 GMT 2024

Powered by FUDForum. Page generated in 0.03456 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top