Skip to content

Commit

Permalink
adde and removed
Browse files Browse the repository at this point in the history
  • Loading branch information
annaibm committed Oct 9, 2024
1 parent 0beff5d commit 0dbb92d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions stf.build/include/top.xml
Original file line number Diff line number Diff line change
Expand Up @@ -332,13 +332,9 @@ limitations under the License.
-->

<target name="configure-tools-jar" depends="setup-java-properties" unless="${tools_jar_correct}">
<property name="tools_jar_origin" value="${java.home}/../lib"/>
<property name="tools_jar_origin" value="${java.home}/../lib/tools.jar"/>
<echo message="configure-tools-jar: Copying ${tools_jar_origin} to ${tools_jar_dir}"/>
<copy todir="${tools_jar_dir}">
<fileset dir="${tools_jar_origin}">
<include name="tools.jar"/>
</fileset>
</copy>
<copy file="${tools_jar_origin}" todir="${tools_jar_dir}"/>
<property name="tools_jar" value="${tools_jar_dir}/${tools_jar_file}"/>
<available file="${tools_jar_dir}/${tools_jar_file}" property="tools_jar_correct"/>
</target>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public String toString() {
* @return A DirectoryRef for the root of the file we were trying to find.
* @throws StfException In case we cannot find the file, or if we found it in more than one test root.
*/
public static DirectoryRef findFileRoot(String fileRef, ArrayList<DirectoryRef> testRootRefs) throws StfException, IOException {
public static DirectoryRef findFileRoot(String fileRef, ArrayList<DirectoryRef> testRootRefs) throws StfException {
int count = 0;
DirectoryRef fileRoot = new DirectoryRef("./ignore");
for (int i = 0 ; i < testRootRefs.size() ; ++i ) {
Expand Down

0 comments on commit 0dbb92d

Please sign in to comment.