Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
all_dotNet wrote:Do you have an additional feature that will combine all eo scripts into ONE script file? This IS the feature we are talking about. And YES, it has been implemented long ago.
|
Rank: Newbie Groups: Member
Joined: 7/21/2009 Posts: 6
|
Ok, can you point me in the direction of the documentation to implement the script combining feature.
Thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi, One of our original reply has already clearly explained how to enable this feature. I am posting it again below for your reference: Quote:Once you install the new build, you would need to follow these steps to use this feature:
1. Enable physical JavaScript files by following steps outlined in our previous post; 2. Place an EO.Web ScriptManager control in the page before all other EO.Web controls; 3. Set the ScriptManager's CombineJSFiles property to true;
Run the page and it should create a single JavaScript files in the folder you specified. (You will also see a list of individual module files got created in the same folder. However those files are not used at runtime). For step 1 you will need to check here: http://doc.essentialobjects.com/library/1/installationanddeployment/deploy.aspxLook for "Physical script files". Step 2 and step 3 should be straight forward enough. Thanks!
|
Rank: Newbie Groups: Member
Joined: 7/21/2009 Posts: 6
|
Thanks,
I'm sorry if I keep asking what seem to be dumb questions. I've followed these directions.
I seem to get a list of eo script files:
Directory of C:\eo_script
07/21/2009 04:07 PM <DIR> . 07/21/2009 04:07 PM <DIR> .. 04/18/2009 02:35 AM 3,265 eo.03811ee4-f286-4e44-a172-09e90381ccc4.js 04/18/2009 02:35 AM 45,933 eo.0e96c12e-b507-441d-8577-5d0b2ac266a7.js 04/18/2009 02:35 AM 3,706 eo.11510e58-b9f1-420b-8e53-1812b873469e.js 04/18/2009 02:35 AM 13,599 eo.2e05100d-0298-4b99-8f26-2e8b0e24526f.js 04/18/2009 02:35 AM 434 eo.3d11f36d-9a0d-4a8e-8c76-4f6c8bb0a73f.js 04/18/2009 02:35 AM 9,519 eo.408ea35a-edd3-4975-8ed1-4efe0d6e27cc.js 04/18/2009 02:35 AM 18,738 eo.4a8071dc-a086-4cd1-99a4-bfc5ef441117.js 04/18/2009 02:35 AM 63,398 eo.4c8db0ee-4579-45de-9941-1d812cb41399.js 04/18/2009 02:35 AM 15,233 eo.56386adb-0559-41d0-9666-4cec90bcc190.js 04/18/2009 02:35 AM 24,517 eo.5f8f5e3b-91f0-4725-b072-ff21a2317f66.js 04/18/2009 02:35 AM 3,296 eo.6012d8f6-ccf9-4b8e-a722-94a33e7acd62.js 04/18/2009 02:35 AM 31,142 eo.63f0775b-4c98-4355-afed-e8b407c6a3a9.js 04/18/2009 02:35 AM 9,810 eo.6f40056c-1510-474d-a2e7-a9d5442ddaf9.js 04/18/2009 02:35 AM 19,002 eo.6f7828b8-bc3d-4319-b65b-e4683e02f5be.js 04/18/2009 02:35 AM 39,795 eo.7ac193b1-2d50-488e-944d-251d7643ac24.js 04/18/2009 02:35 AM 10,283 eo.8ca461aa-9152-4a3a-881d-0631fb775970.js 04/18/2009 02:35 AM 75,132 eo.9383d541-aafc-46d1-a3a7-fb2131ff4b51.js 04/18/2009 02:35 AM 25,078 eo.93865bb4-70f9-4e4a-b22f-fb0dbd1622bb.js 04/18/2009 02:35 AM 9,776 eo.a8f11c25-eede-47c0-86cd-29cb56f62fc9.js 04/18/2009 02:35 AM 4,764 eo.ac44cbba-a22d-47ba-bb1a-114cd1a5c0e8.js 04/18/2009 02:35 AM 39,570 eo.ace65320-95a5-4ae4-8588-a8f37ed3680f.js 04/18/2009 02:35 AM 127 eo.b07569df-aab1-4833-b62f-f5d642a057b3.html 04/18/2009 02:35 AM 21,973 eo.b5bbe3cd-5fca-41d6-bf47-cd46c16258ce.js 04/18/2009 02:35 AM 2,984 eo.bec641cb-74d8-4ba1-9757-b49c1098495a.js 04/18/2009 02:35 AM 39,215 eo.c40bd921-dd8b-49e6-aaff-eaa6a8c279f1.js 04/18/2009 02:35 AM 24,811 eo.c5292f5c-ae69-46c7-8d35-49ea8ea8a24c.js 04/18/2009 02:35 AM 7,302 eo.c89e709e-02f2-40b7-bd7a-d02a4813356e.js 04/18/2009 02:35 AM 53,321 eo.c99ac43c-3c98-41ce-a91b-765316479d98.js 04/18/2009 02:35 AM 7,801 eo.d75995fd-fb17-4511-9cd1-e365cb2d25fe.js 04/18/2009 02:35 AM 21,748 eo.dc26b1ce-e22f-42c2-8e3a-48658d22127a.js 04/18/2009 02:35 AM 1,057 eo.ee57e43e-8455-4d1f-9fa0-90567d4e9a84.html 04/18/2009 02:35 AM 6,171 eo.f194c842-5da6-468f-8d75-87abc40ccf67.js 04/18/2009 02:35 AM 536 eo.jsfiles
Is this what I should expect?
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
That's the correct output after step 1. However if you also complete step 2 and step 3, you should see another file with the combined js.
If you have already applied step 2 and step 3, please try the same steps in a blank project. Make sure you do the following before running the page:
1. Delete all previous generated files; 2. Force rebuild your application;
Thanks
|