[BSF] Couldn't build bsf project from source
Hi all, I'm trying to build the bsf project from source (version 3.0.0) .I downloaded the source distribution and tried to build it.. but anyway i'm failing with the following issue [1], since 'jsr' site is unavailable.. Would be great if someone look into this issue ASAP.. i'm trying to debug my project, for that i need the bsf source.. Best Regards, -Ratha. [1] rs\TOSHIBA\.m2\repository\org\apache\bsf\bsf-api\3.0\bsf-api-3.0.jar [INFO] [INFO] Building Apache BSF project to install 3rd party script engines [INFO]task-segment: [clean, install] [INFO] [INFO] [clean:clean {execution: default-clean}] [INFO] [antrun:run {execution: install-engines}] [INFO] Executing tasks check-merged: check-downloaded: download-engines: [mkdir] Created dir: C:\Projects\Apache trunk projects\bsf-3.0\bsf-engines\target\engines-downlo ad [get] Getting: https://scripting.dev.java.net/files/documents/4957/37593/jsr223-engines.zip [get] To: C:\Projects\Apache trunk projects\bsf-3.0\bsf-engines\target\engines-download\engine s.zip [get] Error getting https://scripting.dev.java.net/files/documents/4957/37593/jsr223-engines.z ip to C:\Projects\Apache trunk projects\bsf-3.0\bsf-engines\target\engines-download\engines.zip [INFO] [ERROR] BUILD ERROR [INFO] [INFO] An Ant BuildException has occured: The following error occurred while executing this line: C:\Projects\Apache trunk projects\bsf-3.0\bsf-engines\build.xml:130: javax.net.ssl.SSLHandshakeExcep tion: java.security.cert.CertificateException: No subject alternative DNS name matching scripting.de v.java.net found. [INFO] [INFO] For more information, run Maven with the -e switch [INFO] [INFO] Total time: 4 seconds [INFO] Finished at: Wed Apr 27 14:30:51 IST 2011 [INFO] Final Memory: 20M/247M
Re: [BSF] Couldn't build bsf project from source
On 27 April 2011 11:22, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: Hi all, I'm trying to build the bsf project from source (version 3.0.0) .I downloaded the source distribution and tried to build it.. but anyway i'm failing with the following issue [1], since 'jsr' site is unavailable.. Not a lot we can do to fix that; it's not an ASF resource. Would be great if someone look into this issue ASAP.. i'm trying to debug my project, for that i need the bsf source.. Which is available from the download location as usual. The engines are only needed to test some parts of BSF; just comment out the following lines in the top level pom: modulebsf-engines/module and moduletesting/module Note that BSF 3.0 is generally only needed for projects running on Java 1.4 and Java 1.5 as Java 1.6+ contains the JSR-223 API. There are a few utility methods in the bsf-utils jar that may be useful with Java 1.6. - To unsubscribe, e-mail: dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: dev-h...@jakarta.apache.org
Re: [BSF] Couldn't build bsf project from source
From: sebb seb...@gmail.com To: dev@jakarta.apache.org Sent: Wed, 27 April, 2011 16:21:18 Subject: Re: [BSF] Couldn't build bsf project from source On 27 April 2011 11:22, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: Hi all, I'm trying to build the bsf project from source (version 3.0.0) .I downloaded the source distribution and tried to build it.. but anyway i'm failing with the following issue [1], since 'jsr' site is unavailable.. Not a lot we can do to fix that; it's not an ASF resource. Would be great if someone look into this issue ASAP.. i'm trying to debug my project, for that i need the bsf source.. Which is available from the download location as usual. The engines are only needed to test some parts of BSF; just comment out the following lines in the top level pom: modulebsf-engines/module and moduletesting/module Hi, Thanks for the response , i tried to avoid testing/bsf-engines modules..but distribution needs bsf-engines jar..so couldn't build the project...:( Thanks -Ratha. Note that BSF 3.0 is generally only needed for projects running on Java 1.4 and Java 1.5 as Java 1.6+ contains the JSR-223 API. There are a few utility methods in the bsf-utils jar that may be useful with Java 1.6. - To unsubscribe, e-mail: dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: dev-h...@jakarta.apache.org
Re: [BSF] Couldn't build bsf project from source
On 27 April 2011 12:00, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: From: sebb seb...@gmail.com To: dev@jakarta.apache.org Sent: Wed, 27 April, 2011 16:21:18 Subject: Re: [BSF] Couldn't build bsf project from source On 27 April 2011 11:22, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: Hi all, I'm trying to build the bsf project from source (version 3.0.0) .I downloaded the source distribution and tried to build it.. but anyway i'm failing with the following issue [1], since 'jsr' site is unavailable.. Not a lot we can do to fix that; it's not an ASF resource. Would be great if someone look into this issue ASAP.. i'm trying to debug my project, for that i need the bsf source.. Which is available from the download location as usual. The engines are only needed to test some parts of BSF; just comment out the following lines in the top level pom: modulebsf-engines/module and moduletesting/module Hi, Thanks for the response , i tried to avoid testing/bsf-engines modules..but distribution needs bsf-engines jar..so couldn't build the project...:( bsf-engines.jar is NOT needed for the distribution. However, bsf-utils has a dependency on bsf-engines which needs to be commented out as well. Not sure why it is a compile-time depend (that may be incorrect) You will then need to run Maven with -DskipTests otherwise the bsf-utils module will fail. - To unsubscribe, e-mail: dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: dev-h...@jakarta.apache.org
Re: [BSF] Couldn't build bsf project from source
Hi, After commenting commented out testing/bsf-engines and commented out bsf-engines @ the build.xml of distribution module i was able to build project successfully... Anyway i couldnt start my application because im getting class not found exception[1] Partial build is not working for my case to debug... Without a full success build i can not debug...:( Regards, -Ratha. [1] java.lang.NoClassDefFoundError: com/sun/phobos/script/javascript/RhinoScriptEngineFactory at org.apache.synapse.mediators.bsf.ScriptMediator.initScriptEngine(ScriptMediator.java:402) at org.apache.synapse.mediators.bsf.ScriptMediator.initInlineScript(ScriptMediator.java:268) From: sebb seb...@gmail.com To: dev@jakarta.apache.org Sent: Wed, 27 April, 2011 16:51:48 Subject: Re: [BSF] Couldn't build bsf project from source On 27 April 2011 12:00, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: From: sebb seb...@gmail.com To: dev@jakarta.apache.org Sent: Wed, 27 April, 2011 16:21:18 Subject: Re: [BSF] Couldn't build bsf project from source On 27 April 2011 11:22, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: Hi all, I'm trying to build the bsf project from source (version 3.0.0) .I downloaded the source distribution and tried to build it.. but anyway i'm failing with the following issue [1], since 'jsr' site is unavailable.. Not a lot we can do to fix that; it's not an ASF resource. Would be great if someone look into this issue ASAP.. i'm trying to debug my project, for that i need the bsf source.. Which is available from the download location as usual. The engines are only needed to test some parts of BSF; just comment out the following lines in the top level pom: modulebsf-engines/module and moduletesting/module Hi, Thanks for the response , i tried to avoid testing/bsf-engines modules..but distribution needs bsf-engines jar..so couldn't build the project...:( bsf-engines.jar is NOT needed for the distribution. However, bsf-utils has a dependency on bsf-engines which needs to be commented out as well. Not sure why it is a compile-time depend (that may be incorrect) You will then need to run Maven with -DskipTests otherwise the bsf-utils module will fail. - To unsubscribe, e-mail: dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: dev-h...@jakarta.apache.org
Re: [BSF] Couldn't build bsf project from source
From: sebb seb...@gmail.com To: dev@jakarta.apache.org Sent: Wed, 27 April, 2011 17:19:20 Subject: Re: [BSF] Couldn't build bsf project from source On 27 April 2011 12:43, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: Hi, After commenting commented out testing/bsf-engines and commented out bsf-engines @ the build.xml of distribution module i was able to build project successfully... Anyway i couldnt start my application because im getting class not found exception[1] This error is nothing to do with BSF; you need to download the appropriate scripting engine. BSF 3.1 does not include any scripting engines. Partial build is not working for my case to debug... Without a full success build i can not debug...:( What Java version are you using? JDK1.6.0_20 I tried to find a location to down that particular jsr223-engines.zip in google and all point to this location https://scripting.dev.java.net;.. BTW if there is no any other solution from ASF side..I try to debug with BSF 3.1 and see.. Thanks a lot for your help... Regards, -Ratha. Regards, -Ratha. [1] java.lang.NoClassDefFoundError: com/sun/phobos/script/javascript/RhinoScriptEngineFactory at org.apache.synapse.mediators.bsf.ScriptMediator.initScriptEngine(ScriptMediator.java:402) ) at org.apache.synapse.mediators.bsf.ScriptMediator.initInlineScript(ScriptMediator.java:268) ) From: sebb seb...@gmail.com To: dev@jakarta.apache.org Sent: Wed, 27 April, 2011 16:51:48 Subject: Re: [BSF] Couldn't build bsf project from source On 27 April 2011 12:00, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: From: sebb seb...@gmail.com To: dev@jakarta.apache.org Sent: Wed, 27 April, 2011 16:21:18 Subject: Re: [BSF] Couldn't build bsf project from source On 27 April 2011 11:22, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: Hi all, I'm trying to build the bsf project from source (version 3.0.0) .I downloaded the source distribution and tried to build it.. but anyway i'm failing with the following issue [1], since 'jsr' site is unavailable.. Not a lot we can do to fix that; it's not an ASF resource. Would be great if someone look into this issue ASAP.. i'm trying to debug my project, for that i need the bsf source.. Which is available from the download location as usual. The engines are only needed to test some parts of BSF; just comment out the following lines in the top level pom: modulebsf-engines/module and moduletesting/module Hi, Thanks for the response , i tried to avoid testing/bsf-engines modules..but distribution needs bsf-engines jar..so couldn't build the project...:( bsf-engines.jar is NOT needed for the distribution. However, bsf-utils has a dependency on bsf-engines which needs to be commented out as well. Not sure why it is a compile-time depend (that may be incorrect) You will then need to run Maven with -DskipTests otherwise the bsf-utils module will fail. - To unsubscribe, e-mail: dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: dev-h...@jakarta.apache.org - To unsubscribe, e-mail: dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: dev-h...@jakarta.apache.org
Re: [BSF] Couldn't build bsf project from source
On 27 April 2011 12:57, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: From: sebb seb...@gmail.com To: dev@jakarta.apache.org Sent: Wed, 27 April, 2011 17:19:20 Subject: Re: [BSF] Couldn't build bsf project from source On 27 April 2011 12:43, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: Hi, After commenting commented out testing/bsf-engines and commented out bsf-engines @ the build.xml of distribution module i was able to build project successfully... Anyway i couldnt start my application because im getting class not found exception[1] This error is nothing to do with BSF; you need to download the appropriate scripting engine. BSF 3.1 does not include any scripting engines. Partial build is not working for my case to debug... Without a full success build i can not debug...:( What Java version are you using? JDK1.6.0_20 In which case (as I already wrote) you don't need BSF 3.1. I tried to find a location to down that particular jsr223-engines.zip in google and all point to this location https://scripting.dev.java.net;.. BTW if there is no any other solution from ASF side..I try to debug with BSF 3.1 and see.. I repeat: you don't need BSF 3.1 with Java 1.6+. In fact adding bsf-api-3.1 to the classpath may cause problems. You do need to ensure that you have the appropriate scripting engine on the classpath. Thanks a lot for your help... Regards, -Ratha. Regards, -Ratha. [1] java.lang.NoClassDefFoundError: com/sun/phobos/script/javascript/RhinoScriptEngineFactory at org.apache.synapse.mediators.bsf.ScriptMediator.initScriptEngine(ScriptMediator.java:402) ) at org.apache.synapse.mediators.bsf.ScriptMediator.initInlineScript(ScriptMediator.java:268) ) From: sebb seb...@gmail.com To: dev@jakarta.apache.org Sent: Wed, 27 April, 2011 16:51:48 Subject: Re: [BSF] Couldn't build bsf project from source On 27 April 2011 12:00, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: From: sebb seb...@gmail.com To: dev@jakarta.apache.org Sent: Wed, 27 April, 2011 16:21:18 Subject: Re: [BSF] Couldn't build bsf project from source On 27 April 2011 11:22, vijayaratha vijayasingam vijayara...@yahoo.co.uk wrote: Hi all, I'm trying to build the bsf project from source (version 3.0.0) .I downloaded the source distribution and tried to build it.. but anyway i'm failing with the following issue [1], since 'jsr' site is unavailable.. Not a lot we can do to fix that; it's not an ASF resource. Would be great if someone look into this issue ASAP.. i'm trying to debug my project, for that i need the bsf source.. Which is available from the download location as usual. The engines are only needed to test some parts of BSF; just comment out the following lines in the top level pom: modulebsf-engines/module and moduletesting/module Hi, Thanks for the response , i tried to avoid testing/bsf-engines modules..but distribution needs bsf-engines jar..so couldn't build the project...:( bsf-engines.jar is NOT needed for the distribution. However, bsf-utils has a dependency on bsf-engines which needs to be commented out as well. Not sure why it is a compile-time depend (that may be incorrect) You will then need to run Maven with -DskipTests otherwise the bsf-utils module will fail. - To unsubscribe, e-mail: dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: dev-h...@jakarta.apache.org - To unsubscribe, e-mail: dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: dev-h...@jakarta.apache.org - To unsubscribe, e-mail: dev-unsubscr...@jakarta.apache.org For additional commands, e-mail: dev-h...@jakarta.apache.org