Yeah, I'm trying to make a few tweaks here and there to make the editor fit into my site. It would be nice if I could compile the contents of the _source directory into the same format as the scripts in the js directory.
I went to the trouble of finding out the list of files used in each of editor/js/*.js files.
So, why not try the below Makefile which I use in order to do that (just put it in editor/_source, get yourself make and cat programs and type "make"):
# If you're on Windows, you could instead put these "cat" commands in a make.bat file, and replace "cat" with "type"
well, something is missing right? fck_othercommands.js isnt in commands directory right? so it wont update...if your file system is the same as with the original fck? excuse me if i am wrong...there is another option. fred made packager which can be uploaded from upload site, but you need to have .Net Framework 1.1 installed. for now it doesnt work for me, but someone else might find it useful...take care, zrimo
pause ----end file---- i went through original .js and maintained the same suucession as in the original files...but it doesnt strip comments and empty spaces:) and is working for me, but isnt tested on gecko. be cool
RE: Which Utility is used to Package the Source?
RE: Which Utility is used to Package the Sour
So, why not try the below Makefile which I use in order to do that (just put it in editor/_source, get yourself make and cat programs and type "make"):
# If you're on Windows, you could instead put these "cat" commands in a make.bat file, and replace "cat" with "type"
# Makefile
all: fck_startup.js fckeditorcode_gecko_1.js fckeditorcode_ie_1.js fckeditorcode_gecko_2.js fckeditorcode_ie_2.js
fck_startup.js: internals/fckbrowserinfo.js internals/fckscriptloader.js internals/fckconfig.js internals/fck_onload.js internals/fckurlparams.js globals/fck_constants.js internals/fck.js globals/fckeditorapi.js
cat internals/fckbrowserinfo.js internals/fckscriptloader.js internals/fckconfig.js internals/fck_onload.js internals/fckurlparams.js globals/fck_constants.js internals/fck.js globals/fckeditorapi.js >fck_startup.js
fckeditorcode_gecko_1.js: internals/fckdebug.js internals/fcktools.js internals/fcktools_gecko.js internals/fcklanguagemanager.js classes/fckevents.js internals/fckxhtml.js internals/fck_1.js internals/fck_1_gecko.js
cat internals/fckdebug.js internals/fcktools.js internals/fcktools_gecko.js internals/fcklanguagemanager.js classes/fckevents.js internals/fckxhtml.js internals/fck_1.js internals/fck_1_gecko.js >fckeditorcode_gecko_1.js
fckeditorcode_gecko_2.js: internals/fck_2.js internals/fck_2_gecko.js internals/fckselection.js internals/fckselection_gecko.js classes/fcknamedcommand.js classes/fck_othercommands.js internals/fckcommands.js classes/fcktoolbarbutton.js classes/fcktoolbarcombo.js internals/fcktoolbaritems.js classes/fcktoolbar.js internals/fcktoolbarset.js internals/fckdialog.js internals/fckdialog_gecko.js classes/fckcontextmenuitem.js classes/fckcontextmenuseparator.js classes/fckcontextmenugroup.js internals/fckcontextmenu.js internals/fckcontextmenu_gecko.js internals/fck_last.js
cat internals/fck_2.js internals/fck_2_gecko.js internals/fckselection.js internals/fckselection_gecko.js classes/fcknamedcommand.js classes/fck_othercommands.js internals/fckcommands.js classes/fcktoolbarbutton.js classes/fcktoolbarcombo.js internals/fcktoolbaritems.js classes/fcktoolbar.js internals/fcktoolbarset.js internals/fckdialog.js internals/fckdialog_gecko.js classes/fckcontextmenuitem.js classes/fckcontextmenuseparator.js classes/fckcontextmenugroup.js internals/fckcontextmenu.js internals/fckcontextmenu_gecko.js internals/fck_last.js >fckeditorcode_gecko_2.js
fckeditorcode_ie_1.js: internals/fckdebug.js internals/fcktools.js internals/fcktools_ie.js internals/fcklanguagemanager.js classes/fckevents.js internals/fckxhtml.js internals/fck_1.js internals/fck_1_ie.js
cat internals/fckdebug.js internals/fcktools.js internals/fcktools_ie.js internals/fcklanguagemanager.js classes/fckevents.js internals/fckxhtml.js internals/fck_1.js internals/fck_1_ie.js >fckeditorcode_ie_1.js
fckeditorcode_ie_2.js: internals/fck_2.js internals/fck_2_ie.js internals/fckselection.js internals/fckselection_ie.js classes/fcknamedcommand.js classes/fck_othercommands.js internals/fckcommands.js classes/fcktoolbarbutton.js classes/fcktoolbarcombo.js internals/fcktoolbaritems.js classes/fcktoolbar.js internals/fcktoolbarset.js internals/fckdialog.js internals/fckdialog_ie.js classes/fckcontextmenuitem.js classes/fckcontextmenuseparator.js classes/fckcontextmenugroup.js internals/fckcontextmenu.js internals/fckcontextmenu_ie.js internals/fck_last.js
cat internals/fck_2.js internals/fck_2_ie.js internals/fckselection.js internals/fckselection_ie.js classes/fcknamedcommand.js classes/fck_othercommands.js internals/fckcommands.js classes/fcktoolbarbutton.js classes/fcktoolbarcombo.js internals/fcktoolbaritems.js classes/fcktoolbar.js internals/fcktoolbarset.js internals/fckdialog.js internals/fckdialog_ie.js classes/fckcontextmenuitem.js classes/fckcontextmenuseparator.js classes/fckcontextmenugroup.js internals/fckcontextmenu.js internals/fckcontextmenu_ie.js internals/fck_last.js >fckeditorcode_ie_2.js
RE: Which Utility is used to Package the Source?
type internals\fckbrowserinfo.js internals\fckscriptloader.js internals\fckconfig.js internals\fck_onload.js internals\fckurlparams.js globals\fck_constants.js internals\fck.js globals\fckeditorapi.js >fck_startup.js
type internals\fckdebug.js internals\fcktools.js internals\fcktools_gecko.js internals\fcklanguagemanager.js classes\fckevents.js internals\fckxhtml.js internals\fck_1.js internals\fck_1_gecko.js >fckeditorcode_gecko_1.js
type internals\fck_2.js internals\fck_2_gecko.js internals\fckselection.js internals\fckselection_gecko.js classes\fcknamedcommand.js classes\fck_othercommands.js internals\fckcommands.js classes\fcktoolbarbutton.js classes\fcktoolbarcombo.js internals\fcktoolbaritems.js classes\fcktoolbar.js internals\fcktoolbarset.js internals\fckdialog.js internals\fckdialog_gecko.js classes\fckcontextmenuitem.js classes\fckcontextmenuseparator.js classes\fckcontextmenugroup.js internals\fckcontextmenu.js internals\fckcontextmenu_gecko.js internals\fck_last.js >fckeditorcode_gecko_2.js
type internals\fckdebug.js internals\fcktools.js internals\fcktools_ie.js internals\fcklanguagemanager.js classes\fckevents.js internals\fckxhtml.js internals\fck_1.js internals\fck_1_ie.js >fckeditorcode_ie_1.js
type internals\fck_2.js internals\fck_2_ie.js internals\fckselection.js internals\fckselection_ie.js classes\fcknamedcommand.js classes\fck_othercommands.js internals\fckcommands.js classes\fcktoolbarbutton.js classes\fcktoolbarcombo.js internals\fcktoolbaritems.js classes\fcktoolbar.js internals\fcktoolbarset.js internals\fckdialog.js internals\fckdialog_ie.js classes\fckcontextmenuitem.js classes\fckcontextmenuseparator.js classes\fckcontextmenugroup.js internals\fckcontextmenu.js internals\fckcontextmenu_ie.js internals\fck_last.js >fckeditorcode_ie_2.js
RE: Which Utility is used to Package the Source?
excuse me if i am wrong...there is another option. fred made packager which can be uploaded from upload site, but you need to have .Net Framework 1.1 installed. for now it doesnt work for me, but someone else might find it useful...take care,
zrimo
RE: Which Utility is used to Package the Source?
----file begin----
@echo off
type internals\fckcoreextensions.js globals\fck_constants.js internals\fckbrowserinfo.js internals\fckscriptloader.js internals\fckurlparams.js internals\fck.js internals\fckconfig.js globals\fckeditorapi.js internals\fck_onload.js > ..\js\fck_startup.js
type internals\fckdebug.js internals\fcktools.js internals\fcktools_gecko.js internals\fcklanguagemanager.js classes\fckevents.js internals\fckxhtml.js internals\fck_1.js internals\fck_1_gecko.js > ..\js\fckeditorcode_gecko_1.js
type internals\fck_2.js internals\fck_2_gecko.js internals\fckselection.js internals\fckselection_gecko.js classes\fckpanel_gecko.js internals\fcktablehandler.js internals\fcktablehandler_gecko.js classes\fckxml.js classes\fckstyledef.js classes\fckstyledef_gecko.js classes\fckstylesloader.js commandclasses\fcknamedcommand.js commandclasses\fck_othercommands.js commandclasses\fcktextcolorcommand.js commandclasses\fckpasteplaintextcommand.js commandclasses\fckpastewordcommand.js commandclasses\fcktablecommand.js commandclasses\fckstylecommand.js internals\fckcommands.js classes\fcktoolbarbutton.js classes\fcktoolbarcombo.js classes\fckspecialcombo.js classes\fcktoolbarspecialcombo.js classes\fcktoolbarfontscombo.js classes\fcktoolbarfontsizecombo.js classes\fcktoolbarfontformatcombo.js classes\fcktoolbarstylecombo.js classes\fcktoolbarpanelbutton.js classes\fcktoolbarpanelbutton_gecko.js internals\fcktoolbaritems.js classes\fcktoolbar.js internals\fcktoolbarset.js internals\fckdialog.js internals\fckdialog_gecko.js classes\fckcontextmenuitem.js classes\fckcontextmenuseparator.js classes\fckcontextmenugroup.js internals\fckcontextmenu.js internals\fckcontextmenu_gecko.js classes\fckplugin.js internals\fckplugins.js internals\fck_last.js > ..\js\fckeditorcode_gecko_2.js
type internals\fckxhtmlentities.js internals\fckregexlib.js internals\fckdebug.js internals\fcktools.js internals\fcktools_ie.js internals\fcklanguagemanager.js classes\fckevents.js internals\fckxhtml.js internals\fck_1.js internals\fck_1_ie.js > ..\js\fckeditorcode_ie_1.js
type internals\fck_2.js internals\fck_2_ie.js internals\fckselection.js internals\fckselection_ie.js classes\fckpanel_ie.js internals\fcktablehandler.js internals\fcktablehandler_ie.js classes\fckxml.js classes\fckstyledef.js classes\fckstyledef_ie.js classes\fckstylesloader.js commandclasses\fcknamedcommand.js commandclasses\fck_othercommands.js commandclasses\fcktextcolorcommand.js commandclasses\fckpasteplaintextcommand.js commandclasses\fckpastewordcommand.js commandclasses\fcktablecommand.js commandclasses\fckstylecommand.js internals\fckcommands.js classes\fcktoolbarbutton.js classes\fcktoolbarcombo.js classes\fckspecialcombo.js classes\fcktoolbarspecialcombo.js classes\fcktoolbarfontscombo.js classes\fcktoolbarfontsizecombo.js classes\fcktoolbarfontformatcombo.js classes\fcktoolbarstylecombo.js classes\fcktoolbarpanelbutton.js classes\fcktoolbarpanelbutton_ie.js internals\fcktoolbaritems.js classes\fcktoolbar.js internals\fcktoolbarset.js internals\fckdialog.js internals\fckdialog_ie.js classes\fckcontextmenuitem.js classes\fckcontextmenuseparator.js classes\fckcontextmenugroup.js internals\fckcontextmenu.js internals\fckcontextmenu_ie.js classes\fckplugin.js internals\fckplugins.js internals\fck_last.js > ..\js\fckeditorcode_ie_2.js
pause
----end file----
i went through original .js and maintained the same suucession as in the original files...but it doesnt strip comments and empty spaces:) and is working for me, but isnt tested on gecko.
be cool