Community
Participate
Working Groups
I'm running ajc from a batch file as follows: ajc -classpath "usual_stuff" -inpath somepackage.jar -aspectpath . -outjar somepackage2.jar After this executes (successfully), the batch file and any calling batch files immediately end. Running with cmd does not help. -noExit flag does not help. For now I am splitting my deployment script in two to work around the problem.
can you just embed what the ajc.bat file does into your script for now? java -classpath "%ASPECTJ_HOME%\lib\aspectjtools.jar;%JAVA_HOME%\lib\tools.jar;%CLASSPATH%" org.aspectj.tools.ajc.Main <real options here> sometimes that is worth doing just to override the default Xmx.