Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: maven-filtering-1.0-beta-2
-
Fix Version/s: maven-filtering-1.0-beta-4
-
Component/s: maven-filtering
-
Labels:None
-
Testcase included:yes
-
Patch Submitted:Yes
-
Number of attachments :
Description
The method escapeWindowsPath() is replacing colon by backslash + colon.
I.e.
D:\temp
is escaped as
D\:
temp
But windows doesn't recognize that. If you try to open D\:
temp on explorer, will not work.
Even java.io.File is not able to handle that too. The attached test proves it.
I'm not sure why this backslash was add to colon, but commenting line 44 of org.apache.maven.shared.filtering.FilteringUtils make the test work.
Issue Links
- is depended upon by
-
MRESOURCES-81
2.3 escapes characters when filtering properties
-
- is related to
-
MRESOURCES-42
Filtering properties that contain ${basedir} for property files doesn't escape backslashes
-
-
MRESOURCES-81
2.3 escapes characters when filtering properties
-
- relates to
-
MRESOURCES-106
Plugin does not respect escapeWindowsPaths default-value
-
Activity
| Field | Original Value | New Value |
|---|---|---|
| Affects Version/s | 2.3 [ 12622 ] |
| Link |
This issue is related to |
| Affects Version/s | 2.3 [ 12622 ] | |
| Affects Version/s | maven-filtering-1.0-beta-2 [ 14488 ] | |
| Key | MRESOURCES-76 |
|
| Project | Maven 2.x Resources Plugin [ 11145 ] | Maven Shared Components [ 11761 ] |
| Issue Type | Bug [ 1 ] | Improvement [ 4 ] |
| Fix Version/s | maven-filtering-1.0 [ 14631 ] | |
| Component/s | maven-filtering [ 13380 ] |
| Fix Version/s | maven-filtering-1.0-beta-3 [ 14631 ] | |
| Fix Version/s | maven-filtering-1.0-beta-4 [ 14861 ] |
| Link |
This issue is related to |
| Link |
This issue is depended upon by |
| Attachment | filtering.patch [ 40081 ] |
| Assignee | Olivier Lamy [ olamy ] |
| Status | Open [ 1 ] | Closed [ 6 ] |
| Resolution | Fixed [ 1 ] |
| Link |
This issue relates to |