Package org.apache.struts2.tiles
Class BuildAutotags
java.lang.Object
org.apache.struts2.tiles.BuildAutotags
Helper class for building/generating the classes and resources used in the
plugin.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildFreemarker
(String outputDir) Builds the Freemarker classes.void
Build JSP tag classes and .tld file.void
buildVelocity
(String outputDir) Builds the velocity classes and velocity.properties.static void
The main method.
-
Constructor Details
-
BuildAutotags
public BuildAutotags()
-
-
Method Details
-
main
The main method.- Parameters:
args
- the arguments
-
buildJsp
Build JSP tag classes and .tld file. To build, change template-suite.xml as required and then run this program. Copy the classes and .tld from the target autotag folder into the packageName location, .tld to src/main/resources/META-INF/tld/tiles-jsp.tld- Parameters:
outputDir
- the output dir
-
buildFreemarker
Builds the Freemarker classes. To build, change template-suite.xml as required and then run this program. Copy the classes from the target autotag folder into the packageName location.- Parameters:
outputDir
- the output dir
-
buildVelocity
Builds the velocity classes and velocity.properties. To build, change template-suite.xml as required and then run this program. Copy the classes from the target autotag folder into the packageName location, and velocity.properties to src/main/resources/META-INF/velocity.properties- Parameters:
outputDir
- the output dir
-