Community
Participate
Working Groups
Created attachment 129998 [details] Zip AspectJ and Java Me Midlet Project Unable to make LTW working in a Midlet Project. Steps followed after installation (see below for installation): 1. Create a Midlet Project following the Java ME help installed with the plugin in Eclipse 2. Add META-INF project with aop.xml file to the Midlet Project 3. Create the AspectJ aspect and the aop.xml and create the jar file with them 4. Add the Java Agent to the file emulator.vm in the bin directory of the WTK installation directory 5. Add the aspect jar, aspectjrt.jar and meta-inf folder to the classpath in the eclipse run configuration of the midlet project The result is the Midlet is executed normally but the aspect does not execute (tested in a Java project, following same steps, wit works) I attach the AspectJ project and the Midlet one. For installation: I assume that Eclipse, AspectJ and AJDT are already installed (I have Eclipse version 3.4.0, AspectJ 1.6.2, AJDT 1.6.0) 1. Install Sun Java Wireless Toolkit for CLDC 2.5.2 (it can be downloaded from http://java.sun.com/products/sjwtoolkit/download.html) 2. Install Mobile Tools for Java plugin in Eclipse (it can be downloaded from http://www.eclipse.org/dsdp/mtj/download/downloads.php) 3. Configure Workbench following the Java ME help installed with the plugin in Eclipse