blob: 180891b3a015663c62de8c4560adf29dcdc4dab4 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2013, 2018 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
http://www.eclipse.org/legal/epl-2.0.
This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
-->
<stringsubs-definition name="test" version="1.0.0.0"
xmlns="http://xmlns.oracle.com/cie/glassfish/stringsubs">
<component id="valid_component">
<group-ref name="valid_group" />
</component>
<component id="component_without_group" />
<group id="valid_group" mode="forward">
<file-entry name="$TEST_FILE_DIR_PATH$/(.*+)" regex="true" />
<archive name="$TEST_FILE_DIR_PATH$/testStringSubsArchive.jar">
<member-entry name="testStringSubs.txt" />
<archive name="testStringSubsArchive.jar">
<archive name="testStringSubsArchive.jar">
<member-entry name="testStringSubs.txt" />
</archive>
</archive>
</archive>
<change-pair-ref name="JAVA" />
<change-pair-ref name="JAVA_HOME" />
<change-pair-ref name="MW_HOME" />
</group>
<group id="group_without_files" mode="double">
<change-pair-ref name="JAVA_HOME" />
</group>
<group id="group_without_change_pair" mode="double">
<file-entry name="$TEST_FILE_DIR$/testStringSubs.txt" />
</group>
<group id="group_invalid_file_paths" mode="double">
<file-entry name="$INVALID_DIR_PATH$/testStringSubs.txt" />
<file-entry name="$TEST_FILE_DIR_PATH$/*/ZZZ*" />
<archive name="$INVALID_DIR_PATH$/testStringSubsArchive.jar">
<member-entry name="testStringSubs.txt" />
</archive>
<change-pair-ref name="JAVA_HOME" />
</group>
<change-pair id="JAVA" before="@JAVA@" after="$JAVA$" />
<change-pair id="JAVA_HOME" before="@JAVA_HOME@" after="$JAVA_HOME$" />
<change-pair id="MW_HOME" before="@MW_HOME@" after="$MW_HOME$" />
<defaults>
<property key="HTTP_PORT" value="8080" type="port" />
</defaults>
</stringsubs-definition>