Skip to content
Snippets Groups Projects
Commit 6ac0ea21 authored by david_williams's avatar david_williams
Browse files

[175772] JPA JUnits failing since non-sdk package not built

parent 7d43f5a6
No related branches found
No related tags found
No related merge requests found
...@@ -84,6 +84,7 @@ ...@@ -84,6 +84,7 @@
<property <property
name="mapVersionTag" name="mapVersionTag"
value="HEAD" /> value="HEAD" />
<property <property
name="cvsPackage" name="cvsPackage"
value="releng.dali" /> value="releng.dali" />
...@@ -95,6 +96,7 @@ ...@@ -95,6 +96,7 @@
package="${cvsPackage}" package="${cvsPackage}"
dest="${buildDirectory}/maps" dest="${buildDirectory}/maps"
tag="${mapVersionTag}" /> tag="${mapVersionTag}" />
<!--tag the map files project--> <!--tag the map files project-->
<antcall target="tagMapFiles"> <antcall target="tagMapFiles">
<param <param
...@@ -103,6 +105,22 @@ ...@@ -103,6 +105,22 @@
</antcall> </antcall>
</target> </target>
<!-- ===================================================================== -->
<!-- Check out the cvsPackage -->
<!-- ===================================================================== -->
<target name="checkOutMaps">
<echo message="${mapCvsRoot} ${mapVersionTag} " />
<echo message="cvsPackage = ${cvsPackage} " />
<cvs
cvsRoot="${mapCvsRoot}"
package="${cvsPackage}"
dest="${buildDirectory}/maps"
tag="${mapVersionTag}" />
</target>
<!-- ===================================================================== -->
<!-- Tag Map Files mapCvsRoot -->
<!-- ===================================================================== -->
<target <target
name="tagMapFiles" name="tagMapFiles"
if="tagMaps"> if="tagMaps">
...@@ -112,7 +130,6 @@ ...@@ -112,7 +130,6 @@
command="tag v${buildType}${timestamp}" /> command="tag v${buildType}${timestamp}" />
</target> </target>
<!-- ===================================================================== --> <!-- ===================================================================== -->
<!-- Steps to do before setup --> <!-- Steps to do before setup -->
<!-- ===================================================================== --> <!-- ===================================================================== -->
......
...@@ -87,20 +87,25 @@ ...@@ -87,20 +87,25 @@
<property <property
name="mapVersionTag" name="mapVersionTag"
value="HEAD" /> value="HEAD" />
<!-- get primary maps first, since if there happens to be
duplicates, the first one "wins" (such as for dependancies.properties)
-->
<!-- get releng/maps --> <!-- get releng/maps -->
<antcall target="checkOutMaps"> <antcall target="checkOutMaps">
<param <param
name="cvsPackage" name="cvsPackage"
value="releng" /> value="releng" />
</antcall> </antcall>
<!-- get releng.dali/maps --> <!-- get releng.dali/maps -->
<antcall target="checkOutMaps"> <antcall target="checkOutMaps">
<param <param
name="cvsPackage" name="cvsPackage"
value="releng.dali" /> value="releng.dali" />
</antcall> </antcall>
<!-- tag the map files project --> <!-- tag the map files project -->
<antcall target="tagMapFiles"> <antcall target="tagMapFiles">
...@@ -121,7 +126,6 @@ ...@@ -121,7 +126,6 @@
package="${cvsPackage}" package="${cvsPackage}"
dest="${buildDirectory}/maps" dest="${buildDirectory}/maps"
tag="${mapVersionTag}" /> tag="${mapVersionTag}" />
</target> </target>
<!-- ===================================================================== --> <!-- ===================================================================== -->
...@@ -150,26 +154,13 @@ ...@@ -150,26 +154,13 @@
property="component.dir" /> property="component.dir" />
<echo message="ant.file: ${ant.file}" /> <echo message="ant.file: ${ant.file}" />
<echo message="component.dir: ${component.dir}" /> <echo message="component.dir: ${component.dir}" />
<property
name="dependencies.combined"
value="dependencies.combined.properties" />
<!-- Combine releng and releng.dali -->
<delete file="${buildDirectory}/maps/releng.dali/maps/${dependencies.combined}" failonerror="false" />
<concat destfile="${buildDirectory}/maps/releng.dali/maps/${dependencies.combined}">
<fileset dir="${buildDirectory}/maps">
<include name="releng/maps/dependencies.properties"/>
<include name="releng.dali/maps/dependencies.properties"/>
</fileset>
</concat>
<ant <ant
antfile="${component.dir}/dependency.xml" antfile="${component.dir}/dependency.xml"
target="get"> target="get">
<property <property
name="dependency.properties" name="dependency.properties"
value="${buildDirectory}/maps/releng.dali/maps/${dependencies.combined}" /> value="${buildDirectory}/maps/releng/maps/dependencies.properties" />
<property <property
name="base.install.dir" name="base.install.dir"
value="${buildRoot}" /> value="${buildRoot}" />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment