Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » class-files
class-files [message #3499] Thu, 12 September 2002 16:12 Go to next message
No real name is currently offline No real nameFriend
Messages: 12
Registered: July 2009
Junior Member
Hi,

I created a new aspectj-project and under properties I checked the
'preprocess only' and 'use javac' checkboxes.
After compiling, the preprocessed java-files are successfully created, but
there are no .class files in the bin-directory of the project.
Any idea??

Alex
Re: class-files [message #3565 is a reply to message #3499] Fri, 13 September 2002 06:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hcs33.egon.gyaloglo.hu

Hi,

From the AspectJ Development Guide:
-preprocess:
Don't try to generate any .class files. Generate regular Java code into
workingdir

Uncheck 'preprocess only' to get the .class files.

Regards,
Csaba Horv
Re: class-files [message #3695 is a reply to message #3565] Fri, 13 September 2002 09:54 Go to previous messageGo to next message
No real name is currently offline No real nameFriend
Messages: 12
Registered: July 2009
Junior Member
So far so good, now I have only checked the use javac checkbox (because I
need the class files and without this beeing checked, they are not compiled)
and I get the following console ouput (and still no class files):
The -usejavac flag requires that com.sun.tools.javac.Main

is on your classpath. Generally, this will involve editing

your launch script (ajc.bat or ajc) to include tools.jar

on the classpath that is passed to the jvm which runs ajc.

See README-TOOLS.html for suggestions on how to fix this.

I added tried to add the tools.jar to the build-path of my aspectj-project
which did not work.
Then I copied it under the org.aspectj.ajde folder under the plugins- dir
and added a runtime tag in the plugin.xml of the plugin. This also didn't
work.
What can I do?

Alex


"Horv
Re: class-files [message #4017 is a reply to message #3695] Fri, 13 September 2002 13:38 Go to previous message
Eclipse UserFriend
Originally posted by: hcs33.egon.gyaloglo.hu

Hi,

Do you use AJDT 0.5.0 or 0.5.1? In 0.5.0 there is a bug where all .class
files was generated under your workspace directory *even if* your project is
located in somewhere else. They said in 0.5.1 it has been fixed.
There is problems using javac in my machine as well but the built-in
Aspect/J compiler produces the .class files for me (and currently i have no
time to investigate my javac problem).

Regards,
Csaba Horv
Re: class-files [message #561315 is a reply to message #3499] Fri, 13 September 2002 06:36 Go to previous message
Eclipse UserFriend
Originally posted by: hcs33.egon.gyaloglo.hu

Hi,

From the AspectJ Development Guide:
-preprocess:
Don't try to generate any .class files. Generate regular Java code into
workingdir

Uncheck 'preprocess only' to get the .class files.

Regards,
Csaba Horv
Re: class-files [message #561394 is a reply to message #3565] Fri, 13 September 2002 09:54 Go to previous message
No real name is currently offline No real nameFriend
Messages: 12
Registered: July 2009
Junior Member
So far so good, now I have only checked the use javac checkbox (because I
need the class files and without this beeing checked, they are not compiled)
and I get the following console ouput (and still no class files):
The -usejavac flag requires that com.sun.tools.javac.Main

is on your classpath. Generally, this will involve editing

your launch script (ajc.bat or ajc) to include tools.jar

on the classpath that is passed to the jvm which runs ajc.

See README-TOOLS.html for suggestions on how to fix this.

I added tried to add the tools.jar to the build-path of my aspectj-project
which did not work.
Then I copied it under the org.aspectj.ajde folder under the plugins- dir
and added a runtime tag in the plugin.xml of the plugin. This also didn't
work.
What can I do?

Alex


"Horv
Re: class-files [message #561432 is a reply to message #3695] Fri, 13 September 2002 13:38 Go to previous message
Eclipse UserFriend
Originally posted by: hcs33.egon.gyaloglo.hu

Hi,

Do you use AJDT 0.5.0 or 0.5.1? In 0.5.0 there is a bug where all .class
files was generated under your workspace directory *even if* your project is
located in somewhere else. They said in 0.5.1 it has been fixed.
There is problems using javac in my machine as well but the built-in
Aspect/J compiler produces the .class files for me (and currently i have no
time to investigate my javac problem).

Regards,
Csaba Horv
Previous Topic:javac-Option
Next Topic:AJDT Outliner
Goto Forum:
  


Current Time: Sat Nov 02 18:23:35 GMT 2024

Powered by FUDForum. Page generated in 0.03324 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top