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 79692 Details for
Bug 201994
NLS wizard should include localization file in build.properties
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
org.eclipse.pde.ui.patch
clipboard.txt (text/plain), 1.92 KB, created by
Chris Aniszczyk
on 2007-10-03 23:51:12 EDT
(
hide
)
Description:
org.eclipse.pde.ui.patch
Filename:
MIME Type:
Creator:
Chris Aniszczyk
Created:
2007-10-03 23:51:12 EDT
Size:
1.92 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.ui >Index: src/org/eclipse/pde/internal/ui/nls/ExternalizeStringsOperation.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/nls/ExternalizeStringsOperation.java,v >retrieving revision 1.16 >diff -u -r1.16 ExternalizeStringsOperation.java >--- src/org/eclipse/pde/internal/ui/nls/ExternalizeStringsOperation.java 4 Oct 2007 02:44:22 -0000 1.16 >+++ src/org/eclipse/pde/internal/ui/nls/ExternalizeStringsOperation.java 4 Oct 2007 03:50:27 -0000 >@@ -77,7 +77,7 @@ > // Update build.properties file (if exists & not already done) > IFile buildProps = changeFile.getFile().getProject().getFile(PDEModelUtility.F_BUILD); > if(buildProps != null && buildProps.exists() && !fFileChanges.containsKey(buildProps)) { >- updateBuildProperties(buildProps, monitor, pluginChange); >+ getChangeForBuild(buildProps, monitor, pluginChange, change.getBundleLocalization()); > } > > ITextFileBufferManager pManager = FileBuffers.getTextFileBufferManager(); >@@ -97,7 +97,7 @@ > } > } > >- private void updateBuildProperties(IFile buildPropsFile, IProgressMonitor monitor, CompositeChange parent){ >+ private void getChangeForBuild(IFile buildPropsFile, IProgressMonitor monitor, CompositeChange parent, final String localization){ > // Create change > TextFileChange[] changes = PDEModelUtility.changesForModelModication(new ModelModification(buildPropsFile) { > protected void modifyModel(IBaseModel model, IProgressMonitor monitor) throws CoreException { >@@ -110,7 +110,7 @@ > binIncludes = buildModel.getFactory().createEntry(IBuildEntry.BIN_INCLUDES); > } > // Add new entry to bin.includes key >- binIncludes.addToken("plugin.properties"); //$NON-NLS-1$ >+ binIncludes.addToken(localization + ".properties"); //$NON-NLS-1$ > } > } > }, monitor);
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 201994
:
77591
|
79683
|
79689
| 79692 |
79693