Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | ============LICENSE_START======================================================= |
| 4 | org.onap.dmaap |
| 5 | ================================================================================ |
| 6 | Copyright © 2017 AT&T Intellectual Property. All rights reserved. |
efiacor | 0beea78 | 2021-07-23 19:15:53 +0100 | [diff] [blame] | 7 | Modification copyright (C) 2021 Nordix Foundation. |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 8 | ================================================================================ |
| 9 | Licensed under the Apache License, Version 2.0 (the "License"); |
| 10 | you may not use this file except in compliance with the License. |
| 11 | You may obtain a copy of the License at |
| 12 | http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | |
| 14 | Unless required by applicable law or agreed to in writing, software |
| 15 | distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | See the License for the specific language governing permissions and |
| 18 | limitations under the License. |
| 19 | ============LICENSE_END========================================================= |
| 20 | |
| 21 | ECOMP is a trademark and service mark of AT&T Intellectual Property. |
efiacor | 0beea78 | 2021-07-23 19:15:53 +0100 | [diff] [blame] | 22 | |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 23 | --> |
| 24 | |
| 25 | <project> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 26 | <target name="prep_home_directory_for_swm_pkgcreate"> |
| 27 | <!-- These tasks are copying contents from the installHomeDirectory into |
| 28 | the eventual $AJSC_HOME directory for running locally and soa cloud installation --> |
| 29 | <echo message="ENTERING 'prep_home_directory_for_swm_pkgcreate' ant tasks" /> |
| 30 | |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 31 | <!-- NOTE: If you are NOT deploying to CSI environment, and you are NOT using an AJSC_SHARED_CONFIG location on a |
| 32 | node, you should go ahead and copy EVERYTHING from bundleconfig and ajsc-shared-config (logback.xml) directory |
| 33 | to utilize proper logging from logback.xml. Simply, uncomment the following code snippet below to copy EVERYTHING and |
| 34 | comment out the CSI related build script above. --> |
| 35 | <!-- NON-CSI related build copy task. Please, uncomment the following code snippet to deploy the proper artifacts to a NON-CSI Env. --> |
| 36 | <copy toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/bundleconfig" failonerror="true"> |
| 37 | <fileset dir="${basedir}/bundleconfig-local" includes="**/**" /> |
| 38 | </copy> |
| 39 | <copy toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/bundleconfig/etc" failonerror="true"> |
| 40 | <fileset dir="${basedir}/ajsc-shared-config/etc" includes="**/**" /> |
| 41 | </copy> |
| 42 | <!-- End of NON-CSI related build copy task. --> |
| 43 | |
efiacor | 0beea78 | 2021-07-23 19:15:53 +0100 | [diff] [blame] | 44 | <!-- Copying any zips (deployment packages) to $AJSC_HOME/services for |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 45 | auto-deployment --> |
| 46 | <copy toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/services" failonerror="false"> |
| 47 | <fileset dir="${basedir}/services" includes="*.zip" /> |
| 48 | </copy> |
| 49 | |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 50 | <!-- Copying dependencies from the service project (not provided by AJSC |
| 51 | Container) to the $AJSC_HOME/extJars folder to be accessible on the classpath --> |
| 52 | <copy toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/extJars" failonerror="false"> |
| 53 | <fileset dir="target/userjars" includes="*" /> |
| 54 | </copy> |
| 55 | |
| 56 | <!-- extApps directory MUST be created for ajsc-runner to run correctly, |
| 57 | even if empty. DO NOT REMOVE!!! --> |
| 58 | <!-- extApps directory created to deploy other war files on startup or hot deploy War files after ajsc |
su622b | 6c881fc | 2018-03-22 17:39:23 -0400 | [diff] [blame] | 59 | starts up. --> |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 60 | <mkdir dir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/extApps" /> |
| 61 | |
Varun Gudisena | acc3ce0 | 2017-08-31 10:56:56 -0500 | [diff] [blame] | 62 | <!-- Copying extra jar files that have been labeled as dependencies in service project |
| 63 | to /extJars folder to be made available on the classpath for your service --> |
| 64 | <copy toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/extJars" failonerror="false"> |
| 65 | <fileset dir="target" includes="*.jar" /> |
| 66 | </copy> |
| 67 | |
| 68 | <!-- Copying deployment packages created within the project to the $AJSC_HOME/services folder to be auto |
| 69 | deployed. --> |
| 70 | <copy toDir="${basedir}/target/swm/package/nix/dist_files${distFilesRoot}/services"> |
| 71 | <fileset dir="target" includes="*.zip" excludes="*-runtimeEnvironment.zip" /> |
| 72 | </copy> |
| 73 | |
| 74 | <echo message="EXITING 'prep_assembly_output_for_swm_plugin' ant tasks" /> |
| 75 | </target> |
| 76 | </project> |