1
0
-1

Hi I want to modify the html output of my Fisheye/Crucible instance, I have the source license, in particular I want to edit the header, so I've found and modified content/WEB-INF/tags/cru/masthead.tag, I've placed this file in my $FISHEYE_INST/content/WEB-INF/tags/cru/ folder, I've tried flushing from the administrator panel, and looking to see if there was a web cache (there was not), and tried restarting Fisheye. In none of these cases are my changes applied. I have found a compiled version of this tag file shipping in lib/jsp_pre.zip, do I need to precompile this tag somehow and replace it in the zip for it to take effect? Any help here would be appreciated, its important we change the header for this program.

Thanks!

    CommentAdd your comment...

    1 answer

    1.  
      1
      0
      -1

      Going to answer my own question here.. I resolved this with the help of Seb Ruiz (thanks!), the issue was you must use the full source distribution to be able to edit the tags, you cannot install the normal distribution and just unzip the specific tag file on top of it and edit that file.

      1. Kiron Madasu

        Hi David,

        Can you explain little more as to how I can compile modified masthead.tag file under FISHEYE_INST/content/WEB-INF/tags/cru/masthead.tag?

        Thanks!

      2. David Erickson

        Hi Kiron, you don't actually need to compile it, you need to install Fisheye/Crucible from the source distribution (not the regular distribution), then you can just edit the file and see the changes live. Does that make sense? In my original attempt I had installed Fisheye/Crucible normally, then downloaded the source distribution and installed only the single file I needed (masthead.tag), but it wasn't picked up because the normal distribution uses a compiled version of those files. So the solution was to delete my installed Fisheye/Crucible and replace it with the source, then everything worked.

      3. Kiron Madasu

        Hi David,

        That worked and thank you very much. Now another question.. when I updated .css files I don't see that they are recognised..is there a special way to add css classes to the existing .css files?

        Thanks in advance

      4. David Erickson

        Hmm not sure on that one as I haven't tried, but they may be getting cached, did you try restarting the server?

      5. Kiron Madasu

        I did try restarting server...but no luck

      6. Jamie Echlin

        It's actually a lot easier to write a plugin for fisheye and then use JS to change the styles, or css and override the styles.

      7. David Erickson

        Ya not sure then, best suggestion I can make is to look at the CSS being returned to you in the browser then try and find the corresponding file(s) in the filesystem that are generating it (check the data directory too), and try and change them.

      8. Jamie Echlin

        It's a massive pain to do this with FE. The css files get concatenated and then gzipped. You need to make sure the file that you changed gets into the gz file.

      9. Kiron Madasu

        Hi David,

        If you know can you please tell as to how I can get the project link for jira that is configured as applink in fisheye..from masthead.tag file?

      10. David Erickson

        No idea off hand, sorry, our use case was limited to styling elements not any programming.

      CommentAdd your comment...