Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » org.aspectj.ajdt.core.prefs file and environment variables expansion
org.aspectj.ajdt.core.prefs file and environment variables expansion [message #590700] Sat, 29 October 2005 15:01
Eclipse User
Originally posted by: valentino.miazzo.net

Hello,
I already posted this question on the ajdt-dev ML but nobody replied.
Maybe ajdt-dev ML wasn't the right place to ask this type of questions, I
try here hoping in some help.

I'm using Windows, Eclipse 3.1, AJDT 1.3 .

I need to pass to the AspectJ compiler a not standard option involving the
JAVA_HOME environment variable.

I select the project, press the right button, properties, aspectj, non
standard compiler options; here I would like to write something like that:
-classpath %JAVA_HOME%\jre\lib\rt.jar .

Anyway it doesn't works because (seems) AJDE doesn't expand the
environment variables before passing the options to the aspecj compiler.

I can use an absolute path (-classpath c:\java\jdk1.4.2_08\jre\lib\rt.jar)
but in this way I force the other developers to place the JDK on the same
path or to edit the org.aspectj.ajdt.core.prefs after each CVS update.

Could anyone suggest a way to place some kind of expandable-variable in
the org.aspectj.ajdt.core.prefs file ?

Thank you very much,
Valentino
Previous Topic:Multiple instances of the same class woven against different aspects in an Eclipse plugin [Cross-pos
Next Topic:AJDT New Feature of the Week: Accessibility
Goto Forum:
  


Current Time: Mon Jul 28 20:38:49 EDT 2014

Powered by FUDForum. Page generated in 0.02133 seconds