class-files [message #3499] |
Thu, 12 September 2002 12:12  |
Eclipse User |
|
|
|
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 #4017 is a reply to message #3695] |
Fri, 13 September 2002 09:38  |
Eclipse User |
|
|
|
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 02:36  |
Eclipse User |
|
|
|
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 05:54  |
Eclipse User |
|
|
|
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 09:38  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03971 seconds