struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From musa...@apache.org
Subject svn commit: r537627 - /struts/struts2/trunk/plugins/dojo/src/profile/README
Date Sun, 13 May 2007 18:16:55 GMT
Author: musachy
Date: Sun May 13 11:16:55 2007
New Revision: 537627

URL: http://svn.apache.org/viewvc?view=rev&rev=537627
Log:
Add notes on how to build the struts dojo profile

Added:
    struts/struts2/trunk/plugins/dojo/src/profile/README

Added: struts/struts2/trunk/plugins/dojo/src/profile/README
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/profile/README?view=auto&rev=537627
==============================================================================
--- struts/struts2/trunk/plugins/dojo/src/profile/README (added)
+++ struts/struts2/trunk/plugins/dojo/src/profile/README Sun May 13 11:16:55 2007
@@ -0,0 +1,19 @@
+To build the Struts Dojo profile:
+
+1. Checkout Dojo from svn (${dojo} refers to root dir)
+
+2. Copy struts.profile.js tp ${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. In ${dojo}/buildscripts/build.xml comment the call to the target "-preload-resources"
in the "compress"
+   target. The problem with this is that the locales fail to load on our profile. This has
got to be
+   a dojo bug, as the locales loading should be handled by the generated javascript files.
(the default dojo
+   profile doesn't include the locales)
+  
+5. 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
+    
\ No newline at end of file



Mime
View raw message