Fix maven warning

git-svn-id: https://svn.apache.org/repos/asf/directory/studio/branches/studio-tycho@1668478 13f79535-47bb-0310-9956-ffa450edef68
1 file changed
tree: 38f0ef7184a7a78f9704ab31b1eadb734b1b8345
  1. application/
  2. eclipse-target-platform/
  3. features/
  4. helps/
  5. libraries/
  6. plugins/
  7. product/
  8. repository/
  9. src/
  10. tests/
  11. tools/
  12. build.bat
  13. build.sh
  14. doap_dirstudio.rdf
  15. LICENSE.txt
  16. NOTICE.txt
  17. pom-first.xml
  18. pom.xml
  19. README.md
  20. settings.xml.release
  21. settings.xml.sample
README.md

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Build from command line

You can use either of those two methods to build the project :

Do it manually

  1. Build the ‘Eclipse Target Platform’ and generate MANIFEST.MF files first

    mvn -f pom-first.xml clean install

  2. Build the main eclipse artifacts using Tycho

    mvn clean install

Use the script (which does run the two previous commands)

On Linux / Mac OS X :

$ ./build.sh

or on Windows :

> build.bat

Setup Eclipse workspace

Recommended IDE is ‘Eclipse (Luna) for RCP Developers’: http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/lunasr1

  1. Import ‘Eclipse Target Platorm’ project first

    • File -> Import... -> Maven -> Existing Maven Projects
    • Choose ‘studio-tycho/eclipse-target-platform’ as root directory
    • Only this single project is selected
    • Finish
  2. Initialize target platform

    • Open the eclipse-target-platform.target file with the ‘Target Editor’
    • In the top right corner click ‘Set as Target Platform’
  3. Import the main plugins

    • File -> Import... -> Maven -> Existing Maven Projects
    • Chosse ‘studio-tycho’ as root directory
    • All the plugins are selected
    • Finish

During import some Maven plugin connectors need to be installed, accept the installation and restart.

Run

From command line

The build produces binaries for all platforms. Archived versions can be found in product/target/products/, unpacked versions can be found below product/target/products/org.apache.directory.studio.product

Within Eclipse

  • Open the product configuration ‘org.apache.directory.studio.product’ with the Product Configuration Editor
  • Click the link ‘Launch an Eclipse application’