├── .circleci └── config.yml ├── .github ├── CONTRIBUTING.md ├── ISSUE_TEMPLATE.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── ci ├── release.js ├── settings.xml └── tools.js ├── com.adobe.granite.ide.eclipse-ui ├── .gitignore ├── LICENSE ├── META-INF │ └── MANIFEST.MF ├── build.properties ├── icons │ ├── crxde_lite.gif │ ├── granitesmall.png │ ├── mc_experiencemanager_transp.png │ ├── mc_experiencemanager_transp_big.png │ └── mc_experiencemanager_transp_medium.png ├── plugin.xml ├── pom.xml ├── src │ ├── main │ │ └── java │ │ │ └── com │ │ │ └── adobe │ │ │ └── granite │ │ │ └── ide │ │ │ └── eclipse │ │ │ └── ui │ │ │ ├── Activator.java │ │ │ ├── internal │ │ │ ├── ApplyDefaultCQServerValuesFragment.java │ │ │ ├── DefaultCQLaunchpadConfiguration.java │ │ │ ├── OpenInCrxDeLiteHandler.java │ │ │ ├── QuickstartProjectConfigurator.java │ │ │ ├── SharedImages.java │ │ │ ├── graniteUnstructuredShaded.psd │ │ │ ├── granitemedium.png │ │ │ └── unstructured.png │ │ │ ├── perspectives │ │ │ └── GranitePerspective.java │ │ │ └── wizards │ │ │ └── np │ │ │ ├── AdvancedSettingsComponent.java │ │ │ ├── NewGraniteProjectWizard.java │ │ │ ├── PropUtils.java │ │ │ ├── RequiredPropertyWrapper.java │ │ │ └── SimplerParametersWizardPage.java │ └── test │ │ └── java │ │ └── com │ │ └── adobe │ │ └── granite │ │ └── ide │ │ └── eclipse │ │ └── ui │ │ └── wizards │ │ └── np │ │ └── PropUtilsTest.java └── templates │ ├── jsp-templates.properties │ └── jsp-templates.xml ├── com.adobe.granite.ide.feature ├── .gitignore ├── build.properties ├── feature.xml └── pom.xml ├── com.adobe.granite.ide.p2update ├── .gitignore ├── LICENSE ├── category.xml ├── pom.xml └── siteTemplate │ ├── css │ └── style.css │ ├── favicon.ico │ ├── img │ ├── .gitignore │ ├── adobe.png │ ├── dnd.png │ └── eclipse.png │ └── index.html ├── com.adobe.granite.ide.target-definition ├── .gitignore ├── com.adobe.granite.ide.target-definition.target └── pom.xml ├── docs ├── CNAME ├── artifacts.jar ├── artifacts.xml.xz ├── com.adobe.granite.ide.p2update-1.3.0.zip ├── content.jar ├── content.xml.xz ├── css │ └── style.css ├── favicon.ico ├── features │ ├── com.adobe.granite.ide.feature_1.3.0.jar │ ├── org.apache.sling.ide.feature_1.2.2.jar │ ├── org.apache.sling.ide.m2e-feature_1.2.2.jar │ └── org.apache.sling.ide.sightly-feature_1.2.2.jar ├── img │ ├── .gitignore │ ├── adobe.png │ ├── dnd.png │ └── eclipse.png ├── index.html ├── p2.index ├── plugins │ ├── com.adobe.granite.ide.eclipse-ui_1.3.0.jar │ ├── com.google.gson_2.2.4.v201311231704.jar │ ├── org.apache.commons.collections_3.2.0.v2013030210310.jar │ ├── org.apache.commons.httpclient_3.1.0.v201012070820.jar │ ├── org.apache.commons.io_2.2.0.v201405211200.jar │ ├── org.apache.commons.logging_1.1.1.v201101211721.jar │ ├── org.apache.sling.ide.api_1.2.2.jar │ ├── org.apache.sling.ide.artifacts_1.2.2.jar │ ├── org.apache.sling.ide.eclipse-core_1.2.2.jar │ ├── org.apache.sling.ide.eclipse-m2e-core_1.2.2.jar │ ├── org.apache.sling.ide.eclipse-m2e-ui_1.2.2.jar │ ├── org.apache.sling.ide.eclipse-sightly-core_1.2.2.jar │ ├── org.apache.sling.ide.eclipse-sightly-ui_1.2.2.jar │ ├── org.apache.sling.ide.eclipse-ui_1.2.2.jar │ ├── org.apache.sling.ide.impl-vlt_1.2.2.jar │ ├── org.apache.sling.ide.vlt-wrapper_1.2.2.jar │ └── org.slf4j.api_1.7.2.v20121108-1250.jar ├── site.properties ├── site.xml └── web │ └── site.css └── pom.xml /.circleci/config.yml: -------------------------------------------------------------------------------- 1 | version: 2.1 2 | 3 | jobs: 4 | build-java-8: 5 | working_directory: ~/repo 6 | docker: 7 | - image: circleci/openjdk:8-jdk-browsers 8 | environment: 9 | # Customize the JVM maximum heap limit 10 | MAVEN_OPTS: -Xmx3200m 11 | steps: 12 | - checkout 13 | # Download and cache dependencies 14 | - restore_cache: 15 | keys: 16 | - v1-dependencies-{{ checksum "pom.xml" }} 17 | # fallback to using the latest cache if no exact match is found 18 | - v1-dependencies- 19 | - run: mvn package dependency:go-offline 20 | - save_cache: 21 | paths: 22 | - ~/.m2 23 | key: v1-dependencies-{{ checksum "pom.xml" }} 24 | # run tests! 25 | - run: mvn verify 26 | - run: 27 | name: Save test results 28 | command: | 29 | mkdir -p ~/test-results/junit/ 30 | find . -type f -regex ".*/surefire-reports/.*" -exec cp {} ~/test-results/junit/ \; 31 | when: always 32 | - store_test_results: 33 | path: ~/test-results 34 | - store_artifacts: 35 | path: ~/test-results/junit 36 | 37 | release: 38 | docker: 39 | - image: circleci/openjdk:8-jdk-node 40 | working_directory: ~/repo 41 | 42 | steps: 43 | - checkout 44 | - add_ssh_keys: 45 | fingerprints: 46 | - "6a:4f:95:39:0b:9e:29:41:96:a7:9b:14:99:24:29:5c" 47 | - restore_cache: # restore the saved cache 48 | keys: 49 | - v1-dependencies-{{ checksum "pom.xml" }} 50 | # fallback to using the latest cache if no exact match is found 51 | - v1-dependencies- 52 | - run: 53 | name: Release 54 | command: node ci/release.js 55 | 56 | workflows: 57 | build-and-release: 58 | jobs: 59 | - build-java-8: 60 | filters: 61 | tags: 62 | only: /.*/ 63 | - release: 64 | requires: 65 | - build-java-8 66 | filters: 67 | branches: 68 | ignore: /.*/ 69 | tags: 70 | only: /^@release(-\d+\.\d+\.\d+)?$/ 71 | -------------------------------------------------------------------------------- /.github/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Thanks for choosing to contribute! 4 | 5 | The following are a set of guidelines to follow when contributing to this project. 6 | 7 | ## Code Of Conduct 8 | 9 | This project adheres to the Adobe [code of conduct](../CODE_OF_CONDUCT.md). By participating, 10 | you are expected to uphold this code. Please report unacceptable behavior to 11 | [Grp-opensourceoffice@adobe.com](mailto:Grp-opensourceoffice@adobe.com). 12 | 13 | ## Have A Question? 14 | 15 | Start by filing an issue. The existing committers on this project work to reach 16 | consensus around project direction and issue solutions within issue threads 17 | (when appropriate). 18 | 19 | ## Contributor License Agreement 20 | 21 | All third-party contributions to this project must be accompanied by a signed contributor 22 | license agreement. This gives Adobe permission to redistribute your contributions 23 | as part of the project. [Sign our CLA](https://opensource.adobe.com/cla.html). You 24 | only need to submit an Adobe CLA one time, so if you have submitted one previously, 25 | you are good to go! 26 | 27 | ## Code Reviews 28 | 29 | All submissions should come in the form of pull requests and need to be reviewed 30 | by project committers. Read [GitHub's pull request documentation](https://help.github.com/articles/about-pull-requests/) 31 | for more information on sending pull requests. 32 | 33 | Lastly, please follow the [pull request template](PULL_REQUEST_TEMPLATE.md) when 34 | submitting a pull request! 35 | 36 | ## From Contributor To Committer 37 | 38 | We love contributions from our community! If you'd like to go a step beyond contributor 39 | and become a committer with full write access and a say in the project, you must 40 | be invited to the project. The existing committers employ an internal nomination 41 | process that must reach lazy consensus (silence is approval) before invitations 42 | are issued. If you feel you are qualified and want to get more deeply involved, 43 | feel free to reach out to existing committers to have a conversation about that. 44 | 45 | ## Security Issues 46 | 47 | Security issues shouldn't be reported on this issue tracker. Instead, [file an issue to our security experts](https://helpx.adobe.com/security/alertus.html). -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | ### Expected Behaviour 5 | 6 | ### Actual Behaviour 7 | 8 | ### Reproduce Scenario (including but not limited to) 9 | 10 | #### Steps to Reproduce 11 | 12 | #### Platform and Version 13 | 14 | #### Sample Code that illustrates the problem 15 | 16 | #### Logs taken while reproducing problem 17 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## Description 4 | 5 | 6 | 7 | ## Related Issue 8 | 9 | 10 | 11 | 12 | 13 | 14 | ## Motivation and Context 15 | 16 | 17 | 18 | ## How Has This Been Tested? 19 | 20 | 21 | 22 | 23 | 24 | ## Screenshots (if appropriate): 25 | 26 | ## Types of changes 27 | 28 | 29 | 30 | - [ ] Bug fix (non-breaking change which fixes an issue) 31 | - [ ] New feature (non-breaking change which adds functionality) 32 | - [ ] Breaking change (fix or feature that would cause existing functionality to change) 33 | 34 | ## Checklist: 35 | 36 | 37 | 38 | 39 | - [ ] I have signed the [Adobe Open Source CLA](https://opensource.adobe.com/cla.html). 40 | - [ ] My code follows the code style of this project. 41 | - [ ] My change requires a change to the documentation. 42 | - [ ] I have updated the documentation accordingly. 43 | - [ ] I have read the **CONTRIBUTING** document. 44 | - [ ] I have added tests to cover my changes. 45 | - [ ] All new and existing tests passed. 46 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .project 2 | .settings 3 | .classpath 4 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Adobe Code of Conduct 2 | 3 | ## Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, gender identity and expression, level of experience, 9 | nationality, personal appearance, race, religion, or sexual identity and 10 | orientation. 11 | 12 | ## Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language. 18 | * Being respectful of differing viewpoints and experiences. 19 | * Gracefully accepting constructive criticism. 20 | * Focusing on what is best for the community. 21 | * Showing empathy towards other community members. 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances. 27 | * Trolling, insulting/derogatory comments, and personal or political attacks. 28 | * Public or private harassment. 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission. 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting. 33 | 34 | ## Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, and other contributions 42 | that are not aligned to this Code of Conduct, or to ban temporarily or 43 | permanently any contributor for other behaviors that they deem inappropriate, 44 | threatening, offensive, or harmful. 45 | 46 | ## Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ## Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting the project team at Grp-opensourceoffice@adobe.com. All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project team is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ## Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at [https://contributor-covenant.org/version/1/4][version]. 72 | 73 | [homepage]: https://contributor-covenant.org 74 | [version]: https://contributor-covenant.org/version/1/4/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "[]" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright [yyyy] [name of copyright owner] 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AEM Developer Tools for Eclipse 2 | 3 | [![CircleCI](https://circleci.com/gh/adobe/aem-eclipse-developer-tools.svg?style=svg)](https://circleci.com/gh/adobe/aem-eclipse-developer-tools) 4 | 5 | ![](https://raw.githubusercontent.com/wiki/adobe/aem-eclipse-developer-tools/screenshots/eclipse.png) 6 | 7 | The AEM Developer Tools for Eclipse is a plugin based on the [Eclipse plugin for Apache Sling](https://sling.apache.org/documentation/development/ide-tooling.html) released under the Apache License 2. 8 | 9 | For installation instructions and more information, [check the online documentation](http://docs.adobe.com/docs/en/dev-tools/aem-eclipse.html). 10 | 11 | ### Contributing 12 | 13 | Contributions are welcomed! Read the [Contributing Guide](./.github/CONTRIBUTING.md) for more information. 14 | 15 | ### Licensing 16 | 17 | This project is licensed under the Apache V2 License. See [LICENSE](LICENSE) for more information. -------------------------------------------------------------------------------- /ci/release.js: -------------------------------------------------------------------------------- 1 | /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 | ~ Copyright 2018 Adobe 3 | ~ 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 | ~ you may not use this file except in compliance with the License. 6 | ~ You may obtain a copy of the License at 7 | ~ 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 9 | ~ 10 | ~ Unless required by applicable law or agreed to in writing, software 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ~ See the License for the specific language governing permissions and 14 | ~ limitations under the License. 15 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 16 | 17 | "use strict"; 18 | 19 | const Tools = require("./tools.js"); 20 | const tools = new Tools(); 21 | 22 | let gitTag = process.env.CIRCLE_TAG; 23 | if (!gitTag) { 24 | throw "Cannot release without a valid git tag"; 25 | } 26 | let targetVersion = gitTag.match(/^@release\-?(\d+\.\d+.\d+)?$/); 27 | if (!targetVersion) { 28 | throw "Cannot release without a valid release version"; 29 | } 30 | 31 | targetVersion = targetVersion[1]; 32 | let releaseVersion = ""; 33 | if (targetVersion !== undefined) { 34 | releaseVersion = " -DreleaseVersion=" + targetVersion; 35 | } 36 | 37 | tools.gitImpersonate('CircleCi', 'noreply@circleci.com', () => { 38 | try { 39 | tools.stage("RELEASE"); 40 | // We cannot find out what git branch has the tag, so we assume/enforce that releases are done on master 41 | console.log("Checking out the master branch so we can commit and push"); 42 | tools.sh("git checkout master"); 43 | tools.prepareGPGKey(); 44 | tools.sh("mvn -B -s ci/settings.xml -Prelease clean release:prepare release:perform" + releaseVersion); 45 | tools.stage("RELEASE DONE"); 46 | } finally { 47 | tools.removeGitTag(gitTag); 48 | tools.removeGPGKey() 49 | } 50 | }); 51 | -------------------------------------------------------------------------------- /ci/settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16 | 17 | 18 | 19 | 20 | 21 | ossrh 22 | 23 | true 24 | 25 | 26 | ossrh 27 | https://oss.sonatype.org/service/local/staging/deploy/maven2/ 28 | ossrh 29 | https://oss.sonatype.org/content/repositories/snapshots 30 | gpg 31 | ${env.GPG_PASSPHRASE} 32 | 33 | 34 | 35 | 36 | 37 | 38 | ossrh 39 | ${env.SONATYPE_USER} 40 | ${env.SONATYPE_PASSWORD} 41 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /ci/tools.js: -------------------------------------------------------------------------------- 1 | /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 | ~ Copyright 2018 Adobe 3 | ~ 4 | ~ Licensed under the Apache License, Version 2.0 (the "License"); 5 | ~ you may not use this file except in compliance with the License. 6 | ~ You may obtain a copy of the License at 7 | ~ 8 | ~ http://www.apache.org/licenses/LICENSE-2.0 9 | ~ 10 | ~ Unless required by applicable law or agreed to in writing, software 11 | ~ distributed under the License is distributed on an "AS IS" BASIS, 12 | ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | ~ See the License for the specific language governing permissions and 14 | ~ limitations under the License. 15 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ 16 | 17 | "use strict"; 18 | 19 | const e = require("child_process"); 20 | 21 | module.exports = class Tools { 22 | 23 | /** 24 | * Run shell command and attach to process stdio. 25 | */ 26 | sh(command) { 27 | console.log(command); 28 | return e.execSync(command, {stdio: "inherit"}); 29 | }; 30 | 31 | /** 32 | * Import GPG key. 33 | */ 34 | prepareGPGKey() { 35 | this.sh("echo $GPG_PRIVATE_KEY | base64 --decode | gpg --batch --import"); 36 | }; 37 | 38 | /** 39 | * Remove GPG key. 40 | */ 41 | removeGPGKey() { 42 | this.sh("rm -rf /home/circleci/.gnupg"); 43 | } 44 | 45 | /** 46 | * Print stage name. 47 | */ 48 | stage(name) { 49 | console.log("\n------------------------------\n" + 50 | "--\n" + 51 | "-- %s\n" + 52 | "--\n" + 53 | "------------------------------\n", name); 54 | }; 55 | 56 | /** 57 | * Configure a git impersonation for the scope of the given function. 58 | */ 59 | gitImpersonate(user, mail, func) { 60 | try { 61 | this.sh('git config --local user.name ' + user + ' && git config --local user.email ' + mail) 62 | func() 63 | } finally { 64 | this.sh('git config --local --unset user.name && git config --local --unset user.email') 65 | } 66 | }; 67 | 68 | /** 69 | * Remove git tag. 70 | */ 71 | removeGitTag(gitTag) { 72 | this.sh('git push --delete origin ' + gitTag); 73 | } 74 | } 75 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. 2 | 3 | Apache License 4 | Version 2.0, January 2004 5 | http://www.apache.org/licenses/ 6 | 7 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 8 | 9 | 1. Definitions. 10 | 11 | "License" shall mean the terms and conditions for use, reproduction, 12 | and distribution as defined by Sections 1 through 9 of this document. 13 | 14 | "Licensor" shall mean the copyright owner or entity authorized by 15 | the copyright owner that is granting the License. 16 | 17 | "Legal Entity" shall mean the union of the acting entity and all 18 | other entities that control, are controlled by, or are under common 19 | control with that entity. For the purposes of this definition, 20 | "control" means (i) the power, direct or indirect, to cause the 21 | direction or management of such entity, whether by contract or 22 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 23 | outstanding shares, or (iii) beneficial ownership of such entity. 24 | 25 | "You" (or "Your") shall mean an individual or Legal Entity 26 | exercising permissions granted by this License. 27 | 28 | "Source" form shall mean the preferred form for making modifications, 29 | including but not limited to software source code, documentation 30 | source, and configuration files. 31 | 32 | "Object" form shall mean any form resulting from mechanical 33 | transformation or translation of a Source form, including but 34 | not limited to compiled object code, generated documentation, 35 | and conversions to other media types. 36 | 37 | "Work" shall mean the work of authorship, whether in Source or 38 | Object form, made available under the License, as indicated by a 39 | copyright notice that is included in or attached to the work 40 | (an example is provided in the Appendix below). 41 | 42 | "Derivative Works" shall mean any work, whether in Source or Object 43 | form, that is based on (or derived from) the Work and for which the 44 | editorial revisions, annotations, elaborations, or other modifications 45 | represent, as a whole, an original work of authorship. For the purposes 46 | of this License, Derivative Works shall not include works that remain 47 | separable from, or merely link (or bind by name) to the interfaces of, 48 | the Work and Derivative Works thereof. 49 | 50 | "Contribution" shall mean any work of authorship, including 51 | the original version of the Work and any modifications or additions 52 | to that Work or Derivative Works thereof, that is intentionally 53 | submitted to Licensor for inclusion in the Work by the copyright owner 54 | or by an individual or Legal Entity authorized to submit on behalf of 55 | the copyright owner. For the purposes of this definition, "submitted" 56 | means any form of electronic, verbal, or written communication sent 57 | to the Licensor or its representatives, including but not limited to 58 | communication on electronic mailing lists, source code control systems, 59 | and issue tracking systems that are managed by, or on behalf of, the 60 | Licensor for the purpose of discussing and improving the Work, but 61 | excluding communication that is conspicuously marked or otherwise 62 | designated in writing by the copyright owner as "Not a Contribution." 63 | 64 | "Contributor" shall mean Licensor and any individual or Legal Entity 65 | on behalf of whom a Contribution has been received by Licensor and 66 | subsequently incorporated within the Work. 67 | 68 | 2. Grant of Copyright License. Subject to the terms and conditions of 69 | this License, each Contributor hereby grants to You a perpetual, 70 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 71 | copyright license to reproduce, prepare Derivative Works of, 72 | publicly display, publicly perform, sublicense, and distribute the 73 | Work and such Derivative Works in Source or Object form. 74 | 75 | 3. Grant of Patent License. Subject to the terms and conditions of 76 | this License, each Contributor hereby grants to You a perpetual, 77 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 78 | (except as stated in this section) patent license to make, have made, 79 | use, offer to sell, sell, import, and otherwise transfer the Work, 80 | where such license applies only to those patent claims licensable 81 | by such Contributor that are necessarily infringed by their 82 | Contribution(s) alone or by combination of their Contribution(s) 83 | with the Work to which such Contribution(s) was submitted. If You 84 | institute patent litigation against any entity (including a 85 | cross-claim or counterclaim in a lawsuit) alleging that the Work 86 | or a Contribution incorporated within the Work constitutes direct 87 | or contributory patent infringement, then any patent licenses 88 | granted to You under this License for that Work shall terminate 89 | as of the date such litigation is filed. 90 | 91 | 4. Redistribution. You may reproduce and distribute copies of the 92 | Work or Derivative Works thereof in any medium, with or without 93 | modifications, and in Source or Object form, provided that You 94 | meet the following conditions: 95 | 96 | (a) You must give any other recipients of the Work or 97 | Derivative Works a copy of this License; and 98 | 99 | (b) You must cause any modified files to carry prominent notices 100 | stating that You changed the files; and 101 | 102 | (c) You must retain, in the Source form of any Derivative Works 103 | that You distribute, all copyright, patent, trademark, and 104 | attribution notices from the Source form of the Work, 105 | excluding those notices that do not pertain to any part of 106 | the Derivative Works; and 107 | 108 | (d) If the Work includes a "NOTICE" text file as part of its 109 | distribution, then any Derivative Works that You distribute must 110 | include a readable copy of the attribution notices contained 111 | within such NOTICE file, excluding those notices that do not 112 | pertain to any part of the Derivative Works, in at least one 113 | of the following places: within a NOTICE text file distributed 114 | as part of the Derivative Works; within the Source form or 115 | documentation, if provided along with the Derivative Works; or, 116 | within a display generated by the Derivative Works, if and 117 | wherever such third-party notices normally appear. The contents 118 | of the NOTICE file are for informational purposes only and 119 | do not modify the License. You may add Your own attribution 120 | notices within Derivative Works that You distribute, alongside 121 | or as an addendum to the NOTICE text from the Work, provided 122 | that such additional attribution notices cannot be construed 123 | as modifying the License. 124 | 125 | You may add Your own copyright statement to Your modifications and 126 | may provide additional or different license terms and conditions 127 | for use, reproduction, or distribution of Your modifications, or 128 | for any such Derivative Works as a whole, provided Your use, 129 | reproduction, and distribution of the Work otherwise complies with 130 | the conditions stated in this License. 131 | 132 | 5. Submission of Contributions. Unless You explicitly state otherwise, 133 | any Contribution intentionally submitted for inclusion in the Work 134 | by You to the Licensor shall be under the terms and conditions of 135 | this License, without any additional terms or conditions. 136 | Notwithstanding the above, nothing herein shall supersede or modify 137 | the terms of any separate license agreement you may have executed 138 | with Licensor regarding such Contributions. 139 | 140 | 6. Trademarks. This License does not grant permission to use the trade 141 | names, trademarks, service marks, or product names of the Licensor, 142 | except as required for reasonable and customary use in describing the 143 | origin of the Work and reproducing the content of the NOTICE file. 144 | 145 | 7. Disclaimer of Warranty. Unless required by applicable law or 146 | agreed to in writing, Licensor provides the Work (and each 147 | Contributor provides its Contributions) on an "AS IS" BASIS, 148 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 149 | implied, including, without limitation, any warranties or conditions 150 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 151 | PARTICULAR PURPOSE. You are solely responsible for determining the 152 | appropriateness of using or redistributing the Work and assume any 153 | risks associated with Your exercise of permissions under this License. 154 | 155 | 8. Limitation of Liability. In no event and under no legal theory, 156 | whether in tort (including negligence), contract, or otherwise, 157 | unless required by applicable law (such as deliberate and grossly 158 | negligent acts) or agreed to in writing, shall any Contributor be 159 | liable to You for damages, including any direct, indirect, special, 160 | incidental, or consequential damages of any character arising as a 161 | result of this License or out of the use or inability to use the 162 | Work (including but not limited to damages for loss of goodwill, 163 | work stoppage, computer failure or malfunction, or any and all 164 | other commercial damages or losses), even if such Contributor 165 | has been advised of the possibility of such damages. 166 | 167 | 9. Accepting Warranty or Additional Liability. While redistributing 168 | the Work or Derivative Works thereof, You may choose to offer, 169 | and charge a fee for, acceptance of support, warranty, indemnity, 170 | or other liability obligations and/or rights consistent with this 171 | License. However, in accepting such obligations, You may act only 172 | on Your own behalf and on Your sole responsibility, not on behalf 173 | of any other Contributor, and only if You agree to indemnify, 174 | defend, and hold each Contributor harmless for any liability 175 | incurred by, or claims asserted against, such Contributor by reason 176 | of your accepting any such warranty or additional liability. 177 | 178 | END OF TERMS AND CONDITIONS 179 | 180 | APPENDIX: How to apply the Apache License to your work. 181 | 182 | To apply the Apache License to your work, attach the following 183 | boilerplate notice, with the fields enclosed by brackets "[]" 184 | replaced with your own identifying information. (Don't include 185 | the brackets!) The text should be enclosed in the appropriate 186 | comment syntax for the file format. We also recommend that a 187 | file or class name and description of purpose be included on the 188 | same "printed page" as the copyright notice for easier 189 | identification within third-party archives. 190 | 191 | Copyright [yyyy] [name of copyright owner] 192 | 193 | Licensed under the Apache License, Version 2.0 (the "License"); 194 | you may not use this file except in compliance with the License. 195 | You may obtain a copy of the License at 196 | 197 | http://www.apache.org/licenses/LICENSE-2.0 198 | 199 | Unless required by applicable law or agreed to in writing, software 200 | distributed under the License is distributed on an "AS IS" BASIS, 201 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 202 | See the License for the specific language governing permissions and 203 | limitations under the License. -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/META-INF/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Bundle-ManifestVersion: 2 3 | Bundle-Name: AEM IDE Tools: UI-Extensions 4 | Bundle-SymbolicName: com.adobe.granite.ide.eclipse-ui;singleton:=true 5 | Bundle-Version: 1.3.1.qualifier 6 | Bundle-Activator: com.adobe.granite.ide.eclipse.ui.Activator 7 | Bundle-Vendor: ADOBE 8 | Require-Bundle: org.eclipse.ui, 9 | org.eclipse.core.runtime, 10 | org.eclipse.m2e.core;bundle-version="1.4.0", 11 | org.eclipse.m2e.archetype.common;bundle-version="1.4.0", 12 | org.eclipse.m2e.maven.runtime;bundle-version="1.4.0", 13 | org.eclipse.ui.console, 14 | org.eclipse.jdt.ui, 15 | org.eclipse.m2e.launching;bundle-version="1.2.0", 16 | org.eclipse.debug.ui;bundle-version="3.7.102", 17 | org.junit;visibility:=private, 18 | org.apache.sling.ide.eclipse-core;bundle-version="[1.0.0,2.0.0)", 19 | org.apache.sling.ide.eclipse-m2e-ui;bundle-version="[1.0.0,2.0.0)", 20 | org.apache.sling.ide.eclipse-ui;bundle-version="[1.0.0,2.0.0)" 21 | Bundle-RequiredExecutionEnvironment: JavaSE-1.6 22 | Import-Package: org.apache.sling.ide.eclipse.core, 23 | org.eclipse.core.resources, 24 | org.eclipse.debug.core, 25 | org.eclipse.ui.forms.events, 26 | org.eclipse.ui.forms.widgets, 27 | org.eclipse.wst.common.project.facet.core, 28 | org.eclipse.wst.common.project.facet.core.internal, 29 | org.eclipse.wst.server.core, 30 | org.eclipse.wst.server.ui.wizard 31 | Bundle-ActivationPolicy: lazy 32 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/build.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2014 Adobe Systems Incorporated 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | source.. = src/main/java/ 17 | output.. = bin/ 18 | bin.includes = META-INF/,\ 19 | .,\ 20 | plugin.xml,\ 21 | icons/,\ 22 | templates/ 23 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/icons/crxde_lite.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.eclipse-ui/icons/crxde_lite.gif -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/icons/granitesmall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.eclipse-ui/icons/granitesmall.png -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/icons/mc_experiencemanager_transp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.eclipse-ui/icons/mc_experiencemanager_transp.png -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/icons/mc_experiencemanager_transp_big.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.eclipse-ui/icons/mc_experiencemanager_transp_big.png -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/icons/mc_experiencemanager_transp_medium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.eclipse-ui/icons/mc_experiencemanager_transp_medium.png -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/plugin.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 18 | 19 | 21 | 24 | 25 | 32 | 33 | 34 | 36 | 41 | 42 | 43 | 45 | 47 | 49 | 50 | 51 | 52 | 53 | 54 | 56 | 60 | 61 | 64 | 65 | 67 | 68 | 69 | 72 | 73 | 74 | 77 | 78 | 79 | 82 | 83 | 84 | 87 | 88 | 89 | 92 | 93 | 94 | 97 | 98 | 99 | 102 | 103 | 104 | 105 | 108 | 109 | 110 | 113 | 114 | 115 | 116 | 117 | 119 | 120 | 124 | 125 | 126 | 127 | 128 | 130 | 132 | 136 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 146 | 149 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 165 | 166 | 167 | 169 | 170 | 171 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 210 | 211 | 212 | 213 | 214 | 215 | 221 | 222 | 223 | 224 | 226 | 229 | 230 | 236 | 237 | 238 | 239 | 241 | 244 | 245 | 251 | 252 | Import content from a remote Repository into the local Workspace. 253 | 254 | 255 | 256 | 257 | 258 | 260 | 265 | 266 | 267 | 268 | 269 | 271 | 272 | 273 | 274 | 275 | 278 | 279 | 280 | 281 | 283 | 287 | 288 | 289 | 290 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 10 | 11 | 4.0.0 12 | 13 | 14 | com.adobe.granite.ide 15 | aem-eclipse-developer-tools 16 | 1.3.1-SNAPSHOT 17 | ../ 18 | 19 | 20 | com.adobe.granite.ide 21 | com.adobe.granite.ide.eclipse-ui 22 | eclipse-plugin 23 | 24 | Granite IDE Tools: Extensions 25 | 26 | 27 | 28 | 29 | src/main/java 30 | 31 | **/*.java 32 | 33 | 34 | 35 | src/test/java 36 | 37 | 38 | org.apache.maven.plugins 39 | maven-surefire-plugin 40 | 2.18.1 41 | 42 | 43 | test 44 | test 45 | 46 | 47 | **/*Test.java 48 | 49 | 50 | 51 | test 52 | 53 | 54 | 55 | 56 | 57 | maven-compiler-plugin 58 | 3.1 59 | 60 | 61 | compiletests 62 | test-compile 63 | 64 | testCompile 65 | 66 | 67 | 68 | 69 | 1.6 70 | 1.6 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | junit 79 | junit 80 | 4.13 81 | test 82 | 83 | 84 | org.apache.maven.shared 85 | maven-shared-utils 86 | 3.2.1 87 | test 88 | 89 | 90 | 91 | 92 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/Activator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Adobe Systems Incorporated 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.adobe.granite.ide.eclipse.ui; 17 | 18 | import org.apache.sling.ide.eclipse.ui.WhitelabelSupport; 19 | import org.eclipse.ui.plugin.AbstractUIPlugin; 20 | import org.osgi.framework.BundleContext; 21 | 22 | import com.adobe.granite.ide.eclipse.ui.internal.SharedImages; 23 | 24 | /** 25 | * The activator class controls the plug-in life cycle 26 | */ 27 | public class Activator extends AbstractUIPlugin { 28 | 29 | // The plug-in ID 30 | public static final String PLUGIN_ID = "com.adobe.granite.ide.eclipse-ui"; //$NON-NLS-1$ 31 | 32 | // The shared instance 33 | private static Activator plugin; 34 | 35 | /** 36 | * The constructor 37 | */ 38 | public Activator() { 39 | } 40 | 41 | /* 42 | * (non-Javadoc) 43 | * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext) 44 | */ 45 | public void start(BundleContext context) throws Exception { 46 | super.start(context); 47 | plugin = this; 48 | 49 | WhitelabelSupport.setWizardBanner(SharedImages.AEM_MEDIUM_LOGO); 50 | WhitelabelSupport.setProjectWizardBanner(SharedImages.AEM_MEDIUM_LOGO); 51 | WhitelabelSupport.setJcrNodeIcon(SharedImages.NT_UNSTRUCTURED); 52 | WhitelabelSupport.setProductIcon(SharedImages.AEM_ICON); 53 | WhitelabelSupport.setProductName("AEM"); 54 | } 55 | 56 | /* 57 | * (non-Javadoc) 58 | * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext) 59 | */ 60 | public void stop(BundleContext context) throws Exception { 61 | plugin = null; 62 | super.stop(context); 63 | } 64 | 65 | /** 66 | * Returns the shared instance 67 | * 68 | * @return the shared instance 69 | */ 70 | public static Activator getDefault() { 71 | return plugin; 72 | } 73 | 74 | } 75 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/internal/ApplyDefaultCQServerValuesFragment.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 Adobe Systems Incorporated 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.adobe.granite.ide.eclipse.ui.internal; 17 | 18 | import org.apache.sling.ide.eclipse.core.ISlingLaunchpadServer; 19 | import org.eclipse.core.runtime.CoreException; 20 | import org.eclipse.core.runtime.IProgressMonitor; 21 | import org.eclipse.wst.server.core.IServer; 22 | import org.eclipse.wst.server.core.IServerWorkingCopy; 23 | import org.eclipse.wst.server.core.TaskModel; 24 | import org.eclipse.wst.server.ui.wizard.WizardFragment; 25 | 26 | public class ApplyDefaultCQServerValuesFragment extends WizardFragment { 27 | 28 | @Override 29 | public boolean hasComposite() { 30 | return false; 31 | } 32 | 33 | @Override 34 | public void performFinish(IProgressMonitor monitor) throws CoreException { 35 | 36 | IServer server = (IServer) getTaskModel().getObject(TaskModel.TASK_SERVER); 37 | if (server instanceof IServerWorkingCopy) { 38 | IServerWorkingCopy wc = (IServerWorkingCopy) server; 39 | 40 | wc.setAttribute(ISlingLaunchpadServer.PROP_PORT, DefaultCQLaunchpadConfiguration.INSTANCE.getPort()); 41 | 42 | wc.save(true, monitor); 43 | } 44 | 45 | } 46 | } 47 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/internal/DefaultCQLaunchpadConfiguration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2016 Adobe Systems Incorporated 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.adobe.granite.ide.eclipse.ui.internal; 17 | 18 | import org.apache.sling.ide.eclipse.core.DefaultSlingLaunchpadConfiguration; 19 | 20 | public class DefaultCQLaunchpadConfiguration extends DefaultSlingLaunchpadConfiguration { 21 | 22 | public static final DefaultCQLaunchpadConfiguration INSTANCE = new DefaultCQLaunchpadConfiguration(); 23 | 24 | @Override 25 | public int getPort() { 26 | return 4502; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/internal/OpenInCrxDeLiteHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Adobe Systems Incorporated 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.adobe.granite.ide.eclipse.ui.internal; 17 | 18 | import java.net.MalformedURLException; 19 | import java.net.URL; 20 | 21 | import org.apache.sling.ide.eclipse.core.ISlingLaunchpadServer; 22 | import org.apache.sling.ide.eclipse.ui.browser.AbstractOpenInBrowserHandler; 23 | import org.apache.sling.ide.eclipse.ui.nav.model.JcrNode; 24 | import org.eclipse.wst.server.core.IServer; 25 | 26 | public class OpenInCrxDeLiteHandler extends AbstractOpenInBrowserHandler{ 27 | 28 | @Override 29 | protected URL getUrlToOpen(JcrNode node, IServer server) throws MalformedURLException { 30 | 31 | return new URL("http", server.getHost(), server.getAttribute(ISlingLaunchpadServer.PROP_PORT, 8080), 32 | "/crx/de/index.jsp#" + node.getJcrPath()); 33 | } 34 | 35 | } 36 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/internal/QuickstartProjectConfigurator.java: -------------------------------------------------------------------------------- 1 | package com.adobe.granite.ide.eclipse.ui.internal; 2 | 3 | import org.apache.sling.ide.eclipse.core.ConfigurationHelper; 4 | import org.eclipse.core.runtime.CoreException; 5 | import org.eclipse.core.runtime.IProgressMonitor; 6 | import org.eclipse.core.runtime.Path; 7 | import org.eclipse.m2e.core.project.configurator.AbstractProjectConfigurator; 8 | import org.eclipse.m2e.core.project.configurator.ProjectConfigurationRequest; 9 | 10 | public class QuickstartProjectConfigurator extends AbstractProjectConfigurator { 11 | 12 | @Override 13 | public void configure(ProjectConfigurationRequest request, IProgressMonitor monitor) throws CoreException { 14 | ConfigurationHelper.convertToLaunchpadProject(request.getProject(), Path.fromPortableString("src/main/provisioning")); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/internal/SharedImages.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Adobe Systems Incorporated 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.adobe.granite.ide.eclipse.ui.internal; 17 | 18 | import java.net.URL; 19 | 20 | import org.eclipse.core.runtime.FileLocator; 21 | import org.eclipse.core.runtime.IPath; 22 | import org.eclipse.core.runtime.Path; 23 | import org.eclipse.jface.resource.ImageDescriptor; 24 | import org.osgi.framework.Bundle; 25 | 26 | import com.adobe.granite.ide.eclipse.ui.Activator; 27 | 28 | /** 29 | * The SharedImages class contains references to images 30 | * 31 | */ 32 | public final class SharedImages { 33 | 34 | public static final ImageDescriptor AEM_MEDIUM_LOGO = createImageDescriptor(Activator.getDefault().getBundle(), 35 | Path.fromPortableString("icons/mc_experiencemanager_transp_medium.png")); 36 | public static final ImageDescriptor NT_UNSTRUCTURED = ImageDescriptor.createFromFile(SharedImages.class, "unstructured.png"); 37 | public static final ImageDescriptor AEM_ICON = createImageDescriptor(Activator.getDefault().getBundle(), 38 | Path.fromPortableString("icons/mc_experiencemanager_transp.png")); 39 | 40 | public static ImageDescriptor createImageDescriptor(Bundle bundle, IPath path) { 41 | URL url = FileLocator.find(bundle, path, null); 42 | if (url != null) { 43 | return ImageDescriptor.createFromURL(url); 44 | } 45 | return null; 46 | } 47 | 48 | private SharedImages() { 49 | } 50 | 51 | } 52 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/internal/graniteUnstructuredShaded.psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/internal/graniteUnstructuredShaded.psd -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/internal/granitemedium.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/internal/granitemedium.png -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/internal/unstructured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/internal/unstructured.png -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/perspectives/GranitePerspective.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Adobe Systems Incorporated 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.adobe.granite.ide.eclipse.ui.perspectives; 17 | 18 | import org.eclipse.ui.IFolderLayout; 19 | import org.eclipse.ui.IPageLayout; 20 | import org.eclipse.ui.IPerspectiveFactory; 21 | import org.eclipse.ui.console.IConsoleConstants; 22 | import org.eclipse.jdt.ui.JavaUI; 23 | 24 | 25 | /** 26 | * This class is meant to serve as an example for how various contributions 27 | * are made to a perspective. Note that some of the extension point id's are 28 | * referred to as API constants while others are hardcoded and may be subject 29 | * to change. 30 | */ 31 | public class GranitePerspective implements IPerspectiveFactory { 32 | 33 | private IPageLayout factory; 34 | 35 | public GranitePerspective() { 36 | super(); 37 | } 38 | 39 | public void createInitialLayout(IPageLayout factory) { 40 | this.factory = factory; 41 | addViews(); 42 | addActionSets(); 43 | addNewWizardShortcuts(); 44 | addPerspectiveShortcuts(); 45 | addViewShortcuts(); 46 | } 47 | 48 | private void addViews() { 49 | // Creates the overall folder layout. 50 | // Note that each new Folder uses a percentage of the remaining EditorArea. 51 | 52 | IFolderLayout veryBottom = 53 | factory.createFolder( 54 | "veryBottom", 55 | IPageLayout.BOTTOM, 56 | 0.82f, 57 | factory.getEditorArea()); 58 | // leftBottom.addView("org.eclipse.wst.server.ui.ServersView"); 59 | veryBottom.addView(IConsoleConstants.ID_CONSOLE_VIEW); 60 | 61 | IFolderLayout left = 62 | factory.createFolder( 63 | "topLeft", //NON-NLS-1 64 | IPageLayout.LEFT, 65 | 0.3f, 66 | factory.getEditorArea()); 67 | left.addView(IPageLayout.ID_PROJECT_EXPLORER); 68 | left.addPlaceholder(IPageLayout.ID_RES_NAV); 69 | 70 | IFolderLayout leftMiddle = 71 | factory.createFolder( 72 | "leftMiddle", 73 | IPageLayout.BOTTOM, 74 | 0.75f, 75 | IPageLayout.ID_PROJECT_EXPLORER); 76 | leftMiddle.addView("org.eclipse.wst.server.ui.ServersView"); 77 | 78 | IFolderLayout bottomRight = 79 | factory.createFolder( 80 | "bottomRight", //NON-NLS-1 81 | IPageLayout.BOTTOM, 82 | 0.7f, 83 | factory.getEditorArea()); 84 | // bottomRight.addView(IPageLayout.ID_PROP_SHEET); 85 | bottomRight.addView("com.adobe.granite.ide.views.ui.views.JcrPropertiesView"); 86 | bottomRight.addView(IPageLayout.ID_PROBLEM_VIEW); 87 | bottomRight.addView("org.eclipse.team.ui.GenericHistoryView"); //NON-NLS-1 88 | // bottomRight.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW); 89 | 90 | IFolderLayout right = 91 | factory.createFolder( 92 | "right", 93 | IPageLayout.RIGHT, 94 | 0.75f, 95 | factory.getEditorArea()); 96 | right.addView(IPageLayout.ID_OUTLINE); 97 | 98 | factory.addFastView("org.eclipse.team.ccvs.ui.RepositoriesView",0.50f); //NON-NLS-1 99 | factory.addFastView("org.eclipse.team.sync.views.SynchronizeView", 0.50f); //NON-NLS-1 100 | } 101 | 102 | private void addActionSets() { 103 | factory.addActionSet("org.eclipse.debug.ui.launchActionSet"); //NON-NLS-1 104 | factory.addActionSet("org.eclipse.debug.ui.debugActionSet"); //NON-NLS-1 105 | factory.addActionSet("org.eclipse.debug.ui.profileActionSet"); //NON-NLS-1 106 | factory.addActionSet("org.eclipse.jdt.debug.ui.JDTDebugActionSet"); //NON-NLS-1 107 | factory.addActionSet("org.eclipse.jdt.junit.JUnitActionSet"); //NON-NLS-1 108 | factory.addActionSet("org.eclipse.team.ui.actionSet"); //NON-NLS-1 109 | factory.addActionSet("org.eclipse.team.cvs.ui.CVSActionSet"); //NON-NLS-1 110 | factory.addActionSet("org.eclipse.ant.ui.actionSet.presentation"); //NON-NLS-1 111 | factory.addActionSet(JavaUI.ID_ACTION_SET); 112 | factory.addActionSet(JavaUI.ID_ELEMENT_CREATION_ACTION_SET); 113 | factory.addActionSet(IPageLayout.ID_NAVIGATE_ACTION_SET); //NON-NLS-1 114 | } 115 | 116 | private void addPerspectiveShortcuts() { 117 | factory.addPerspectiveShortcut("org.eclipse.team.ui.TeamSynchronizingPerspective"); //NON-NLS-1 118 | factory.addPerspectiveShortcut("org.eclipse.team.cvs.ui.cvsPerspective"); //NON-NLS-1 119 | factory.addPerspectiveShortcut("org.eclipse.ui.resourcePerspective"); //NON-NLS-1 120 | } 121 | 122 | private void addNewWizardShortcuts() { 123 | factory.addNewWizardShortcut("org.apache.sling.ide.eclipse.ui.wizards.NewSlingProjectWizard");//NON-NLS-1 124 | factory.addNewWizardShortcut("org.eclipse.team.cvs.ui.newProjectCheckout");//NON-NLS-1 125 | factory.addNewWizardShortcut("org.eclipse.ui.wizards.new.folder");//NON-NLS-1 126 | factory.addNewWizardShortcut("org.eclipse.ui.wizards.new.file");//NON-NLS-1 127 | } 128 | 129 | private void addViewShortcuts() { 130 | factory.addShowViewShortcut("org.eclipse.ant.ui.views.AntView"); //NON-NLS-1 131 | factory.addShowViewShortcut("org.eclipse.team.ccvs.ui.AnnotateView"); //NON-NLS-1 132 | factory.addShowViewShortcut("org.eclipse.pde.ui.DependenciesView"); //NON-NLS-1 133 | factory.addShowViewShortcut("org.eclipse.jdt.junit.ResultView"); //NON-NLS-1 134 | factory.addShowViewShortcut("org.eclipse.team.ui.GenericHistoryView"); //NON-NLS-1 135 | factory.addShowViewShortcut(IConsoleConstants.ID_CONSOLE_VIEW); 136 | factory.addShowViewShortcut(JavaUI.ID_PACKAGES); 137 | factory.addShowViewShortcut(IPageLayout.ID_RES_NAV); 138 | factory.addShowViewShortcut(IPageLayout.ID_PROBLEM_VIEW); 139 | factory.addShowViewShortcut(IPageLayout.ID_OUTLINE); 140 | } 141 | 142 | } 143 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/wizards/np/AdvancedSettingsComponent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Adobe Systems Incorporated 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.adobe.granite.ide.eclipse.ui.wizards.np; 17 | 18 | import java.util.LinkedHashMap; 19 | import java.util.List; 20 | import java.util.Map; 21 | 22 | import org.apache.maven.archetype.catalog.Archetype; 23 | import org.apache.maven.archetype.metadata.RequiredProperty; 24 | import org.apache.maven.artifact.repository.ArtifactRepository; 25 | import org.eclipse.jface.viewers.CellEditor; 26 | import org.eclipse.jface.viewers.CellNavigationStrategy; 27 | import org.eclipse.jface.viewers.ColumnViewerEditor; 28 | import org.eclipse.jface.viewers.ColumnViewerEditorActivationEvent; 29 | import org.eclipse.jface.viewers.ColumnViewerEditorActivationStrategy; 30 | import org.eclipse.jface.viewers.FocusCellOwnerDrawHighlighter; 31 | import org.eclipse.jface.viewers.ICellModifier; 32 | import org.eclipse.jface.viewers.TableViewer; 33 | import org.eclipse.jface.viewers.TableViewerEditor; 34 | import org.eclipse.jface.viewers.TableViewerFocusCellManager; 35 | import org.eclipse.jface.viewers.TextCellEditor; 36 | import org.eclipse.m2e.core.internal.MavenPluginActivator; 37 | import org.eclipse.m2e.core.internal.archetype.ArchetypeManager; 38 | import org.eclipse.m2e.core.project.ProjectImportConfiguration; 39 | import org.eclipse.swt.SWT; 40 | import org.eclipse.swt.events.KeyAdapter; 41 | import org.eclipse.swt.events.KeyEvent; 42 | import org.eclipse.swt.events.ModifyEvent; 43 | import org.eclipse.swt.events.ModifyListener; 44 | import org.eclipse.swt.graphics.Point; 45 | import org.eclipse.swt.layout.GridData; 46 | import org.eclipse.swt.layout.GridLayout; 47 | import org.eclipse.swt.widgets.Composite; 48 | import org.eclipse.swt.widgets.Label; 49 | import org.eclipse.swt.widgets.Shell; 50 | import org.eclipse.swt.widgets.Table; 51 | import org.eclipse.swt.widgets.TableColumn; 52 | import org.eclipse.swt.widgets.TableItem; 53 | import org.eclipse.swt.widgets.Text; 54 | import org.eclipse.ui.forms.events.ExpansionAdapter; 55 | import org.eclipse.ui.forms.events.ExpansionEvent; 56 | import org.eclipse.ui.forms.widgets.ExpandableComposite; 57 | 58 | public class AdvancedSettingsComponent extends ExpandableComposite { 59 | 60 | private static final String KEY_PROPERTY = "key"; 61 | 62 | private static final String VALUE_PROPERTY = "value"; 63 | 64 | private static final String DEFAULT_VALUE_PROPERTY = "defaultValue"; 65 | 66 | public static final String GROUP_ID = "groupId"; 67 | 68 | public static final String ARTIFACT_ID = "artifactId"; 69 | 70 | public static final String APP_ID = "appId"; 71 | 72 | public static final String APP_TITLE = "appTitle"; 73 | 74 | Text javaPackage; 75 | 76 | private boolean javaPackageModified; 77 | 78 | private TableViewer propertiesViewer; 79 | 80 | Table propertiesTable; 81 | 82 | private Map properties = new LinkedHashMap(); 83 | 84 | Text version; 85 | 86 | private final SimplerParametersWizardPage wizardPage; 87 | 88 | /** 89 | * Creates a new component. 90 | * 91 | * @param wizardPage 92 | */ 93 | public AdvancedSettingsComponent(final Composite parent, 94 | final ProjectImportConfiguration propectImportConfiguration, 95 | final boolean enableProjectNameTemplate, 96 | SimplerParametersWizardPage wizardPage) { 97 | super(parent, ExpandableComposite.COMPACT | ExpandableComposite.TWISTIE 98 | | ExpandableComposite.EXPANDED); 99 | this.wizardPage = wizardPage; 100 | setText("Advanced"); 101 | final Composite advancedComposite = new Composite(this, SWT.NONE); 102 | setClient(advancedComposite); 103 | addExpansionListener(new ExpansionAdapter() { 104 | public void expansionStateChanged(ExpansionEvent e) { 105 | Shell shell = parent.getShell(); 106 | Point minSize = shell.getMinimumSize(); 107 | shell.setMinimumSize(shell.getSize().x, minSize.y); 108 | shell.pack(); 109 | parent.layout(); 110 | shell.setMinimumSize(minSize); 111 | } 112 | }); 113 | GridLayout gridLayout = new GridLayout(); 114 | gridLayout.marginLeft = 11; 115 | gridLayout.numColumns = 2; 116 | advancedComposite.setLayout(gridLayout); 117 | createAdvancedSection(advancedComposite); 118 | } 119 | 120 | public void createAdvancedSection(Composite container) { 121 | Label label; 122 | GridData gd; 123 | 124 | label = new Label(container, SWT.NULL); 125 | label.setText("&Version:"); 126 | 127 | version = new Text(container, SWT.BORDER | SWT.SINGLE); 128 | gd = new GridData(GridData.FILL_HORIZONTAL); 129 | version.setLayoutData(gd); 130 | version.setText("0.0.1-SNAPSHOT"); 131 | version.addModifyListener(new ModifyListener() { 132 | public void modifyText(ModifyEvent e) { 133 | wizardPage.dialogChanged(); 134 | } 135 | }); 136 | 137 | label = new Label(container, SWT.NULL); 138 | label.setText("&Package:"); 139 | 140 | javaPackage = new Text(container, SWT.BORDER | SWT.SINGLE); 141 | gd = new GridData(GridData.FILL_HORIZONTAL); 142 | javaPackage.setLayoutData(gd); 143 | javaPackageModified = false; 144 | javaPackage.addKeyListener(new KeyAdapter() { 145 | @Override 146 | public void keyPressed(KeyEvent e) { 147 | javaPackageModified = true; 148 | } 149 | }); 150 | javaPackage.addModifyListener(new ModifyListener() { 151 | public void modifyText(ModifyEvent e) { 152 | wizardPage.dialogChanged(); 153 | } 154 | }); 155 | 156 | label = new Label(container, SWT.NULL); 157 | gd = new GridData(SWT.LEFT, SWT.TOP, false, false); 158 | label.setLayoutData(gd); 159 | label.setText("&Parameters:"); 160 | 161 | propertiesViewer = new TableViewer(container, SWT.BORDER 162 | | SWT.FULL_SELECTION); 163 | propertiesTable = propertiesViewer.getTable(); 164 | propertiesTable.setLinesVisible(true); 165 | propertiesTable.setHeaderVisible(true); 166 | propertiesTable.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, 167 | true, 2, 2)); 168 | 169 | CellNavigationStrategy strategy = new CellNavigationStrategy(); 170 | TableViewerFocusCellManager focusCellMgr = new TableViewerFocusCellManager( 171 | propertiesViewer, new FocusCellOwnerDrawHighlighter( 172 | propertiesViewer), strategy); 173 | 174 | ColumnViewerEditorActivationStrategy actSupport = new ColumnViewerEditorActivationStrategy( 175 | propertiesViewer) { 176 | 177 | @Override 178 | protected boolean isEditorActivationEvent( 179 | ColumnViewerEditorActivationEvent event) { 180 | return event.eventType == ColumnViewerEditorActivationEvent.TRAVERSAL 181 | || event.eventType == ColumnViewerEditorActivationEvent.MOUSE_DOUBLE_CLICK_SELECTION 182 | || (event.eventType == ColumnViewerEditorActivationEvent.KEY_PRESSED && event.keyCode == SWT.CR) 183 | || event.eventType == ColumnViewerEditorActivationEvent.PROGRAMMATIC; 184 | } 185 | }; 186 | int features = ColumnViewerEditor.TABBING_HORIZONTAL 187 | | ColumnViewerEditor.TABBING_MOVE_TO_ROW_NEIGHBOR 188 | | ColumnViewerEditor.TABBING_VERTICAL 189 | | ColumnViewerEditor.KEYBOARD_ACTIVATION 190 | | ColumnViewerEditor.KEEP_EDITOR_ON_DOUBLE_CLICK; 191 | TableViewerEditor.create(propertiesViewer, focusCellMgr, actSupport, 192 | features); 193 | 194 | TableColumn propertiesTableNameColumn = new TableColumn( 195 | propertiesTable, SWT.NONE); 196 | propertiesTableNameColumn.setWidth(180); 197 | propertiesTableNameColumn.setText("Name"); 198 | 199 | TableColumn propertiesTableValueColumn = new TableColumn( 200 | propertiesTable, SWT.NONE); 201 | propertiesTableValueColumn.setWidth(300); 202 | propertiesTableValueColumn.setText("Value"); 203 | 204 | TableColumn propertiesTableDefaultValueColumn = new TableColumn( 205 | propertiesTable, SWT.NONE); 206 | propertiesTableDefaultValueColumn.setWidth(300); 207 | propertiesTableDefaultValueColumn.setText("Default"); 208 | 209 | propertiesViewer.setColumnProperties(new String[] { 210 | KEY_PROPERTY, 211 | VALUE_PROPERTY, 212 | DEFAULT_VALUE_PROPERTY}); 213 | 214 | propertiesViewer.setCellEditors(new CellEditor[] { 215 | null /* cannot edit the name */, 216 | new TextCellEditor(propertiesTable, SWT.NONE) }); 217 | propertiesViewer.setCellModifier(new ICellModifier() { 218 | public boolean canModify(Object element, String property) { 219 | return true; 220 | } 221 | 222 | public void modify(Object element, String property, Object value) { 223 | if (element instanceof TableItem) { 224 | TableItem item = (TableItem) element; 225 | item.setText( 226 | getTextIndex(property), 227 | String.valueOf(value)); 228 | handleModifyText(item.getText(0), String.valueOf(value), true); 229 | wizardPage.dialogChanged(); 230 | } 231 | } 232 | 233 | public Object getValue(Object element, String property) { 234 | if (element instanceof TableItem) { 235 | return ((TableItem) element) 236 | .getText(getTextIndex(property)); 237 | } 238 | return null; 239 | } 240 | }); 241 | 242 | } 243 | 244 | protected int getTextIndex(String property) { 245 | if (KEY_PROPERTY.equals(property)) { 246 | return 0; 247 | } else { 248 | return 1; 249 | } 250 | } 251 | 252 | @SuppressWarnings("restriction") 253 | void initialize() { 254 | if (propertiesTable == null) { 255 | return; 256 | } 257 | 258 | Archetype archetype = wizardPage.getChosenArchetype(); 259 | if (archetype == null) { 260 | return; 261 | } 262 | 263 | try { 264 | ArchetypeManager archetypeManager = MavenPluginActivator 265 | .getDefault().getArchetypeManager(); 266 | ArtifactRepository remoteArchetypeRepository = archetypeManager 267 | .getArchetypeRepository(archetype); 268 | properties.clear(); 269 | for (RequiredProperty prop : (List) archetypeManager 270 | .getRequiredProperties(archetype, 271 | remoteArchetypeRepository, null)) { 272 | properties.put(prop.getKey(), new RequiredPropertyWrapper(prop)); 273 | } 274 | updateTable(); 275 | } catch (Exception e) { 276 | throw new RuntimeException("Could not process archetype: " 277 | + e.getMessage(), e); 278 | } 279 | 280 | } 281 | 282 | @SuppressWarnings("restriction") 283 | public void handleModifyText(String propertyKey, String newValue, boolean updateMainControls) { 284 | RequiredPropertyWrapper property = properties.get(propertyKey); 285 | if (property != null) { 286 | property.setValue(newValue); 287 | property.setModified(true); 288 | 289 | PropUtils.updateProperties(properties); 290 | 291 | if (updateMainControls) { 292 | RequiredPropertyWrapper groupId = properties.get(GROUP_ID); 293 | if (groupId != null && groupId.getValue() != null) { 294 | wizardPage.setGroupId(groupId.getValue()); 295 | if (!javaPackageModified) { 296 | javaPackage.setText(SimplerParametersWizardPage.getDefaultJavaPackage(groupId.getValue(), "")); 297 | } 298 | } 299 | RequiredPropertyWrapper artifactId = properties.get(ARTIFACT_ID); 300 | if (artifactId != null && artifactId.getValue() != null) { 301 | wizardPage.setArtifactId(artifactId.getValue()); 302 | } 303 | } 304 | } 305 | updateTable(); 306 | } 307 | 308 | public void updateTable() { 309 | Table table = propertiesViewer.getTable(); 310 | table.setItemCount(properties.size()); 311 | int i = 0; 312 | for (String key : properties.keySet()) { 313 | RequiredPropertyWrapper property = properties.get(key); 314 | TableItem item = table.getItem(i++); 315 | item.setText(0, property.getKey()); 316 | item.setText(1, property.getValue() != null ? property.getValue() : ""); 317 | item.setText(2, property.getDefaultValue() != null ? property.getDefaultValue() : ""); 318 | item.setData(item); 319 | } 320 | 321 | } 322 | } -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/wizards/np/NewGraniteProjectWizard.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Adobe Systems Incorporated 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.adobe.granite.ide.eclipse.ui.wizards.np; 17 | 18 | import java.util.Iterator; 19 | import java.util.List; 20 | 21 | import org.apache.maven.archetype.catalog.Archetype; 22 | import org.apache.maven.model.Model; 23 | import org.apache.maven.model.Parent; 24 | import org.apache.sling.ide.eclipse.core.ISlingLaunchpadConfiguration; 25 | import org.apache.sling.ide.eclipse.core.internal.ProjectHelper; 26 | import org.apache.sling.ide.eclipse.ui.wizards.np.AbstractNewMavenBasedSlingApplicationWizard; 27 | import org.apache.sling.ide.eclipse.ui.wizards.np.ArchetypeParametersWizardPage; 28 | import org.eclipse.core.resources.IFile; 29 | import org.eclipse.core.resources.IProject; 30 | import org.eclipse.core.runtime.CoreException; 31 | import org.eclipse.core.runtime.IPath; 32 | import org.eclipse.core.runtime.IProgressMonitor; 33 | import org.eclipse.core.runtime.NullProgressMonitor; 34 | import org.eclipse.m2e.core.MavenPlugin; 35 | import org.eclipse.wst.server.core.IModule; 36 | 37 | import com.adobe.granite.ide.eclipse.ui.internal.DefaultCQLaunchpadConfiguration; 38 | 39 | public class NewGraniteProjectWizard extends AbstractNewMavenBasedSlingApplicationWizard { 40 | 41 | @Override 42 | public String doGetWindowTitle() { 43 | return "Create new Adobe AEM application"; 44 | } 45 | 46 | @Override 47 | protected ArchetypeParametersWizardPage createArchetypeParametersWizardPage() { 48 | return new SimplerParametersWizardPage(this); 49 | } 50 | 51 | @Override 52 | public boolean acceptsArchetype(Archetype archetype2) { 53 | return (archetype2.getGroupId().startsWith("com.adobe.granite.archetypes")); 54 | } 55 | 56 | private IProject getParentProject(List projects) { 57 | for (Iterator it = projects.iterator(); it.hasNext();) { 58 | final IProject project = it.next(); 59 | final String packaging = ProjectHelper.getMavenProperty(project, "packaging"); 60 | final String artifactId = ProjectHelper.getMavenProperty(project, "artifactId"); 61 | if (artifactId!=null && artifactId.endsWith("parent") && packaging!=null && packaging.equals("pom")) { 62 | return project; 63 | } 64 | } 65 | return null; 66 | } 67 | 68 | private String calculateRelativePath(IProject from, IProject to) { 69 | IPath fromPath = from.getRawLocation(); 70 | IPath toPath = to.getRawLocation(); 71 | toPath.setDevice(null); 72 | fromPath.setDevice(null); 73 | int ssc = fromPath.matchingFirstSegments(toPath); 74 | fromPath = fromPath.removeFirstSegments(ssc); 75 | toPath = toPath.removeFirstSegments(ssc); 76 | StringBuffer relPath = new StringBuffer(); 77 | for(int i=0; i projects, IProgressMonitor monitor) 124 | throws CoreException{ 125 | IProject parentProject = getParentProject(projects); 126 | if (parentProject!=null) { 127 | fixParentProject(aContentProject, parentProject); 128 | } 129 | super.configureContentProject(aContentProject, projects, monitor); 130 | } 131 | 132 | @Override 133 | protected void configureBundleProject(IProject aBundleProject, 134 | List projects, IProgressMonitor monitor) 135 | throws CoreException { 136 | IProject parentProject = getParentProject(projects); 137 | if (parentProject!=null) { 138 | fixParentProject(aBundleProject, parentProject); 139 | } 140 | super.configureBundleProject(aBundleProject, projects, monitor); 141 | } 142 | 143 | @Override 144 | protected ISlingLaunchpadConfiguration getDefaultConfig() { 145 | return DefaultCQLaunchpadConfiguration.INSTANCE; 146 | } 147 | } 148 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/wizards/np/PropUtils.java: -------------------------------------------------------------------------------- 1 | package com.adobe.granite.ide.eclipse.ui.wizards.np; 2 | 3 | import java.util.Map; 4 | import java.util.regex.Matcher; 5 | import java.util.regex.Pattern; 6 | 7 | public class PropUtils { 8 | 9 | private static final Pattern pattern = Pattern.compile("\\$\\{(\\w+?)\\}"); 10 | 11 | /** 12 | * Update all properties based on default value, replacing placeholders with recursively processed values 13 | * 14 | * @param properties 15 | */ 16 | public static void updateProperties(Map properties) { 17 | for (String key : properties.keySet()) { 18 | getUpdateProperty(key, properties, 0); 19 | } 20 | } 21 | 22 | /** 23 | * Update a property, looking up and updating placeholders too, recursively 24 | * 25 | * @param key Property key 26 | * @param properties Properties map 27 | * @param calls Recursion limit to avoid stack overflow 28 | * 29 | * @return Updated value for the property 30 | */ 31 | @SuppressWarnings("restriction") 32 | private static String getUpdateProperty(String key, Map properties, int calls) { 33 | // Prevent stack overflows 34 | if (calls > 50) { 35 | return ""; 36 | } 37 | RequiredPropertyWrapper property = properties.get(key); 38 | if (property == null) { 39 | return ""; 40 | } 41 | // Skip manually modified properties 42 | if (!property.isModified()) { 43 | String defaultValue = property.getDefaultValue(); 44 | if (defaultValue != null) { 45 | Matcher matcher = pattern.matcher(defaultValue); 46 | String newValue = defaultValue; 47 | // For each matched placeholder, replace it with respective property, updating it before 48 | while (matcher.find()) { 49 | if (matcher.groupCount() > 0) { 50 | String match = matcher.group(1); 51 | newValue = newValue.replace("${" + match + "}", getUpdateProperty(match, properties, ++calls)); 52 | } 53 | } 54 | property.setValue(newValue); 55 | } else { 56 | property.setValue(""); 57 | } 58 | } 59 | return property.getValue(); 60 | } 61 | 62 | } 63 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/wizards/np/RequiredPropertyWrapper.java: -------------------------------------------------------------------------------- 1 | package com.adobe.granite.ide.eclipse.ui.wizards.np; 2 | 3 | import org.apache.maven.archetype.metadata.RequiredProperty; 4 | 5 | public class RequiredPropertyWrapper extends RequiredProperty { 6 | 7 | private boolean modified = false; 8 | 9 | private String value; 10 | 11 | public RequiredPropertyWrapper(RequiredProperty property) { 12 | super(); 13 | setKey(property.getKey()); 14 | setDefaultValue(property.getDefaultValue()); 15 | setValue(property.getDefaultValue()); 16 | } 17 | 18 | public boolean isModified() { 19 | return modified; 20 | } 21 | 22 | public void setModified(boolean modified) { 23 | this.modified = modified; 24 | } 25 | 26 | public String getValue() { 27 | return value; 28 | } 29 | 30 | public void setValue(String value) { 31 | this.value = value; 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/main/java/com/adobe/granite/ide/eclipse/ui/wizards/np/SimplerParametersWizardPage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2014 Adobe Systems Incorporated 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.adobe.granite.ide.eclipse.ui.wizards.np; 17 | 18 | import java.util.Properties; 19 | 20 | import org.apache.maven.archetype.catalog.Archetype; 21 | import org.apache.sling.ide.eclipse.ui.wizards.np.AbstractNewMavenBasedSlingApplicationWizard; 22 | import org.apache.sling.ide.eclipse.ui.wizards.np.ArchetypeParametersWizardPage; 23 | import org.apache.sling.ide.eclipse.ui.wizards.np.ChooseArchetypeWizardPage; 24 | import org.eclipse.core.resources.IProject; 25 | import org.eclipse.core.resources.ResourcesPlugin; 26 | import org.eclipse.swt.SWT; 27 | import org.eclipse.swt.events.ModifyEvent; 28 | import org.eclipse.swt.events.ModifyListener; 29 | import org.eclipse.swt.graphics.Color; 30 | import org.eclipse.swt.layout.GridData; 31 | import org.eclipse.swt.layout.GridLayout; 32 | import org.eclipse.swt.widgets.Composite; 33 | import org.eclipse.swt.widgets.Label; 34 | import org.eclipse.swt.widgets.TableItem; 35 | import org.eclipse.swt.widgets.Text; 36 | 37 | public class SimplerParametersWizardPage extends ArchetypeParametersWizardPage { 38 | 39 | private static final String ARTIFACT_DEFAULT = "example"; 40 | 41 | private static final String GROUP_DEFAULT = "org.myorg"; 42 | 43 | private static final String NAME_DEFAULT = "Example"; 44 | 45 | private Text groupId; 46 | 47 | private Text artifactId; 48 | 49 | private AdvancedSettingsComponent advancedSettings; 50 | 51 | private Text name; 52 | 53 | private final ChooseArchetypeWizardPage chooseArchetypePage; 54 | 55 | protected boolean groupIdChanged; 56 | 57 | protected boolean artifactIdChanged; 58 | 59 | protected boolean nameChanged; 60 | 61 | public SimplerParametersWizardPage( 62 | AbstractNewMavenBasedSlingApplicationWizard parent) { 63 | super(parent); 64 | chooseArchetypePage = parent.getChooseArchetypePage(); 65 | } 66 | 67 | public Archetype getChosenArchetype() { 68 | return chooseArchetypePage.getSelectedArchetype(); 69 | } 70 | 71 | public void createControl(Composite parent) { 72 | final Composite container = new Composite(parent, SWT.NULL); 73 | GridLayout layout = new GridLayout(); 74 | container.setLayout(layout); 75 | layout.numColumns = 2; 76 | layout.verticalSpacing = 9; 77 | Label label; 78 | GridData gd; 79 | 80 | label = new Label(container, SWT.NULL); 81 | label.setText("Na&me:"); 82 | name = new Text(container, SWT.BORDER | SWT.SINGLE); 83 | gd = new GridData(GridData.FILL_HORIZONTAL); 84 | name.setLayoutData(gd); 85 | name.setToolTipText("Enter a short human readable name of the project"); 86 | name.setText(NAME_DEFAULT); 87 | name.setForeground(new Color(parent.getDisplay(), 100, 100, 100)); 88 | name.addModifyListener(new ModifyListener() { 89 | public void modifyText(ModifyEvent e) { 90 | if (!nameChanged) { 91 | nameChanged = true; 92 | name.setForeground(container.getForeground()); 93 | } 94 | dialogChanged(); 95 | advancedSettings.handleModifyText(AdvancedSettingsComponent.APP_TITLE, name.getText(), false); 96 | } 97 | }); 98 | 99 | label = new Label(container, SWT.NULL); 100 | label.setText("&Group Id:"); 101 | groupId = new Text(container, SWT.BORDER | SWT.SINGLE); 102 | gd = new GridData(GridData.FILL_HORIZONTAL); 103 | groupId.setLayoutData(gd); 104 | groupId.setText(GROUP_DEFAULT); 105 | groupId.setForeground(new Color(parent.getDisplay(), 100, 100, 100)); 106 | groupId.addModifyListener(new ModifyListener() { 107 | public void modifyText(ModifyEvent e) { 108 | if (!groupIdChanged) { 109 | groupIdChanged = true; 110 | groupId.setForeground(container.getForeground()); 111 | } 112 | dialogChanged(); 113 | advancedSettings.handleModifyText(AdvancedSettingsComponent.GROUP_ID, groupId.getText(), false); 114 | } 115 | }); 116 | groupId.setToolTipText("Enter a package-like identifier, eg org.myorg"); 117 | 118 | label = new Label(container, SWT.NULL); 119 | label.setText("&Artifact Id:"); 120 | 121 | artifactId = new Text(container, SWT.BORDER | SWT.SINGLE); 122 | gd = new GridData(GridData.FILL_HORIZONTAL); 123 | artifactId.setLayoutData(gd); 124 | artifactId.setText(ARTIFACT_DEFAULT); 125 | artifactId.setForeground(new Color(parent.getDisplay(), 100, 100, 100)); 126 | artifactId.addModifyListener(new ModifyListener() { 127 | public void modifyText(ModifyEvent e) { 128 | if (!artifactIdChanged) { 129 | artifactIdChanged = true; 130 | artifactId.setForeground(container.getForeground()); 131 | } 132 | dialogChanged(); 133 | advancedSettings.handleModifyText(AdvancedSettingsComponent.ARTIFACT_ID, artifactId.getText(), false); 134 | } 135 | }); 136 | artifactId.setToolTipText("Enter an identifier (without '.') of the project"); 137 | 138 | Composite advanced = new Composite(container, SWT.NONE); 139 | gd = new GridData(GridData.FILL_BOTH); 140 | gd.horizontalSpan = 2; 141 | advanced.setLayoutData(gd); 142 | GridLayout layout2 = new GridLayout(); 143 | advanced.setLayout(layout2); 144 | layout2.numColumns = 2; 145 | layout2.verticalSpacing = 9; 146 | 147 | gd = new GridData(SWT.FILL, SWT.TOP, true, true, 2, 1); 148 | gd.verticalIndent = 7; 149 | advancedSettings = new AdvancedSettingsComponent(advanced, null, true, this); 150 | advancedSettings.setLayoutData(gd); 151 | advancedSettings.initialize(); 152 | setPageComplete(false); 153 | setControl(container); 154 | } 155 | 156 | @Override 157 | public void setVisible(boolean visible) { 158 | super.setVisible(visible); 159 | if (visible) { 160 | advancedSettings.initialize(); 161 | } 162 | } 163 | 164 | /** 165 | * Ensures that both text fields are set. 166 | */ 167 | 168 | void dialogChanged() { 169 | if (!groupIdChanged || groupId.getText().length() == 0) { 170 | updateStatus("group Id must be specified"); 171 | return; 172 | } 173 | if (!artifactIdChanged || artifactId.getText().length() == 0) { 174 | updateStatus("artifact Id must be specified"); 175 | return; 176 | } 177 | if (advancedSettings.version.getText().length() == 0) { 178 | updateStatus("version must be specified"); 179 | return; 180 | } 181 | if (advancedSettings.javaPackage.getText().length() == 0) { 182 | updateStatus("package must be specified"); 183 | return; 184 | } 185 | 186 | IProject existingProject = ResourcesPlugin.getWorkspace().getRoot().getProject(artifactId.getText()); 187 | 188 | if (existingProject.exists()) { 189 | updateStatus("A project with the name " + artifactId.getText() + " already exists."); 190 | return; 191 | } 192 | 193 | int cnt = advancedSettings.propertiesTable.getItemCount(); 194 | for (int i = 0; i < cnt; i++) { 195 | TableItem item = advancedSettings.propertiesTable.getItem(i); 196 | if (item.getText(1).length() == 0) { 197 | updateStatus(item.getText(0) + " must be specified"); 198 | return; 199 | } 200 | } 201 | 202 | updateStatus(null); 203 | } 204 | 205 | private void updateStatus(String message) { 206 | setErrorMessage(message); 207 | setPageComplete(message == null); 208 | } 209 | 210 | public String getGroupId() { 211 | if (!groupIdChanged) { 212 | return ""; 213 | } 214 | return groupId.getText(); 215 | } 216 | 217 | public String getArtifactId() { 218 | if (!artifactIdChanged) { 219 | return ""; 220 | } 221 | return artifactId.getText(); 222 | } 223 | 224 | public String getParameterName() { 225 | if (!nameChanged) { 226 | return ""; 227 | } 228 | return name.getText(); 229 | } 230 | 231 | public String getVersion() { 232 | return advancedSettings.version.getText(); 233 | } 234 | 235 | public String getJavaPackage() { 236 | return advancedSettings.javaPackage.getText(); 237 | } 238 | 239 | public Properties getProperties() { 240 | int cnt = advancedSettings.propertiesTable.getItemCount(); 241 | Properties p = new Properties(); 242 | for (int i = 0; i < cnt; i++) { 243 | TableItem item = advancedSettings.propertiesTable.getItem(i); 244 | p.put(item.getText(0), item.getText(1)); 245 | } 246 | return p; 247 | } 248 | 249 | public void setGroupId(String text) { 250 | groupId.setText(text); 251 | groupIdChanged = true; 252 | dialogChanged(); 253 | } 254 | 255 | public void setArtifactId(String text) { 256 | artifactId.setText(text); 257 | artifactIdChanged = true; 258 | dialogChanged(); 259 | } 260 | 261 | } -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/src/test/java/com/adobe/granite/ide/eclipse/ui/wizards/np/PropUtilsTest.java: -------------------------------------------------------------------------------- 1 | package com.adobe.granite.ide.eclipse.ui.wizards.np; 2 | 3 | import static org.junit.Assert.assertEquals; 4 | 5 | import java.util.LinkedHashMap; 6 | import java.util.Map; 7 | 8 | import org.apache.maven.archetype.metadata.RequiredProperty; 9 | import org.apache.maven.shared.utils.StringUtils; 10 | import org.junit.Test; 11 | 12 | @SuppressWarnings("restriction") 13 | public class PropUtilsTest { 14 | 15 | private Map getProperties(String[][] props) { 16 | Map properties = new LinkedHashMap(); 17 | for (String[] prop : props) { 18 | RequiredProperty property = new RequiredProperty(); 19 | property.setKey(prop[0]); 20 | property.setDefaultValue(prop[2]); 21 | RequiredPropertyWrapper propertyWrapper = new RequiredPropertyWrapper(property); 22 | propertyWrapper.setValue(prop[1]); 23 | propertyWrapper.setModified("true".equalsIgnoreCase(prop[3])); 24 | properties.put(property.getKey(), propertyWrapper); 25 | } 26 | return properties; 27 | } 28 | 29 | @Test 30 | public void testUpdateProperties() { 31 | Map properties = getProperties(new String[][] { 32 | new String[] { 33 | "unmodified", "", "DEFAULT_UNMODIFIED", "" 34 | }, 35 | new String[] { 36 | "computed", "", "DEFAULT_COMPUTED.${unmodified}", "" 37 | }, 38 | new String[] { 39 | "multiple", "", "DEFAULT_MULTIPLE.${computed}-${hasvalue}", "" 40 | }, 41 | new String[] { 42 | "hasvalue", "HASVALUE", "DEFAULT_HASVALUE", "" 43 | }, 44 | new String[] { 45 | "modified", "MODIFIED", "DEFAULT_MODIFIED.${hasvalue}", "true" 46 | }, 47 | new String[] { 48 | "stackoverflow", "", "${stackoverflow}", "" 49 | }, 50 | new String[] { 51 | "empty", "", "", "" 52 | }, 53 | new String[] { 54 | "useempty", "", "${empty}", "" 55 | }, 56 | new String[] { 57 | "null", null, null, null 58 | }, 59 | new String[] { 60 | "usenull", "", "${null}", "" 61 | } 62 | }); 63 | 64 | printProperties(properties); 65 | PropUtils.updateProperties(properties); 66 | printProperties(properties); 67 | 68 | assertEquals("DEFAULT_MULTIPLE.DEFAULT_COMPUTED.DEFAULT_UNMODIFIED-DEFAULT_HASVALUE", properties.get("multiple").getValue()); 69 | assertEquals("MODIFIED", properties.get("modified").getValue()); 70 | assertEquals("", properties.get("stackoverflow").getValue()); 71 | } 72 | 73 | private void printProperties(Map properties) { 74 | for (String key : properties.keySet()) { 75 | RequiredPropertyWrapper property = properties.get(key); 76 | System.out.println(pad(property.getKey()) + " | " + 77 | pad(property.getValue()) + " | " + 78 | pad(property.getDefaultValue()) + " | " + 79 | pad(property.isModified())); 80 | } 81 | System.out.println("\n"); 82 | } 83 | 84 | private String pad(Object obj) { 85 | return StringUtils.rightPad(StringUtils.defaultString(String.valueOf(obj), ""), 30); 86 | } 87 | } 88 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/templates/jsp-templates.properties: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2014 Adobe Systems Incorporated 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | Templates.new_jsp.content=<%@ page session="false"%>\n<%@ include file="/libs/foundation/global.jsp"%><%\n${cursor}\n%> -------------------------------------------------------------------------------- /com.adobe.granite.ide.eclipse-ui/templates/jsp-templates.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 20 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.feature/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.feature/build.properties: -------------------------------------------------------------------------------- 1 | bin.includes = feature.xml 2 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.feature/feature.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | Apache License 10 | Version 2.0, January 2004 11 | http://www.apache.org/licenses/ 12 | 13 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 14 | 15 | 1. Definitions. 16 | 17 | "License" shall mean the terms and conditions for use, reproduction, 18 | and distribution as defined by Sections 1 through 9 of this document. 19 | 20 | "Licensor" shall mean the copyright owner or entity authorized by 21 | the copyright owner that is granting the License. 22 | 23 | "Legal Entity" shall mean the union of the acting entity and all 24 | other entities that control, are controlled by, or are under common 25 | control with that entity. For the purposes of this definition, 26 | "control" means (i) the power, direct or indirect, to cause the 27 | direction or management of such entity, whether by contract or 28 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 29 | outstanding shares, or (iii) beneficial ownership of such entity. 30 | 31 | "You" (or "Your") shall mean an individual or Legal Entity 32 | exercising permissions granted by this License. 33 | 34 | "Source" form shall mean the preferred form for making modifications, 35 | including but not limited to software source code, documentation 36 | source, and configuration files. 37 | 38 | "Object" form shall mean any form resulting from mechanical 39 | transformation or translation of a Source form, including but 40 | not limited to compiled object code, generated documentation, 41 | and conversions to other media types. 42 | 43 | "Work" shall mean the work of authorship, whether in Source or 44 | Object form, made available under the License, as indicated by a 45 | copyright notice that is included in or attached to the work 46 | (an example is provided in the Appendix below). 47 | 48 | "Derivative Works" shall mean any work, whether in Source or Object 49 | form, that is based on (or derived from) the Work and for which the 50 | editorial revisions, annotations, elaborations, or other modifications 51 | represent, as a whole, an original work of authorship. For the purposes 52 | of this License, Derivative Works shall not include works that remain 53 | separable from, or merely link (or bind by name) to the interfaces of, 54 | the Work and Derivative Works thereof. 55 | 56 | "Contribution" shall mean any work of authorship, including 57 | the original version of the Work and any modifications or additions 58 | to that Work or Derivative Works thereof, that is intentionally 59 | submitted to Licensor for inclusion in the Work by the copyright owner 60 | or by an individual or Legal Entity authorized to submit on behalf of 61 | the copyright owner. For the purposes of this definition, "submitted" 62 | means any form of electronic, verbal, or written communication sent 63 | to the Licensor or its representatives, including but not limited to 64 | communication on electronic mailing lists, source code control systems, 65 | and issue tracking systems that are managed by, or on behalf of, the 66 | Licensor for the purpose of discussing and improving the Work, but 67 | excluding communication that is conspicuously marked or otherwise 68 | designated in writing by the copyright owner as "Not a Contribution." 69 | 70 | "Contributor" shall mean Licensor and any individual or Legal Entity 71 | on behalf of whom a Contribution has been received by Licensor and 72 | subsequently incorporated within the Work. 73 | 74 | 2. Grant of Copyright License. Subject to the terms and conditions of 75 | this License, each Contributor hereby grants to You a perpetual, 76 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 77 | copyright license to reproduce, prepare Derivative Works of, 78 | publicly display, publicly perform, sublicense, and distribute the 79 | Work and such Derivative Works in Source or Object form. 80 | 81 | 3. Grant of Patent License. Subject to the terms and conditions of 82 | this License, each Contributor hereby grants to You a perpetual, 83 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 84 | (except as stated in this section) patent license to make, have made, 85 | use, offer to sell, sell, import, and otherwise transfer the Work, 86 | where such license applies only to those patent claims licensable 87 | by such Contributor that are necessarily infringed by their 88 | Contribution(s) alone or by combination of their Contribution(s) 89 | with the Work to which such Contribution(s) was submitted. If You 90 | institute patent litigation against any entity (including a 91 | cross-claim or counterclaim in a lawsuit) alleging that the Work 92 | or a Contribution incorporated within the Work constitutes direct 93 | or contributory patent infringement, then any patent licenses 94 | granted to You under this License for that Work shall terminate 95 | as of the date such litigation is filed. 96 | 97 | 4. Redistribution. You may reproduce and distribute copies of the 98 | Work or Derivative Works thereof in any medium, with or without 99 | modifications, and in Source or Object form, provided that You 100 | meet the following conditions: 101 | 102 | (a) You must give any other recipients of the Work or 103 | Derivative Works a copy of this License; and 104 | 105 | (b) You must cause any modified files to carry prominent notices 106 | stating that You changed the files; and 107 | 108 | (c) You must retain, in the Source form of any Derivative Works 109 | that You distribute, all copyright, patent, trademark, and 110 | attribution notices from the Source form of the Work, 111 | excluding those notices that do not pertain to any part of 112 | the Derivative Works; and 113 | 114 | (d) If the Work includes a "NOTICE" text file as part of its 115 | distribution, then any Derivative Works that You distribute must 116 | include a readable copy of the attribution notices contained 117 | within such NOTICE file, excluding those notices that do not 118 | pertain to any part of the Derivative Works, in at least one 119 | of the following places: within a NOTICE text file distributed 120 | as part of the Derivative Works; within the Source form or 121 | documentation, if provided along with the Derivative Works; or, 122 | within a display generated by the Derivative Works, if and 123 | wherever such third-party notices normally appear. The contents 124 | of the NOTICE file are for informational purposes only and 125 | do not modify the License. You may add Your own attribution 126 | notices within Derivative Works that You distribute, alongside 127 | or as an addendum to the NOTICE text from the Work, provided 128 | that such additional attribution notices cannot be construed 129 | as modifying the License. 130 | 131 | You may add Your own copyright statement to Your modifications and 132 | may provide additional or different license terms and conditions 133 | for use, reproduction, or distribution of Your modifications, or 134 | for any such Derivative Works as a whole, provided Your use, 135 | reproduction, and distribution of the Work otherwise complies with 136 | the conditions stated in this License. 137 | 138 | 5. Submission of Contributions. Unless You explicitly state otherwise, 139 | any Contribution intentionally submitted for inclusion in the Work 140 | by You to the Licensor shall be under the terms and conditions of 141 | this License, without any additional terms or conditions. 142 | Notwithstanding the above, nothing herein shall supersede or modify 143 | the terms of any separate license agreement you may have executed 144 | with Licensor regarding such Contributions. 145 | 146 | 6. Trademarks. This License does not grant permission to use the trade 147 | names, trademarks, service marks, or product names of the Licensor, 148 | except as required for reasonable and customary use in describing the 149 | origin of the Work and reproducing the content of the NOTICE file. 150 | 151 | 7. Disclaimer of Warranty. Unless required by applicable law or 152 | agreed to in writing, Licensor provides the Work (and each 153 | Contributor provides its Contributions) on an "AS IS" BASIS, 154 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 155 | implied, including, without limitation, any warranties or conditions 156 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 157 | PARTICULAR PURPOSE. You are solely responsible for determining the 158 | appropriateness of using or redistributing the Work and assume any 159 | risks associated with Your exercise of permissions under this License. 160 | 161 | 8. Limitation of Liability. In no event and under no legal theory, 162 | whether in tort (including negligence), contract, or otherwise, 163 | unless required by applicable law (such as deliberate and grossly 164 | negligent acts) or agreed to in writing, shall any Contributor be 165 | liable to You for damages, including any direct, indirect, special, 166 | incidental, or consequential damages of any character arising as a 167 | result of this License or out of the use or inability to use the 168 | Work (including but not limited to damages for loss of goodwill, 169 | work stoppage, computer failure or malfunction, or any and all 170 | other commercial damages or losses), even if such Contributor 171 | has been advised of the possibility of such damages. 172 | 173 | 9. Accepting Warranty or Additional Liability. While redistributing 174 | the Work or Derivative Works thereof, You may choose to offer, 175 | and charge a fee for, acceptance of support, warranty, indemnity, 176 | or other liability obligations and/or rights consistent with this 177 | License. However, in accepting such obligations, You may act only 178 | on Your own behalf and on Your sole responsibility, not on behalf 179 | of any other Contributor, and only if You agree to indemnify, 180 | defend, and hold each Contributor harmless for any liability 181 | incurred by, or claims asserted against, such Contributor by reason 182 | of your accepting any such warranty or additional liability. 183 | 184 | END OF TERMS AND CONDITIONS 185 | 186 | APPENDIX: How to apply the Apache License to your work. 187 | 188 | To apply the Apache License to your work, attach the following 189 | boilerplate notice, with the fields enclosed by brackets "[]" 190 | replaced with your own identifying information. (Don't include 191 | the brackets!) The text should be enclosed in the appropriate 192 | comment syntax for the file format. We also recommend that a 193 | file or class name and description of purpose be included on the 194 | same "printed page" as the copyright notice for easier 195 | identification within third-party archives. 196 | 197 | Copyright [yyyy] [name of copyright owner] 198 | 199 | Licensed under the Apache License, Version 2.0 (the "License"); 200 | you may not use this file except in compliance with the License. 201 | You may obtain a copy of the License at 202 | 203 | http://www.apache.org/licenses/LICENSE-2.0 204 | 205 | Unless required by applicable law or agreed to in writing, software 206 | distributed under the License is distributed on an "AS IS" BASIS, 207 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 208 | See the License for the specific language governing permissions and 209 | limitations under the License. 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 224 | 225 | 226 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.feature/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4.0.0 4 | 5 | com.adobe.granite.ide 6 | aem-eclipse-developer-tools 7 | 1.3.1-SNAPSHOT 8 | ../ 9 | 10 | 11 | com.adobe.granite.ide.feature 12 | eclipse-feature 13 | Granite IDE Tools: Eclipse Feature 14 | 15 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.p2update/.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | /.settings 3 | /.project 4 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.p2update/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. 2 | 3 | Apache License 4 | Version 2.0, January 2004 5 | http://www.apache.org/licenses/ 6 | 7 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 8 | 9 | 1. Definitions. 10 | 11 | "License" shall mean the terms and conditions for use, reproduction, 12 | and distribution as defined by Sections 1 through 9 of this document. 13 | 14 | "Licensor" shall mean the copyright owner or entity authorized by 15 | the copyright owner that is granting the License. 16 | 17 | "Legal Entity" shall mean the union of the acting entity and all 18 | other entities that control, are controlled by, or are under common 19 | control with that entity. For the purposes of this definition, 20 | "control" means (i) the power, direct or indirect, to cause the 21 | direction or management of such entity, whether by contract or 22 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 23 | outstanding shares, or (iii) beneficial ownership of such entity. 24 | 25 | "You" (or "Your") shall mean an individual or Legal Entity 26 | exercising permissions granted by this License. 27 | 28 | "Source" form shall mean the preferred form for making modifications, 29 | including but not limited to software source code, documentation 30 | source, and configuration files. 31 | 32 | "Object" form shall mean any form resulting from mechanical 33 | transformation or translation of a Source form, including but 34 | not limited to compiled object code, generated documentation, 35 | and conversions to other media types. 36 | 37 | "Work" shall mean the work of authorship, whether in Source or 38 | Object form, made available under the License, as indicated by a 39 | copyright notice that is included in or attached to the work 40 | (an example is provided in the Appendix below). 41 | 42 | "Derivative Works" shall mean any work, whether in Source or Object 43 | form, that is based on (or derived from) the Work and for which the 44 | editorial revisions, annotations, elaborations, or other modifications 45 | represent, as a whole, an original work of authorship. For the purposes 46 | of this License, Derivative Works shall not include works that remain 47 | separable from, or merely link (or bind by name) to the interfaces of, 48 | the Work and Derivative Works thereof. 49 | 50 | "Contribution" shall mean any work of authorship, including 51 | the original version of the Work and any modifications or additions 52 | to that Work or Derivative Works thereof, that is intentionally 53 | submitted to Licensor for inclusion in the Work by the copyright owner 54 | or by an individual or Legal Entity authorized to submit on behalf of 55 | the copyright owner. For the purposes of this definition, "submitted" 56 | means any form of electronic, verbal, or written communication sent 57 | to the Licensor or its representatives, including but not limited to 58 | communication on electronic mailing lists, source code control systems, 59 | and issue tracking systems that are managed by, or on behalf of, the 60 | Licensor for the purpose of discussing and improving the Work, but 61 | excluding communication that is conspicuously marked or otherwise 62 | designated in writing by the copyright owner as "Not a Contribution." 63 | 64 | "Contributor" shall mean Licensor and any individual or Legal Entity 65 | on behalf of whom a Contribution has been received by Licensor and 66 | subsequently incorporated within the Work. 67 | 68 | 2. Grant of Copyright License. Subject to the terms and conditions of 69 | this License, each Contributor hereby grants to You a perpetual, 70 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 71 | copyright license to reproduce, prepare Derivative Works of, 72 | publicly display, publicly perform, sublicense, and distribute the 73 | Work and such Derivative Works in Source or Object form. 74 | 75 | 3. Grant of Patent License. Subject to the terms and conditions of 76 | this License, each Contributor hereby grants to You a perpetual, 77 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 78 | (except as stated in this section) patent license to make, have made, 79 | use, offer to sell, sell, import, and otherwise transfer the Work, 80 | where such license applies only to those patent claims licensable 81 | by such Contributor that are necessarily infringed by their 82 | Contribution(s) alone or by combination of their Contribution(s) 83 | with the Work to which such Contribution(s) was submitted. If You 84 | institute patent litigation against any entity (including a 85 | cross-claim or counterclaim in a lawsuit) alleging that the Work 86 | or a Contribution incorporated within the Work constitutes direct 87 | or contributory patent infringement, then any patent licenses 88 | granted to You under this License for that Work shall terminate 89 | as of the date such litigation is filed. 90 | 91 | 4. Redistribution. You may reproduce and distribute copies of the 92 | Work or Derivative Works thereof in any medium, with or without 93 | modifications, and in Source or Object form, provided that You 94 | meet the following conditions: 95 | 96 | (a) You must give any other recipients of the Work or 97 | Derivative Works a copy of this License; and 98 | 99 | (b) You must cause any modified files to carry prominent notices 100 | stating that You changed the files; and 101 | 102 | (c) You must retain, in the Source form of any Derivative Works 103 | that You distribute, all copyright, patent, trademark, and 104 | attribution notices from the Source form of the Work, 105 | excluding those notices that do not pertain to any part of 106 | the Derivative Works; and 107 | 108 | (d) If the Work includes a "NOTICE" text file as part of its 109 | distribution, then any Derivative Works that You distribute must 110 | include a readable copy of the attribution notices contained 111 | within such NOTICE file, excluding those notices that do not 112 | pertain to any part of the Derivative Works, in at least one 113 | of the following places: within a NOTICE text file distributed 114 | as part of the Derivative Works; within the Source form or 115 | documentation, if provided along with the Derivative Works; or, 116 | within a display generated by the Derivative Works, if and 117 | wherever such third-party notices normally appear. The contents 118 | of the NOTICE file are for informational purposes only and 119 | do not modify the License. You may add Your own attribution 120 | notices within Derivative Works that You distribute, alongside 121 | or as an addendum to the NOTICE text from the Work, provided 122 | that such additional attribution notices cannot be construed 123 | as modifying the License. 124 | 125 | You may add Your own copyright statement to Your modifications and 126 | may provide additional or different license terms and conditions 127 | for use, reproduction, or distribution of Your modifications, or 128 | for any such Derivative Works as a whole, provided Your use, 129 | reproduction, and distribution of the Work otherwise complies with 130 | the conditions stated in this License. 131 | 132 | 5. Submission of Contributions. Unless You explicitly state otherwise, 133 | any Contribution intentionally submitted for inclusion in the Work 134 | by You to the Licensor shall be under the terms and conditions of 135 | this License, without any additional terms or conditions. 136 | Notwithstanding the above, nothing herein shall supersede or modify 137 | the terms of any separate license agreement you may have executed 138 | with Licensor regarding such Contributions. 139 | 140 | 6. Trademarks. This License does not grant permission to use the trade 141 | names, trademarks, service marks, or product names of the Licensor, 142 | except as required for reasonable and customary use in describing the 143 | origin of the Work and reproducing the content of the NOTICE file. 144 | 145 | 7. Disclaimer of Warranty. Unless required by applicable law or 146 | agreed to in writing, Licensor provides the Work (and each 147 | Contributor provides its Contributions) on an "AS IS" BASIS, 148 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 149 | implied, including, without limitation, any warranties or conditions 150 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 151 | PARTICULAR PURPOSE. You are solely responsible for determining the 152 | appropriateness of using or redistributing the Work and assume any 153 | risks associated with Your exercise of permissions under this License. 154 | 155 | 8. Limitation of Liability. In no event and under no legal theory, 156 | whether in tort (including negligence), contract, or otherwise, 157 | unless required by applicable law (such as deliberate and grossly 158 | negligent acts) or agreed to in writing, shall any Contributor be 159 | liable to You for damages, including any direct, indirect, special, 160 | incidental, or consequential damages of any character arising as a 161 | result of this License or out of the use or inability to use the 162 | Work (including but not limited to damages for loss of goodwill, 163 | work stoppage, computer failure or malfunction, or any and all 164 | other commercial damages or losses), even if such Contributor 165 | has been advised of the possibility of such damages. 166 | 167 | 9. Accepting Warranty or Additional Liability. While redistributing 168 | the Work or Derivative Works thereof, You may choose to offer, 169 | and charge a fee for, acceptance of support, warranty, indemnity, 170 | or other liability obligations and/or rights consistent with this 171 | License. However, in accepting such obligations, You may act only 172 | on Your own behalf and on Your sole responsibility, not on behalf 173 | of any other Contributor, and only if You agree to indemnify, 174 | defend, and hold each Contributor harmless for any liability 175 | incurred by, or claims asserted against, such Contributor by reason 176 | of your accepting any such warranty or additional liability. 177 | 178 | END OF TERMS AND CONDITIONS 179 | 180 | APPENDIX: How to apply the Apache License to your work. 181 | 182 | To apply the Apache License to your work, attach the following 183 | boilerplate notice, with the fields enclosed by brackets "[]" 184 | replaced with your own identifying information. (Don't include 185 | the brackets!) The text should be enclosed in the appropriate 186 | comment syntax for the file format. We also recommend that a 187 | file or class name and description of purpose be included on the 188 | same "printed page" as the copyright notice for easier 189 | identification within third-party archives. 190 | 191 | Copyright [yyyy] [name of copyright owner] 192 | 193 | Licensed under the Apache License, Version 2.0 (the "License"); 194 | you may not use this file except in compliance with the License. 195 | You may obtain a copy of the License at 196 | 197 | http://www.apache.org/licenses/LICENSE-2.0 198 | 199 | Unless required by applicable law or agreed to in writing, software 200 | distributed under the License is distributed on an "AS IS" BASIS, 201 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 202 | See the License for the specific language governing permissions and 203 | limitations under the License. -------------------------------------------------------------------------------- /com.adobe.granite.ide.p2update/category.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.p2update/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 4.0.0 19 | 20 | 21 | com.adobe.granite.ide 22 | aem-eclipse-developer-tools 23 | 1.3.1-SNAPSHOT 24 | ../ 25 | 26 | 27 | com.adobe.granite.ide 28 | com.adobe.granite.ide.p2update 29 | eclipse-repository 30 | 31 | AEM Developer Tools for Eclipse: Update Site 32 | 33 | 34 | 35 | 36 | org.jboss.tools.tycho-plugins 37 | repository-utils 38 | 0.22.0 39 | 40 | 41 | generate-facade 42 | package 43 | 44 | generate-repository-facade 45 | 46 | 47 | siteTemplate 48 | 49 | ${project.name} 50 | Kepler or newer 51 | ${project.version} 52 | ${update.site.suffix} 53 | 54 | 55 | https://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-tycho/0.6.0/N/0.6.0.201207302152/ 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.p2update/siteTemplate/css/style.css: -------------------------------------------------------------------------------- 1 | 2 | /* GENERAL ********************************/ 3 | 4 | html { 5 | font: 300 1em/1.4 "adobe-clean", sans-serif; 6 | } 7 | body { 8 | margin: 0 0 8em; 9 | color: #222; 10 | } 11 | 12 | a:focus { 13 | outline: thin dotted; 14 | } 15 | a:active, 16 | a:hover { 17 | outline: 0; 18 | } 19 | 20 | img { 21 | border: 0; 22 | -ms-interpolation-mode: bicubic; 23 | } 24 | 25 | h1, 26 | h2, 27 | h3 { 28 | font-weight: 300; 29 | } 30 | h1 { 31 | font-size: 3em; 32 | margin: 0.67em 0; 33 | } 34 | h2 { 35 | font-size: 2em; 36 | margin: 1em 0; 37 | } 38 | h3 { 39 | font-size: 1.5em; 40 | margin: 1em 0; 41 | } 42 | p { 43 | margin: 1em 0; 44 | } 45 | strong { 46 | font-weight: normal; 47 | } 48 | 49 | /* LAYOUT ********************************/ 50 | 51 | .page-wrapper { 52 | max-width: 58em; 53 | margin: 0 auto; 54 | padding: 0 1em; 55 | } 56 | 57 | .clearfix:before, 58 | .clearfix:after { 59 | content: " "; 60 | display: table; 61 | } 62 | .clearfix:after { 63 | clear: both; 64 | } 65 | 66 | /* 67 | * For IE 6/7 only 68 | * Include this rule to trigger hasLayout and contain floats. 69 | */ 70 | 71 | .clearfix { 72 | *zoom: 1; 73 | } 74 | 75 | /* TITLE ********************************/ 76 | 77 | #title { 78 | margin-bottom: 4em; 79 | color: #eee; 80 | background: #393661; 81 | } 82 | #title .page-wrapper { 83 | position: relative; 84 | padding-bottom: 4em; 85 | } 86 | #title-top, 87 | #title a { 88 | color: #fff; 89 | } 90 | #title-text, 91 | #title-docs { 92 | margin-right: 400px; 93 | } 94 | #title-eclipse { 95 | position: absolute; 96 | right: 1em; 97 | bottom: -136px; 98 | } 99 | 100 | /* COLUMNS ********************************/ 101 | .leftcol { 102 | float: left; 103 | width: 45%; 104 | } 105 | .rightcol { 106 | float: right; 107 | width: 45%; 108 | } 109 | 110 | 111 | /* INSTALL ********************************/ 112 | 113 | #install section { 114 | width: 40%; 115 | padding-right: 10%; 116 | float: left; 117 | } 118 | #install-link { 119 | margin-top: 2em; 120 | } 121 | #install-link a { 122 | display: inline-block; 123 | border: 1px solid #4d627e; 124 | padding: 0.5em 2em; 125 | color: #fff; 126 | background: #3280c8; 127 | text-decoration: none; 128 | } 129 | #install-text { 130 | min-height: 90px 131 | } 132 | 133 | /* RESPONSIVE ********************************/ 134 | 135 | @media only screen and (max-width: 720px) { 136 | body { 137 | margin-bottom: 4em; 138 | } 139 | #title { 140 | margin-bottom: 1em; 141 | } 142 | #title-text, 143 | #title-docs { 144 | margin-right: 0; 145 | } 146 | #title-eclipse { 147 | display: none; 148 | } 149 | } 150 | 151 | @media only screen and (max-width: 500px) { 152 | body { 153 | margin-bottom: 2em; 154 | } 155 | h1 { 156 | font-size: 2em; 157 | margin: 1em 0; 158 | } 159 | #title { 160 | margin-bottom: 0; 161 | } 162 | #title .page-wrapper { 163 | padding-bottom: 2em; 164 | } 165 | .leftcol, 166 | .rightcol { 167 | float: none; 168 | width: auto; 169 | } 170 | #install-text { 171 | min-height: 0; 172 | } 173 | } 174 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.p2update/siteTemplate/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.p2update/siteTemplate/favicon.ico -------------------------------------------------------------------------------- /com.adobe.granite.ide.p2update/siteTemplate/img/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.p2update/siteTemplate/img/.gitignore -------------------------------------------------------------------------------- /com.adobe.granite.ide.p2update/siteTemplate/img/adobe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.p2update/siteTemplate/img/adobe.png -------------------------------------------------------------------------------- /com.adobe.granite.ide.p2update/siteTemplate/img/dnd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.p2update/siteTemplate/img/dnd.png -------------------------------------------------------------------------------- /com.adobe.granite.ide.p2update/siteTemplate/img/eclipse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/com.adobe.granite.ide.p2update/siteTemplate/img/eclipse.png -------------------------------------------------------------------------------- /com.adobe.granite.ide.p2update/siteTemplate/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: /404.html 3 | --- 4 | 5 | 6 | 7 | 8 | AEM Developer Tools 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 |
18 | 19 |

AEM Developer Tools

20 |

The Eclipse Plug-In that brings you the full connection to the Adobe Experience Manager.

21 |

» Online Documentation

22 | Eclipse logo 23 |
24 |
25 |
26 |

How to install it?

27 |
28 |

Update Site

29 |

Copy the link below to your clipboard and add it as a new repository to the 'Help > Install New Software...' Eclipse menu.

30 | 31 |
32 |
33 |

Archive Download

34 |

Or download an archive for instance for offline installation and pass it via 'Archive' in the 'Help > Install new Software...' Eclipse menu. Note however, that you will miss automatic update notifications this way.

35 | 36 |
37 |
38 | 39 | 40 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.target-definition/.gitignore: -------------------------------------------------------------------------------- 1 | /target/ 2 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.target-definition/com.adobe.granite.ide.target-definition.target: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /com.adobe.granite.ide.target-definition/pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 4.0.0 19 | 20 | com.adobe.granite.ide 21 | aem-eclipse-developer-tools 22 | 1.3.1-SNAPSHOT 23 | 24 | 25 | com.adobe.granite.ide.target-definition 26 | eclipse-target-definition 27 | Granite IDE Tools: Target definition 28 | 29 | 30 | -------------------------------------------------------------------------------- /docs/CNAME: -------------------------------------------------------------------------------- 1 | eclipse.adobe.com -------------------------------------------------------------------------------- /docs/artifacts.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/artifacts.jar -------------------------------------------------------------------------------- /docs/artifacts.xml.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/artifacts.xml.xz -------------------------------------------------------------------------------- /docs/com.adobe.granite.ide.p2update-1.3.0.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/com.adobe.granite.ide.p2update-1.3.0.zip -------------------------------------------------------------------------------- /docs/content.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/content.jar -------------------------------------------------------------------------------- /docs/content.xml.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/content.xml.xz -------------------------------------------------------------------------------- /docs/css/style.css: -------------------------------------------------------------------------------- 1 | 2 | /* GENERAL ********************************/ 3 | 4 | html { 5 | font: 300 1em/1.4 "adobe-clean", sans-serif; 6 | } 7 | body { 8 | margin: 0 0 8em; 9 | color: #222; 10 | } 11 | 12 | a:focus { 13 | outline: thin dotted; 14 | } 15 | a:active, 16 | a:hover { 17 | outline: 0; 18 | } 19 | 20 | img { 21 | border: 0; 22 | -ms-interpolation-mode: bicubic; 23 | } 24 | 25 | h1, 26 | h2, 27 | h3 { 28 | font-weight: 300; 29 | } 30 | h1 { 31 | font-size: 3em; 32 | margin: 0.67em 0; 33 | } 34 | h2 { 35 | font-size: 2em; 36 | margin: 1em 0; 37 | } 38 | h3 { 39 | font-size: 1.5em; 40 | margin: 1em 0; 41 | } 42 | p { 43 | margin: 1em 0; 44 | } 45 | strong { 46 | font-weight: normal; 47 | } 48 | 49 | /* LAYOUT ********************************/ 50 | 51 | .page-wrapper { 52 | max-width: 58em; 53 | margin: 0 auto; 54 | padding: 0 1em; 55 | } 56 | 57 | .clearfix:before, 58 | .clearfix:after { 59 | content: " "; 60 | display: table; 61 | } 62 | .clearfix:after { 63 | clear: both; 64 | } 65 | 66 | /* 67 | * For IE 6/7 only 68 | * Include this rule to trigger hasLayout and contain floats. 69 | */ 70 | 71 | .clearfix { 72 | *zoom: 1; 73 | } 74 | 75 | /* TITLE ********************************/ 76 | 77 | #title { 78 | margin-bottom: 4em; 79 | color: #eee; 80 | background: #393661; 81 | } 82 | #title .page-wrapper { 83 | position: relative; 84 | padding-bottom: 4em; 85 | } 86 | #title-top, 87 | #title a { 88 | color: #fff; 89 | } 90 | #title-text, 91 | #title-docs { 92 | margin-right: 400px; 93 | } 94 | #title-eclipse { 95 | position: absolute; 96 | right: 1em; 97 | bottom: -136px; 98 | } 99 | 100 | /* COLUMNS ********************************/ 101 | .leftcol { 102 | float: left; 103 | width: 45%; 104 | } 105 | .rightcol { 106 | float: right; 107 | width: 45%; 108 | } 109 | 110 | 111 | /* INSTALL ********************************/ 112 | 113 | #install section { 114 | width: 40%; 115 | padding-right: 10%; 116 | float: left; 117 | } 118 | #install-link { 119 | margin-top: 2em; 120 | } 121 | #install-link a { 122 | display: inline-block; 123 | border: 1px solid #4d627e; 124 | padding: 0.5em 2em; 125 | color: #fff; 126 | background: #3280c8; 127 | text-decoration: none; 128 | } 129 | #install-text { 130 | min-height: 90px 131 | } 132 | 133 | /* RESPONSIVE ********************************/ 134 | 135 | @media only screen and (max-width: 720px) { 136 | body { 137 | margin-bottom: 4em; 138 | } 139 | #title { 140 | margin-bottom: 1em; 141 | } 142 | #title-text, 143 | #title-docs { 144 | margin-right: 0; 145 | } 146 | #title-eclipse { 147 | display: none; 148 | } 149 | } 150 | 151 | @media only screen and (max-width: 500px) { 152 | body { 153 | margin-bottom: 2em; 154 | } 155 | h1 { 156 | font-size: 2em; 157 | margin: 1em 0; 158 | } 159 | #title { 160 | margin-bottom: 0; 161 | } 162 | #title .page-wrapper { 163 | padding-bottom: 2em; 164 | } 165 | .leftcol, 166 | .rightcol { 167 | float: none; 168 | width: auto; 169 | } 170 | #install-text { 171 | min-height: 0; 172 | } 173 | } 174 | -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/favicon.ico -------------------------------------------------------------------------------- /docs/features/com.adobe.granite.ide.feature_1.3.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/features/com.adobe.granite.ide.feature_1.3.0.jar -------------------------------------------------------------------------------- /docs/features/org.apache.sling.ide.feature_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/features/org.apache.sling.ide.feature_1.2.2.jar -------------------------------------------------------------------------------- /docs/features/org.apache.sling.ide.m2e-feature_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/features/org.apache.sling.ide.m2e-feature_1.2.2.jar -------------------------------------------------------------------------------- /docs/features/org.apache.sling.ide.sightly-feature_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/features/org.apache.sling.ide.sightly-feature_1.2.2.jar -------------------------------------------------------------------------------- /docs/img/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/img/.gitignore -------------------------------------------------------------------------------- /docs/img/adobe.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/img/adobe.png -------------------------------------------------------------------------------- /docs/img/dnd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/img/dnd.png -------------------------------------------------------------------------------- /docs/img/eclipse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/img/eclipse.png -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | --- 2 | permalink: /404.html 3 | --- 4 | 5 | 6 | 7 | 8 | AEM Developer Tools 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 |
18 | 19 |

AEM Developer Tools

20 |

The Eclipse Plug-In that brings you the full connection to the Adobe Experience Manager.

21 |

» Online Documentation

22 | Eclipse logo 23 |
24 |
25 |
26 |

How to install it?

27 |
28 |

Update Site

29 |

Copy the link below to your clipboard and add it as a new repository to the 'Help > Install New Software...' Eclipse menu.

30 | 31 |
32 |
33 |

Archive Download

34 |

Or download an archive for instance for offline installation and pass it via 'Archive' in the 'Help > Install new Software...' Eclipse menu. Note however, that you will miss automatic update notifications this way.

35 | 36 |
37 |
38 | 39 | 40 | -------------------------------------------------------------------------------- /docs/p2.index: -------------------------------------------------------------------------------- 1 | #Fri Mar 27 13:47:30 EET 2020 2 | version=1 3 | metadata.repository.factory.order=content.xml.xz,content.xml,\! 4 | artifact.repository.factory.order=artifacts.xml.xz,artifacts.xml,\! 5 | -------------------------------------------------------------------------------- /docs/plugins/com.adobe.granite.ide.eclipse-ui_1.3.0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/com.adobe.granite.ide.eclipse-ui_1.3.0.jar -------------------------------------------------------------------------------- /docs/plugins/com.google.gson_2.2.4.v201311231704.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/com.google.gson_2.2.4.v201311231704.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.commons.collections_3.2.0.v2013030210310.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.commons.collections_3.2.0.v2013030210310.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.commons.httpclient_3.1.0.v201012070820.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.commons.httpclient_3.1.0.v201012070820.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.commons.io_2.2.0.v201405211200.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.commons.io_2.2.0.v201405211200.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.commons.logging_1.1.1.v201101211721.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.commons.logging_1.1.1.v201101211721.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.sling.ide.api_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.sling.ide.api_1.2.2.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.sling.ide.artifacts_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.sling.ide.artifacts_1.2.2.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.sling.ide.eclipse-core_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.sling.ide.eclipse-core_1.2.2.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.sling.ide.eclipse-m2e-core_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.sling.ide.eclipse-m2e-core_1.2.2.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.sling.ide.eclipse-m2e-ui_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.sling.ide.eclipse-m2e-ui_1.2.2.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.sling.ide.eclipse-sightly-core_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.sling.ide.eclipse-sightly-core_1.2.2.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.sling.ide.eclipse-sightly-ui_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.sling.ide.eclipse-sightly-ui_1.2.2.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.sling.ide.eclipse-ui_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.sling.ide.eclipse-ui_1.2.2.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.sling.ide.impl-vlt_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.sling.ide.impl-vlt_1.2.2.jar -------------------------------------------------------------------------------- /docs/plugins/org.apache.sling.ide.vlt-wrapper_1.2.2.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.apache.sling.ide.vlt-wrapper_1.2.2.jar -------------------------------------------------------------------------------- /docs/plugins/org.slf4j.api_1.7.2.v20121108-1250.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/adobe/aem-eclipse-developer-tools/7d72acb49c4a6360a67287a435acfc6f9732fff2/docs/plugins/org.slf4j.api_1.7.2.v20121108-1250.jar -------------------------------------------------------------------------------- /docs/site.properties: -------------------------------------------------------------------------------- 1 | 2 | # 3 | granite.category.features = \ 4 | com.adobe.granite.ide.feature, 5 | 6 | # 7 | sling.category.features = \ 8 | org.apache.sling.ide.feature, 9 | org.apache.sling.ide.m2e-feature, 10 | org.apache.sling.ide.sightly-feature, 11 | 12 | # 13 | -------------------------------------------------------------------------------- /docs/site.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /docs/web/site.css: -------------------------------------------------------------------------------- 1 | < 2 | STYLE type ="text/css">td.spacer { 3 | padding-bottom: 10px; 4 | padding-top: 10px; 5 | } 6 | 7 | .title { 8 | font-family: sans-serif; 9 | color: #1778be; 10 | } 11 | 12 | .table { 13 | margin-top: 0px; 14 | margin-left: 0px; 15 | width: 920px; 16 | } 17 | 18 | .bodyText { 19 | font-family: sans-serif; 20 | font-size: 9pt; 21 | color: #000000; 22 | width: 100% 23 | } 24 | 25 | .sub-header { 26 | font-family: sans-serif; 27 | font-style: normal; 28 | font-weight: bold; 29 | font-size: 9pt; 30 | color: white; 31 | } 32 | 33 | .log-text { 34 | font-family: sans-serif; 35 | font-style: normal; 36 | font-weight: lighter; 37 | font-size: 8pt; 38 | color: black; 39 | } 40 | 41 | .big-header { 42 | font-family: sans-serif; 43 | font-style: normal; 44 | font-weight: bold; 45 | font-size: 9pt; 46 | color: white; 47 | border-top: 10px solid white; 48 | } 49 | 50 | .light-row { 51 | background: #FFFFFF 52 | } 53 | 54 | .dark-row { 55 | background: #EEEEEE 56 | } 57 | 58 | .header { 59 | background: #445562 60 | } 61 | 62 | #indent { 63 | word-wrap: break-word; 64 | width: 300px; 65 | text-indent: 10px; 66 | } 67 | 68 | .link { 69 | color: #187dc6; 70 | } 71 | 72 | .td_header { 73 | background: url("https://www.jboss.org/dms/tools/images/tools-banner.png") 0 no-repeat; 74 | height: 100px; 75 | } 76 | 77 | .column-header { 78 | font-size:small; 79 | } 80 | 81 | -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- 1 | 2 | 17 | 18 | 4.0.0 19 | 20 | com.adobe.granite.ide 21 | aem-eclipse-developer-tools 22 | 1.3.1-SNAPSHOT 23 | pom 24 | 25 | AEM Eclipse Developer Tools 26 | The Eclipse Plug-In that brings you the full connection to the Adobe Experience Manager. 27 | https://github.com/adobe/aem-eclipse-developer-tools 28 | 29 | 2014 30 | 31 | 32 | The Apache Software License, Version 2.0 33 | http://www.apache.org/licenses/LICENSE-2.0.txt 34 | 35 | 36 | 37 | Adobe 38 | http://www.adobe.com/ 39 | 40 | 41 | 42 | Adobe Reference Squad 43 | ref-squad@adobe.com 44 | 45 | 46 | 47 | scm:git:https://github.com/adobe/aem-eclipse-developer-tools.git 48 | scm:git:https://github.com/adobe/aem-eclipse-developer-tools.git 49 | https://github.com/adobe/aem-eclipse-developer-tools.git 50 | HEAD 51 | 52 | 53 | 54 | 1.6.0 55 | UTF-8 56 | / 57 | 58 | 59 | 60 | com.adobe.granite.ide.target-definition 61 | com.adobe.granite.ide.eclipse-ui 62 | com.adobe.granite.ide.feature 63 | com.adobe.granite.ide.p2update 64 | 65 | 66 | 67 | 68 | 69 | 70 | org.apache.maven.plugins 71 | maven-deploy-plugin 72 | 2.8.1 73 | 74 | true 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | org.eclipse.tycho 83 | tycho-maven-plugin 84 | ${tycho.version} 85 | true 86 | 87 | 88 | org.eclipse.tycho 89 | tycho-versions-plugin 90 | ${tycho.version} 91 | 92 | 93 | org.eclipse.tycho 94 | target-platform-configuration 95 | ${tycho.version} 96 | 97 | 98 | 99 | com.adobe.granite.ide 100 | com.adobe.granite.ide.target-definition 101 | ${project.version} 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | jboss-public-repository-group 111 | JBoss Public Repository Group 112 | http://repository.jboss.org/nexus/content/groups/public/ 113 | 114 | 115 | 116 | 117 | 118 | 119 | release 120 | 121 | false 122 | 123 | 124 | 125 | 126 | org.apache.maven.plugins 127 | maven-gpg-plugin 128 | 1.6 129 | 130 | 131 | sign-artifacts 132 | deploy 133 | 134 | sign 135 | 136 | 137 | 138 | --pinentry-mode 139 | loopback 140 | 141 | 142 | 143 | 144 | 145 | 146 | org.sonatype.plugins 147 | nexus-staging-maven-plugin 148 | 1.6.7 149 | true 150 | 151 | ossrh 152 | https://oss.sonatype.org/ 153 | true 154 | 155 | 156 | 157 | org.apache.maven.plugins 158 | maven-scm-plugin 159 | 1.11.2 160 | 161 | 162 | default-cli 163 | 164 | add 165 | checkin 166 | 167 | 168 | **/META-INF/MANIFEST.MF,**/feature.xml,**/*.product,**/category.xml 169 | **/target/** 170 | Changing the version to reflect the pom versions for the release 171 | 172 | 173 | 174 | 175 | 176 | org.apache.maven.plugins 177 | maven-release-plugin 178 | 2.5.3 179 | 180 | org.eclipse.tycho:tycho-versions-plugin:${tycho.version}:update-eclipse-metadata 181 | org.apache.maven.plugins:maven-scm-plugin:1.9.5:add org.apache.maven.plugins:maven-scm-plugin:1.9.5:checkin 182 | 183 | org.eclipse.tycho:tycho-versions-plugin:${tycho.version}:update-eclipse-metadata 184 | org.apache.maven.plugins:maven-scm-plugin:1.9.5:add org.apache.maven.plugins:maven-scm-plugin:1.9.5:checkin 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 200 | 201 | 202 | ${releaseRepository-Id} 203 | ${releaseRepository-URL} 204 | 205 | 206 | ${snapshotRepository-Id} 207 | ${snapshotRepository-URL} 208 | false 209 | 210 | 211 | 212 | --------------------------------------------------------------------------------