Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 22107 Details for
Bug 97744
[compiler][ant adapter] NPE when verbose = true and destDir not specified
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Apply on HEAD on JDTCompilerAdapter class
patch_97744.txt (text/plain), 1.17 KB, created by
Olivier Thomann
on 2005-05-31 17:28:29 EDT
(
hide
)
Description:
Apply on HEAD on JDTCompilerAdapter class
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-05-31 17:28:29 EDT
Size:
1.17 KB
patch
obsolete
>Index: JDTCompilerAdapter.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java,v >retrieving revision 1.47 >diff -u -r1.47 JDTCompilerAdapter.java >--- JDTCompilerAdapter.java 30 May 2005 13:17:59 -0000 1.47 >+++ JDTCompilerAdapter.java 31 May 2005 21:27:25 -0000 >@@ -301,7 +301,17 @@ > * extra option allowed by the Eclipse compiler > */ > cmd.createArgument().setValue("-log"); //$NON-NLS-1$ >- this.logFileName = this.destDir.getAbsolutePath() + ".log"; //$NON-NLS-1$ >+ if (this.destDir == null) { >+ File userDirectory = new File(System.getProperty("user.dir")); //$NON-NLS-1$ >+ String userDirectoryPath = userDirectory.getAbsolutePath(); >+ if (userDirectoryPath.endsWith(File.separator)) { >+ this.logFileName = userDirectoryPath + "temp.log"; //$NON-NLS-1$ >+ } else { >+ this.logFileName = userDirectoryPath + File.separator + "temp.log"; //$NON-NLS-1$ >+ } >+ } else { >+ this.logFileName = this.destDir.getAbsolutePath() + ".log"; //$NON-NLS-1$ >+ } > cmd.createArgument().setValue(this.logFileName); > } >
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 97744
: 22107 |
22134