Bug 256230 - New project wizard doesn't close after finish
Summary: New project wizard doesn't close after finish
Status: RESOLVED FIXED
Alias: None
Product: AJDT
Classification: Tools
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: 2.0.0   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-23 09:01 EST by Noa CLA
Modified: 2009-05-11 17:48 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Noa CLA 2008-11-23 09:01:14 EST
1. install the AJDT plug-in manually.
2. open eclipse using eclipse --clean
3. follow the steps in the basic tutorial in eclipse help.
4. click on 'Finish' on the project creation wizard.
5. i can see in the background that the project is created, but with errors
6. the wizard screen doesn't close
7. click on 'Cancel'
8. open the error description in the 'problems' tab - the following error appears
classpath error: unable to find org.aspectj.lang.JoinPoint (check that aspectjrt.jar is in your classpath)
Comment 1 Noa CLA 2008-11-23 09:46:39 EST
i did the manual installation since i keep getting 
Cannot complete the request.  See the details.
Cannot find a solution satisfying the following requirements Match[requiredCapability: org.eclipse.equinox.p2.iu/org.apache.commons.lang/[2.1.0.v200803061811,2.1.0.v200803061811]].

when i try to install from the update site
Comment 2 Andrew Eisenberg CLA 2008-11-23 10:21:28 EST
The error that you are receiving looks like it is coming from the plugin not being installed properly.

Questions:

1. is this the AspectJ new project wizard, or the standard new project wizard?

2. What version of Eclipse are you using?

3. Which update site did you try to use?

4. The error that you are receiving on install is coming from the fact that you do not have org.apache.commons.lang installed.  Which version of Eclipse did you install?
Comment 3 Noa CLA 2008-11-23 10:25:20 EST
1. is this the AspectJ new project wizard? - yes

2. What version of Eclipse are you using - 
Version: 3.4.1
Build id: M20080911-1700

3. Which update site did you try to use? - 
http://download.eclipse.org/tools/ajdt/34/update

Comment 4 Noa CLA 2008-11-23 11:16:16 EST
another update -

i read that most of the problems that contained this reference
Match[requiredCapability:
org.eclipse.equinox.p2.iu/org.apache.commons.lang/[2.1.0.v200803061811,2.1.0.v200803061811]].

were related to q4eclipse, i removed it and it didn't solve the problem, but than i unpacked my eclipse installtion and installed the aspectj plugin first and it works fine
Comment 5 Andrew Eisenberg CLA 2008-11-23 11:55:45 EST
Glad to hear that you got it working.

I hadn't asked the right question above for #4.  On the eclipse downloads page, http://www.eclipse.org/downloads/, there are different kinds of eclipse to get (rcp development, jee development, etc).  Which one of these did you download?  
Comment 6 Noa CLA 2008-11-23 12:14:46 EST
(In reply to comment #5)
> Glad to hear that you got it working.
> 
> I hadn't asked the right question above for #4.  On the eclipse downloads page,
> http://www.eclipse.org/downloads/, there are different kinds of eclipse to get
> (rcp development, jee development, etc).  Which one of these did you download?  
> 

i got the jee
Comment 7 Andrew Eisenberg CLA 2009-01-06 18:03:47 EST
Any problem still here?
Comment 8 Andrew Eisenberg CLA 2009-04-14 00:47:42 EDT
The q4eclipse plugin comes with an older version of the aspectjrt plugin that isn't marked as a singleton (or at least it wasn't at the time that this bug was filed...it should be by now).  If q4e was installed first, that could prevent installing a later version of the aspectjrt plugin.  I am guessing that the problem here is that your configuration that included q4e did not have a proper AJDT installed because of q4e's older version of aspectjrt.

I am closing this problem since it should not occur now that q4e provides a singleton version of aspectjrt.