Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

This document list all changes we did tfo signavio for rebranding it to Activiti Modeler

Checkout

We'll be using the bpmn20 branch:

svn checkout https://signavio-oryx-initiative.googlecode.com/svn/branches/bpmn20 signavio-oryx-initiative --username joram.barrez

Build

in build.xml at the root of the project:

  • add the following target:

Url changes

Edit the file platform/WebContent/WEB-INF/web.xml and change the following parameters to the following values:

Edit the file \editor modifications\src\client\scripts\config.js line 37:

ORYX.CONFIG.WEB_URL = "/activiti-modeler/explorer";
ORYX.CONFIG.WAR_PATH = "/activiti-modeler";

Edit the file \explorer\src\javascript\config.js line 46

Signavio.Config.EXPLORER_PATH = '/activiti-modeler/explorer';
Signavio.Config.EDITOR_PATH = '/activiti-modeler/editor';
Signavio.Config.BACKEND_PATH = '/activiti-modeler/p';
Signavio.Config.LIBS_PATH = '/activiti-modeler/libs';

Edit the file editor\ modifications/src/client/css/theme_norm_signavio.css

replace all urls with signavio to 'activiti-modeler'

Images

  • replace explorer/src/img/signavio/smoky/logo.png with Activiti splash logo
  • replace explorer/src/img/signavio/smoky/logo2.png with Activiti header logo
  • edit explorer/src/css/xtheme-specific.css to the dimension of the Activiti header logo

#signavio_repository_header #signavio_repository_logo, #oryx_editor_header a {
background:transparent url(../img/signavio/smoky/logo2.png) no-repeat scroll 0 0 !important;
height:32px !important;
left:10px !important;
margin-top:4px !important;
position:absolute;
top:0 !important;
width:350px !important;
z-index:1000;
}

Delete in this file also in mask-logo the border-bottom and change

.mask-logo div img {
padding-bottom:0px;
visibility: hidden;
}

  • Edit editor\ modifications/src/client/scripts/Plugins/signavio.js
  • "<span class='mask-title' style='"stitle"'>Editor</span>"+
    "<span class='mask-version' style='"sversion"'>Version "version"</span>"+
  • Search in that file for 'mask-logo' to get to the right line
  • Switch those to Activiti-Modeler and the right version
  • Edit explorer/src/javascript/core/repository.js
  • Same changes as the previous one, now replacing 'explorer'
  • Search in that file for 'mask-logo' to get to the right line
  • Replace explorer/src/img/signavio/signavio_logo.png with the Activiti splash logo
  • Edit editor/src/client/css/theme_norm_signavio.css to match the settings of xtheme-specific.css (it's the same logo):

#oryx_editor_header a {
background:transparent url(/activiti-modeler/explorer/src/img/signavio/smoky/logo2.png) no-repeat scroll 0 0 !important;
height:32px !important;
left:10px !important;
margin-top:4px !important;
position:absolute;
top:0 !important;
width:350px !important;
z-index:1000;
}

  • Replace explorer/src/img/signavio/header_background2.png with the image that acts as background for the header
  • This will change the editor background
  • Replace explorer/src/img/signavio/smoky/header_background2.png with the image that acts as background for the header
  • This will change the explorer background

Exception during saving of bpmn 2.0 processes:

changed in build.xml

to

Build the war

ant build-activiti-war

  • No labels