Re: [Dspace-tech] Apache/Tomcat/DSpace munging jquery files

2013-09-15 Thread helix84
Hi Owen,

try taking a look at the xmlui.theme.enableConcatenation and
xmlui.theme.enableMinification properties in dspace.cfg. Turning them
off might help (that may require some edits to your XMLUI theme) as a
workaround. However, if you do find the actual source of the problem,
please report a bug in our Jira.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=64545871iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Apache/Tomcat/DSpace munging jquery files

2013-09-09 Thread Owen Williams
Hello,
  We're using:

Apache 2.2.15
Tomcat 7.0.41
DSpace 3.1 branch from git

Some aspect of the above and XMLUI is munging things like /* */ comments
from Javascript and other things which are difficult to identify because
the Javascript is minified.  The result breaks the fancy box code I'm
using.

I'll just deal with the first symptom.  If I take the code that gets
rendered as static HTML and copy the original Javascript files to a
vanilla Apache server the page is rendered OK and the fancy box works.

The first line of jquery-1.7.1.min.js reads :

/*! jQuery v1.7.1 jquery.com | jquery.org/license */

which is there if I use the vanilla Apache but missing when I use the
DSpace instance.

Can someone suggest a fix, please, or an approach to find the problem?
Why are .js files being 'handled' instead of just being served?

Best regards,

Owen.

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58041391iu=/4140/ostg.clktrk
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette