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 258611 Details for
Bug 484198
rename output file generated by dot
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
484198-rename-output-file-generated-by-dot
484198-rename-output-file-generated-by-dot.patch (text/plain), 1006 bytes, created by
Tamas Miklossy
on 2015-12-11 06:56:33 EST
(
hide
)
Description:
484198-rename-output-file-generated-by-dot
Filename:
MIME Type:
Creator:
Tamas Miklossy
Created:
2015-12-11 06:56:33 EST
Size:
1006 bytes
patch
obsolete
>diff --git a/org.eclipse.gef4.dot/src/org/eclipse/gef4/dot/internal/DotNativeDrawer.java b/org.eclipse.gef4.dot/src/org/eclipse/gef4/dot/internal/DotNativeDrawer.java >index beea42b..93fa639 100644 >--- a/org.eclipse.gef4.dot/src/org/eclipse/gef4/dot/internal/DotNativeDrawer.java >+++ b/org.eclipse.gef4.dot/src/org/eclipse/gef4/dot/internal/DotNativeDrawer.java >@@ -48,9 +48,10 @@ > final File dotInputFile, final String format, > final String imageResultFile) { > String outputFormat = "-T" + format; //$NON-NLS-1$ >- String resultFile = imageResultFile == null >- ? dotInputFile.getName() + "." + format : imageResultFile; //$NON-NLS-1$ > String dotFile = dotInputFile.getName(); >+ String resultFile = imageResultFile == null >+ ? dotFile.substring(0, dotFile.lastIndexOf('.') + 1) + format >+ : imageResultFile; // $NON-NLS-1$ > String inputFolder = new File(dotInputFile.getParent()) > .getAbsolutePath() + File.separator; > String outputFolder = imageResultFile == null ? inputFolder
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
Flags:
nyssen
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 484198
: 258611