diff options
Diffstat (limited to 'plugins/org.eclipse.osee.support.build/support/osee_common_build.xml')
-rw-r--r-- | plugins/org.eclipse.osee.support.build/support/osee_common_build.xml | 136 |
1 files changed, 68 insertions, 68 deletions
diff --git a/plugins/org.eclipse.osee.support.build/support/osee_common_build.xml b/plugins/org.eclipse.osee.support.build/support/osee_common_build.xml index 973311a4948..f4df9eae2e1 100644 --- a/plugins/org.eclipse.osee.support.build/support/osee_common_build.xml +++ b/plugins/org.eclipse.osee.support.build/support/osee_common_build.xml @@ -1,69 +1,69 @@ -<?xml version="1.0" encoding="UTF-8"?>
-<project name="Osee Common Build Tasks" default="PdeBuild" basedir=".">
- <!-- this ant file is assumed to be located at <workspace>\org.eclipse.osee.support.build\support, basedir will be the same -->
-
- <target name="PdeBuild">
- <tstamp />
- <!-- if behind a firewall then uncomment the following properties:
- <property name="proxy_host" value="www-my-proxy.domain.com" />
- <property name="proxy_port" value="12345" />
- -->
- <property name="topLevelElementType" value="feature" />
- <property name="builder" value="${basedir}" />
- <dirname property="baseLocation" file="${eclipse.launcher}" />
- <dirname property="workspaceLocationSub" file="${basedir}" />
- <dirname property="workspaceLocation" file="${workspaceLocationSub}" />
- <property name="buildDirectory" value="${workspaceLocation}/sandbox" />
- <property name="pdeTarget" value="main" />
-
- <antcall target="set-proxy" />
-
- <delete verbose="true" quiet="true" includeEmptyDirs="true">
- <fileset dir="${buildDirectory}" excludes="plugins/**/*" />
- </delete>
-
- <copy todir="${buildDirectory}/maps">
- <fileset file="${basedir}/osee.map" />
- </copy>
-
- <antcall target="copyOrbitMapFile" />
- <antcall target="copySupplementalMapFile" />
-
- <ant antfile="${eclipse.pdebuild.scripts}/build.xml" target="${pdeTarget}" />
-
- <antcall target="internalPostBuild" />
-
- <antcall target="copyToUpdatesite" />
- </target>
-
- <target name="set-proxy" if="proxy_host">
- <echo message="Setting proxy to ${proxy_host}:${proxy_port}" />
- <setproxy proxyhost="${proxy_host}" proxyport="${proxy_port}" />
- </target>
-
- <target name="internalPostBuild" if="postBuildFile">
- <ant antfile="${postBuildFile}" target="${postBuildTarget}" />
- </target>
-
- <target name="copyToUpdatesite" if="update.site">
- <delete failonerror="false">
- <fileset dir="${update.site}" includes="**/*" defaultexcludes="false" />
- </delete>
-
- <copy todir="${update.site}">
- <fileset dir="${buildDirectory}/repository" />
- </copy>
- </target>
-
- <target name="copySupplementalMapFile" if="mapFile">
- <copy todir="${buildDirectory}/maps">
- <fileset file="${mapFile}" />
- </copy>
- </target>
-
- <target name="copyOrbitMapFile" if="downloadOrbitPlugins">
- <copy todir="${buildDirectory}/maps">
- <fileset file="${basedir}/orbit.map" />
- </copy>
- </target>
+<?xml version="1.0" encoding="UTF-8"?> +<project name="Osee Common Build Tasks" default="PdeBuild" basedir="."> + <!-- this ant file is assumed to be located at <workspace>\org.eclipse.osee.support.build\support, basedir will be the same --> + + <target name="PdeBuild"> + <tstamp /> + <!-- if behind a firewall then uncomment the following properties: + <property name="proxy_host" value="www-my-proxy.domain.com" /> + <property name="proxy_port" value="12345" /> + --> + <property name="topLevelElementType" value="feature" /> + <property name="builder" value="${basedir}" /> + <dirname property="baseLocation" file="${eclipse.launcher}" /> + <dirname property="workspaceLocationSub" file="${basedir}" /> + <dirname property="workspaceLocation" file="${workspaceLocationSub}" /> + <property name="buildDirectory" value="${workspaceLocation}/sandbox" /> + <property name="pdeTarget" value="main" /> + + <antcall target="set-proxy" /> + + <delete verbose="true" quiet="true" includeEmptyDirs="true"> + <fileset dir="${buildDirectory}" excludes="plugins/**/*" /> + </delete> + + <copy todir="${buildDirectory}/maps"> + <fileset file="${basedir}/osee.map" /> + </copy> + + <antcall target="copyOrbitMapFile" /> + <antcall target="copySupplementalMapFile" /> + + <ant antfile="${eclipse.pdebuild.scripts}/build.xml" target="${pdeTarget}" /> + + <antcall target="internalPostBuild" /> + + <antcall target="copyToUpdatesite" /> + </target> + + <target name="set-proxy" if="proxy_host"> + <echo message="Setting proxy to ${proxy_host}:${proxy_port}" /> + <setproxy proxyhost="${proxy_host}" proxyport="${proxy_port}" /> + </target> + + <target name="internalPostBuild" if="postBuildFile"> + <ant antfile="${postBuildFile}" target="${postBuildTarget}" /> + </target> + + <target name="copyToUpdatesite" if="update.site"> + <delete failonerror="false"> + <fileset dir="${update.site}" includes="**/*" defaultexcludes="false" /> + </delete> + + <copy todir="${update.site}"> + <fileset dir="${buildDirectory}/repository" /> + </copy> + </target> + + <target name="copySupplementalMapFile" if="mapFile"> + <copy todir="${buildDirectory}/maps"> + <fileset file="${mapFile}" /> + </copy> + </target> + + <target name="copyOrbitMapFile" if="downloadOrbitPlugins"> + <copy todir="${buildDirectory}/maps"> + <fileset file="${basedir}/orbit.map" /> + </copy> + </target> </project>
\ No newline at end of file |