From eb49d08e9dc6f70b6b07afc278d455511d000752 Mon Sep 17 00:00:00 2001
From: david_williams <david_williams>
Date: Tue, 1 May 2007 03:03:15 +0000
Subject: [PATCH] [184819] Patch build scripts from Dali renaming

---
 .../components/dali-sdk/customTargets.xml     | 10 +-
 .../components/dali.tests/customTargets.xml   | 22 ++---
 .../components/dali/customTargets.xml         | 10 +-
 .../distribution/dali.tests/build.xml         | 97 ++++++++++++++++---
 .../dali.tests/testScripts/test.xml           | 12 +--
 .../distribution/patches.site/build.xml       |  2 +-
 .../distribution/wtp.api/build.xml            |  4 +-
 .../wtp.api/testScripts/piagent_filters.txt   |  2 +-
 .../distribution/wtp.build/build.xml          |  2 +-
 .../distribution/wtp.site/build.xml           |  2 +-
 .../distribution/wtp.site/publish.xml         |  8 +-
 .../templateFiles/index.html.template         |  2 +-
 .../wtp.site/templateFiles/siteWTP.xml        |  4 +-
 .../distribution/wtp.tests/build.xml          |  4 +-
 .../wtp.tests/testScripts/test.xml            | 20 ++--
 15 files changed, 138 insertions(+), 63 deletions(-)

diff --git a/releng.wtpbuilder/components/dali-sdk/customTargets.xml b/releng.wtpbuilder/components/dali-sdk/customTargets.xml
index 9014580c4..c113c95c3 100644
--- a/releng.wtpbuilder/components/dali-sdk/customTargets.xml
+++ b/releng.wtpbuilder/components/dali-sdk/customTargets.xml
@@ -20,7 +20,7 @@
                 value="feature" />
             <property
                 name="id"
-                value="org.eclipse.jpa.sdk" />
+                value="org.eclipse.jpt.sdk" />
         </ant>
     </target>
 
@@ -31,10 +31,10 @@
     <!-- Add one target for each root element and each configuration -->
     <!-- ===================================================================== -->
 
-    <target name="assemble.org.eclipse.jpa.sdk">
+    <target name="assemble.org.eclipse.jpt.sdk">
         <property
             name="archiveName"
-            value="wtp-jpa-sdk-${buildLabel}.zip" />
+            value="wtp-jpt-sdk-${buildLabel}.zip" />
         <ant
             antfile="${assembleScriptName}"
             dir="${buildDirectory}" />
@@ -45,7 +45,7 @@
     <target name="postPackage">
         <property
             name="archiveName"
-            value="wtp-jpa-sdk-${buildLabel}.zip" />
+            value="wtp-jpt-sdk-${buildLabel}.zip" />
 
         <ant
             antfile="${wtp.builder.home}/scripts/build/buildutilities.xml"
@@ -248,7 +248,7 @@
         <unzip
             dest="${buildDirectory}/${buildLabel}/compilelogs"
             overwrite="true">
-            <fileset dir="${buildDirectory}/features/org.eclipse.jpa.sdk">
+            <fileset dir="${buildDirectory}/features/org.eclipse.jpt.sdk">
                 <include name="**/*.log.zip" />
             </fileset>
         </unzip>
diff --git a/releng.wtpbuilder/components/dali.tests/customTargets.xml b/releng.wtpbuilder/components/dali.tests/customTargets.xml
index b09c86217..128b71463 100644
--- a/releng.wtpbuilder/components/dali.tests/customTargets.xml
+++ b/releng.wtpbuilder/components/dali.tests/customTargets.xml
@@ -20,7 +20,7 @@
                 value="feature" />
             <property
                 name="id"
-                value="org.eclipse.jpa.tests" />
+                value="org.eclipse.jpt.tests" />
         </ant>
     </target>
 
@@ -31,10 +31,10 @@
     <!-- Add one target for each root element and each configuration -->
     <!-- ===================================================================== -->
 
-    <target name="assemble.org.eclipse.jpa.tests">
+    <target name="assemble.org.eclipse.jpt.tests">
         <property
             name="archiveName"
-            value="wtp-jpa-Automated-Tests-${buildLabel}.zip" />
+            value="wtp-jpt-Automated-Tests-${buildLabel}.zip" />
         <ant
             antfile="${assembleScriptName}"
             dir="${buildDirectory}" />
@@ -47,7 +47,7 @@
     <target name="postPackage">
         <property
             name="archiveName"
-            value="wtp-jpa-Automated-Tests-${buildLabel}.zip" />
+            value="wtp-jpt-Automated-Tests-${buildLabel}.zip" />
 
         <ant
             antfile="${wtp.builder.home}/scripts/build/buildutilities.xml"
@@ -193,7 +193,7 @@
                 value="feature" />
             <property
                 name="id"
-                value="org.eclipse.jpa.feature" />
+                value="org.eclipse.jpt.feature" />
         </ant>
     </target>
 
@@ -260,16 +260,16 @@
         unless="dontRunTests">
         <property
             name="eclipseAutomatedTestHome"
-            value="${buildDirectory}/plugins/org.eclipse.jpa.utility.tests" />
+            value="${buildDirectory}/plugins/org.eclipse.jpt.utility.tests" />
 
         <echo message="Setting up tests in ${eclipseAutomatedTestHome}" />
 
         <copy
-            file="${buildDirectory}/${buildLabel}/wtp-jpa-${buildLabel}.zip"
-            tofile="${eclipseAutomatedTestHome}/eclipse-SDK-wtp-jpa-${buildLabel}.zip" />
+            file="${buildDirectory}/${buildLabel}/wtp-jpt-${buildLabel}.zip"
+            tofile="${eclipseAutomatedTestHome}/eclipse-SDK-wtp-jpt-${buildLabel}.zip" />
         <copy
-            file="${buildDirectory}/${buildLabel}/wtp-jpa-Automated-Tests-${buildLabel}.zip"
-            tofile="${eclipseAutomatedTestHome}/eclipse-junit-tests-wtp-jpa-${buildLabel}.zip" />
+            file="${buildDirectory}/${buildLabel}/wtp-jpt-Automated-Tests-${buildLabel}.zip"
+            tofile="${eclipseAutomatedTestHome}/eclipse-junit-tests-wtp-jpt-${buildLabel}.zip" />
 
         <ant
             antfile="${eclipseAutomatedTestHome}/test.xml"
@@ -317,7 +317,7 @@
         <unzip
             dest="${buildDirectory}/${buildLabel}/testcompilelogs"
             overwrite="true">
-            <fileset dir="${buildDirectory}/features/org.eclipse.jpa.tests">
+            <fileset dir="${buildDirectory}/features/org.eclipse.jpt.tests">
                 <include name="**/*.log.zip" />
             </fileset>
         </unzip>
diff --git a/releng.wtpbuilder/components/dali/customTargets.xml b/releng.wtpbuilder/components/dali/customTargets.xml
index 588c4de70..ac602da2a 100644
--- a/releng.wtpbuilder/components/dali/customTargets.xml
+++ b/releng.wtpbuilder/components/dali/customTargets.xml
@@ -21,7 +21,7 @@
                 value="feature" />
             <property
                 name="id"
-                value="org.eclipse.jpa" />
+                value="org.eclipse.jpt" />
         </ant>
     </target>
 
@@ -32,10 +32,10 @@
     <!-- Add one target for each root element and each configuration -->
     <!-- ===================================================================== -->
 
-    <target name="assemble.org.eclipse.jpa">
+    <target name="assemble.org.eclipse.jpt">
         <property
             name="archiveName"
-            value="wtp-jpa-${buildLabel}.zip" />
+            value="wtp-jpt-${buildLabel}.zip" />
         <ant
             antfile="${assembleScriptName}"
             dir="${buildDirectory}" />
@@ -47,7 +47,7 @@
     <target name="postPackage">
         <property
             name="archiveName"
-            value="wtp-jpa-${buildLabel}.zip" />
+            value="wtp-jpt-${buildLabel}.zip" />
 
         <ant
             antfile="${wtp.builder.home}/scripts/build/buildutilities.xml"
@@ -292,7 +292,7 @@
         <unzip
             dest="${buildDirectory}/${buildLabel}/compilelogs"
             overwrite="true">
-            <fileset dir="${buildDirectory}/features/org.eclipse.jpa">
+            <fileset dir="${buildDirectory}/features/org.eclipse.jpt">
                 <include name="**/*.log.zip" />
             </fileset>
         </unzip>
diff --git a/releng.wtpbuilder/distribution/dali.tests/build.xml b/releng.wtpbuilder/distribution/dali.tests/build.xml
index 007aee363..e501a932f 100644
--- a/releng.wtpbuilder/distribution/dali.tests/build.xml
+++ b/releng.wtpbuilder/distribution/dali.tests/build.xml
@@ -63,42 +63,117 @@
             dir="${buildDirectory}/${buildLabel}"
             executable="unzip"
             failonerror="false">
-            <arg line="-o -qq wtp-jpa-${buildLabel}.zip -d ${testRoot}" />
+            <arg line="-o -qq wtp-jpt-${buildLabel}.zip -d ${testRoot}" />
         </exec>
     	
         <exec
             dir="${buildDirectory}/${buildLabel}"
             executable="unzip"
             failonerror="false">
-            <arg line="-o -qq wtp-jpa-Automated-Tests-${buildLabel}.zip -d ${testRoot}" />
+            <arg line="-o -qq wtp-jpt-Automated-Tests-${buildLabel}.zip -d ${testRoot}" />
         </exec>
 
     </target>
-	
-	<target name="runTestEclipse">
 
-		<java taskname="test-dali-${testTarget}" jar="${testRoot}/eclipse/startup.jar" fork="true" failonerror="true" timeout="3600000" output="${testRoot}/results/consolelogs/dalitestlog.txt" dir="${testRoot}">
+	<property name="testTimeLimit" value="7200000" />
+	<property name="testFailOnError" value="false" />
+
+	<target name="runTestEclipse"
+		description="Run our JUnit's within an instance of antRunner">
+
+
+		<property name="test-vm" value="${env.JAVA_5_HOME}/bin/java" />
+		<property name="plugin-path"
+			value="${testRoot}/eclipse/plugins" />
+		<property name="vmargs"
+			value="-Xms256m -Xmx512m -Dosgi.ws=${env.BASEWS} -Dosgi.os=${env.BASEOS} -Dosgi.arch=${env.BASEARCH} -Dws=${env.BASEWS} -Dos=${env.BASEOS} -Darch=${env.BASEARCH} -Dosgi.clean=true -Dnoclean=true -DbuildBranch=${buildBranch} -DbuildType=${buildType} -DbuildId=${buildId} -DtestRoot=${testRoot} -DtestDir=${testRoot} -DbuildDirectory=${buildDirectory} -Dbuild.home=${env.BUILD_HOME} -DeclipseBuilderDirectory=${pde.builder.path} -DbuildLabel=${buildLabel} -Dtest-vm=${test-vm}  -Dperf.buildId=${buildType}${date}-${time}" />
+
+
+		<!-- set path to eclipse folder. If local folder, use '.'; otherwise, use c:\path\to\eclipse or /path/to/eclipse/ -->
+		<property name="eclipse.home" value="${testRoot}" />
+
+		<echo message="Running junits" />
+
+		<!-- If there is not exactly one launcher in the stack, 
+			we'd best fail fast, since we are not expecting that, 
+			and may indicate an installation that would produce unpredictable
+			results -->
+		<!-- requires ant 1.7, and at this point, we're running 1.6 from 
+		eclipse ... 
+		
+		<condition property="expectedNumberOfLaunchers">
+			<resourcecount when="equal" count="1" >
+				<fileset dir="${testRoot}/eclipse/plugins">
+					<include name="org.eclipse.equinox.launcher_*.jar" />
+				</fileset>		
+			</resourcecount>
+		</condition>
+		<fail message="Did not find expected number of launcher jars. Check installation." unless="expectedNumberOfLaunchers" />
+		-->
+		<!-- 
+			Remember: using -debug for org.eclipse.ant.core.antRunner 
+			produces ant debug info to be output ... which is a TON of stuff 
+		-->
+		<java 
+		    taskname="unit-test-masterprocess" 
+		    fork="true"
+			resultProperty="wtpmasterjunitresult" 
+			failonerror="false"
+			timeout="${testTimeLimit}" 
+			dir="${testRoot}/eclipse"
+			jvm="${env.JAVA_5_HOME}/bin/java" 
+			classname="org.eclipse.equinox.launcher.Main">
+			<classpath>
+				<fileset dir="${testRoot}/eclipse/plugins">
+					<include name="org.eclipse.equinox.launcher_*.jar" />
+				</fileset>
+			</classpath>
+			
+			<jvmarg value="-Xms256m"/>
+			<jvmarg value="-Xmx512m" />
+			
 			<jvmarg value="-Dosgi.ws=${env.BASEWS}" />
 			<jvmarg value="-Dosgi.os=${env.BASEOS}" />
 			<jvmarg value="-Dosgi.arch=${env.BASEARCH}" />
+			<jvmarg value="-Dws=${env.BASEWS}" />
+			<jvmarg value="-Dos=${env.BASEOS}" />
+			<jvmarg value="-Darch=${env.BASEARCH}" />
+			
+			<jvmarg value="-Dosgi.clean=true" />
 			<jvmarg value="-Dnoclean=true" />
+			<jvmarg value="-DbuildBranch=${buildBranch}" />
 			<jvmarg value="-DbuildType=${buildType}" />
 			<jvmarg value="-DbuildId=${buildId}" />
-			<jvmarg value="-DbuildLabel=${buildLabel}" />
+
+			<arg value="-nosplash" />
+			<arg value="-consolelog" />
+			
+			<arg value="-data" />
+			<arg value="${testRoot}/overallTestWorkspace" />
 			<arg value="-application" />
 			<arg value="org.eclipse.ant.core.antRunner" />
 			<arg value="-file" />
-			<arg value="test.xml" />
+			<arg value="${testRoot}/test.xml" />
 			<arg value="-logger" />
 			<arg value="org.apache.tools.ant.DefaultLogger" />
-			<arg value="${testTarget}" />
-			<sysproperty key="build.home" value="${build.home}" />
+			<env key="DISPLAY" value="${env.DISPLAY}" />
+			<redirector 
+				output="${testRoot}/results/fullOutput.txt"
+				error="${testRoot}/results/fullErrorLog.txt"/>
+			<sysproperty key="build.home" value="${env.BUILD_HOME}" />
 			<sysproperty key="buildDirectory" value="${buildDirectory}" />
+			<sysproperty key="buildLabel" value="${buildLabel}" />
 			<sysproperty key="baseLocation" value="${baseLocation}" />
+			<sysproperty key="testRoot" value="${testRoot}" />
 			<sysproperty key="testDir" value="${testRoot}" />
-			<sysproperty key="perf.buildId" value="${buildType}${date}-${time}" />
-			<sysproperty key="eclipseBuilderDirectory" value="${pde.builder.path}" />
+			<sysproperty key="perf.buildId"
+				value="${buildType}${date}-${time}" />
+			<sysproperty key="eclipseBuilderDirectory"
+				value="${pde.builder.path}" />
+			<sysproperty key="buildLabel" value="${buildLabel}" />
 		</java>
+
+		<echo message="wtpmasterjunitresult ${wtpmasterjunitresult}"/>
 	</target>
 
 	<target name="postRunTestEclipse">
diff --git a/releng.wtpbuilder/distribution/dali.tests/testScripts/test.xml b/releng.wtpbuilder/distribution/dali.tests/testScripts/test.xml
index 6b5ec5c9c..7090460f7 100644
--- a/releng.wtpbuilder/distribution/dali.tests/testScripts/test.xml
+++ b/releng.wtpbuilder/distribution/dali.tests/testScripts/test.xml
@@ -76,17 +76,17 @@
 	</target>
 
 	
-	<target name="dali-utility-tests" description="Runs the org.eclipse.jpa.utility.tests test.xml">
+	<target name="dali-utility-tests" description="Runs the org.eclipse.jpt.utility.tests test.xml">
 		<antcall target="runtests">
-			<param name="testPlugin" value="${org.eclipse.jpa.utility.tests}" />
-			<param name="report" value="org.eclipse.jpa.utility.tests" />
+			<param name="testPlugin" value="${org.eclipse.jpt.utility.tests}" />
+			<param name="report" value="org.eclipse.jpt.utility.tests" />
 		</antcall>
 	</target>
 
-	<target name="dali-core-tests" description="Runs the org.eclipse.jpa.core.tests test.xml">
+	<target name="dali-core-tests" description="Runs the org.eclipse.jpt.core.tests test.xml">
 		<antcall target="runtests">
-			<param name="testPlugin" value="${org.eclipse.jpa.core.tests}" />
-			<param name="report" value="org.eclipse.jpa.core.tests" />
+			<param name="testPlugin" value="${org.eclipse.jpt.core.tests}" />
+			<param name="report" value="org.eclipse.jpt.core.tests" />
 		</antcall>
 	</target>
 	
diff --git a/releng.wtpbuilder/distribution/patches.site/build.xml b/releng.wtpbuilder/distribution/patches.site/build.xml
index 20bfd50e0..53de70cb2 100644
--- a/releng.wtpbuilder/distribution/patches.site/build.xml
+++ b/releng.wtpbuilder/distribution/patches.site/build.xml
@@ -49,7 +49,7 @@
         </condition>
 
         <ant antfile="${publish.xml}" dir="${component.dir}">
-            <property name="dropTokenList" value="%wtppatch%,%wtpruntime%,%wtpsdk%,%wst%,%wst-sdk%,%wst-tests%,%jst-tests%,%wst-perf-tests%,%jst-perf-tests%,%jsf-runtime%,%jsf-sdk%,%jsf-tests%,%jpa-runtime%,%jpa-sdk%,%jpa-tests%" />
+            <property name="dropTokenList" value="%wtppatch%,%wtpruntime%,%wtpsdk%,%wst%,%wst-sdk%,%wst-tests%,%jst-tests%,%wst-perf-tests%,%jst-perf-tests%,%jsf-runtime%,%jsf-sdk%,%jsf-tests%,%jpt-runtime%,%jpt-sdk%,%jpt-tests%" />
 
             <!-- use this form if/when mirror redirects desired
             <property name="webtoolsDownloadURL" value="http://www.eclipse.org/downloads/download.php?file=/webtools/patches/drops"/>
diff --git a/releng.wtpbuilder/distribution/wtp.api/build.xml b/releng.wtpbuilder/distribution/wtp.api/build.xml
index 800476935..ea9f45bff 100644
--- a/releng.wtpbuilder/distribution/wtp.api/build.xml
+++ b/releng.wtpbuilder/distribution/wtp.api/build.xml
@@ -228,7 +228,7 @@
 		
 		<antcall target="runJavaMain">
 			<param name="classname" value="org.eclipse.wtp.releng.tools.component.api.violation.APIViolationScanner"/>
-			<param name="args" value="-src ${local.cache.dir}/${wtp-sdk} -api ${apiRoot}/api-eclipse ${apiRoot}/api-emf ${apiRoot}/api-gef -outputDir ${apiRoot}/apiresults -html -includes org.eclipse.* -excludes org.eclipse.wst.* org.eclipse.jst.* org.eclipse.jem.* org.eclipse.jpa.* -debug"/>
+			<param name="args" value="-src ${local.cache.dir}/${wtp-sdk} -api ${apiRoot}/api-eclipse ${apiRoot}/api-emf ${apiRoot}/api-gef -outputDir ${apiRoot}/apiresults -html -includes org.eclipse.* -excludes org.eclipse.wst.* org.eclipse.jst.* org.eclipse.jem.* org.eclipse.jpt.* -debug"/>
 		</antcall>
 		
 		<antcall target="runJavaMain">
@@ -269,7 +269,7 @@
 		/>
 		<antcall target="runJavaMain">
 			<param name="classname" value="org.eclipse.wtp.releng.tools.component.api.progress.APIProgressScanner"/>
-			<param name="args" value="-api ${local.cache.dir}/${wtp-sdk} -src ${local.cache.dir}/${wtp-sdk} -outputDir ${apiRoot}/apiresults -progressDir ${apiRoot}/releng.wtptools/api/api_progress/2.0 -timestamp ${timestamp} -excludes .*infopop .*doc.isv .*doc.user .*source org.eclipse.wst org.eclipse.jst org.eclipse.jem org.eclipse.jpa"/>
+			<param name="args" value="-api ${local.cache.dir}/${wtp-sdk} -src ${local.cache.dir}/${wtp-sdk} -outputDir ${apiRoot}/apiresults -progressDir ${apiRoot}/releng.wtptools/api/api_progress/2.0 -timestamp ${timestamp} -excludes .*infopop .*doc.isv .*doc.user .*source org.eclipse.wst org.eclipse.jst org.eclipse.jem org.eclipse.jpt"/>
 		</antcall>
 
 		<antcall target="runJavaMain">
diff --git a/releng.wtpbuilder/distribution/wtp.api/testScripts/piagent_filters.txt b/releng.wtpbuilder/distribution/wtp.api/testScripts/piagent_filters.txt
index a6cf57576..f35f6374c 100644
--- a/releng.wtpbuilder/distribution/wtp.api/testScripts/piagent_filters.txt
+++ b/releng.wtpbuilder/distribution/wtp.api/testScripts/piagent_filters.txt
@@ -1,5 +1,5 @@
 org.eclipse.wst.* * INCLUDE
 org.eclipse.jst.* * INCLUDE
 org.eclipse.jem.* * INCLUDE
-org.eclipse.jpa.* * INCLUDE
+org.eclipse.jpt.* * INCLUDE
 * * EXCLUDE
diff --git a/releng.wtpbuilder/distribution/wtp.build/build.xml b/releng.wtpbuilder/distribution/wtp.build/build.xml
index 721d24092..0c1b4a4c7 100644
--- a/releng.wtpbuilder/distribution/wtp.build/build.xml
+++ b/releng.wtpbuilder/distribution/wtp.build/build.xml
@@ -111,7 +111,7 @@
 		</exec>
 	
 		<exec dir="${buildDirectory}/${buildLabel}" executable="unzip" failonerror="false">
-			<arg line="-o -qq wtp-jpa${corename}-${buildLabel}.zip -d ${buildDirectory}/tempforrezipping" />
+			<arg line="-o -qq wtp-jpt${corename}-${buildLabel}.zip -d ${buildDirectory}/tempforrezipping" />
 		</exec>
 	
 	
diff --git a/releng.wtpbuilder/distribution/wtp.site/build.xml b/releng.wtpbuilder/distribution/wtp.site/build.xml
index 15b5b79d9..cc419ddbf 100644
--- a/releng.wtpbuilder/distribution/wtp.site/build.xml
+++ b/releng.wtpbuilder/distribution/wtp.site/build.xml
@@ -64,7 +64,7 @@
         </condition>
 
         <ant antfile="${publish.xml}" dir="${component.dir}">
-            <property name="dropTokenList" value="%wtpruntime%,%wtpsdk%,%wtptest%,%wst%,%wst-sdk%,%wst-tests%,%jst-tests%,%wst-perf-tests%,%jst-perf-tests%,%jsf-runtime%,%jsf-sdk%,%jsf-tests%,%jpa-runtime%,%jpa-sdk%,%jpa-tests%" />
+            <property name="dropTokenList" value="%wtpruntime%,%wtpsdk%,%wtptest%,%wst%,%wst-sdk%,%wst-tests%,%jst-tests%,%wst-perf-tests%,%jst-perf-tests%,%jsf-runtime%,%jsf-sdk%,%jsf-tests%,%jpt-runtime%,%jpt-sdk%,%jpt-tests%" />
             <property name="webtoolsDownloadURL" value="http://www.eclipse.org/downloads/download.php?file=/webtools/committers/drops"/>
 
             <property name="buildBranch" value="${buildBranch}" />
diff --git a/releng.wtpbuilder/distribution/wtp.site/publish.xml b/releng.wtpbuilder/distribution/wtp.site/publish.xml
index be71eed4c..7bd894d12 100644
--- a/releng.wtpbuilder/distribution/wtp.site/publish.xml
+++ b/releng.wtpbuilder/distribution/wtp.site/publish.xml
@@ -325,10 +325,10 @@
                            property="org.eclipse.jst.jsf.feature" />
             <replacefilter token="@org.eclipse.jst.jsf_sdk.feature@"
                            property="org.eclipse.jst.jsf_sdk.feature" />
-            <replacefilter token="@org.eclipse.jpa.feature@"
-                           property="org.eclipse.jpa.feature" />
-            <replacefilter token="@org.eclipse.jpa_sdk.feature@"
-                           property="org.eclipse.jpa_sdk.feature" />
+            <replacefilter token="@org.eclipse.jpt.feature@"
+                           property="org.eclipse.jpt.feature" />
+            <replacefilter token="@org.eclipse.jpt_sdk.feature@"
+                           property="org.eclipse.jpt_sdk.feature" />
         </replace>
 
     </target>
diff --git a/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template b/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template
index 05ae6f120..cb009124e 100644
--- a/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template
+++ b/releng.wtpbuilder/distribution/wtp.site/templateFiles/index.html.template
@@ -133,7 +133,7 @@ foreach ($compileSummary->summaryItem as $summaryItem) {
         <tr>
                 <td align="left" valign="top" colspan="5">
                 <p>The WTP zip files includes the features and plugins from the WST,
-                JST (including JSF), and JPA projects.</p>
+                JST (including JSF), and JPT projects.</p>
                 </td>
         </tr>
         <tr>
diff --git a/releng.wtpbuilder/distribution/wtp.site/templateFiles/siteWTP.xml b/releng.wtpbuilder/distribution/wtp.site/templateFiles/siteWTP.xml
index 1b0ee6969..bc745dda1 100644
--- a/releng.wtpbuilder/distribution/wtp.site/templateFiles/siteWTP.xml
+++ b/releng.wtpbuilder/distribution/wtp.site/templateFiles/siteWTP.xml
@@ -36,11 +36,11 @@ digestURL="http://download.eclipse.org/webtools/testUpdates/">
    </feature>
 
 
-   <feature url="features/org.eclipse.jpa.feature_@org.eclipse.jpa.feature@.jar" id="org.eclipse.jpa.feature" version="@org.eclipse.jpa.feature@">
+   <feature url="features/org.eclipse.jpt.feature_@org.eclipse.jpt.feature@.jar" id="org.eclipse.jpt.feature" version="@org.eclipse.jpt.feature@">
       <category name="Web Tools Platform (WTP)" />
    </feature>
 
-   <feature url="features/org.eclipse.jpa_sdk.feature_@org.eclipse.jpa_sdk.feature@.jar" id="org.eclipse.jpa_sdk.feature" version="@org.eclipse.jpa_sdk.feature@">
+   <feature url="features/org.eclipse.jpt_sdk.feature_@org.eclipse.jpt_sdk.feature@.jar" id="org.eclipse.jpt_sdk.feature" version="@org.eclipse.jpt_sdk.feature@">
       <category name="Web Tools Platform (WTP)" />
    </feature>
 
diff --git a/releng.wtpbuilder/distribution/wtp.tests/build.xml b/releng.wtpbuilder/distribution/wtp.tests/build.xml
index 77c9aeb86..2d883d631 100644
--- a/releng.wtpbuilder/distribution/wtp.tests/build.xml
+++ b/releng.wtpbuilder/distribution/wtp.tests/build.xml
@@ -103,12 +103,12 @@
 
 		<exec dir="${buildDirectory}/${buildLabel}" executable="unzip"
 			failonerror="false">
-			<arg line="-o -qq wtp-jpa-sdk-${buildLabel}.zip -d ${testRoot}" />
+			<arg line="-o -qq wtp-jpt-sdk-${buildLabel}.zip -d ${testRoot}" />
 		</exec>
 		<exec dir="${buildDirectory}/${buildLabel}" executable="unzip"
 			failonerror="false">
 			<arg
-				line="-o -qq wtp-jpa-Automated-Tests-${buildLabel}.zip -d ${testRoot}" />
+				line="-o -qq wtp-jpt-Automated-Tests-${buildLabel}.zip -d ${testRoot}" />
 		</exec>
 
 	</target>
diff --git a/releng.wtpbuilder/distribution/wtp.tests/testScripts/test.xml b/releng.wtpbuilder/distribution/wtp.tests/testScripts/test.xml
index b13ced934..d70ea4797 100644
--- a/releng.wtpbuilder/distribution/wtp.tests/testScripts/test.xml
+++ b/releng.wtpbuilder/distribution/wtp.tests/testScripts/test.xml
@@ -378,16 +378,16 @@
 	</target>
 
 	<!-- Dali tests -->
-	<target name="jpa-utility-tests" description="Runs the org.eclipse.jpa.utility.tests test.xml">
+	<target name="jpt-utility-tests" description="Runs the org.eclipse.jpt.utility.tests test.xml">
 		<antcall target="runtests">
-			<param name="testPlugin" value="${org.eclipse.jpa.utility.tests}" />
-			<param name="report" value="org.eclipse.jpa.utility.tests" />
+			<param name="testPlugin" value="${org.eclipse.jpt.utility.tests}" />
+			<param name="report" value="org.eclipse.jpt.utility.tests" />
 		</antcall>
 	</target>
-	<target name="dali-core-tests" description="Runs the org.eclipse.jpa.core.tests test.xml">
+	<target name="dali-core-tests" description="Runs the org.eclipse.jpt.core.tests test.xml">
 		<antcall target="runtests">
-			<param name="testPlugin" value="${org.eclipse.jpa.core.tests}" />
-			<param name="report" value="org.eclipse.jpa.core.tests" />
+			<param name="testPlugin" value="${org.eclipse.jpt.core.tests}" />
+			<param name="report" value="org.eclipse.jpt.core.tests" />
 		</antcall>
 	</target>
 
@@ -485,14 +485,14 @@
 		<antcall target="wst-facets-tests" />
 
 
-		<echo message="Starting JPA Unit Tests" />
+		<echo message="Starting JPT Unit Tests" />
 
-		<echo message="Starting jpa-utility-tests" />
-		<antcall target="jpa-utility-tests" />
+		<echo message="Starting jpt-utility-tests" />
+		<antcall target="jpt-utility-tests" />
 		<echo message="Starting dali-core-tests" />
 		<antcall target="dali-core-tests" />
 
-		<echo message="Ended JPA Unit Tests" />
+		<echo message="Ended JPT Unit Tests" />
 
 		<echo message="Starting JSF Tests" />
 		<antcall target="jsf-tests" />
-- 
GitLab