Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Re: [ajdt-dev] AJDT Integration Problem

Ajc should be able to read read-only files.

This error can happen when the file containing MyClass is
listed twice, so you might check the configuration file(s)
for duplicate references that could resolve to MyClass.java.

Wes

DiFrango, Ron wrote:
Adrian,
Could it be that the files are read only? The files that are to be aspected
are stored in a ClearCase and therefore are read-only.

Thanks, Ron DiFrango
-----Original Message-----
From: DiFrango, Ron Sent: Thursday, May 29, 2003 5:28 PM
To: 'aspectj-dev@xxxxxxxxxxx'; ajdt-dev@xxxxxxxxxxxxxxx
Cc: 'Adrian_Colyer@xxxxxxxxxx'
Subject: RE: [aspectj-dev] Re: [ajdt-dev] AJDT Integration Problem


Adrian,
I do not have any other source files that declare a type called MyClass, nor
do I have duplicate definitions of MyClass.java.  I can take this same
source tree and compile it successfully via ANT.  I did not enable
incremental compilation.
For our project, I have over 1400 classes that are involved and need to run
through the aspectj compiler.  During our ANT process this takes at least 5
minutes to run.  In order to even get Eclipse (AJDT) to compile this I had
to increase the memory to 384MB.  I just re-created the project and
re-compiled my code I get the same error.
Also, I did get linked directories to work with this version.

Thanks, Ron DiFrango
-----Original Message-----
From: Adrian Colyer [mailto:adrian_colyer@xxxxxxxxxx] Sent: Thursday, May 29, 2003 3:54 PM
To: ajdt-dev@xxxxxxxxxxxxxxx
Cc: aspectj-dev@xxxxxxxxxxx
Subject: [aspectj-dev] Re: [ajdt-dev] AJDT Integration Problem



Hi Ron, Could you tell me a little more about your project? Do you have another
source file (other than MyClass.java) that also declares a type "MyClass" ?
Do you have two class declarations within the MyClass.java file by accident?
Failing that, are you using the incremental compilation feature (this has to
be explicitly enabled so  if you haven't taken any conscious action you
won't be) ? Thanks... A.
-- Adrian
Adrian_Colyer@xxxxxxxxxx



"DiFrango, Ron" <ron.difrango@xxxxxxxxxxxxxx> Sent by: ajdt-dev-admin@xxxxxxxxxxxxxxx

29/05/2003 19:12 Please respond to ajdt-dev To: "'ajdt-dev@xxxxxxxxxxxxxxx'" <ajdt-dev@xxxxxxxxxxxxxxx> cc: aspectj-dev@xxxxxxxxxxx Subject: [ajdt-dev] AJDT Integration Problem



Folks, I am using the Eclipse 2.1 with aspectj 1.1.2 and the AJDT 1.1.2 plug-in and all the classes that are affected by an aspect, I get the following error: The type MyClass is already defined MyClass.java Has anyone else experienced this? If so how do I get around it? Thanks, Ron
**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.



**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.

**************************************************************************
The information transmitted herewith is sensitive information intended only
for use by the individual or entity to which it is addressed. If the reader
of this message is not the intended recipient, you are hereby notified that
any review, retransmission, dissemination, distribution, copying or other
use of, or taking of any action in reliance upon this information is
strictly prohibited. If you have received this communication in error,
please contact the sender and delete the material from your computer.




Back to the top