blob: 32643351a71420bdc15deb7b33fe924e5bccfd25 [file] [view]
> 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'