{"id":48624346,"url":"https://github.com/becavin-lab/rap-e4-war-export","last_synced_at":"2026-04-09T04:13:13.785Z","repository":{"id":98165616,"uuid":"357540077","full_name":"becavin-lab/rap-e4-war-export","owner":"becavin-lab","description":"An example eclipse RAP e4 project which can be export to .war file","archived":false,"fork":false,"pushed_at":"2021-12-20T13:07:59.000Z","size":24577,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-09T14:32:13.536Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/becavin-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-13T12:12:04.000Z","updated_at":"2021-12-20T13:08:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"5586813f-01ba-4eb2-bc41-8d0e5c4ce2e6","html_url":"https://github.com/becavin-lab/rap-e4-war-export","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/becavin-lab/rap-e4-war-export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becavin-lab%2Frap-e4-war-export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becavin-lab%2Frap-e4-war-export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becavin-lab%2Frap-e4-war-export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becavin-lab%2Frap-e4-war-export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/becavin-lab","download_url":"https://codeload.github.com/becavin-lab/rap-e4-war-export/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/becavin-lab%2Frap-e4-war-export/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31585101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"online","status_checked_at":"2026-04-09T02:00:06.848Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-09T04:13:13.314Z","updated_at":"2026-04-09T04:13:13.780Z","avatar_url":"https://github.com/becavin-lab.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rap-e4-war-export\nAn example eclipse RAP e4 project which can be export to .war file\n\n(Deploy on Apache Tomcat 8 and 9 running on JavaSE 11)\n\nThe war export tool is no longer maintain for Eclipse RAP\n\nTo export your Eclipse RAP e4 project into war, we use Maven Tycho.\n\n0 - Install Eclipse for RCP and RAP developpers. \n\n1 - Clone the project in your working directory\n\n2 - Click on File \u003e Import \u003e General : Projects from Folder or Archive.\nSelect the Directory where you cloned rap-e4-war-export\nIt should find 4 plugins:\n\n![Import project](https://github.com/becavin-lab/rap-e4-war-export/blob/main/wiki/import_project.png)\n\n\nClick on Finish.\nYou should have the 3 plugins imported into on big project = rap-e4-war-export.\n\n![Project explorer](https://github.com/becavin-lab/rap-e4-war-export/blob/main/wiki/project_explorer.png)\n\n\n3 - Open target-platform-rap-e4/target-platform-rap-e4.target\nThe target platform is included in our project. This is the working environment in which Eclipse will pick all java and Eclipse RAP dependencies needed. \nIn the target definition item (target-platform-rap-e4.target \u003e Definition), check that it indicates around 300 plug-ins available. Otherwise click on \"Reload\". If no plug-ins is available then Eclipse will not know where to find the dependencies.\nAs soon as you have the plug-ins available, click on the top-right corner : \"Set as active Target Platform\".\n\n![Target platform](https://github.com/becavin-lab/rap-e4-war-export/blob/main/wiki/target_platform.png)\n\nThe operation is complete if in \"rap.e4.export.demo\" there are no dependencies error. Meaning that all plug-ins have been found by Eclipse in the Target platform.\n\n4 - We need to test if the Eclipse RAP can launch. \nGo to rap.e4.export.demo \u003e plugin.xml and click on Overview \u003e Update the classpath settings.\nIn the \"Problems\" View of Eclipse you should have no errors.\n\n![Plugin launch](https://github.com/becavin-lab/rap-e4-war-export/blob/main/wiki/plugin_launch.png)\n\n\n5 - Click on \"Launch a RAP application\" ! A browser at the adress : http://127.0.0.1:10888/ (the port might be different) should open. Update the browser, you should have an Eclipse RAP browser.\n\n![launch](https://github.com/becavin-lab/rap-e4-war-export/blob/main/wiki/launch.png)\n\nMore explanation, when running your plug-ins it uses the file \"rap.e4.export.demo.launch\" to configure all run configuration (port, VM options, bundles dependencies).\nIF SOMETHING IS WRONG AND THE WEBSITE IS NOT OPENING IT IS MOSTLY DUE TO \"rap.e4.export.demo.launch\".\n\nNow that we are sure your website is running on local server, we can export it to a .war file.\n\n6 - \"rap.e4.export.feature\" is the feature which define precisely for Maven Tycho how \"rap.e4.export.demo\" run and what are its dependencies. We will work with this features to export into war file.\nFirst, fix the product definition which is your future executable. Click on rap.e4.export.feature.product \u003e Overview \u003e Synchronize. So the feature is synchronized with \"rap.e4.export.demo\". Then click on Overview \u003e Launch a RAP Application. You should have the same website displaying.\nYour good to go on export !\n\n7 - We use Maven integration into Eclipse : m2e. It is installed by default in Eclipse.\nSelect rap-e4-war-export \u003e pom.xml (at the root of your main project).\nRight click on Run as \u003e Maven build... and in Goals write \"clean install\"\nIt should create the war file after few minutes.\nIt can be found in rap.e4.export.feature/target/rap-e4-demo.war\n\n![target](https://github.com/becavin-lab/rap-e4-war-export/blob/main/wiki/target.png)\n\nThe name of the .war is a parameter which can be fixed in: rap.e4.export.feature/pom.xml\nwith webapp.name property.\n\n7+ - Maven can be ran in your shell. Go into the right path\ncd rap-e4-war-export\nand then\nmvn clean install\n\nFor maven install use the appropriate package installer apt-get, yum, brew, etc...\n\n8 - Deploy your .war on your Apache Tomcat server ! \n\n!! This tool has been tested on Apache Tomcat 8 and 9, running on JavaSE 11 !!\nOn recent JavaSE (17), I was experiencing access problem to the OSGI platform. So try it at your own risk.\n\nFor test purpose, **rap-e4-demo.war** is provided at the root of the git folder.\n\n9 - Congrats !!!\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbecavin-lab%2Frap-e4-war-export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbecavin-lab%2Frap-e4-war-export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbecavin-lab%2Frap-e4-war-export/lists"}