Hello,
I try to compile Ckeditor 4.3 from source with ckbuilder.jar (latest).
Compiling leads to errors in \dev\iconmaker \node_modules\optimist\example\boolean_single.js
"Parse error. missing namer after . operator .boolean('v')
Somehow I can't get this compiled..
Hi Philipp,
Hi Philipp,
sorry to hear that you're having trouble compiling CKEditor.
Could you describe the whole process, step-by-step, starting from cloning the repository, with exact commands that you use? Can you also attach the build-config that you used as well?
This will help us solve this issue. Thanks in advance!
Documentation Manager, CKSource
See CKEditor 5 docs, CKEditor 4 docs, CKEditor 3 docs, CKFinder 3 docs, CKFinder 2 docs for help.
Visit the new CKEditor SDK for samples showcasing editor features to try out and download!
Hello,
Hello,
thanks.
1. got the 4.3 dev release branch from github
2. added additional plugin htmlSource (which does well in 4.1 version)
3. manipulated source in htmldataprocessor.js to avoid script stripping
4. tried to compile with latest ckbuilder 1.7.java –jar ckbuilder.jar Source Destination
\node_modules\optimist\example\boolean_single.js Error: Parse error. mising name after . operator . boolean('v')
well seems to be something like "boolean" is a reserverd keyword or similar. but I don't understand :(
thank you in advance
build.js:
var CKBUILDER_CONFIG = {
skins :
{
kama : 1,
moono : 1
},
plugins :
{
a11yhelp : 1,
about : 1,
adobeair : 1,
ajax : 1,
autogrow : 1,
basicstyles : 1,
bbcode : 1,
bidi : 1,
blockquote : 1,
button : 1,
clipboard : 1,
colorbutton : 1,
colordialog : 1,
contextmenu : 1,
devtools : 1,
dialog : 1,
dialogadvtab : 1,
dialogui : 1,
div : 1,
divarea : 1,
docprops : 1,
elementspath : 1,
enterkey : 1,
entities : 1,
fakeobjects : 1,
filebrowser : 1,
find : 1,
flash : 1,
floatingspace : 1,
floatpanel : 1,
font : 1,
format : 1,
forms : 1,
horizontalrule : 1,
htmlSource : 1,
htmlwriter : 1,
iframe : 1,
iframedialog : 1,
image : 1,
image2 : 1,
indent : 1,
indentblock : 1,
indentlist : 1,
justify : 1,
language : 1,
lineutils : 1,
link : 1,
list : 1,
listblock : 1,
liststyle : 1,
magicline : 1,
mathjax : 1,
maximize : 1,
menu : 1,
menubutton : 1,
newpage : 1,
pagebreak : 1,
panel : 1,
panelbutton : 1,
pastefromword : 1,
pastetext : 1,
placeholder : 1,
popup : 1,
preview : 1,
print : 1,
removeformat : 1,
resize : 1,
richcombo : 1,
save : 1,
selectall : 1,
sharedspace : 1,
showblocks : 1,
showborders : 1,
smiley : 1,
sourcearea : 1,
sourcedialog : 1,
specialchar : 1,
stylescombo : 1,
stylesheetparser : 1,
tab : 1,
table : 1,
tableresize : 1,
tabletools : 1,
templates : 1,
toolbar : 1,
uicolor : 1,
undo : 1,
widget : 1,
wysiwygarea : 1,
xml : 1
}
};
one more change I made:
one more change I made:
in the files with the compile error I uncommented the first line:
#!/usr/bin/env node
this seems to be some unix stuff not supported on windows`?
Here's the instruction how to
Here's the instruction how to compile CKEditor: https://github.com/ckeditor/ckeditor-dev#building-a-release
However, it will work only on Linux and MacOS. On Windows you would need to install cygwin, rewrite the dev/builder/build.sh script or execute the builder JAR file with parameters which that script passes to it.
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
ok thanks,
ok thanks,
tried it with cygwin - runs without problems (made me wonder)
thanks and ciao
philipp
Help needed with CYGWIN
I downloaded the install progam for Cygwin. Now I need to choose the packages. I have no experience at all with this. Can someone give me step-by-step instructions on how to build ckeditor on a windows environment. And how and what we need to install for cygwin to run.