|
Re: Building WAR with Tycho: dynamic config.ini [message #1314491 is a reply to message #1288096] |
Fri, 25 April 2014 12:02 |
|
Hi Tobias,
I suggest that you have a closer look into our examples projects that we are developing in RAP. They can be found in the main RAP Runtime Git repository [1].
If you just want to look at the build files, you can open [2] in your browser. This is the build project that we are using to create the .war files for our three demo applications. Drill down into `rapdemo` and you will find the standard product configuration org.eclipse.rap.examples.rapdemo.product
We are using this product configuration in our product-based build. This build creates the config.ini on the fly with the content from the product configuration. Unfortunately we've to tweak the generated config.ini a bit - this is done in the pom.xml of the project with maven-replacer-plugin.
The overall build follows 3 simple steps:
1 - run a standard product based build
2 - tweak the config.ini a bit (add servletbridge.extensionbundle, remove javax.servlet)
3 - assemble the .war file and add the root files (web.xml, launch.ini).
Hope that helps...
Thanks,
Markus
[1] git://git.eclipse.org/gitroot/rap/org.eclipse.rap.git
[2] http://git.eclipse.org/c/rap/org.eclipse.rap.git/tree/releng/org.eclipse.rap.examples.build
--
Twitter: @mknauer23 and @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
|
|
|
|
Powered by
FUDForum. Page generated in 0.02701 seconds