Bug 264563 - [handles] Remove trailing '/' from source path handles
Summary: [handles] Remove trailing '/' from source path handles
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.6.4   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: 1.6.4   Edit
Assignee: AJDT-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 262953
Blocks:
  Show dependency tree
 
Reported: 2009-02-11 13:19 EST by Andrew Eisenberg CLA
Modified: 2009-02-12 12:50 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Eisenberg CLA 2009-02-11 13:19:52 EST
In bug 262953, we noticed that when the .classpath has an entry like:

  	<classpathentry kind="src" path="src/"/>
Instead of something like:
		<classpathentry kind="src" path="src"/>

AspectJ handles will include the extra '/', but JDT handles will not.  On the AJDT side, I fixed things in Bug 262953 so that this kind of classpath entry will not be created by AJDT.  However, for consistency, it is probably a good idea for AspectJ to handle these kinds of paths the same as JDT.

For example, the AspectJ handle for the source folder in Spacewar when the .classpath entry contains and extra '/' looks like:
=Spacewar Example/src\/

but the JDT handle looks like:
=Spacewar Example/src
Comment 1 Andrew Clement CLA 2009-02-12 12:50:25 EST
fixed.