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 5761 Details for
Bug 41535
File Not Found ekception when building projects that do not use a separate source directory
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Fix to org.eclipse.ajdt.internal.ui.ajde.ProjectProperties
BUG_41535-patch.txt (text/plain), 1.87 KB, created by
Matthew Webster
on 2003-08-14 08:14:16 EDT
(
hide
)
Description:
Fix to org.eclipse.ajdt.internal.ui.ajde.ProjectProperties
Filename:
MIME Type:
Creator:
Matthew Webster
Created:
2003-08-14 08:14:16 EDT
Size:
1.87 KB
patch
obsolete
>Index: ProjectProperties.java >=================================================================== >RCS file: /home/technology/org.eclipse.ajdt/plugins/org.eclipse.ajdt/src/org/eclipse/ajdt/internal/ui/ajde/ProjectProperties.java,v >retrieving revision 1.25 >diff -u -r1.25 ProjectProperties.java >--- ProjectProperties.java 6 Aug 2003 21:28:55 -0000 1.25 >+++ ProjectProperties.java 14 Aug 2003 12:02:51 -0000 >@@ -551,17 +551,17 @@ > } > } > >- private void getProjectRelativePaths(IResource[] resource_list, List allProjectFiles, FilenameFilter filter) { >+ private void getProjectRelativePaths(IResource[] resource_list, List allProjectFiles, FilenameFilter filter, int trimSegments) { > try { > for (int i = 0; i < resource_list.length; i++) { > IResource ir = resource_list[i]; > if (ir instanceof IContainer) { >- getProjectRelativePaths(((IContainer) ir).members(), allProjectFiles, filter); >+ getProjectRelativePaths(((IContainer) ir).members(), allProjectFiles, filter, trimSegments); > } > else if (filter.accept(ir.getName())) { > String[] segments = ir.getProjectRelativePath().segments(); > String path = ""; >- for (int j = 1; j < segments.length; j++) { >+ for (int j = trimSegments; j < segments.length; j++) { > path += segments[j]; > if (j < segments.length-1) path += '/'; // matches Eclipse's separator > } >@@ -647,7 +647,7 @@ > List files = new ArrayList(); > sourcePath = sourcePath.removeFirstSegments(1); > IResource[] srcContainer = new IResource[] { project.findMember(sourcePath)}; >- getProjectRelativePaths(srcContainer, files, RESOURCE_FILTER); >+ getProjectRelativePaths(srcContainer, files, RESOURCE_FILTER, srcContainer[0].getFullPath().segmentCount()-1); > for (Iterator it = files.iterator(); it.hasNext(); ) { > String relPath = (String)it.next(); > String fullPath =
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:
andrew.eisenberg
:
iplog+
Actions:
View
|
Diff
Attachments on
bug 41535
: 5761