Summary: | cannot get aspectj compiler to work in ant build | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | karim qazi <karim.qazi> |
Component: | Compiler | Assignee: | Jim Hugunin <jim-aj> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P2 | CC: | dgran |
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | Macintosh | ||
OS: | Mac OS X - Carbon (unsup.) | ||
Whiteboard: |
Description
karim qazi
2003-03-11 21:07:51 EST
Can you run the compiler successfully from the command-line and not from ant and compile one of the example applications? I haven't seen this error reported before, but it does look like a detailed configuration issue. I'd recommend that you try working from the command-line with a small example so that you can examine exactly what's on your classpath. I'd also suggest that you try the latest version of the compiler. 1.1rc1 should be out in the next couple of days. If none of this works, then we'll want to bring this up on the aspectj-dev mailing list. This appears to be an OS X configuration issue and while the core committers to AspectJ work on Windows/Linux, I know that a number of people on the aspectj-dev list work with AspectJ on OS X quite effectively. This bug should be fixed in the current cvs tree. The fix was to move AspectJ to the eclipse 2.1 code base rather than 2.0 where they had already fixed this error. Note: I don't have access to a Mac so this fix is unverified. *** Bug 37504 has been marked as a duplicate of this bug. *** I have Eclipse 2.1 and aspectj 1.1 rc2 and still get this error with every compile. i tried the ajc command line tool and the ant tasks. so i cannot get aspectj to work at all ?! i have osx 10.2.6 and java 1.4.1. i am awfully sorry folks, i had rc1..... This is fixed in rc2, the reopening was a mistake, see comments below. |