Bug 238035 - ajc compile ends batch file
Summary: ajc compile ends batch file
Status: NEW
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.6.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-21 20:10 EDT by Larry Barowski CLA
Modified: 2008-06-22 00:34 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Barowski CLA 2008-06-21 20:10:41 EDT
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.
Comment 1 Andrew Clement CLA 2008-06-22 00:34:01 EDT
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.