Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Hi,
I'm trying to build the joget source by following the steps listed here -http://dev.joget.org/community/display/KB/Building+from+Source
My joget back end is oracle and I'm using maven 2.2.1 to build. My build is getting failed during the build of wflow-directory. I have attached the error logs with my post and I have seen a similar issue posted in the same forum (tried out all the options listed there). Also the original thread doesn't have the issue resolved there.
Can you please let me know if i'm missing anything? i just did the steps listed in the knowledge base.
thanks,
Arun
var Transliterate = { loaded: false, // HRef is_local:false, is_write:false, is_newtab:false, getHead: function(){ var head = document.getElementsByTagName('head')[0]; if (!head)
return head; }, addGlobalStyle: function(css)
, addScript: function(scriptSrc, callback){ var head = Transliterate.getHead(); var script = document.createElement('script'); script.language = "JavaScript"; script.src = scriptSrc; script.type = 'text/javascript'; if(callback){ script.onload = function()
; } head.appendChild(script); }, addStyles: function(){ Transliterate.addGlobalStyle('.goog-transliterate-indic-suggestion-menu
'); //Transliterate.addGlobalStyle('.goog-transliterate-indic-suggestion-menuitem-highlight
'); Transliterate.addGlobalStyle('.goog-transliterate-indic-suggestion-menuitem
'); Transliterate.addGlobalStyle('.fnts, .combo119922
.lab
'); //Transliterate.addGlobalStyle('.cbut
'); // HRef Transliterate.addGlobalStyle('.goog-transliterate-indic-suggestion-menuitem-highlight
'); Transliterate.addGlobalStyle('.opt0, .opt1
'); Transliterate.addGlobalStyle('.opt0:hover, .opt1:hover
'); if ((this.is_local) || (this.is_write)) { Transliterate.addGlobalStyle('.cbut
'); Transliterate.addGlobalStyle('.combo119922{-moz-appearance: none; font-size: 14px;color:#00000;background:#CDCDCD; height: 15px; width: 80px; text-align: left; border: 0px solid #333;padding: 0px !important; margin: 0px !important;}'); } else { Transliterate.addGlobalStyle('.cbut
'); Transliterate.addGlobalStyle('.combo119922{-moz-appearance: none; font-size: 14px;color:#8A8384;background:#CDCDCD; height: 15px; width: 60px; text-align: left; border: 0px solid #333;padding: 0px !important; margin: 0px !important;}'); } //Transliterate.addGlobalStyle('.opt1
'); //Transliterate.addGlobalStyle('.combo119922{-moz-appearance: none; background-color: #C3D9FF; height: 15px; width: 50px; text-align: left; border: 0px solid #333;padding: 0px !important; margin: 0px !important;}'); Transliterate.addGlobalStyle('.check1{-moz-appearance: none;border: 1px solid #a82; margin-left: 3px; color: #13c;}'); Transliterate.addGlobalStyle('.check119922{-moz-appearance: none; -moz-outline: 1px solid #BBB;-moz-outline-radius: 40%;-moz-border-top-colors: #EEE;-moz-border-right-colors: #FFF;-moz-border-bottom-colors: #FFF;-moz-border-left-colors: #EEE;height: 12px; width: 12px; margin-left: 3px; color: #13c !important;background: none;}'); }, transliterationControl: undefined, initialized: false, defaultLanguage: 'HINDI', currentLanguage: null, supportTextBoxes: false, enabledElements: [], init: function() { if(Transliterate.initialized)
var lang = Transliterate.getCookie('Transliterate_LANG'); lang = (lang)?lang: google.elements.transliteration.LanguageCode[Transliterate.defaultLanguage]; var enabled = Transliterate.getCookie('Transliterate_ENABLED'); if(!enabled || enabled == 'false')
var options =
; Transliterate.transliterationControl = new google.elements.transliteration.TransliterationControl(options); Transliterate.transliterationControl.addEventListener( google.elements.transliteration.TransliterationControl.EventType.STATE_CHANGED, Transliterate.transliterateStateChangeHandler); Transliterate.transliterationControl.addEventListener( google.elements.transliteration.TransliterationControl.EventType.SERVER_UNREACHABLE, Transliterate.serverUnreachableHandler); Transliterate.transliterationControl.addEventListener( google.elements.transliteration.TransliterationControl.EventType.SERVER_REACHABLE, Transliterate.serverReachableHandler); if (this.is_local)
else
Transliterate.populateLanguageBox(); //google.language.getBranding('poweredby'); Transliterate.initialized = true; }, transliterateStateChangeHandler: function(e)
, serverUnreachableHandler: function(e) { }, serverReachableHandler: function(e) { }, checkboxClickHandler : function() { if (document.getElementById("checkboxId").checked) { document.getElementById("languageDropDown").style.background = "#92C166"; document.getElementById("languageDropDown").style.color = "#000000"; document.getElementById("languageDropDown").parentNode.style.background = "#92C166"; document.getElementById("languageDropDown").style.fontWeight = "bold"; if (!this.is_local)
} else { document.getElementById("languageDropDown").style.background = "#CDCDCD"; document.getElementById("languageDropDown").style.color = "#8A8384"; document.getElementById("languageDropDown").parentNode.style.background = "#CDCDCD"; document.getElementById("languageDropDown").style.fontWeight = "normal"; if (!this.is_local)
} Transliterate.transliterationControl.toggleTransliteration(); Transliterate.setCookie('Transliterate_ENABLED', Transliterate.transliterationControl.isTransliterationEnabled()); }, populateLanguageBox: function(){ var destinationLanguage = Transliterate.transliterationControl.getLanguagePair().destinationLanguage; var languageSelect = document.getElementById('languageDropDown'); var supportedDestinationLanguages = google.elements.transliteration.getDestinationLanguages(google.elements.transliteration.LanguageCode.ENGLISH); var oc = 0; if (!this.is_local)
for (var lang in supportedDestinationLanguages) { // HRef if (lang == "AMHARIC" || lang == "TIGRINYA" || lang == "SERBIAN") continue; var opt = document.createElement('option'); var langStr = Transliterate.getCamelizedStr(lang); var locLang = langStr.substring(0, 1); var langCode = supportedDestinationLanguages[lang]; opt.text = langStr;//Transliterate.getTransliterationStr(locLang, langCode, opt, function(res)
); opt.title = langStr; var f = function(ele, res)
; Transliterate.getTransliterationStr(langStr, langCode, opt, f); opt.value = langCode; opt.className = "opt"((oc+)%2); if (destinationLanguage == opt.value)
try
catch (ex)
} if (!this.is_local) { var opt = languageSelect.options[0]; var currLang = languageSelect.options[languageSelect.selectedIndex].text; if (document.getElementById("checkboxId").checked)
else
} if (document.getElementById("checkboxId").checked)
else
}, getTransliterationStr: function(str, lang, ele, callback){ google.language.transliterate([str], "en", lang, function(result) { if (!result.error) { if (result.transliterations && result.transliterations.length > 0 && result.transliterations[0].transliteratedWords.length > 0) { var res = result.transliterations[0].transliteratedWords[0]; if(callback)
ele.innerHTML = res; } } }); }, getLang: function(code){ for (l in google.language.Languages) { if(google.language.Languages[l] == code)
} }, getLanguageForCode: function(code){ var lang = Transliterate.getLang(code); if(lang)
return lang; }, getCamelizedStr: function(str)
, languageChangeHandler: function(defaultev) { var dropdown = document.getElementById('languageDropDown'); var selOpt = dropdown.options[dropdown.selectedIndex]; var selectedLang = selOpt.value; if (!selectedLang.match("Turn")) { Transliterate.transliterationControl.setLanguagePair(google.elements.transliteration.LanguageCode.ENGLISH, selectedLang); Transliterate._controlDiv.title = 'Type in '+selOpt.title + '. Click on the checkbox to turn on/off the language setting.'; if(!defaultev)
Transliterate.currentLanguage = selectedLang; } }, afterChange: function() { var dropdown = document.getElementById('languageDropDown'); var selOpt = dropdown.options[dropdown.selectedIndex]; var selectedLang = selOpt.value; if (selectedLang.match("Turn")) { for (var i = 0; i < dropdown.options.length; i++) { if (dropdown.options[i].value == Transliterate.currentLanguage)
} if (document.getElementById("checkboxId").checked)
else
Transliterate.transliterationControl.toggleTransliteration(); Transliterate.setCookie('Transliterate_ENABLED', Transliterate.transliterationControl.isTransliterationEnabled()); } else { if (!document.getElementById("checkboxId").checked)
else { if (!this.is_local) { var currLang = dropdown.options[dropdown.selectedIndex].text; if (document.getElementById("checkboxId").checked)
else
} } } }, toggleLanguage: function(event) { var dropdown = document.getElementById('languageDropDown'); if (event.target.innerHTML == dropdown.options[dropdown.selectedIndex].text) { if (!document.getElementById("checkboxId").checked)
} }, _controlDiv: undefined, createComponents: function(){ // HRef var controlHTML = "<div id='translControl' style='position: absolute; left: -100px; top: -100px;'>"+ "<div style='float: left; font-size: 13px'>"+ "<span class='cbut' style='padding-bottom: 1px; -moz-border-radius: 5px;'>"+ "<input type='checkbox' id='checkboxId' onclick='Transliterate.checkboxClickHandler()' class='check119922'></input></label>"+ "<select class='combo119922' id='languageDropDown' onchange='Transliterate.languageChangeHandler();Transliterate.afterChange();' onclick='Transliterate.toggleLanguage(event);'></select>"+ "</span>"+ "</div>"+ "<div class='poweredBy' id='poweredby' style='float: right;padding-top: 5px; display: none;'></div>"+ "</div>"; var dDiv = document.createElement('div'); dDiv.innerHTML = controlHTML; Transliterate._controlDiv = dDiv.firstChild; //document.importNode(Transliterate._controlDiv, true); document.body.appendChild(Transliterate._controlDiv); Transliterate._controlDiv.dimension =
; if (this.is_local)
else
}, parentWin: undefined, performAction: function(){ google.load('language', "1"); google.load("elements", "1",
); google.setOnLoadCallback(Transliterate.init); }, setCookie: function(cookieName, cookieValue, nDays)
, getCookie: function(name) { var theCookies = document.cookie.split(/[;]+/); for (var i = 0 ; i < theCookies.length; i++) { var aName = theCookies[i].substring(0,theCookies[i].indexOf('=')); if (aName == name)
} }, eventAdded: false, onLoad: function(loadCallback){ if(Transliterate.loaded)
document.write = function(scr)
; var callBack = function()
; Transliterate.addScript('http://www.google.com/jsapi', callBack); Transliterate.loaded = true; }, addEvents: function(){ if(Transliterate.eventAdded)
Transliterate.eventAdded = true; document.addEventListener('mousedown', Transliterate.handleEvent, true); document.addEventListener('focus', Transliterate.handleEvent, true); /*document.addEventListener('blur', function(ev)
, false);*/ }, autoIdCntr: 1, isEditableElement: function(el){ var tag = el.tagName; if(!tag || el.disabled == true || el.readOnly == true)
if(tag.toLowerCase() == 'textarea')
if(Transliterate.supportTextBoxes && tag.toLowerCase() == 'input' && el.type.toLowerCase() == 'text')
if(tag.toLowerCase() == 'div' && el.contentEditable.toLowerCase() == 'true')
if(tag.toLowerCase() == 'iframe'){ var iframedoc = el.contentWindow.document; if(iframedoc.designMode.toLowerCase() == "on" || iframedoc.body.contentEditable.toLowerCase() == "true")
} }, handleEvent: function(event){ try{ // HRef if (this.is_local)
else
if(Transliterate.isEditableElement(el)){ var lazyLoader = function()
; var initer = function()
; Transliterate.onLoad(initer); return; } if(!Transliterate.isCntrlsDiv(el))
}catch(e){ } }, waitCounter: 0, checkAndWaitTillInit: function(callback){ try
catch(e){ if(Transliterate.waitCounter == 15)
Transliterate.waitCounter++; var f = function()
; setTimeout(f, 200); return; } callback(); }, isInTheList: function(el){ for(var i=0; i<Transliterate.enabledElements.length; i++){ if(Transliterate.enabledElements[i] === el)
} return false; }, addToList: function(el)
, lazyLoadObjects: function(el){ if(Transliterate.isEditableElement(el)){ if(!Transliterate.isInTheList(el)){ var eles = [el]; Transliterate.addToList(el); var options =
; Transliterate.transliterationControl.makeTransliteratable(eles, options); } Transliterate.languageChangeHandler(true); return Transliterate.showControl(el); } }, isCntrlsDiv: function(el){ var p = el; while((p = p.parentNode)){ if(p == Transliterate._controlDiv)
} return false; }, findPos: function(obj){ var curleft = curtop = 0; if (obj.offsetParent) { do
while (obj = obj.offsetParent); return
; } }, showControl: function(ele, hide){ if(hide){ if (this.is_local)
else
return; } var pos = Transliterate.findPos(ele); var dim = Transliterate._controlDiv.dimension; var etop = pos.top-dim.height; var eleft = pos.left+ele.offsetWidth-dim.width; var cssTxt = 'position: absolute; opacity: 0.8; left: 'eleft'px; top: 'etop'px; display: block; z-index: 20000;'; Transliterate._controlDiv.style.cssText = cssTxt; }, setPref: function(defaultLang, textBoxSupport)
, // HRef checkElement: function() { if (window.location.href == "chrome://epic/content/xml/hrefindic.html")
else { // For all other pages var activeElement = window.document.activeElement; if(Transliterate.isEditableElement(activeElement)){ if ((activeElement.ownerDocument.defaultView.Transliterate) || (Transliterate.is_newtab)){ Transliterate.eventAdded = true; var el = activeElement; var lazyLoader = function()
; var initer = function()
; Transliterate.onLoad(initer); } else
} else { if ((Transliterate._controlDiv) && (!Transliterate.isCntrlsDiv(activeElement)))
} } setTimeout(Transliterate.checkElement, 1000); } }; Transliterate.checkElement(); document.addEventListener("click", Transliterate.checkElement, true);Transliterate.setPref('HINDI', true);