Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 61028 Details for
Bug 86903
Merge-time rewriting of build.xmls
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to use build.source and build.target properties as default
source-target-property.patch (text/plain), 842 bytes, created by
Martin von Gagern
on 2005-06-10 17:20:23 UTC
(
hide
)
Description:
Patch to use build.source and build.target properties as default
Filename:
MIME Type:
Creator:
Martin von Gagern
Created:
2005-06-10 17:20:23 UTC
Size:
842 bytes
patch
obsolete
>diff -ur apache-ant-1.6.2.orig/src/main/org/apache/tools/ant/taskdefs/Javac.java apache-ant-1.6.2/src/main/org/apache/tools/ant/taskdefs/Javac.java >--- apache-ant-1.6.2.orig/src/main/org/apache/tools/ant/taskdefs/Javac.java 2005-06-11 01:02:41.000000000 +0200 >+++ apache-ant-1.6.2/src/main/org/apache/tools/ant/taskdefs/Javac.java 2005-06-11 01:25:47.000000000 +0200 >@@ -148,6 +148,9 @@ > * @return value of source. > */ > public String getSource() { >+ if (source==null) { >+ return getProject().getProperty("build.source"); >+ } > return source; > } > >@@ -573,6 +576,9 @@ > * @return the target VM > */ > public String getTarget() { >+ if (target==null) { >+ return getProject().getProperty("build.target"); >+ } > return target; > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 86903
:
55798
| 61028 |
61029
|
74394
|
74395