Revision: 9197
Author: [email protected]
Date: Mon Nov  8 06:50:50 2010
Log: Fix SSSS so that devmode.js is returned when devmode is running

http://code.google.com/p/google-web-toolkit/source/detail?r=9197

Modified:
 /trunk/dev/core/src/com/google/gwt/core/linker/CrossSiteIframeLinker.java

=======================================
--- /trunk/dev/core/src/com/google/gwt/core/linker/CrossSiteIframeLinker.java Thu Oct 28 11:37:15 2010 +++ /trunk/dev/core/src/com/google/gwt/core/linker/CrossSiteIframeLinker.java Mon Nov 8 06:50:50 2010
@@ -236,8 +236,9 @@
     toReturn.add(mappingArtifact);
     EmittedArtifact serializedMap;
     try {
-      serializedMap = emitString(logger, mappingArtifact.getSerialized(),
-          "compilation-mappings.txt");
+      String mappings = mappingArtifact.getSerialized();
+      mappings = mappings.concat("Devmode:" + getHostedFilename());
+ serializedMap = emitString(logger, mappings, "compilation-mappings.txt");
       // TODO(unnurg): make this Deploy
       serializedMap.setVisibility(Visibility.Public);
       toReturn.add(serializedMap);

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to