| To build the Struts Dojo profile: |
| |
| 1. Checkout Dojo from svn (${dojo} refers to dojo's root dir) (make sure that ${dojo} is on the same folder as ${struts}) |
| |
| 2. Copy struts.profile.js to ${dojo}/buildscripts/profiles |
| |
| 3. Copy /plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/ComboBox.css to |
| ${dojo}/struts (Dojo build system doesn't resolve the relative paths that well in 0.4.2) |
| |
| 4. Inside ${dojo}/buildscripts run: |
| $ ant -Dversion=0.4.2 -Dprofile=struts clean release intern-strings |
| $ cp ../release/dojo/dojo.js ${struts}/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js |
| $ cp ../release/dojo/dojo.js.uncompressed.js ${struts}/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts_dojo.js.uncompressed.js |
| $ cp ../release/dojo/nls ${struts}/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/ |