Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] Re: Unable to compile with ajc

Hi,

I figured out the problem. The  Class oracle.sql.CLOB
was defined in two jar files with the method
signatures different in both. 

So when i changed the class path order in ajc and
compiled it, it ran and compiled it. But when I
changed the jar file order in Eclipse+AJDT it still
does not compile. I also tried it by importing all
jars in AspectJInpath and AspectJ build paths, but
still it does not work. Any pointers what seems to be
the issue here..I am using Eclipse 3.0 final release
and ADJT for that version of eclipse.

Thanks in advance

Kaushik

--- aspectj-users-request@xxxxxxxxxxx wrote:
> Send aspectj-users mailing list submissions to
> 	aspectj-users@xxxxxxxxxxx
> 
> To subscribe or unsubscribe via the World Wide Web,
> visit
> 
>
http://dev.eclipse.org/mailman/listinfo/aspectj-users
> or, via email, send a message with subject or body
> 'help' to
> 	aspectj-users-request@xxxxxxxxxxx
> 
> You can reach the person managing the list at
> 	aspectj-users-admin@xxxxxxxxxxx
> 
> When replying, please edit your Subject line so it
> is more specific
> than "Re: Contents of aspectj-users digest..."
> 
> 
> Today's Topics:
> 
>    1. Unable to compile with ajc (Kaushik S)
>    2. Re: Unable to compile with ajc (Wes Isberg)
> 
> --__--__--
> 
> Message: 1
> Date: Mon, 26 Jul 2004 15:04:06 -0700 (PDT)
> From: Kaushik S <kaushik_spock@xxxxxxxxx>
> To: aspectj-users@xxxxxxxxxxx
> Subject: [aspectj-users] Unable to compile with ajc
> Reply-To: aspectj-users@xxxxxxxxxxx
> 
> Hi,
> 
> I have defined an aspect to log all exceptions
> raised
> in the application. In the application i have a
> DBUtils class that has a bunch of DB utilities. One
> of
> the statements in the code is 
> 
> oracle.sql.CLOB clob =
> CLOB.createTemporary(conn,false,CLOB.DURATION_CALL);
> 
> When i compile this class with ajc it gives me
> "CLOB.DURATION_CALL cannot be resolved" error even
> though it is in classpath. I tried in both cmd
> prompt
> and ajdt and eclipse but am getting same error. But
> it
> compiles properly with javac compiler.
> 
> Can you please let me know why i am getting this
> error
> and what i would need to do in order to fix it ?
> 
> Thanks in Advance.
> 
> Thanks
> Kaushik
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail is new and improved - Check it out!
> http://promotions.yahoo.com/new_mail
> 
> --__--__--
> 
> Message: 2
> To: aspectj-users@xxxxxxxxxxx
> Subject: Re: [aspectj-users] Unable to compile with
> ajc
> From: "Wes Isberg" <wes@xxxxxxxxxxxxxx>
> Date: Mon, 26 Jul 2004 16:00:48 -0700
> Reply-To: aspectj-users@xxxxxxxxxxx
> 
> Here ajc should be the same as javac.  Try importing
> CLOB or qualifying ref=
> erence thereto. E.g.,
> 
>   import oracle.sql.CLOB;
>   ...
>   CLOB clob =3D  
> CLOB.createTemporary(conn,false,CLOB.DURATION_CALL)
> 
> Wes
> 
> > ------------Original Message------------
> > From: Kaushik S <kaushik_spock@xxxxxxxxx>
> > To: aspectj-users@xxxxxxxxxxx
> > Date: Mon, Jul-26-2004 3:05 PM
> > Subject: [aspectj-users] Unable to compile with
> ajc
> >
> > Hi,
> > =
> 
> > I have defined an aspect to log all exceptions
> raised
> > in the application. In the application i have a
> > DBUtils class that has a bunch of DB utilities.
> One of
> > the statements in the code is =
> 
> > =
> 
> > oracle.sql.CLOB clob =3D
> >
> CLOB.createTemporary(conn,false,CLOB.DURATION_CALL);
> > =
> 
> > When i compile this class with ajc it gives me
> > "CLOB.DURATION_CALL cannot be resolved" error even
> > though it is in classpath. I tried in both cmd
> prompt
> > and ajdt and eclipse but am getting same error.
> But it
> > compiles properly with javac compiler.
> > =
> 
> > Can you please let me know why i am getting this
> error
> > and what i would need to do in order to fix it ?
> > =
> 
> > Thanks in Advance.
> > =
> 
> > Thanks
> > Kaushik
> > =
> 
> > =
> 
> > 		=
> 
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Mail is new and improved - Check it out!
> > http://promotions.yahoo.com/new_mail
> > _______________________________________________
> > aspectj-users mailing list
> > aspectj-users@xxxxxxxxxxx
> >
>
http://dev.eclipse.org/mailman/listinfo/aspectj-users
> > =
> 
> 
> 
> 
> 
> --__--__--
> 
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
>
http://dev.eclipse.org/mailman/listinfo/aspectj-users
> 
> 
> End of aspectj-users Digest
> 



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 


Back to the top