#3546 closed Bug (fixed)
CKReleaser is broken under Windows
Reported by: | Martin Kou | Owned by: | Wiktor Walc |
---|---|---|---|
Priority: | Must have (possibly next milestone) | Milestone: | CKEditor 3.0 |
Component: | Project : CKPackager | Version: | SVN (CKEditor) - OLD |
Keywords: | Oracle Confirmed Review+ | Cc: | Senthil |
Description
When release.bat is run under Windows, the following error message is seen:
Copying files... Copying files to special destination... Renaming files... Processing directives in files used by CKPackager... ...... JavaException: java.io.IOException: Cannot run program "svn": CreateProcess erro r=2, The system cannot find the file specified
Attachments (3)
Change History (13)
comment:1 Changed 16 years ago by
Cc: | Senthil added |
---|
comment:2 Changed 16 years ago by
Keywords: | Oracle added |
---|---|
Priority: | Normal → High |
I checked with my network admin guys for the Cygwin install.. they said it should not be installed on my machines.. so i have no option other than windows for the releaser. So i am changing this from normal to High to get the fix as early as possible. Below i have copied the error message.
Creating skins...
Created skin office2003. Created skin v2. Checking compressed code... Checking compressed code...
Creating documentation...
Number of created files: 197 Total size.............: 9247188 bytes
Creating samples... JavaException: java.net.ConnectException: Connection timed out: connect
Changed 16 years ago by
Attachment: | 3546.patch added |
---|
comment:3 Changed 16 years ago by
The attached file, ckreleaser.jar is already patched. Please copy it to ckeditor/_dev/releaser/ckreleaser/ folder and try again.
JavaException: java.io.IOException: Cannot run program "svn": CreateProcess erro r=2, The system cannot find the file specified
The problem is that probably "svn" is not installed on your computer or the "svn" command is not in your system path. With this patch, CKReleaser will show a warning in such case and set the "%REV%"
keyword to "UNKNOWN"
.
Creating samples... JavaException: java.net.ConnectException: Connection timed out: connect
Could you provide more information regarding this issue? I'm not quite sure what's causing this problem.
Take a look into release.bat file, please run a similar command instead of calling release.bat:
java -jar ckreleaser/ckreleaser.jar ckreleaser.release ../.. release "CKEditor 3.0 SVN" ckeditor_3.0_svn --verbose
CKReleaser should provide more information about what's happening.
comment:4 Changed 16 years ago by
I ran the above command given by wwalc and got the following results:
org.mozilla.javascript.WrappedException: Wrapped java.net.ConnectException: C ection timed out: connect (D:\xampp\htdocs\ckreleaser\_source/includes/xml.js )
at org.mozilla.javascript.Context.throwAsScriptRuntimeEx(Context.java
73)
at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:183) at org.mozilla.javascript.NativeJavaMethod.call(NativeJavaMethod.java
7)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:
at ckreleaser.includes.xml._c4(D:\xampp\htdocs\ckreleaser\_source/inc
es/xml.js:47)
at ckreleaser.includes.xml.call(D:\xampp\htdocs\ckreleaser\_source/in
des/xml.js)
at org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:
at ckreleaser.includes.samplesprocessor._c6(D:\xampp\htdocs\ckrelease
source/includes/samplesprocessor.js:183)
at ckreleaser.includes.samplesprocessor.call(D:\xampp\htdocs\ckreleas
_source/includes/samplesprocessor.js)
at org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:
at ckreleaser.includes.releaser._c19(D:\xampp\htdocs\ckreleaser\_sour
includes/releaser.js:501)
at ckreleaser.includes.releaser.call(D:\xampp\htdocs\ckreleaser\_sour
includes/releaser.js)
at org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.j
:119)
at ckreleaser.ckreleaser._c3(D:\xampp\htdocs\ckreleaser\_source/ckrel
er.js:99)
at ckreleaser.ckreleaser.call(D:\xampp\htdocs\ckreleaser\_source/ckre
ser.js)
at org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:
at ckreleaser.ckreleaser._c0(D:\xampp\htdocs\ckreleaser\_source/ckrel
er.js:93)
at ckreleaser.ckreleaser.call(D:\xampp\htdocs\ckreleaser\_source/ckre
ser.js)
at org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.jav
98)
at org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:
3)
at ckreleaser.ckreleaser.call(D:\xampp\htdocs\ckreleaser\_source/ckre
ser.js)
at ckreleaser.ckreleaser.exec(D:\xampp\htdocs\ckreleaser\_source/ckre
ser.js)
at org.mozilla.javascript.optimizer.OptRuntime$1.run(OptRuntime.java:
)
at org.mozilla.javascript.Context.call(Context.java:515) at org.mozilla.javascript.ContextFactory.call(ContextFactory.java:507 at org.mozilla.javascript.optimizer.OptRuntime.main(OptRuntime.java:2
at ckreleaser.ckreleaser.main(D:\xampp\htdocs\ckreleaser\_source/ckre
ser.js) Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(Unknown Source) at java.net.PlainSocketImpl.connectToAddress(Unknown Source) at java.net.PlainSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unkno
Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown S
ce)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
urce)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurr
Entity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startEnti
Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.startDTDE
ty(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDTDScannerImpl.setInput
rce(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl$DTD
patcher.dispatch(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScanner
l.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.pars
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.pars
nknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
urce)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown
urce)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(
nown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.mozilla.javascript.MemberBox.invoke(MemberBox.java:161) ... 25 more
comment:5 Changed 16 years ago by
Thanks, I was able to reproduce this issue.
Such error occurs if you are behind a proxy or firewall and cannot connect to http://www.w3.org.
As a temporary solution please remove "_samples" section from ckeditor\_dev\releaser\ckreleaser.release
samples : { source : '_samples', target : '_samples', template : '_samples/sample.html', },
I'm working on it right now, fixed version of CKReleaser should be available tomorrow.
Changed 16 years ago by
Attachment: | ckreleaser.jar added |
---|
Changed 16 years ago by
Attachment: | 3546_2.patch added |
---|
comment:6 Changed 16 years ago by
Keywords: | Confirmed Review? added |
---|
Please redownload ckreleaser.jar, copy it to ckeditor/_dev/releaser/ckreleaser/ folder and try once again.
The error was caused by XML parser - it tried to connect to w3.org site go get XHTML DTD. I have added necessary files to jar file, so it should be now possible to use CKReleaser on a computer without internet connection.
Please test it and let me know whether it works for you.
comment:7 Changed 16 years ago by
The new jar has worked for me, but the output messages could be improved in the future, currently I was unsure if I had done something wrong:
- The "Creating documentation..." step takes quite a while. If isn't possible to output something during that process I would put a warning ("Please wait, it might take some minutes.")
- After that the "Checking compressed code..." is repeated over and over again. It should state which file is checking or simply adding a dot like other steps so it's nicer and don't lead to think that it has started an endless loop. Also it will allow to check previous messages instead of filling the screen buffer.
- I see that it also generates the zip and tgz files. Does it already take into account #2545 ?
All these comments are trivial and should not stop the review of the current patch. I can open other tickets if they are worth being fixed that way.
comment:8 Changed 16 years ago by
comment:9 Changed 16 years ago by
Keywords: | Review+ added; Review? removed |
---|
I'm not sure if this is critical for Oracle, but since this is confirmed with Senthil in today's conference I'm adding him to the CC field.