Bug 112772 - New Aspect wizard fails with the default package and no source directory
Summary: New Aspect wizard fails with the default package and no source directory
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: UI (show other bugs)
Version: 1.2.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 1.2.1   Edit
Assignee: Sian January CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-17 06:05 EDT by Sian January CLA
Modified: 2005-10-25 10:04 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sian January CLA 2005-10-17 06:05:49 EDT
Create a new AspectJ project with the project as root and then try to create a 
new aspect in the default package.  An error pops up when you click ok.  The 
file for the aspect is created but it has no code in it.
Comment 1 Sian January CLA 2005-10-19 09:06:33 EDT
Now fixed:

BUILD COMPLETE -  build.157
Date of build: 10/19/2005 12:19:30
Time to build: 41 minutes 39 seconds

The fix required a change to the AJCompilationUnit constructor for the case 
when the containing resource was a project rather than a folder.
Comment 2 Matt Chapman CLA 2005-10-25 08:16:09 EDT
Reproducible on 1.2.1 on Linux, so needs backporting
Comment 3 Sian January CLA 2005-10-25 10:04:52 EDT
Now fixed on 1.2.1

BUILD COMPLETE -  build.553
Date of build: 10/25/2005 14:03:26
Time to build: 50 minutes 38 seconds