Tycho build with RAP 1.4.2 [message #1052849] |
Tue, 30 April 2013 13:23  |
Eclipse User |
|
|
|
Hello,
we are trying to migrate the build system of our project from Ant+PDE to Maven+Tycho. We have little experience working with Maven (even less with Tycho) and we've hit a wall regarding customized widgets and the inclusion of the classes in the fragment org.eclipse.rap.rwt.q07 in the maven compilation classpath. We are using the following:
- RAP 1.4.2
- Eclipse Indigo
- Tycho 0.12.0
- Maven 3.0.5
Our main plugin contains some customized widgets and its compilation fails with errors indicating that JSWriter, ControlLCAUtil, etc. could not be found. I've found a posting from 2.5 years ago and was wondering if this is still the right way to go. Any help is much appreciated.
Kind regards,
Tiber
|
|
|
Re: Tycho build with RAP 1.4.2 [message #1053753 is a reply to message #1052849] |
Tue, 07 May 2013 09:54  |
Eclipse User |
|
|
|
Hello,
just a quick reply if anyone is interested. Yep, the directions in that posting still work, and we couldn't find any other way. We switched to Tycho 0.17 and tried specifying our own target definition, modifying fragment dependencies etc. and ... well it didn't work. In order to compile the project with RWT Lifecycle references, download the RAP 1.4.2 runtime and compile using: mvn compile -Dtycho.targetPlatform=<rap1.4.2 runtime>
It seems like the tycho.targetPlatform option is going to be deprecated with the next version of Tycho but we couldn't find any other proper way of referencing the target platform. If anyone wants to share a better idea, more than welcome.
Kind regards,
Tiber
[Updated on: Tue, 07 May 2013 09:55] by Moderator
|
|
|
Powered by
FUDForum. Page generated in 0.06241 seconds