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 92074 Details for
Bug 221675
source folder name should not be in NL jar
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to remove source folder
patch.txt (text/plain), 1018 bytes, created by
Denis Roy
on 2008-03-10 15:44:53 EDT
(
hide
)
Description:
Patch to remove source folder
Filename:
MIME Type:
Creator:
Denis Roy
Created:
2008-03-10 15:44:53 EDT
Size:
1018 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.babel >Index: server/classes/export/generate1.php >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.babel/server/classes/export/generate1.php,v >retrieving revision 1.14 >diff -u -r1.14 generate1.php >--- server/classes/export/generate1.php 5 Mar 2008 22:05:20 -0000 1.14 >+++ server/classes/export/generate1.php 10 Mar 2008 19:39:32 -0000 >@@ -126,6 +126,11 @@ > AND files.is_active "); > $plugins = array(); > while( ($file_row = mysql_fetch_assoc($file_result)) != null ) { >+ # strip source folder (bug 221675) >+ $pattern = '/^([a-zA-Z0-9_-]+)\.([a-zA-Z0-9_-]+)\.(.*)\/(.*)\/(\1)\/(\2)\/(.*)\.properties$/i'; >+ $replace = '${1}.${2}.${3}/${5}/${6}/${7}.properties'; >+ $file_row['name'] = preg_replace($pattern, $replace, $file_row['name']); >+ > if( preg_match( "/^([a-zA-Z0-9\.]+)\/(.*)$/", $file_row['name'], $matches ) ) { > $file_row['subname'] = $matches[2]; > $plugins[$matches[1]][] = $file_row;
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 221675
:
91768
| 92074 |
92185