From bugzilla@redhat.com Thu Jun 18 13:59:37 2015 From: Red Hat Bugzilla To: java-sig-commits@lists.fedoraproject.org Subject: [java-sig-commits] [Bug 1180568] New: Javascript use within ant script fails Date: Fri, 09 Jan 2015 13:23:14 +0000 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============6922170083359436451==" --===============6922170083359436451== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable https://bugzilla.redhat.com/show_bug.cgi?id=3D1180568 Bug ID: 1180568 Summary: Javascript use within ant script fails Product: Fedora Version: 21 Component: ant Assignee: jcapik(a)redhat.com Reporter: mat.booth(a)redhat.com QA Contact: extras-qa(a)fedoraproject.org CC: akurtako(a)redhat.com, java-sig-commits(a)lists.fedoraproject.org, jcapik(a)redhat.com, krzysztof.daniel(a)gmail.com, mizdebsk(a)redhat.com, mmatejov(a)redhat.com, msrb(a)redhat.com Consider the following build.xml script: Current beans=3D${beans}. Executing "ant all" results in the following error: all: [script] Jan 09, 2015 1:10:25 PM org.apache.bsf.BSFManager loadScriptingEngine [script] SEVERE: Exception : [script] java.lang.NoClassDefFoundError: org/mozilla/javascript/EvaluatorException [script] at java.lang.Class.getDeclaredConstructors0(Native Method) [script] at java.lang.Class.privateGetDeclaredConstructors(Class.java:2663) [script] at java.lang.Class.getConstructor0(Class.java:3067) [script] at java.lang.Class.newInstance(Class.java:408) [script] at org.apache.bsf.BSFManager.loadScriptingEngine(BSFManager.java:697) [script] at org.apache.bsf.BSFManager.exec(BSFManager.java:485) [script] at org.apache.tools.ant.util.optional.ScriptRunner.executeScript(ScriptRunner.ja= va:100) [script] at org.apache.tools.ant.taskdefs.optional.Script.execute(Script.java:52) [script] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) [script] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [script] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [script] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.= java:43) [script] at java.lang.reflect.Method.invoke(Method.java:483) [script] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [script] at org.apache.tools.ant.Task.perform(Task.java:348) [script] at org.apache.tools.ant.Target.execute(Target.java:435) [script] at org.apache.tools.ant.Target.performTasks(Target.java:456) [script] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393) [script] at org.apache.tools.ant.Project.executeTarget(Project.java:1364) [script] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.ja= va:41) [script] at org.apache.tools.ant.Project.executeTargets(Project.java:1248) [script] at org.apache.tools.ant.Main.runBuild(Main.java:851) [script] at org.apache.tools.ant.Main.startAnt(Main.java:235) [script] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280) [script] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:10= 9) [script] Caused by: java.lang.ClassNotFoundException: org.mozilla.javascript.EvaluatorException [script] at java.net.URLClassLoader$1.run(URLClassLoader.java:372) [script] at java.net.URLClassLoader$1.run(URLClassLoader.java:361) [script] at java.security.AccessController.doPrivileged(Native Method) [script] at java.net.URLClassLoader.findClass(URLClassLoader.java:360) [script] at java.lang.ClassLoader.loadClass(ClassLoader.java:424) [script] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) [script] at java.lang.ClassLoader.loadClass(ClassLoader.java:357) [script] ... 25 more [script]=20 BUILD FAILED Adding "rhino" to the /etc/ant.d/apache-bsf config fixes this. --=20 You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3D3lY9Tc8Fj= P&a=3Dcc_unsubscribe --===============6922170083359436451==-- From bugzilla@redhat.com Thu Jun 18 13:59:38 2015 From: Red Hat Bugzilla To: java-sig-commits@lists.fedoraproject.org Subject: [java-sig-commits] [Bug 1180568] Javascript use within ant script fails Date: Tue, 13 Jan 2015 09:38:27 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5064381872291572337==" --===============5064381872291572337== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable https://bugzilla.redhat.com/show_bug.cgi?id=3D1180568 --- Comment #1 from Mat Booth --- Created attachment 979527 --> https://bugzilla.redhat.com/attachment.cgi?id=3D979527&action=3Dedit Patch to fix classpath for bsf plug-in --=20 You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3DhPaIkvuEv= o&a=3Dcc_unsubscribe --===============5064381872291572337==-- From bugzilla@redhat.com Thu Jun 18 13:59:38 2015 From: Red Hat Bugzilla To: java-sig-commits@lists.fedoraproject.org Subject: [java-sig-commits] [Bug 1180568] [patch] Javascript use within ant script fails Date: Tue, 13 Jan 2015 09:38:46 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5414601640199251522==" --===============5414601640199251522== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable https://bugzilla.redhat.com/show_bug.cgi?id=3D1180568 Mat Booth changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Javascript use within ant |[patch] Javascript use |script fails |within ant script fails --=20 You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3DchCoAKoDo= t&a=3Dcc_unsubscribe --===============5414601640199251522==-- From bugzilla@redhat.com Thu Jun 18 13:59:39 2015 From: Red Hat Bugzilla To: java-sig-commits@lists.fedoraproject.org Subject: [java-sig-commits] [Bug 1180568] [patch] Javascript use within ant script fails Date: Tue, 13 Jan 2015 09:41:17 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2658010684052165169==" --===============2658010684052165169== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable https://bugzilla.redhat.com/show_bug.cgi?id=3D1180568 Mikolaj Izdebski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED Fixed In Version| |1.9.4-5 Assignee|jcapik(a)redhat.com |mizdebsk(a)redhat.com --- Comment #2 from Mikolaj Izdebski --- Fixed in ant-1.9.4-5 --=20 You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3DE6o6BTDPY= q&a=3Dcc_unsubscribe --===============2658010684052165169==-- From bugzilla@redhat.com Thu Jun 18 13:59:39 2015 From: Red Hat Bugzilla To: java-sig-commits@lists.fedoraproject.org Subject: [java-sig-commits] [Bug 1180568] [patch] Javascript use within ant script fails Date: Tue, 13 Jan 2015 09:54:16 +0000 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8322190130735563171==" --===============8322190130735563171== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable https://bugzilla.redhat.com/show_bug.cgi?id=3D1180568 Mikolaj Izdebski changed: What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |CLOSED Resolution|--- |NEXTRELEASE Last Closed| |2015-01-13 04:54:16 --- Comment #3 from Mikolaj Izdebski --- I believe that this bug is fixed in ant-1.9.4-5, which is available in Fedora Rawhide, so I am closing this bug now. The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=3D603652 This bug was fixed in the next release of Fedora, and is not planned to be fixed in the release it was filed against. If you want this bug to be fixed in updates for Fedora 21, please say so in a comment. Otherwise you can update to the newer release of Fedora to get the fix. --=20 You are receiving this mail because: You are on the CC list for the bug. Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=3D2IJBBeNn9= r&a=3Dcc_unsubscribe --===============8322190130735563171==--