It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to use modified .tag files with Fisheye/Crucible

daviderickson Jun 28, 2011

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!

1 answer

1 accepted

0 votes
Answer accepted
daviderickson Jun 28, 2011

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.

Kiron Mar 22, 2012

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!

daviderickson Mar 22, 2012

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.

Kiron Mar 23, 2012

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

daviderickson Mar 23, 2012

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

Kiron Mar 23, 2012

I did try restarting server...but no luck

JamieA Mar 23, 2012

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.

daviderickson Mar 23, 2012

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.

JamieA Mar 23, 2012

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.

Kiron Mar 26, 2012

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?

daviderickson Mar 26, 2012

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

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in United States

Topic Tuesday: Agile

Another week, another Topic Tuesday!  Agile has been on my mind a lot lately because I've seen good implementations and bad implementations, but now as a Jira admin it matters more to me whether...

37 views 0 0
View post

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you