busachick / harviewer

Automatically exported from code.google.com/p/harviewer
0 stars 0 forks source link

Patch: Build failure on linux system (aboutTab.html) #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Building on a linux system where files are case sensitive, it fails with:

     [exec] org.mozilla.javascript.WrappedException: Wrapped java.io.FileNotFoundException: ../../webapp-build/scripts/tabs/AboutTab.html (No such file or directory) (/var/home/dev/svn/trunk/src/harviewer/requirejs/build/jslib/requirePatch.js#128(eval)#159)

Well actually, it says the build was successful, but it obviously wasn't :)

Here's a patch to fix it:

--- webapp/scripts/tabs/aboutTab.js (revision 227)
+++ webapp/scripts/tabs/aboutTab.js (working copy)
@@ -34,7 +34,7 @@
     {
         var self = this;
         body = this.bodyTag.replace({}, body);
-        require(["text!tabs/AboutTab.html"], function(html)
+        require(["text!tabs/aboutTab.html"], function(html)
         {
             html = html.replace("@VERSION@", tabView.version, "g");
             html = html.replace("@HAR_SPEC_URL@", tabView.harSpecURL, "g");

Original issue reported on code.google.com by adrian...@gmail.com on 9 Mar 2011 at 9:30

GoogleCodeExporter commented 8 years ago
Patch committed at R228

Thanks for the report & patch!
Honza

Original comment by odva...@gmail.com on 10 Mar 2011 at 6:50

GoogleCodeExporter commented 8 years ago
This is one of 7 issues fixed in HAR Viewer 2.0.8

You can check online:
http://www.softwareishard.com/har/viewer/

Or download a distribution package here:
http://code.google.com/p/harviewer/downloads/list

Please verify

Thanks for the report!
Honza

Original comment by odva...@gmail.com on 13 Mar 2011 at 8:15