commit | 9077918d5e7142a7f569ec676956470dcc21d736 | [log] [tgz] |
---|---|---|
author | Stefan Seelmann <seelmann@apache.org> | Sat May 30 21:15:09 2015 +0000 |
committer | Stefan Seelmann <seelmann@apache.org> | Sat May 30 21:15:09 2015 +0000 |
tree | 9646e8ce952eb14a46f48074d23bf9913e184994 | |
parent | 12898c2a21012e283bf30b461861ed3abb5376c7 [diff] |
Extract config to separate 'project' pom and separate pom-first and main build git-svn-id: https://svn.apache.org/repos/asf/directory/studio/branches/studio-tycho-release-experiments@1682657 13f79535-47bb-0310-9956-ffa450edef68
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.
You can use either of those two methods to build the project :
Build the ‘Eclipse Target Platform’ and generate MANIFEST.MF files first
mvn -f pom-first.xml clean install
Build the main eclipse artifacts using Tycho
mvn clean install
On Linux / Mac OS X :
$ ./build.sh
or on Windows :
> build.bat
Tycho doesn't handle snapshot dependencies well. The first time a snapshot dependency is used within the build it is cached in ~/.m2/repository/p2
. Afterwards any change in the dependency (e.g. ApacheDS or LDAP API) is the considered unless it is deleted from the cache.
Recommended IDE is ‘Eclipse (Luna) for RCP Developers’: http://www.eclipse.org/downloads/packages/eclipse-rcp-and-rap-developers/lunasr1
Import ‘Eclipse Target Platorm’ project first
Initialize target platform
eclipse-target-platform.target
file with the ‘Target Editor’Import the main plugins
During import some Maven plugin connectors need to be installed, accept the installation and restart.
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
Work in progress...
Check legal files
mvn apache-rat:check
Run UI tests (if possilbe on all platforms)
mvn clean install -Denable-ui-tests
Generate help plugins
cd helps mvn clean install -Duserguides
Update site (p2 repo) is generated in product/target/repository
Distribution files are generated in product/target/products
How to search features, plugins, versions in P2 repo?