| <!-- |
| 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. |
| --> |
| <project default="generate"> |
| <import file="../studio-build/build.xml" /> |
| |
| <!-- Setting updatesite properties --> |
| <property name="updatesite" value="${target}/updatesite" /> |
| <property name="updatesite.plugins" value="${updatesite}/plugins" /> |
| <property name="updatesite.features" value="${updatesite}/features" /> |
| |
| <!-- GENERATE TASK --> |
| <target name="generate" description="Generates the update site. Generates and copies features and plugins."> |
| <mkdir dir="${updatesite}" /> |
| <mkdir dir="${updatesite.plugins}" /> |
| <mkdir dir="${updatesite.features}" /> |
| |
| <!-- Creation of the Features --> |
| <!-- Apache Directory Studio RCP Feature --> |
| <ant dir="../studio-rcp-feature" inheritAll="no" /> |
| <!-- Apache Directory Studio Schemas Editor Feature --> |
| <ant dir="../studio-schemaeditor-feature" inheritAll="no" /> |
| <!-- Apache Directory Studio LDAP Browser Feature --> |
| <ant dir="../studio-ldapbrowser-feature" inheritAll="no" /> |
| <!-- Apache Directory Studio LDIF Editor Feature --> |
| <ant dir="../studio-ldifeditor-feature" inheritAll="no" /> |
| <!-- Apache Directory Studio Apache DS Configuration Feature --> |
| <ant dir="../studio-apacheds-configuration-feature" inheritAll="no" /> |
| |
| <!-- Copying updatesite files --> |
| <copy todir="${updatesite}"> |
| <fileset dir="${basedir}"> |
| <include name="index.html" /> |
| <include name="site--xml.cgi" /> |
| <include name="site--xml.html" /> |
| <include name="site.xml" /> |
| <include name="web/**" /> |
| </fileset> |
| </copy> |
| |
| <!-- Copying the Features --> |
| <copy todir="${updatesite.features}"> |
| <!-- Apache Directory Studio RCP Feature --> |
| <fileset dir="../studio-rcp-feature/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Schemas Editor Feature --> |
| <fileset dir="../studio-schemaeditor-feature/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio LDAP Browser Feature --> |
| <fileset dir="../studio-ldapbrowser-feature/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Apache DS Configuration Feature --> |
| <fileset dir="../studio-ldifeditor-feature/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Apache DS Configuration Feature --> |
| <fileset dir="../studio-apacheds-configuration-feature/target"> |
| <include name="*.jar" /> |
| </fileset> |
| </copy> |
| |
| <!-- Creation of the Plugins --> |
| <!-- Apache Directory Studio RCP --> |
| <ant dir="../studio-rcp" inheritAll="no" /> |
| <!-- Apache Directory Studio Help Plugin --> |
| <ant dir="../studio-rcp-help" inheritAll="no" /> |
| <!-- Apache Directory Studio Schemas Editor Plugin --> |
| <ant dir="../studio-schemaeditor" inheritAll="no" /> |
| <!-- Apache Directory Studio Schemas Editor Help Plugin --> |
| <ant dir="../studio-schemaeditor-help" inheritAll="no" /> |
| <!-- Apache Directory Studio Browser Core Plugin --> |
| <ant dir="../studio-ldapbrowser-core" inheritAll="no" /> |
| <!-- Apache Directory Studio Browser Common Plugin --> |
| <ant dir="../studio-ldapbrowser-common" inheritAll="no" /> |
| <!-- Apache Directory Studio Jars Plugin --> |
| <ant dir="../studio-jars" inheritAll="no" /> |
| <!-- Apache Directory Studio LDIF Editor Plugin --> |
| <ant dir="../studio-ldifeditor" inheritAll="no" /> |
| <!-- Apache Directory Studio LDIF Editor Help Plugin --> |
| <ant dir="../studio-ldifeditor-help" inheritAll="no" /> |
| <!-- Apache Directory Studio Value Editors Plugin --> |
| <ant dir="../studio-valueeditors" inheritAll="no" /> |
| <!-- Apache Directory Studio ACI Item Editor Plugin --> |
| <ant dir="../studio-aciitemeditor" inheritAll="no" /> |
| <!-- Apache Directory Studio Browser Help Plugin --> |
| <ant dir="../studio-ldapbrowser-help" inheritAll="no" /> |
| <!-- Apache Directory Studio Browser UI Plugin --> |
| <ant dir="../studio-ldapbrowser-ui" inheritAll="no" /> |
| <!-- Apache Directory Studio Apache DS Configuration Plugin --> |
| <ant dir="../studio-apacheds-configuration" inheritAll="no" /> |
| <!-- Apache Directory Studio Apache DS Configuration Help Plugin --> |
| <ant dir="../studio-apacheds-configuration-help" inheritAll="no" /> |
| <!-- Apache Directory Studio Connection Core Plugin --> |
| <ant dir="../studio-connection-core" inheritAll="no" /> |
| <!-- Apache Directory Studio Connection UI Plugin --> |
| <ant dir="../studio-connection-ui" inheritAll="no" /> |
| |
| <!-- Copying the Plugins --> |
| <copy todir="${updatesite.plugins}"> |
| <!-- Apache Directory Studio RCP --> |
| <fileset dir="../studio-rcp/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Help Plugin --> |
| <fileset dir="../studio-rcp-help/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Schemas Editor Plugin --> |
| <fileset dir="../studio-schemaeditor/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Schemas Editor Help Plugin --> |
| <fileset dir="../studio-schemaeditor-help/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Browser Core Plugin --> |
| <fileset dir="../studio-ldapbrowser-core/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Browser Common Plugin --> |
| <fileset dir="../studio-ldapbrowser-common/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio LDIF Editor Plugin --> |
| <fileset dir="../studio-ldifeditor/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio LDIF Editor Help Plugin --> |
| <fileset dir="../studio-ldifeditor-help/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Value Editors Plugin --> |
| <fileset dir="../studio-valueeditors/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Browser Help Plugin --> |
| <fileset dir="../studio-ldapbrowser-help/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Browser UI Plugin --> |
| <fileset dir="../studio-ldapbrowser-ui/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio ACI Item Editor Plugin --> |
| <fileset dir="../studio-aciitemeditor/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Jars Plugin --> |
| <fileset dir="../studio-jars/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Apache DS Configuration Plugin --> |
| <fileset dir="../studio-apacheds-configuration/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Apache DS Configuration Plugin Help --> |
| <fileset dir="../studio-apacheds-configuration-help/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Connection Core Plugin --> |
| <fileset dir="../studio-connection-core/target"> |
| <include name="*.jar" /> |
| </fileset> |
| <!-- Apache Directory Studio Connection UI Plugin --> |
| <fileset dir="../studio-connection-ui/target"> |
| <include name="*.jar" /> |
| </fileset> |
| </copy> |
| </target> |
| </project> |