diff --git a/releng.wtpbuilder/buildtemplates/components/template/customTargets.xml b/releng.wtpbuilder/buildtemplates/components/template/customTargets.xml index 7251639451db6559799dbd2e239562a31feea755..b6ebcaa255742c6d04b269b31b7e8bbcc3070e79 100644 --- a/releng.wtpbuilder/buildtemplates/components/template/customTargets.xml +++ b/releng.wtpbuilder/buildtemplates/components/template/customTargets.xml @@ -183,7 +183,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/buildtemplates/components/template_sdk/customTargets.xml b/releng.wtpbuilder/buildtemplates/components/template_sdk/customTargets.xml index f6a73d464f34d0edcff5ed95e9489149fe768e29..d0310e2da0e870ed811d8cfcc465ff8c90cc2712 100644 --- a/releng.wtpbuilder/buildtemplates/components/template_sdk/customTargets.xml +++ b/releng.wtpbuilder/buildtemplates/components/template_sdk/customTargets.xml @@ -183,7 +183,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/buildtemplates/components/template_tests/customTargets.xml b/releng.wtpbuilder/buildtemplates/components/template_tests/customTargets.xml index e21fd233bf0fa6daef67becab71b4a74e402898f..ab60081199aa7f6974bc28904467dec3c986ba43 100644 --- a/releng.wtpbuilder/buildtemplates/components/template_tests/customTargets.xml +++ b/releng.wtpbuilder/buildtemplates/components/template_tests/customTargets.xml @@ -183,7 +183,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/dali-sdk/customTargets.xml b/releng.wtpbuilder/components/dali-sdk/customTargets.xml index 18b049425591f370b19052b7a37b6633cc254b5b..48478fc552b188332f2c4df2908f60ccb61170a6 100644 --- a/releng.wtpbuilder/components/dali-sdk/customTargets.xml +++ b/releng.wtpbuilder/components/dali-sdk/customTargets.xml @@ -183,7 +183,9 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> + + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/dali.tests/customTargets.xml b/releng.wtpbuilder/components/dali.tests/customTargets.xml index 8694d21d50debc5a1ffa12f00ac0ef20626b973b..3a551fafe366baa80794f3ffeb95031d7777f6c8 100644 --- a/releng.wtpbuilder/components/dali.tests/customTargets.xml +++ b/releng.wtpbuilder/components/dali.tests/customTargets.xml @@ -183,7 +183,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/dali4x-sdk/customTargets.xml b/releng.wtpbuilder/components/dali4x-sdk/customTargets.xml index 4a15bfbabfa928f5128bd997c9d36a0da1d0e691..977e9fb593b7907d7105238c183e58ed4f34ae35 100644 --- a/releng.wtpbuilder/components/dali4x-sdk/customTargets.xml +++ b/releng.wtpbuilder/components/dali4x-sdk/customTargets.xml @@ -183,7 +183,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/dali4x.tests/customTargets.xml b/releng.wtpbuilder/components/dali4x.tests/customTargets.xml index 37b20e180644f63e8a894c6dd1df1bbce8056e62..fefbfcd98e4f962a0b11b66268553af91d7b099b 100644 --- a/releng.wtpbuilder/components/dali4x.tests/customTargets.xml +++ b/releng.wtpbuilder/components/dali4x.tests/customTargets.xml @@ -182,7 +182,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/jsdt_sdk/customTargets.xml b/releng.wtpbuilder/components/jsdt_sdk/customTargets.xml index b7ee15a8d72968716103184928faf21020e0f721..08a0126c1f9148bae8f42cd81db3e8d897c723fb 100644 --- a/releng.wtpbuilder/components/jsdt_sdk/customTargets.xml +++ b/releng.wtpbuilder/components/jsdt_sdk/customTargets.xml @@ -200,7 +200,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/jsdt_tests/customTargets.xml b/releng.wtpbuilder/components/jsdt_tests/customTargets.xml index 4f1d9010fec5ad85d7a9007bdc9cf03f2d7a3c49..0dadc3fac4ab5692632f3ac582f849ede149175e 100644 --- a/releng.wtpbuilder/components/jsdt_tests/customTargets.xml +++ b/releng.wtpbuilder/components/jsdt_tests/customTargets.xml @@ -199,7 +199,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/jst-sdk/customTargets.xml b/releng.wtpbuilder/components/jst-sdk/customTargets.xml index aad1cff8a225cfc8649466b131832b43150d5d4a..085169d6070bebe95423990bd229880d02b2b55f 100644 --- a/releng.wtpbuilder/components/jst-sdk/customTargets.xml +++ b/releng.wtpbuilder/components/jst-sdk/customTargets.xml @@ -182,7 +182,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/jst.tests/customTargets.xml b/releng.wtpbuilder/components/jst.tests/customTargets.xml index 37b20e180644f63e8a894c6dd1df1bbce8056e62..fefbfcd98e4f962a0b11b66268553af91d7b099b 100644 --- a/releng.wtpbuilder/components/jst.tests/customTargets.xml +++ b/releng.wtpbuilder/components/jst.tests/customTargets.xml @@ -182,7 +182,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/jst4x-sdk/customTargets.xml b/releng.wtpbuilder/components/jst4x-sdk/customTargets.xml index aad1cff8a225cfc8649466b131832b43150d5d4a..085169d6070bebe95423990bd229880d02b2b55f 100644 --- a/releng.wtpbuilder/components/jst4x-sdk/customTargets.xml +++ b/releng.wtpbuilder/components/jst4x-sdk/customTargets.xml @@ -182,7 +182,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/jst4x.tests/customTargets.xml b/releng.wtpbuilder/components/jst4x.tests/customTargets.xml index 37b20e180644f63e8a894c6dd1df1bbce8056e62..fefbfcd98e4f962a0b11b66268553af91d7b099b 100644 --- a/releng.wtpbuilder/components/jst4x.tests/customTargets.xml +++ b/releng.wtpbuilder/components/jst4x.tests/customTargets.xml @@ -182,7 +182,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/wst-sdk/customTargets.xml b/releng.wtpbuilder/components/wst-sdk/customTargets.xml index 42e085fbf51e2552bcfa0add0960df337bd2df43..638c238ae821ccaf9c9e3af2d6ff8cfa32d81678 100644 --- a/releng.wtpbuilder/components/wst-sdk/customTargets.xml +++ b/releng.wtpbuilder/components/wst-sdk/customTargets.xml @@ -183,7 +183,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/wst.tests/customTargets.xml b/releng.wtpbuilder/components/wst.tests/customTargets.xml index e8a8332495aff7b4237da90ee29f41044133fb12..511333932c5441781338cd955d3d94296558b89a 100644 --- a/releng.wtpbuilder/components/wst.tests/customTargets.xml +++ b/releng.wtpbuilder/components/wst.tests/customTargets.xml @@ -184,7 +184,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/wst4x-sdk/customTargets.xml b/releng.wtpbuilder/components/wst4x-sdk/customTargets.xml index 52fe637b76cb11861bef134ffb97dd052a8f0d53..1343e704113ed9fce34fa05f730be5d7ee4c60bb 100644 --- a/releng.wtpbuilder/components/wst4x-sdk/customTargets.xml +++ b/releng.wtpbuilder/components/wst4x-sdk/customTargets.xml @@ -184,7 +184,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/wst4x.tests/customTargets.xml b/releng.wtpbuilder/components/wst4x.tests/customTargets.xml index e8a8332495aff7b4237da90ee29f41044133fb12..511333932c5441781338cd955d3d94296558b89a 100644 --- a/releng.wtpbuilder/components/wst4x.tests/customTargets.xml +++ b/releng.wtpbuilder/components/wst4x.tests/customTargets.xml @@ -184,7 +184,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/components/wtp-buildTools/customTargets.xml b/releng.wtpbuilder/components/wtp-buildTools/customTargets.xml index 689f315ca4a1083520ae51e21e720b5f78b97798..68fe121ff148ff7d4e8591bed1f30d183d03d76b 100644 --- a/releng.wtpbuilder/components/wtp-buildTools/customTargets.xml +++ b/releng.wtpbuilder/components/wtp-buildTools/customTargets.xml @@ -181,7 +181,7 @@ --> <target name="postGenerate"> - <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + <ant antfile="${wtp.builder.home}/scripts/build/customizeAccessRules.xml"/> </target> <!-- Steps to do before running the build.xmls for the elements being diff --git a/releng.wtpbuilder/scripts/build/customizeAccessRules.xml b/releng.wtpbuilder/scripts/build/customizeAccessRules.xml new file mode 100644 index 0000000000000000000000000000000000000000..1ca3ee3ea61e599ad8e8f5aec5ae73d859460990 --- /dev/null +++ b/releng.wtpbuilder/scripts/build/customizeAccessRules.xml @@ -0,0 +1,17 @@ +<project + default="customizeAccessRules" + basedir="."> + <property + name="keyCfgFile" + value="${env.PROJECT_BUILDERS}/${projectname}/${env.RELENG}/maps/build.cfg"/> + <echo + level="info" + message="keyCfgFile: ${keyCfgFile}"/> + <property file="${keyCfgFile}"/> + + <target + name="customizeAccessRules" + if="customizeAccessRules"> + <customizeAccessRules bundleDirectory="${buildDirectory}/plugins"/> + </target> +</project> \ No newline at end of file