How to change @author in your ASDocs

For OSX at least…

Step 1
Navigate to /Applications/Flex Builder 3/

Step2
Right click on the app, Flex Builder and select explore package contents. A new finder window should pop up with a folder called “Contents”

Step 3
Open the file Contents/MacOS/FlexBuilder.ini with a text editor of your choice.

Step 4
Add the following line :
-Duser.name=Seb Lee-Delisle

Except obviously you’ll probably want to use your own name :-)

Step 5
Save the file and restart Flex Builder. Now your automatically generated comments will contain your full name after @author!

Bookmark and Share

Related posts:

  1. How to set up ASDoc in Flex Builder
  2. How to redesign your WordPress blog in 10 minutes
  3. Unexpected Flex build error

5 Responses to “How to change @author in your ASDocs”

  1. Thijs says:

    Thanks for the tip! If you’re using the Flex Builder plugin for Eclipse:

    1. Navigate to /Applications/eclipse (or wherever your Eclipse was installed
    2. Right-click on Eclipse.app and select package contents
    3. Open Contents/MacOS/eclipse.ini
    4. Add the line:
    -Duser.name=John Doe

    Cheers.

  2. Mondain says:

    Surprisingly enough, not everyone uses OSX ;) So for you windows users its:
    C:\Program Files\Adobe\Flex Builder 3\FlexBuilder.ini and/or C:\eclipse\eclipse.ini

  3. [...] > Seb Lee-Delisle How to change @author in your ASDocs [...]

  4. Alan says:

    For anyone with FDT, it’s very simple and works on Mac or Windows:

    Eclipse Preferences > FDT > Code Style > Code Templates (Misc)> Override System Username.

  5. Paul Hayes says:

    Just a quick note, if you decide to put your user.name entry in eclipse.ini make sure it follows after any -vargs statements you have i.e:

    -vmargs
    -Xms40m
    -Xmx512m

    -Duser.name=Paul Hayes

    Otherwise it won’t work.

Leave a Reply

Bad Behavior has blocked 1363 access attempts in the last 7 days.