This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
youys
/
ant
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
1
Code
Releases
0
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
normalize file names when importing files with absolute paths
this is the root cause of Bugzilla Issue 58886
master
Stefan Bodewig
10 years ago
parent
790987e702
commit
7046631e9a
2 changed files
with
6 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
WHATSNEW
+1
-1
src/main/org/apache/tools/ant/taskdefs/ImportTask.java
+ 5
- 0
WHATSNEW
View File
@@ -33,6 +33,11 @@ Fixed bugs:
* <script> could fail to find javax.script on JDK9 with Jigsaw.
Bugzilla Report 58271
* <import> sometimes failed to normalize file names which could lead
to files getting imported twice which in turn could lead to targets
getting executed twice.
Bugzilla Report 58886
Other changes:
--------------
+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/ImportTask.java
View File
@@ -241,7 +241,7 @@ public class ImportTask extends Task {
if (file != null) {
if (isExistingAbsoluteFile(file)) {
return new FileResource(
new Fil
e(file));
return new FileResource(
FILE_UTILS.normaliz
e(file));
}
File buildFile =
Write
Preview
Loading…
Cancel
Save