we want to evaluate Cruisecontrol 2.8.4 for our build process. It comes with a nice dashboard with symbols on the frontpage representing a project and the status.
What is missing is the name of the project, only if one hovers over the rectangle it shows the project name in a tooltip.
Is there any way to display the name of the project constantly on the main dashboard page ?
Thanks
Yes it is possible:
go to \cruisecontrol-bin-2.8.4\webapps\dashboard\WEB-INF\vm\latest_builds
Edit file latest_builds_bar_partial.vm
from Line
to :
${buildCmd.build.projectName}
then change in cruisecontrol-bin-2.8.4/webapps/dashboard/css the file daschboard_tab.css
just in the line .bar change width which do you want. Thats it.
You could manipulate the XSL which renders the Dashboard.
To be honest, if plugins and customisation are your thing, consider #Hudson.
Related
I am trying to create a custom export template for excel export of workitems in my polarion project but every time I upload a template it and when I select that template at the time of exporting it It shows me this error: "Server error: java.lang.NullPointerException".
I tried to even make export template by using existing templates but it still shows me the same error.
To save yourself from trouble, it is easiest to make the template starting from one of the provided templates. Make sure you don't delete the sheet titled "Polarion". In the "Export Work Items" dialog, use the "Show template" link to download an empty template.
In Excel, in the "Polarion" sheet and "Sheet1" sheet, configure your Work Item type and the fields that you want to export. Make sure all fields that you specify actually exist in your Work Item configuration. You may want to make changes step-by-step: make only a small change and test the template to make sure it still works, until you become more confident about the structure.
If you follow the instructions for your version of Polarion, it should work. See "Customize export templates for Microsoft Excel" in the Polarion help. On my system with 22R1, this is the direct help link: http://localhost/polarion/help/topic/com.polarion.xray.doc.user/guide/xid1747724.html?cp=0_3_18_10. The Polarion help for 19.2 is available online: https://docs.plm.automation.siemens.com/content/polarion/19.2/help/en_US/user_and_administration_help/administrators_guide/advanced_administration/customize_export_templates_for_microsoft_excel.html
If you've followed the instructions exactly and it still doesn't work, it's likely that something is wrong with your installation. You'll have to check the logs in C:\Polarion\data\logs\main\ to see what is going wrong.
Is there a way to shorten the text which is shown on the Maven plugin documentation Page under the point Usage?
I wrote a long Mojo-description and i do not wan't to show it all on the first usage page.
So is there a way to add something like a "Read more" link or simple shorten the displayed text ?
Update:
I added a table to the class-description and I do not want to show this table on the Usage-Page.
i have a local sonar server running. i would like to create a new profile with a set of rules that were predefined by someone else. i have the XML file containing all the rules.
is there a way to upload the XML file to the profile and not define the rules manually?
thanks
Make sure you are logged into Sonar.
Click on Quality Profiles in the top navigation bar, then click on "Restore Profile" on the right hand side under the search bar. Make sure you have all the applicable quality plugins that the export is using or the restore will choke.
May be a bit old thread but worth answering this question with exact steps as I struggled alot with this problem.
Though its a hacky way to import rulebook from prod to your local. But it works and can save valuable time.
Here are the steps:
Login to SonarQube as admin.
Create a new Quality Profile as below:
Download the default xml from local sonarqube by clicking on Backup button. Lets call this file local-rulebook.xml
Open both the prod-rulebook.xml file & local-rulebook.xml in notepad.
Delete the selected part from local-rulebook.xml & replace with the content from prod-rulebook.xml. Save the file.
P.S: Do not change the value of <profile><name>{yourProfileName}</name>.
Go back to sonarQube and Click Restore at top-right corner of the screen.
Import the newly updated file
Change the default profile type.
Congrats you successfully imported the prod-rulebook.xml to your local sonarqube.
I'm working with RAP and want to add something look like this image into my view. But I have no idea to call this thing to search on internet.
So sorry for unspecific question.
The picture you show is part of a FormEditor.
The top line ('Extensions') is a FormPage title.
The 'All Extensions' part is a SectionPart containing a filtered tree and button.
All these are part of the org.eclipse.ui.forms plugin Eclipse Forms
I think what you are looking for is a multipage-editor.
You can have a look at the code of the Extensions View by using the Plugin spy (select the View -> Alt+Shift+F1) to get the containing plugin and then import the plugin into your workspace.
Or you can try to work yourself into using a framework like Sapphire. Take a look at their page. The example looks like the editor you are looking for.
Im using Liferay Portal v5.2.3 Community Edition. I have the following two questions which i hope someone would be kind enough to answer.
1.) I want to add some content to the About Us Page of my intranet portal. I added Web Content Display portlet, and maximized the screen after adding content. But accessing the portal, it always appears minimized.
Any way to solve this issue ?
2.) When i try to add a template after creating a structure, i have to select the script file to be used. I found some vm files for 7Cogs portal,but couldnt find any for the organization i created . Where are these vm or css files located and which one to use ?
Please Help.
Thank You.
For 1) There's no need to "maximize" anything if that's the only thing you have on a page. Just choose the single-column layout and place your Web Content in this single column that covers the whole screen.
For 2) you'll have to add the templates yourself. Every template belongs to a structure, so if you create your own structure, you also need to create templates that can display this structure.
You create templates in the same place you create structures: Go to the Control Panel. In the "Web Content" section you find tabs for structures and templates. When you create a template you need to specify a matching structure there. Once you've done that you can choose that template in your web content