directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r616766 [3/4] - in /directory/studio/branches/studio-maven: studio-plugin/ studio-plugin/src/ studio-plugin/src/main/ studio-plugin/src/main/java/ studio-plugin/src/main/java/org/ studio-plugin/src/main/java/org/apache/ studio-plugin/src/ma...
Date Wed, 30 Jan 2008 13:59:42 GMT
Added: directory/studio/branches/studio-maven/studio/pom.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/studio/pom.xml?rev=616766&view=auto
==============================================================================
--- directory/studio/branches/studio-maven/studio/pom.xml (added)
+++ directory/studio/branches/studio-maven/studio/pom.xml Wed Jan 30 05:59:34 2008
@@ -0,0 +1,1203 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+  <modelVersion>4.0.0</modelVersion>
+  <parent>
+    <groupId>org.apache.directory.studio</groupId>
+    <artifactId>parent</artifactId>
+    <version>1.0.2-SNAPSHOT</version>
+  </parent>
+  <artifactId>studio-build</artifactId>
+  <name>Apache Directory Studio Build</name>
+  <packaging>jar</packaging>
+
+  <description>Building distributions for the Apache Directory Studio</description>
+
+  <!-- 
+    How building a dist works:
+    We presume that all needed dependencies are already somehow available (normally this is the case with mvn install from root)
+    
+    - Put all profile specific stuff into a specific folder (target/ApacheDirectoryStudio-{profile}
+    - Put all general stuff into a folder (target/ApacheDirectoryStudio)
+    
+    - Let the assembly plugin do its work. For each profile exists an assembly-descriptor (src/main/assembly).
+    - In general you can say a distribution is a merge of the profile specific and the general folder.
+    - The distribution stored in the ../target/distribution folder and name by its profile.
+    - In the end the distribution is unzipped in ../target/distribution for immediate use
+    
+    Note: You can build different distribution in a single run a take the benefits of the general folder. Run e.g.
+          mvn clean install -Plinux-x86,linux-x86_64,linux-ppc,macosx,win32 -Dmaven.test.skip=true
+          from the projects root to generate all available distribution in one run.
+  -->
+
+  <!-- Set some properties -->
+  <properties>
+    <studio-dir>target/ApacheDirectoryStudio</studio-dir>
+  </properties>
+
+  <profiles>
+    <profile>
+      <id>linux-x86</id>
+      <activation>
+        <os>
+          <arch>i386</arch>
+          <family>unix</family>
+          <name>linux</name>
+        </os>
+      </activation>
+      <!--
+        Everything in here is linux-x86 specific. 
+        All sources/dependencies within this profile go to
+        target/ApacheDirectoryStudio-linux-x86 
+      -->
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>launcher-linux-x86 (unpack)</id>
+                <!-- Unpack the launcher and equinox launcher -->
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>unpack</goal>
+                </goals>
+                <configuration>
+                  <overWrite>true</overWrite>
+                  <markersDirectory>${project.build.directory}/dependency-maven-plugin-markers/linux-x86</markersDirectory>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.apache.directory.studio</groupId>
+                      <artifactId>launcher-linux-x86</artifactId>
+                      <type>tar.gz</type>
+                      <outputDirectory>${studio-dir}-linux-x86</outputDirectory>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.eclipse.equinox.launcher.gtk.linux</groupId>
+                      <artifactId>x86</artifactId>
+                      <type>tar.gz</type>
+                      <outputDirectory>${studio-dir}-linux-x86/plugins</outputDirectory>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.directory.studio</groupId>
+            <artifactId>maven-studio-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>swt-linux-x86 (copy)</id>
+                <!-- Copy profile specific swt -->
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>copy-eclipse-artifact</goal>
+                </goals>
+                <configuration>
+                  <destinationDirectory>${studio-dir}-linux-x86/plugins</destinationDirectory>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.eclipse.swt.gtk.linux</groupId>
+                      <artifactId>x86</artifactId>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.eclipse.core.filesystem.linux</groupId>
+                      <artifactId>x86</artifactId>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <!-- Create the distribution file -->
+            <configuration>
+              <finalName>ApacheDirectoryStudio-linux-x86-${pom.version}</finalName>
+              <outputDirectory>target/distributions</outputDirectory>
+              <descriptors>
+                <descriptor>src/main/assembly/bin-linux-x86.xml</descriptor>
+              </descriptors>
+            </configuration>
+            <executions>
+              <execution>
+                <id>assembly-distribution-linux-x86</id>
+                <phase>package</phase>
+                <configuration>
+                  <finalName>ApacheDirectoryStudio-linux-x86-${pom.version}</finalName>
+                  <outputDirectory>../target/distributions</outputDirectory>
+                  <descriptors>
+                    <descriptor>src/main/assembly/bin-linux-x86.xml</descriptor>
+                  </descriptors>
+                </configuration>
+                <goals>
+                  <goal>attached</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <!-- 
+                Finally and after all unzip the created distribution in
+                ../target/distributions to have a working application there for
+                immediate use.
+              -->
+              <execution>
+                <id>unpack-dist-linux-x86 (for immediate use)</id>
+                <phase>install</phase>
+                <configuration>
+                  <tasks>
+                    <untar src="../target/distributions/ApacheDirectoryStudio-linux-x86-${pom.version}-dist.tar.gz" dest="../target/distributions" overwrite="true" compression="gzip" />
+                    <chmod file="../target/distributions/ApacheDirectoryStudio-linux-x86-${pom.version}/ApacheDirectoryStudio" perm="755" />
+                  </tasks>
+                </configuration>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+    <profile>
+      <id>linux-x86_64</id>
+      <activation>
+        <os>
+          <arch>amd64</arch>
+          <family>unix</family>
+          <name>linux</name>
+        </os>
+      </activation>
+      <!--
+        Everything in here is linux-x86_64 specific. 
+        All sources/dependencies within this profile go to
+        target/ApacheDirectoryStudio-linux-x86_64 
+      -->
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>launcher-linux-x86_64 (unpack)</id>
+                <!-- Unpack the launcher and equinox launcher -->
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>unpack</goal>
+                </goals>
+                <configuration>
+                  <overWrite>true</overWrite>
+                  <markersDirectory>${project.build.directory}/dependency-maven-plugin-markers/linux-x86_64</markersDirectory>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.apache.directory.studio</groupId>
+                      <artifactId>launcher-linux-x86_64</artifactId>
+                      <type>tar.gz</type>
+                      <outputDirectory>${studio-dir}-linux-x86_64</outputDirectory>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.eclipse.equinox.launcher.gtk.linux</groupId>
+                      <artifactId>x86_64</artifactId>
+                      <type>tar.gz</type>
+                      <outputDirectory>${studio-dir}-linux-x86_64/plugins</outputDirectory>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.directory.studio</groupId>
+            <artifactId>maven-studio-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>swt-linux-x86_64 (copy)</id>
+                <!-- Copy profile specific swt -->
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>copy-eclipse-artifact</goal>
+                </goals>
+                <configuration>
+                  <destinationDirectory>${studio-dir}-linux-x86_64/plugins</destinationDirectory>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.eclipse.swt.gtk.linux</groupId>
+                      <artifactId>x86_64</artifactId>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.eclipse.core.filesystem.linux</groupId>
+                      <artifactId>x86_64</artifactId>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <!-- Create the distribution file -->
+            <configuration>
+              <finalName>ApacheDirectoryStudio-linux-x86_64-${pom.version}</finalName>
+              <outputDirectory>target/distributions</outputDirectory>
+              <descriptors>
+                <descriptor>src/main/assembly/bin-linux-x86_64.xml</descriptor>
+              </descriptors>
+            </configuration>
+            <executions>
+              <execution>
+                <id>assembly-distribution-linux-x86_64</id>
+                <phase>package</phase>
+                <configuration>
+                  <finalName>ApacheDirectoryStudio-linux-x86_64-${pom.version}</finalName>
+                  <outputDirectory>../target/distributions</outputDirectory>
+                  <descriptors>
+                    <descriptor>src/main/assembly/bin-linux-x86_64.xml</descriptor>
+                  </descriptors>
+                </configuration>
+                <goals>
+                  <goal>attached</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <!-- 
+                Finally and after all unzip the created distribution in
+                ../target/distributions to have a working application there for
+                immediate use.
+              -->
+              <execution>
+                <id>unpack-dist-linux-x86_64 (for immediate use)</id>
+                <phase>install</phase>
+                <configuration>
+                  <tasks>
+                    <untar src="../target/distributions/ApacheDirectoryStudio-linux-x86_64-${pom.version}-dist.tar.gz" dest="../target/distributions" overwrite="true" compression="gzip" />
+                    <chmod file="../target/distributions/ApacheDirectoryStudio-linux-x86_64-${pom.version}/ApacheDirectoryStudio" perm="755" />
+                  </tasks>
+                </configuration>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+    <profile>
+      <id>linux-ppc</id>
+      <activation>
+        <os>
+          <arch>ppc</arch>
+          <family>unix</family>
+          <name>linux</name>
+        </os>
+      </activation>
+      <!--
+        Everything in here is linux-ppc specific. 
+        All sources/dependencies within this profile go to
+        target/ApacheDirectoryStudio-linux-ppc 
+      -->
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>launcher-linux-ppc (unpack)</id>
+                <!-- Unpack the launcher and equinox launcher -->
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>unpack</goal>
+                </goals>
+                <configuration>
+                  <overWrite>true</overWrite>
+                  <markersDirectory>${project.build.directory}/dependency-maven-plugin-markers/linux-ppc</markersDirectory>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.apache.directory.studio</groupId>
+                      <artifactId>launcher-linux-ppc</artifactId>
+                      <type>tar.gz</type>
+                      <outputDirectory>${studio-dir}-linux-ppc</outputDirectory>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.eclipse.equinox.launcher.gtk.linux</groupId>
+                      <artifactId>ppc</artifactId>
+                      <type>tar.gz</type>
+                      <outputDirectory>${studio-dir}-linux-ppc/plugins</outputDirectory>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.directory.studio</groupId>
+            <artifactId>maven-studio-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>swt-linux-ppc (copy)</id>
+                <!-- Copy profile specific swt -->
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>copy-eclipse-artifact</goal>
+                </goals>
+                <configuration>
+                  <destinationDirectory>${studio-dir}-linux-ppc/plugins</destinationDirectory>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.eclipse.swt.gtk.linux</groupId>
+                      <artifactId>ppc</artifactId>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.eclipse.core.filesystem.linux</groupId>
+                      <artifactId>ppc</artifactId>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <!-- Create the distribution file -->
+            <configuration>
+              <finalName>ApacheDirectoryStudio-linux-ppc-${pom.version}</finalName>
+              <outputDirectory>target/distributions</outputDirectory>
+              <descriptors>
+                <descriptor>src/main/assembly/bin-linux-ppc.xml</descriptor>
+              </descriptors>
+            </configuration>
+            <executions>
+              <execution>
+                <id>assembly-distribution-linux-ppc</id>
+                <phase>package</phase>
+                <configuration>
+                  <finalName>ApacheDirectoryStudio-linux-ppc-${pom.version}</finalName>
+                  <outputDirectory>../target/distributions</outputDirectory>
+                  <descriptors>
+                    <descriptor>src/main/assembly/bin-linux-ppc.xml</descriptor>
+                  </descriptors>
+                </configuration>
+                <goals>
+                  <goal>attached</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <!-- 
+                Finally and after all unzip the created distribution in
+                ../target/distributions to have a working application there for
+                immediate use.
+              -->
+              <execution>
+                <id>unpack-dist-linux-ppc (for immediate use)</id>
+                <phase>install</phase>
+                <configuration>
+                  <tasks>
+                    <untar src="../target/distributions/ApacheDirectoryStudio-linux-ppc-${pom.version}-dist.tar.gz" dest="../target/distributions" overwrite="true" compression="gzip" />
+                    <chmod file="../target/distributions/ApacheDirectoryStudio-linux-ppc-${pom.version}/ApacheDirectoryStudio" perm="755" />
+                  </tasks>
+                </configuration>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+    <profile>
+      <id>win32</id>
+      <activation>
+        <os>
+          <arch>x86</arch>
+          <family>windows</family>
+        </os>
+      </activation>
+      <!--
+        Everything in here is win32 specific. 
+        All sources/dependencies within this profile go to
+        target/ApacheDirectoryStudio-win32 
+      -->
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>launcher-win32 (unpack)</id>
+                <!-- Unpack the launcher and equinox launcher -->
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>unpack</goal>
+                </goals>
+                <configuration>
+                  <overWrite>true</overWrite>
+                  <markersDirectory>${project.build.directory}/dependency-maven-plugin-markers/win32</markersDirectory>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.apache.directory.studio</groupId>
+                      <artifactId>launcher-win32</artifactId>
+                      <type>tar.gz</type>
+                      <outputDirectory>${studio-dir}-win32</outputDirectory>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.eclipse.equinox.launcher.win32.win32</groupId>
+                      <artifactId>x86</artifactId>
+                      <type>tar.gz</type>
+                      <outputDirectory>${studio-dir}-win32/plugins</outputDirectory>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.directory.studio</groupId>
+            <artifactId>maven-studio-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>swt-win32 (copy)</id>
+                <!-- Copy profile specific swt -->
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>copy-eclipse-artifact</goal>
+                </goals>
+                <configuration>
+                  <destinationDirectory>${studio-dir}-win32/plugins</destinationDirectory>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.eclipse.swt.win32.win32</groupId>
+                      <artifactId>x86</artifactId>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.eclipse.core.filesystem.win</groupId>
+                      <artifactId>x86</artifactId>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <!-- Create the distribution file -->
+            <configuration>
+              <finalName>ApacheDirectoryStudio-win32-${pom.version}</finalName>
+              <outputDirectory>target/distributions</outputDirectory>
+              <descriptors>
+                <descriptor>src/main/assembly/bin-win32.xml</descriptor>
+              </descriptors>
+            </configuration>
+            <executions>
+              <execution>
+                <id>assembly-distribution-win32</id>
+                <phase>package</phase>
+                <configuration>
+                  <finalName>ApacheDirectoryStudio-win32-${pom.version}</finalName>
+                  <outputDirectory>../target/distributions</outputDirectory>
+                  <descriptors>
+                    <descriptor>src/main/assembly/bin-win32.xml</descriptor>
+                  </descriptors>
+                </configuration>
+                <goals>
+                  <goal>attached</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <!-- 
+                Finally and after all unzip the created distribution in
+                ../target/distributions to have a working application there for
+                immediate use.
+              -->
+              <execution>
+                <id>unpack-dist-win32 (for immediate use)</id>
+                <phase>install</phase>
+                <configuration>
+                  <tasks>
+                    <unzip src="../target/distributions/ApacheDirectoryStudio-win32-${pom.version}-dist.zip" dest="../target/distributions" overwrite="true" />
+                    <chmod file="../target/distributions/ApacheDirectoryStudio-win32-${pom.version}/Apache Directory Studio.exe" perm="755" />
+                  </tasks>
+                </configuration>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+
+    <profile>
+      <id>macosx</id>
+      <activation>
+        <os>
+          <family>unix</family>
+          <name>mac os x</name>
+        </os>
+      </activation>
+      <!--
+        Everything in here is macosx specific. 
+        All sources/dependencies within this profile go to
+        target/ApacheDirectoryStudio-macosx 
+      -->
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-dependency-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>launcher-macosx (unpack)</id>
+                <!-- Unpack the launcher and equinox launcher -->
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>unpack</goal>
+                </goals>
+                <configuration>
+                  <overWrite>true</overWrite>
+                  <markersDirectory>${project.build.directory}/dependency-maven-plugin-markers/macosx</markersDirectory>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.apache.directory.studio</groupId>
+                      <artifactId>launcher-macosx</artifactId>
+                      <type>tar.gz</type>
+                      <outputDirectory>${studio-dir}-macosx</outputDirectory>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.eclipse.equinox.launcher.carbon</groupId>
+                      <artifactId>macosx</artifactId>
+                      <type>tar.gz</type>
+                      <outputDirectory>${studio-dir}-macosx/Apache Directory Studio.app/Contents/Resources/Java/plugins</outputDirectory>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <groupId>org.apache.directory.studio</groupId>
+            <artifactId>maven-studio-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>swt-macosx (copy)</id>
+                <!-- Copy profile specific swt -->
+                <phase>generate-resources</phase>
+                <goals>
+                  <goal>copy-eclipse-artifact</goal>
+                </goals>
+                <configuration>
+                  <destinationDirectory>${studio-dir}-macosx/Apache Directory Studio.app/Contents/Resources/Java/plugins</destinationDirectory>
+                  <artifactItems>
+                    <artifactItem>
+                      <groupId>org.eclipse.swt.carbon</groupId>
+                      <artifactId>macosx</artifactId>
+                    </artifactItem>
+                    <artifactItem>
+                      <groupId>org.eclipse.core.filesystem</groupId>
+                      <artifactId>macosx</artifactId>
+                    </artifactItem>
+                  </artifactItems>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-assembly-plugin</artifactId>
+            <!-- Create the distribution file -->
+            <configuration>
+              <finalName>ApacheDirectoryStudio-macosx-${pom.version}</finalName>
+              <outputDirectory>target/distributions</outputDirectory>
+              <descriptors>
+                <descriptor>src/main/assembly/bin-macosx.xml</descriptor>
+              </descriptors>
+            </configuration>
+            <executions>
+              <execution>
+                <id>assembly-distribution-macosx</id>
+                <phase>package</phase>
+                <configuration>
+                  <finalName>ApacheDirectoryStudio-macosx-${pom.version}</finalName>
+                  <outputDirectory>../target/distributions</outputDirectory>
+                  <descriptors>
+                    <descriptor>src/main/assembly/bin-macosx.xml</descriptor>
+                  </descriptors>
+                </configuration>
+                <goals>
+                  <goal>attached</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <!-- 
+                Finally and after all unzip the created distribution in
+                ../target/distributions to have a working application there for
+                immediate use.
+              -->
+              <execution>
+                <id>unpack-dist-macosx (for immediate use)</id>
+                <phase>install</phase>
+                <configuration>
+                  <tasks>
+                    <untar src="../target/distributions/ApacheDirectoryStudio-macosx-${pom.version}-dist.tar.gz" dest="../target/distributions" overwrite="true" compression="gzip" />
+                    <chmod file="../target/distributions/ApacheDirectoryStudio-macosx-${pom.version}/Apache Directory Studio.app/Contents/MacOS/ApacheDirectoryStudio" perm="755" />
+                  </tasks>
+                </configuration>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
+  <build>
+    <plugins>
+      <!--
+        Everything below this point (except test at the end) is used by all profiles
+        and goes to the target/ApacheDirectoryStudio folder
+      -->
+      <plugin>
+        <groupId>org.apache.directory.studio</groupId>
+        <artifactId>maven-studio-plugin</artifactId>
+        <executions>
+          <execution>
+            <id>copy-plugins</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>copy-eclipse-artifact</goal>
+            </goals>
+            <configuration>
+              <destinationDirectory>${studio-dir}/plugins</destinationDirectory>
+              <artifactItems>
+                <!-- The directory studio plugins -->
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>ldapbrowser.core</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>ldapbrowser.common</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>connection.ui</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>connection.core</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>valueeditors</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>rcp</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>ldifeditor</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>ldifparser</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>schemaeditor</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>schemaeditor.help</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>ldapbrowser.ui</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>apacheds.configuration</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>jars</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>aciitemeditor</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>rcp.help</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>ldifeditor.help</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>ldapbrowser.help</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>apacheds.configuration.help</artifactId>
+                </artifactItem>
+
+                <!-- The eclipse plugins -->
+                <artifactItem>
+                  <groupId>org.eclipse.update</groupId>
+                  <artifactId>ui</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.update</groupId>
+                  <artifactId>core</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.ui.workbench</groupId>
+                  <artifactId>texteditor</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.ui</groupId>
+                  <artifactId>views</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.ui</groupId>
+                  <artifactId>cheatsheets</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.ui.navigator</groupId>
+                  <artifactId>resources</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.ui.views.properties</groupId>
+                  <artifactId>tabbed</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.ui</groupId>
+                  <artifactId>navigator</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.ui</groupId>
+                  <artifactId>intro</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.ui</groupId>
+                  <artifactId>ide</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.ui</groupId>
+                  <artifactId>forms</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.ui</groupId>
+                  <artifactId>editors</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse</groupId>
+                  <artifactId>text</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse</groupId>
+                  <artifactId>search</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.jface</groupId>
+                  <artifactId>text</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.help</groupId>
+                  <artifactId>ui</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.help</groupId>
+                  <artifactId>base</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.help</groupId>
+                  <artifactId>appserver</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core.runtime</groupId>
+                  <artifactId>compatibility</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core</groupId>
+                  <artifactId>resources</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core</groupId>
+                  <artifactId>filesystem</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core</groupId>
+                  <artifactId>filebuffers</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core.runtime</groupId>
+                  <artifactId>compatibility</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.update</groupId>
+                  <artifactId>configurator</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse</groupId>
+                  <artifactId>ui</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.ui</groupId>
+                  <artifactId>workbench</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse</groupId>
+                  <artifactId>swt</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse</groupId>
+                  <artifactId>rcp</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse</groupId>
+                  <artifactId>osgi</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse</groupId>
+                  <artifactId>jface</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.jface</groupId>
+                  <artifactId>databinding</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse</groupId>
+                  <artifactId>help</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>com.ibm</groupId>
+                  <artifactId>icu</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core</groupId>
+                  <artifactId>commands</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core</groupId>
+                  <artifactId>contenttype</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core</groupId>
+                  <artifactId>databinding</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core</groupId>
+                  <artifactId>expressions</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core</groupId>
+                  <artifactId>jobs</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core</groupId>
+                  <artifactId>net</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core.runtime.compatibility</groupId>
+                  <artifactId>auth</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.equinox</groupId>
+                  <artifactId>app</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.equinox</groupId>
+                  <artifactId>common</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.equinox</groupId>
+                  <artifactId>launcher</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.equinox</groupId>
+                  <artifactId>preferences</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.equinox</groupId>
+                  <artifactId>registry</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core</groupId>
+                  <artifactId>runtime</artifactId>
+                </artifactItem>
+                
+                
+                <artifactItem>
+                    <groupId>javax</groupId>
+                    <artifactId>servlet</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>javax.servlet</groupId>
+                    <artifactId>jsp</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.apache.commons</groupId>
+                    <artifactId>el</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.apache.commons</groupId>
+                    <artifactId>logging</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.apache</groupId>
+                    <artifactId>jasper</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.apache.lucene</groupId>
+                    <artifactId>analysis</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.eclipse.core.resources</groupId>
+                    <artifactId>compatibility</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.eclipse.equinox.http</groupId>
+                    <artifactId>jetty</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.eclipse.equinox.http</groupId>
+                    <artifactId>registry</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.eclipse.equinox.http</groupId>
+                    <artifactId>servlet</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.eclipse.equinox.jsp</groupId>
+                    <artifactId>jasper</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.eclipse.equinox.jsp.jasper</groupId>
+                    <artifactId>registry</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.eclipse.osgi</groupId>
+                    <artifactId>services</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.eclipse.osgi</groupId>
+                    <artifactId>util</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.eclipse.ui.ide</groupId>
+                    <artifactId>application</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.eclipse.update</groupId>
+                    <artifactId>scheduler</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.mortbay</groupId>
+                    <artifactId>jetty</artifactId>
+                </artifactItem>
+                
+              </artifactItems>
+            </configuration>
+          </execution>
+          <execution>
+            <id>unpack-plugins-with-artifactid-prefix</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>unpack-with-artifactid-prefix</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${studio-dir}/plugins</outputDirectory>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.apache</groupId>
+                  <artifactId>lucene</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.help</groupId>
+                  <artifactId>webapp</artifactId>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+          
+          <execution>
+            <id>unpack-plugins</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>unpack-with-artifactid-prefix</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${studio-dir}/plugins</outputDirectory>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.eclipse</groupId>
+                  <artifactId>sdk</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.eclipse.core.runtime.compatibility</groupId>
+                  <artifactId>registry</artifactId>
+                </artifactItem>
+                <artifactItem>
+                    <groupId>org.eclipse.ui.workbench</groupId>
+                    <artifactId>compatibility</artifactId>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+          
+          <execution>
+            <id>unpack-features-with-artifactid-prefix</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>unpack-with-artifactid-prefix</goal>
+            </goals>
+            <configuration>
+              <outputDirectory>${studio-dir}/features</outputDirectory>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>rcp.feature</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>schemaeditor.feature</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>ldapbrowser.feature</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>ldifeditor.feature</artifactId>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.directory.studio</groupId>
+                  <artifactId>apacheds.configuration.feature</artifactId>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+          
+          <!--<execution>
+            <id>replace-plugin.xml-in-org.eclipse.search</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>replace-file-in-eclipse-artifact</goal>
+            </goals>
+            <configuration>
+              <inputFile>src/main/configuration/org.eclipse.search/plugin.xml</inputFile>
+              <destinationDirectory>${studio-dir}/plugins</destinationDirectory>
+              <overWrite>false</overWrite>
+              <outputDirectory>${studio-dir}/plugins</outputDirectory>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.eclipse</groupId>
+                  <artifactId>search</artifactId>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+          <execution>
+            <id>replace-plugin.xml-in-org.eclipse.ui.editors</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>replace-file-in-eclipse-artifact</goal>
+            </goals>
+            <configuration>
+              <inputFile>src/main/configuration/org.eclipse.ui.editors/plugin.xml</inputFile>
+              <destinationDirectory>${studio-dir}/plugins</destinationDirectory>
+              <overWrite>false</overWrite>
+              <outputDirectory>${studio-dir}/plugins</outputDirectory>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.eclipse.ui</groupId>
+                  <artifactId>editors</artifactId>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+          <execution>
+            <id>replace-plugin.xml-in-org.eclipse.ui.ide</id>
+            <phase>process-resources</phase>
+            <goals>
+              <goal>replace-file-in-eclipse-artifact</goal>
+            </goals>
+            <configuration>
+              <inputFile>src/main/configuration/org.eclipse.ui.ide/plugin.xml</inputFile>
+              <destinationDirectory>${studio-dir}/plugins</destinationDirectory>
+              <overWrite>false</overWrite>
+              <outputDirectory>${studio-dir}/plugins</outputDirectory>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.eclipse.ui</groupId>
+                  <artifactId>ide</artifactId>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>-->
+        </executions>
+      </plugin>
+      <!-- No tests to run -->
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-surefire-plugin</artifactId>
+        <configuration>
+          <skip>true</skip>
+        </configuration>
+      </plugin>
+    </plugins>
+  </build>
+
+</project>

Added: directory/studio/branches/studio-maven/studio/src/main/assembly/bin-linux-ppc.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/studio/src/main/assembly/bin-linux-ppc.xml?rev=616766&view=auto
==============================================================================
--- directory/studio/branches/studio-maven/studio/src/main/assembly/bin-linux-ppc.xml (added)
+++ directory/studio/branches/studio-maven/studio/src/main/assembly/bin-linux-ppc.xml Wed Jan 30 05:59:34 2008
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    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.
+-->
+<!-- $Rev:  $ $Date:  $ -->
+<assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+    <id>dist</id>
+    <formats>
+        <format>tar.gz</format>
+    </formats>
+    <fileSets>
+
+        <!-- Platform specific -->
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio-linux-ppc</directory>
+            <outputDirectory>/</outputDirectory>
+            <excludes>
+                <exclude>ApacheDirectoryStudio</exclude>
+            </excludes>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio-linux-ppc</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>ApacheDirectoryStudio</include>
+            </includes>
+            <fileMode>755</fileMode>
+        </fileSet>
+
+        <!-- Platform unspecific -->
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio</directory>
+            <outputDirectory>/</outputDirectory>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>src/main/configuration</directory>
+            <outputDirectory>/configuration</outputDirectory>
+            <includes>
+                <include>config.ini</include>
+            </includes>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>../docs</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>*.txt</include>
+            </includes>
+            <fileMode>644</fileMode>
+        </fileSet>
+    </fileSets>
+</assembly>
+

Added: directory/studio/branches/studio-maven/studio/src/main/assembly/bin-linux-x86.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/studio/src/main/assembly/bin-linux-x86.xml?rev=616766&view=auto
==============================================================================
--- directory/studio/branches/studio-maven/studio/src/main/assembly/bin-linux-x86.xml (added)
+++ directory/studio/branches/studio-maven/studio/src/main/assembly/bin-linux-x86.xml Wed Jan 30 05:59:34 2008
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    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.
+-->
+<!--
+  @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+-->
+<assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+    <id>dist</id>
+    <formats>
+        <format>tar.gz</format>
+    </formats>
+    <fileSets>
+
+        <!-- Platform specific -->
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio-linux-x86</directory>
+            <outputDirectory>/</outputDirectory>
+            <excludes>
+                <exclude>ApacheDirectoryStudio</exclude>
+            </excludes>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio-linux-x86</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>ApacheDirectoryStudio</include>
+            </includes>
+            <fileMode>755</fileMode>
+        </fileSet>
+
+        <!-- Platform unspecific -->
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio</directory>
+            <outputDirectory>/</outputDirectory>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>src/main/configuration</directory>
+            <outputDirectory>/configuration</outputDirectory>
+            <includes>
+                <include>config.ini</include>
+            </includes>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>../docs</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>*.txt</include>
+            </includes>
+            <fileMode>644</fileMode>
+        </fileSet>
+    </fileSets>
+</assembly>
+

Added: directory/studio/branches/studio-maven/studio/src/main/assembly/bin-linux-x86_64.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/studio/src/main/assembly/bin-linux-x86_64.xml?rev=616766&view=auto
==============================================================================
--- directory/studio/branches/studio-maven/studio/src/main/assembly/bin-linux-x86_64.xml (added)
+++ directory/studio/branches/studio-maven/studio/src/main/assembly/bin-linux-x86_64.xml Wed Jan 30 05:59:34 2008
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    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.
+-->
+<!-- $Rev:  $ $Date:  $ -->
+<assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+    <id>dist</id>
+    <formats>
+        <format>tar.gz</format>
+    </formats>
+    <fileSets>
+
+        <!-- Platform specific -->
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio-linux-x86_64</directory>
+            <outputDirectory>/</outputDirectory>
+            <excludes>
+                <exclude>ApacheDirectoryStudio</exclude>
+            </excludes>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio-linux-x86_64</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>ApacheDirectoryStudio</include>
+            </includes>
+            <fileMode>755</fileMode>
+        </fileSet>
+
+        <!-- Platform unspecific -->
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio</directory>
+            <outputDirectory>/</outputDirectory>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>src/main/configuration</directory>
+            <outputDirectory>/configuration</outputDirectory>
+            <includes>
+                <include>config.ini</include>
+            </includes>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>../docs</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>*.txt</include>
+            </includes>
+            <fileMode>644</fileMode>
+        </fileSet>
+    </fileSets>
+</assembly>
+

Added: directory/studio/branches/studio-maven/studio/src/main/assembly/bin-macosx.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/studio/src/main/assembly/bin-macosx.xml?rev=616766&view=auto
==============================================================================
--- directory/studio/branches/studio-maven/studio/src/main/assembly/bin-macosx.xml (added)
+++ directory/studio/branches/studio-maven/studio/src/main/assembly/bin-macosx.xml Wed Jan 30 05:59:34 2008
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    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.
+-->
+<!-- $Rev:  $ $Date:  $ -->
+<assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+    <id>dist</id>
+    <formats>
+        <format>tar.gz</format>
+    </formats>
+    <fileSets>
+
+        <!-- Platform specific -->
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio-macosx</directory>
+            <outputDirectory>/</outputDirectory>
+            <excludes>
+                <exclude>Apache Directory Studio.app/Contents/MacOS/ApacheDirectoryStudio</exclude>
+            </excludes>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio-macosx</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>Apache Directory Studio.app/Contents/MacOS/ApacheDirectoryStudio</include>
+            </includes>
+            <fileMode>755</fileMode>
+        </fileSet>
+
+        <!-- Platform unspecific -->
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio</directory>
+            <outputDirectory>/Apache Directory Studio.app/Contents/Resources/Java</outputDirectory>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>src/main/configuration</directory>
+            <outputDirectory>/Apache Directory Studio.app/Contents/Resources/Java/configuration</outputDirectory>
+            <includes>
+                <include>config.ini</include>
+            </includes>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>../docs</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>*.txt</include>
+            </includes>
+            <fileMode>644</fileMode>
+        </fileSet>
+    </fileSets>
+</assembly>
+

Added: directory/studio/branches/studio-maven/studio/src/main/assembly/bin-win32.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/studio/src/main/assembly/bin-win32.xml?rev=616766&view=auto
==============================================================================
--- directory/studio/branches/studio-maven/studio/src/main/assembly/bin-win32.xml (added)
+++ directory/studio/branches/studio-maven/studio/src/main/assembly/bin-win32.xml Wed Jan 30 05:59:34 2008
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    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.
+-->
+<!-- $Rev:  $ $Date:  $ -->
+<assembly xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/assembly-1.1.0-SNAPSHOT.xsd">
+    <id>dist</id>
+    <formats>
+        <format>zip</format>
+    </formats>
+    <fileSets>
+
+        <!-- Platform specific -->
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio-win32</directory>
+            <outputDirectory>/</outputDirectory>
+            <excludes>
+                <exclude>Apache Directory Studio.exe</exclude>
+            </excludes>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio-win32</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>Apache Directory Studio.exe</include>
+            </includes>
+            <fileMode>755</fileMode>
+        </fileSet>
+
+        <!-- Platform unspecific -->
+        <fileSet>
+            <directory>target/ApacheDirectoryStudio</directory>
+            <outputDirectory>/</outputDirectory>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>src/main/configuration</directory>
+            <outputDirectory>/configuration</outputDirectory>
+            <includes>
+                <include>config.ini</include>
+            </includes>
+            <fileMode>644</fileMode>
+        </fileSet>
+        <fileSet>
+            <directory>../docs</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>*.txt</include>
+            </includes>
+            <fileMode>644</fileMode>
+        </fileSet>
+    </fileSets>
+</assembly>
+

Added: directory/studio/branches/studio-maven/studio/src/main/configuration/config.ini
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/studio/src/main/configuration/config.ini?rev=616766&view=auto
==============================================================================
--- directory/studio/branches/studio-maven/studio/src/main/configuration/config.ini (added)
+++ directory/studio/branches/studio-maven/studio/src/main/configuration/config.ini Wed Jan 30 05:59:34 2008
@@ -0,0 +1,9 @@
+#Product Runtime Configuration File
+
+osgi.splashPath=platform:/base/plugins/org.apache.directory.studio.rcp
+eclipse.product=org.apache.directory.studio.rcp.product
+osgi.bundles=org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start,org.eclipse.core.runtime@start
+osgi.bundles.defaultStartLevel=4
+
+# The workspace location
+osgi.instance.area.default=@user.home/.ApacheDirectoryStudio

Added: directory/studio/branches/studio-maven/studio/src/main/configuration/org.eclipse.search/plugin.xml
URL: http://svn.apache.org/viewvc/directory/studio/branches/studio-maven/studio/src/main/configuration/org.eclipse.search/plugin.xml?rev=616766&view=auto
==============================================================================
--- directory/studio/branches/studio-maven/studio/src/main/configuration/org.eclipse.search/plugin.xml (added)
+++ directory/studio/branches/studio-maven/studio/src/main/configuration/org.eclipse.search/plugin.xml Wed Jan 30 05:59:34 2008
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!-- ======================================================================= -->
+<!-- Search Plugin                                                           -->
+<!-- ======================================================================= -->
+<plugin>
+
+	<!-- Search extension point definitions -->
+	
+	<extension-point name="%searchPages" id="searchPages" schema="schema/searchPages.exsd"/>
+	<extension-point name="%searchResultSorters" id="searchResultSorters" schema="schema/searchResultSorters.exsd"/>
+	<extension-point name="%searchResultViewPages" id="searchResultViewPages" schema="schema/searchResultViewPages.exsd"/>
+	<extension-point name="%textSearchEngine" id="textSearchEngine" schema="schema/textSearchEngine.exsd"/>
+	<extension-point name="%textSearchQueryProvider" id="textSearchQueryProvider" schema="schema/textSearchQueryProvider.exsd"/>
+	
+	
+	<!-- Extensions -->
+	
+	<extension point="org.eclipse.ui.commands">
+		<category
+			name="%searchCategory.name"
+			description="%searchCategory.description"
+			id="org.eclipse.search.ui.category.search"
+		/>
+
+		<command
+			categoryId="org.eclipse.search.ui.category.search"
+			id="org.eclipse.search.ui.openSearchDialog"
+			name= "%ActionDefinition.openSearchDialog.name"
+			description="%ActionDefinition.openSearchDialog.description"
+		/>
+	</extension>
+	
+	<extension point="org.eclipse.ui.bindings">
+		<!-- COMMAND+H is "Hide" on carbon, so don't overwrite it -->
+		<key
+			sequence="Ctrl+H"
+			commandId="org.eclipse.search.ui.openSearchDialog"
+			schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
+		/>
+	</extension>
+	
+	<extension point="org.eclipse.ui.actionSets">
+		<actionSet
+			id="org.eclipse.search.searchActionSet"
+	        label="%search"
+			visible="true">
+	
+			<action id="org.eclipse.search.OpenSearchDialog"
+				definitionId="org.eclipse.search.ui.openSearchDialog"
+				toolbarPath="Normal/Search"			
+				menubarPath="org.eclipse.search.menu/internalDialogGroup"
+				label="%openSearchDialogAction.label"
+				tooltip="%openSearchDialogAction.tooltip"
+				icon="$nl$/icons/full/etool16/search.gif"
+				helpContextId="open_search_dialog_action_context"
+				class="org.eclipse.search.internal.ui.OpenSearchDialogAction"/>
+
+	     </actionSet>
+	</extension>
+	
+    <extension
+   		point="org.eclipse.ui.keywords">
+      <keyword
+            label="%preferenceKeywords.general"
+            id="org.eclipse.search.ui"/>
+	</extension>
+	
+</plugin>
+



Mime
View raw message