Some javascript files are not loading in my roo app.


In the load-scripts.tagx file are the following lines:


Code:
  
  <script src="${spring_url}" type="text/javascript"></script>
  <script src="${dojo_url}" type="text/javascript"></script>
  <script src="${spring_dojo_url}" type="text/javascript"></script>
  <script language="Javascript" type="text/javascript">dojo.require("dojo.parser");</script>
The last three don't load.
You can put them in any order you like. The first one will load, the others will not.
They are all present in the html.

And if I look at the source in Firefox for example, the first line always has correct syntax colour highlighting, the others are all in uniform black. The syntax is perfectly correct for all four.

It may of course be that I have messed around with something that has caused this.
Any help gratefully received.


Here is the entire file:
Code:
<jsp:root xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:spring="http://www.springframework.org/tags" version="2.0">

  <jsp:output omit-xml-declaration="yes" />

 		<link rel="stylesheet" href="/css/int/general.css" type="text/css"/>
		<link rel="stylesheet" href="/css/int/header.css" type="text/css"/>


  <spring:theme code="styleSheet" var="roo_css" />
  <spring:url value="/${roo_css}" var="roo_css_url" />
  <spring:url value="/resources/dojo/dojo.js" var="dojo_url" />
  <spring:url value="/resources/dijit/themes/tundra/tundra.css" var="tundra_url" />
  <spring:url value="/resources/spring/Spring.js" var="spring_url" />
  <spring:url value="/resources/spring/Spring-Dojo.js" var="spring_dojo_url" />
  <spring:url value="/resources/images/favicon.ico" var="favicon" />
  <link rel="stylesheet" type="text/css" href="${tundra_url}" />
  <link rel="stylesheet" type="text/css" media="screen" href="${roo_css_url}" />
  <link rel="SHORTCUT ICON" href="${favicon}" />

  <!-- Get the user local from the page context (it was set by Spring MVC's locale resolver) -->
 
  <c:set var="userLocale">
    <c:set var="plocale">${pageContext.response.locale}</c:set>
    <c:out value="${fn:replace(plocale, '_', '-')}" default="en" />
  </c:set>

  <script type="text/javascript">var djConfig = {parseOnLoad: false, isDebug: false, locale: '${fn:toLowerCase(userLocale)}'};</script>

 
  <script src="${spring_url}" type="text/javascript"></script>
  <script src="${dojo_url}" type="text/javascript"></script>
  <script src="${spring_dojo_url}" type="text/javascript"></script>
  <script language="Javascript" type="text/javascript">dojo.require("dojo.parser");</script>


</jsp:root>