Permalink
Browse files

Added PDE Build example

  • Loading branch information...
1 parent be4c573 commit 7bba3c7fd82561191e0c9b9b5102dbb81db1e991 hstaudacher committed Jan 16, 2011
Showing with 1,796 additions and 10 deletions.
  1. +30 −0 PDEBuild/README
  2. +1 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.feature/.gitignore
  3. +17 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.feature/.project
  4. +21 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.feature/assembly.xml
  5. +2 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.feature/build.properties
  6. +166 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.feature/feature.properties
  7. +253 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.feature/feature.xml
  8. +1 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/.gitignore
  9. +11 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/.project
  10. +62 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/allElements.xml
  11. +90 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/build.properties
  12. +52 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/build.sh
  13. +144 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/customTargets.xml
  14. +2 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/CVS/Entries
  15. +1 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/CVS/Repository
  16. +1 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/CVS/Root
  17. 0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/CVS/Template
  18. 0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/eclipse/.eclipseproduct
  19. +3 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/eclipse/CVS/Entries
  20. +1 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/eclipse/CVS/Repository
  21. +1 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/eclipse/CVS/Root
  22. 0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/eclipse/CVS/Template
  23. +1 −0 ...ld/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/eclipse/configuration/CVS/Entries
  24. +1 −0 ...com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/eclipse/configuration/CVS/Repository
  25. +1 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/eclipse/configuration/CVS/Root
  26. 0 ...d/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/eclipse/configuration/CVS/Template
  27. +30 −0 ...ild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/eclipse/configuration/config.ini
  28. +11 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/eclipse/launch.ini
  29. BIN ...ldemo.PDEBuild.releng/templates/WEB-INF/lib/org.eclipse.equinox.servletbridge_1.2.0.v20091026.jar
  30. +83 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng/templates/WEB-INF/web.xml
  31. +7 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/.classpath
  32. +2 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/.gitignore
  33. +28 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/.project
  34. +8 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/.settings/org.eclipse.jdt.core.prefs
  35. +13 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/META-INF/MANIFEST.MF
  36. +7 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/build.properties
  37. +30 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/com.eclipsesource.maildemo.tycho.launch
  38. BIN PDEBuild/com.eclipsesource.maildemo.PDEBuild/icons/sample.gif
  39. BIN PDEBuild/com.eclipsesource.maildemo.PDEBuild/icons/sample2.gif
  40. BIN PDEBuild/com.eclipsesource.maildemo.PDEBuild/icons/sample3.gif
  41. +15 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/plugin.properties
  42. +75 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/plugin.xml
  43. +30 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/src/com/eclipsesource/maildemo/AboutAction.java
  44. +19 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/src/com/eclipsesource/maildemo/Application.java
  45. +86 −0 ...m.eclipsesource.maildemo.PDEBuild/src/com/eclipsesource/maildemo/ApplicationActionBarAdvisor.java
  46. +23 −0 ...m.eclipsesource.maildemo.PDEBuild/src/com/eclipsesource/maildemo/ApplicationWorkbenchAdvisor.java
  47. +30 −0 ...psesource.maildemo.PDEBuild/src/com/eclipsesource/maildemo/ApplicationWorkbenchWindowAdvisor.java
  48. +15 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/src/com/eclipsesource/maildemo/ICommandIds.java
  49. +28 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/src/com/eclipsesource/maildemo/MessagePopupAction.java
  50. +154 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/src/com/eclipsesource/maildemo/NavigationView.java
  51. +39 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/src/com/eclipsesource/maildemo/OpenViewAction.java
  52. +61 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/src/com/eclipsesource/maildemo/PDEBuild/Activator.java
  53. +24 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/src/com/eclipsesource/maildemo/Perspective.java
  54. +79 −0 PDEBuild/com.eclipsesource.maildemo.PDEBuild/src/com/eclipsesource/maildemo/View.java
  55. +10 −10 README
  56. +27 −0 tycho/README
View
@@ -0,0 +1,30 @@
+== RAP PDE Build build example ==
+
+This repository contains one bundle (which contains a RAP application) and one feature to
+demonstrate how to build a RAP application with PDE Build. The build will be done with the
+artifacts in the com.eclipsesource.maildemo.PDEBuild.releng project.
+
+=== Usage ===
+
+* Clone the repository and switch to the repository/PDEBuild/com.eclipsesource.maildemo.PDEBuild.releng
+ folder via the command line.
+* Run the build.sh script with the following arguments:
+ --runtimeDir "Absolute path to an Eclipse installation containing the PDE Build Plug-In"
+ --targetDir "Absolute path to a RAP Target Platform containing RAP and the Equinox SDK"
+* After the build has succeeded you will find a maildemo.war in the
+ com.eclipsesource.maildemo.PDEBuild.releng/build/out folder.
+* Deploy the maildemo.war to the servlet container of your choice.
+
+=== Support ===
+
+If you run into problems please use the RAP newsgroup to get help:
+http://www.eclipse.org/forums/index.php?t=thread&frm_id=34&S=7af935de3aca30bd299a973485307ada
+
+=== Further information ===
+
+http://eclipse.org/rap
+http://eclipse.org/pde/pde-build/
+
+=== License ===
+
+All files are published under the terms of the Eclipse Public License v1.0
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>com.eclipsesource.maildemo.PDEBuild.feature</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.pde.FeatureBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.pde.FeatureNature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,21 @@
+<!--
+ Copyright (C) 2011, EclipseSource and others
+
+ All rights reserved. This program and the accompanying materials
+ are made available under the terms of the Eclipse Public License v1.0
+ which accompanies this distribution, and is available at
+ http://www.eclipse.org/legal/epl-v10.html
+-->
+<assembly>
+ <id/>
+ <formats>
+ <format>war</format>
+ </formats>
+ <includeBaseDirectory>false</includeBaseDirectory>
+ <fileSets>
+ <fileSet>
+ <directory>${output-directory}</directory>
+ <outputDirectory>/WEB-INF</outputDirectory>
+ </fileSet>
+ </fileSets>
+</assembly>
@@ -0,0 +1,2 @@
+bin.includes = feature.xml,\
+ feature.properties
@@ -0,0 +1,166 @@
+###############################################################################
+# Copyright (c) 2011 EclipseSource Inc. and others.
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Eclipse Public License v1.0
+# which accompanies this distribution, and is available at
+# http://www.eclipse.org/legal/epl-v10.html
+#
+# Contributors:
+# EclipseSource - initial API and implementation
+###############################################################################
+# feature.properties
+# contains externalized strings for feature.xml
+# "%foo" in feature.xml corresponds to the key "foo" in this file
+# java.io.Properties file (ISO 8859-1 with "\" escapes)
+# This file should be translated.
+
+# "featureName" property - name of the feature
+featureName=RTP basic package feature
+
+# "providerName" property - name of the company that provides the feature
+providerName=EclipseSource
+
+description=This feature collects all necessary bundles to build a .war file for a RAP application.
+
+# "copyright" property - text of the "Feature Update Copyright"
+copyright=\
+Copyright (c) 2010 EclipseSource and others.\n\
+All rights reserved. This program and the accompanying materials\n\
+are made available under the terms of the Eclipse Public License v1.0\n\
+which accompanies this distribution, and is available at\n\
+http://www.eclipse.org/legal/epl-v10.html\n\
+\n\
+Contributors:\n\
+ EclipseSource - initial API and implementation\n
+################ end of copyright property ####################################
+
+# "licenseURL" property - URL of the "Feature License"
+# do not translate value - just change to point to a locale-specific HTML page
+licenseURL=license.html
+
+# "license" property - text of the "Feature Update License"
+# should be plain text version of license agreement pointed to be "licenseURL"
+license=\
+Eclipse Foundation Software User Agreement\n\
+April 14, 2010\n\
+\n\
+Usage Of Content\n\
+\n\
+THE ECLIPSE FOUNDATION MAKES AVAILABLE SOFTWARE, DOCUMENTATION, INFORMATION AND/OR\n\
+OTHER MATERIALS FOR OPEN SOURCE PROJECTS (COLLECTIVELY "CONTENT").\n\
+USE OF THE CONTENT IS GOVERNED BY THE TERMS AND CONDITIONS OF THIS\n\
+AGREEMENT AND/OR THE TERMS AND CONDITIONS OF LICENSE AGREEMENTS OR\n\
+NOTICES INDICATED OR REFERENCED BELOW. BY USING THE CONTENT, YOU\n\
+AGREE THAT YOUR USE OF THE CONTENT IS GOVERNED BY THIS AGREEMENT\n\
+AND/OR THE TERMS AND CONDITIONS OF ANY APPLICABLE LICENSE AGREEMENTS\n\
+OR NOTICES INDICATED OR REFERENCED BELOW. IF YOU DO NOT AGREE TO THE\n\
+TERMS AND CONDITIONS OF THIS AGREEMENT AND THE TERMS AND CONDITIONS\n\
+OF ANY APPLICABLE LICENSE AGREEMENTS OR NOTICES INDICATED OR REFERENCED\n\
+BELOW, THEN YOU MAY NOT USE THE CONTENT.\n\
+\n\
+Applicable Licenses\n\
+\n\
+Unless otherwise indicated, all Content made available by the\n\
+Eclipse Foundation is provided to you under the terms and conditions of\n\
+the Eclipse Public License Version 1.0 ("EPL"). A copy of the EPL is\n\
+provided with this Content and is also available at http://www.eclipse.org/legal/epl-v10.html.\n\
+For purposes of the EPL, "Program" will mean the Content.\n\
+\n\
+Content includes, but is not limited to, source code, object code,\n\
+documentation and other files maintained in the Eclipse Foundation source code\n\
+repository ("Repository") in software modules ("Modules") and made available\n\
+as downloadable archives ("Downloads").\n\
+\n\
+ - Content may be structured and packaged into modules to facilitate delivering,\n\
+ extending, and upgrading the Content. Typical modules may include plug-ins ("Plug-ins"),\n\
+ plug-in fragments ("Fragments"), and features ("Features").\n\
+ - Each Plug-in or Fragment may be packaged as a sub-directory or JAR (Java(TM) ARchive)\n\
+ in a directory named "plugins".\n\
+ - A Feature is a bundle of one or more Plug-ins and/or Fragments and associated material.\n\
+ Each Feature may be packaged as a sub-directory in a directory named "features".\n\
+ Within a Feature, files named "feature.xml" may contain a list of the names and version\n\
+ numbers of the Plug-ins and/or Fragments associated with that Feature.\n\
+ - Features may also include other Features ("Included Features"). Within a Feature, files\n\
+ named "feature.xml" may contain a list of the names and version numbers of Included Features.\n\
+\n\
+The terms and conditions governing Plug-ins and Fragments should be\n\
+contained in files named "about.html" ("Abouts"). The terms and\n\
+conditions governing Features and Included Features should be contained\n\
+in files named "license.html" ("Feature Licenses"). Abouts and Feature\n\
+Licenses may be located in any directory of a Download or Module\n\
+including, but not limited to the following locations:\n\
+\n\
+ - The top-level (root) directory\n\
+ - Plug-in and Fragment directories\n\
+ - Inside Plug-ins and Fragments packaged as JARs\n\
+ - Sub-directories of the directory named "src" of certain Plug-ins\n\
+ - Feature directories\n\
+\n\
+Note: if a Feature made available by the Eclipse Foundation is installed using the\n\
+Provisioning Technology (as defined below), you must agree to a license ("Feature \n\
+Update License") during the installation process. If the Feature contains\n\
+Included Features, the Feature Update License should either provide you\n\
+with the terms and conditions governing the Included Features or inform\n\
+you where you can locate them. Feature Update Licenses may be found in\n\
+the "license" property of files named "feature.properties" found within a Feature.\n\
+Such Abouts, Feature Licenses, and Feature Update Licenses contain the\n\
+terms and conditions (or references to such terms and conditions) that\n\
+govern your use of the associated Content in that directory.\n\
+\n\
+THE ABOUTS, FEATURE LICENSES, AND FEATURE UPDATE LICENSES MAY REFER\n\
+TO THE EPL OR OTHER LICENSE AGREEMENTS, NOTICES OR TERMS AND CONDITIONS.\n\
+SOME OF THESE OTHER LICENSE AGREEMENTS MAY INCLUDE (BUT ARE NOT LIMITED TO):\n\
+\n\
+ - Common Public License Version 1.0 (available at http://www.eclipse.org/legal/cpl-v10.html)\n\
+ - Apache Software License 1.1 (available at http://www.apache.org/licenses/LICENSE)\n\
+ - Apache Software License 2.0 (available at http://www.apache.org/licenses/LICENSE-2.0)\n\
+ - Metro Link Public License 1.00 (available at http://www.opengroup.org/openmotif/supporters/metrolink/license.html)\n\
+ - Mozilla Public License Version 1.1 (available at http://www.mozilla.org/MPL/MPL-1.1.html)\n\
+\n\
+IT IS YOUR OBLIGATION TO READ AND ACCEPT ALL SUCH TERMS AND CONDITIONS PRIOR\n\
+TO USE OF THE CONTENT. If no About, Feature License, or Feature Update License\n\
+is provided, please contact the Eclipse Foundation to determine what terms and conditions\n\
+govern that particular Content.\n\
+\n\
+\n\Use of Provisioning Technology\n\
+\n\
+The Eclipse Foundation makes available provisioning software, examples of which include,\n\
+but are not limited to, p2 and the Eclipse Update Manager ("Provisioning Technology") for\n\
+the purpose of allowing users to install software, documentation, information and/or\n\
+other materials (collectively "Installable Software"). This capability is provided with\n\
+the intent of allowing such users to install, extend and update Eclipse-based products.\n\
+Information about packaging Installable Software is available at\n\
+http://eclipse.org/equinox/p2/repository_packaging.html ("Specification").\n\
+\n\
+You may use Provisioning Technology to allow other parties to install Installable Software.\n\
+You shall be responsible for enabling the applicable license agreements relating to the\n\
+Installable Software to be presented to, and accepted by, the users of the Provisioning Technology\n\
+in accordance with the Specification. By using Provisioning Technology in such a manner and\n\
+making it available in accordance with the Specification, you further acknowledge your\n\
+agreement to, and the acquisition of all necessary rights to permit the following:\n\
+\n\
+ 1. A series of actions may occur ("Provisioning Process") in which a user may execute\n\
+ the Provisioning Technology on a machine ("Target Machine") with the intent of installing,\n\
+ extending or updating the functionality of an Eclipse-based product.\n\
+ 2. During the Provisioning Process, the Provisioning Technology may cause third party\n\
+ Installable Software or a portion thereof to be accessed and copied to the Target Machine.\n\
+ 3. Pursuant to the Specification, you will provide to the user the terms and conditions that\n\
+ govern the use of the Installable Software ("Installable Software Agreement") and such\n\
+ Installable Software Agreement shall be accessed from the Target Machine in accordance\n\
+ with the Specification. Such Installable Software Agreement must inform the user of the\n\
+ terms and conditions that govern the Installable Software and must solicit acceptance by\n\
+ the end user in the manner prescribed in such Installable Software Agreement. Upon such\n\
+ indication of agreement by the user, the provisioning Technology will complete installation\n\
+ of the Installable Software.\n\
+\n\
+Cryptography\n\
+\n\
+Content may contain encryption software. The country in which you are\n\
+currently may have restrictions on the import, possession, and use,\n\
+and/or re-export to another country, of encryption software. BEFORE\n\
+using any encryption software, please check the country's laws,\n\
+regulations and policies concerning the import, possession, or use, and\n\
+re-export of encryption software, to see if this is permitted.\n\
+\n\
+Java and all Java-based trademarks are trademarks of Oracle Corporation in the United States, other countries, or both.\n
+########### end of license property ##########################################
Oops, something went wrong.

0 comments on commit 7bba3c7

Please sign in to comment.