Raible's Wiki

Raible Designs
Wiki Home
News
Recent Changes

AppFuse

Homepage
  - Korean
  - Chinese
  - Italian
  - Japanese

QuickStart Guide
  - Chinese
  - French
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish
  - Japanese

User Guide
  - Korean
  - Chinese

Tutorials
  - Chinese
  - German
  - Italian
  - Korean
  - Portuguese
  - Spanish

FAQ
  - Korean

Latest Downloads

Other Applications

Struts Resume
Security Example
Struts Menu

Set your name in
UserPreferences


Referenced by
...nobody




JSPWiki v2.2.33

[RSS]


Hide Menu

FormattingSourceCode


Difference between version 6 and version 5:

At line 3 changed 1 line.
This tutorial is divided in two. First we have to setup an ant task that calls jalopy to format your code, once there we'll have to modify appfuse's source code (I hope this is not for long, since all we do is modify the javadoc comments in the code).
This tutorial is divided in two. First we have to setup an ant task that calls jalopy to format your code, once there we'll have to modify appfuse's source code (I hope this is not for long, since all we do is modify the javadoc comments in the code).
At line 5 changed 2 lines.
* First you need to create a folder named jalopy-1.0b11 and extract the contents of __jalopy-1.0b11.zip__ in there.
* Edit the lib/lib.properties file and add this lines at the end
! Setup AppFuse
* First you need to create a folder named {{lib/jalopy-1.0b11}} and extract the contents of __jalopy-1.0b11.zip__ in there.
* Edit the {{lib/lib.properties}} file and add this lines at the end
At line 24 changed 1 line.
* Open the build.xml file and search for the {{{<!-- Taskdefs -->}}} section and add the following under it
* Open the {{build.xml}} file and search for the {{{<!-- Taskdefs -->}}} section and add the following under it
At line 30 changed 1 line.
* Still in the same file (build.xml) find the __docs__ target and add the following above it
* Still in the same file ({{build.xml}}) find the __docs__ target and add the following above it
At line 43 changed 1 line.
If you're looking at what we're doing you'll notice a convention xml named ''um.xml''... this is the convention I use, and you can [change it|http://jalopy.sourceforge.net/printer.html] if you like but I won't get into that, there are [tools|http://jalopy.sourceforge.net/download.html] to do that (an Eclipse plugin, a standalone gui, etc.). By the way, the __um.xml__ is attached at the bottom of this page as well as the __jalopy-1.0b11.zip__ (you'll have to use this one, if you want jalopy to format your javadoc comments, because it's patched to know what to do with the servlet-mapping tag found in some servlets).
If you're looking at what we're doing you'll notice a convention xml named __um.xml__... this is the convention I use, and you can [change it|http://jalopy.sourceforge.net/printer.html] if you like, but I won't get into that, there are [tools|http://jalopy.sourceforge.net/download.html] to do that (an Eclipse plugin, a standalone gui, etc.). By the way, the __um.xml__ is attached at the bottom of this page as well as the __jalopy-1.0b11.zip__ (you'll have to use this one, if you want jalopy task you've just create it to format your javadoc comments, because it's patched to know what to do with the servlet-mapping tag found in some servlets).

Back to FormattingSourceCode, or to the Page History.