Bug 113554 - support ajsym file generation for command line builds
Summary: support ajsym file generation for command line builds
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: IDE (show other bugs)
Version: unspecified   Edit
Hardware: Other other
: P2 enhancement (vote)
Target Milestone: 1.5.0RC1   Edit
Assignee: Mik Kersten CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-24 11:54 EDT by Mik Kersten CLA
Modified: 2005-11-07 22:04 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mik Kersten CLA 2005-10-24 11:54:04 EDT
This has been requested by Ron and several others, and will enable browsing crosscutting
structure (e.g. via the AspectJ Browser) for builds done via the command line or Ant,
and possibly via AJDT with some minor extensions to that.
Comment 1 Andrew Clement CLA 2005-10-28 10:05:40 EDT
decide what to do for RC1, probably should be a new option rather than affecting
-emacssym
Comment 2 Mik Kersten CLA 2005-10-28 12:08:16 EDT
Agreed.  I plan on implementing the new option and committing by Tuesday.  I
already have the test and support written (but not checked in).
Comment 3 Mik Kersten CLA 2005-11-07 21:41:20 EST
Done: there is now a -crossrefs option that will generate a .ajsym file into the output
directory.
- tests output of -emacssym and -crossrefs mode added
- documentation added
-
command line usage documentation added
Comment 4 Mik Kersten CLA 2005-11-07 22:04:22 EST
Added taskdef too.  Example usage:

<project name="simple-example" default="compile"
>
  <taskdef 
      resource="org/aspectj/tools/ant/taskdefs/aspectjTaskdefs.properties">

   <classpath>
      <pathelement location="lib/aspectjtools.jar"/>
    </classpath>

 </taskdef>

  <target name="compile" >
    <iajc
    	incremental="false"
    	sourceroots="src${path.separator}ajsrc"

   	destDir="bin"
    	crossrefs="true"
        classpath="lib/aspectjrt.jar"/> 
 
</target>
 	
  <target name="inspect" 
  	description="Launch the browser to inspect
build results">
  	<exec executable="lib/ajbrowser.bat" dir=".">
    	<arg line="bin/build.lst"/>

 	</exec>
  </target>
</project>