When is Ant 1.10.3 release expected?
Hi, After 1.10.2 release and the regression bug, do we see 1.10.3 getting released early? This information is required for adopting the new Ant version to Eclipse IDE. Thanks & Regards, Sarika Eclipse Developer and JDT Lead
Facing problem using xslt and Java 9
Hi, We are trying to use xslt with Java 9 using this - http://www.oracle.com/xml/jaxp/properties/enableExtensionFunctions; value="true"/> With Java 9, org.apache.xalan.processor.TransformerFactoryImpl is present in java.xml module but the package com.sun.org.apache.xalan.internal.xsltc.trax is not exported in the module. we tried using --add-exports java.xml/com.sun.org.apache.xalan.internal.xsltc.trax=ALL-UNNAMED but we get the error as - [xslt] Failed to load org.apache.xalan.processor.TransformerFactoryImpl via the configured classpath, will try Ant's classpath instead. [xslt] Failed to process null Any help in making this run will be great. Thanks & Regards, Sarika Sinha Eclipse JDT/Ant committer
Re: Ready for JDK 9 ?
Eclipse is having issues using Ant 1.10.1 with Java 9 Bug 520437 - [9] Running Releng script with JRE 9 fails We see that the Java 9 com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl class having method private void transform(Source source, SerializationHandler handler, String encoding) throws TransformerException has changed from Java 8 and Xalan 2.7.2 and gives error in the presence of Security Manager. Have created a bug with Ant Bugzilla. Bug 61389 - Loading Stylesheet - 'xalan://java.lang.String:replaceAll' is not allowed when the secure processing feature is set to true Thanks & Regards, Sarika Eclipse Debug and Ant Lead From: "Rory O'Donnell"To: Stefan Bodewig Cc: rory.odonn...@oracle.com, Dalibor Topic , Balchandra Vaidya , Muneer Kolarkunnu , Ant Developers List Date: 08/08/2017 03:19 PM Subject:Ready for JDK 9 ? Hi Stefan, Thank you very much for all your testing of JDK 9 during its development! Such contributions have significantly helped shape and improve JDK 9. Now that we have reached the JDK 9 Final Release Candidate phase [1] , I would like to ask if your project can be considered to be 'ready for JDK 9', or if there are any remaining show stopper issues which you've encountered when testing with the JDK 9 release candidate. JDK 9 b181 is available at http://jdk.java.net/9/ If you have a public web page, mailing list post, or even a tweet announcing you project's readiness for JDK 9, I'd love to add the URL to the upcoming JDK 9 readiness page on the Quality Outreach wiki. Looking forward to hearing from you, Rory [1] http://openjdk.java.net/projects/jdk9/ -- Rgds,Rory O'Donnell Quality Engineering Manager Oracle EMEA , Dublin, Ireland - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Re: Facing Issues with Ant 1.10.0
Eclipse Bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=499717 Thanks & Regards, Sarika From: Sarika Sinha/India/IBM@IBMIN To: "Ant Developers List" <dev@ant.apache.org> Date: 01/17/2017 12:10 PM Subject:Re: Facing Issues with Ant 1.10.0 Code is available at http://git.eclipse.org/c/platform/eclipse.platform.git/tree/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/RemoteAntBuildListener.java Yes it is reproducible . Thanks & Regards, Sarika Jaikiran Pai ---01/17/2017 11:58:12 AM---This looks more related to how Eclipse (Ant?) plugin is doing that remote message processing for th From: Jaikiran Pai <jai.forums2...@gmail.com> To: dev@ant.apache.org Date: 01/17/2017 11:58 AM Subject: Re: Facing Issues with Ant 1.10.0 This looks more related to how Eclipse (Ant?) plugin is doing that remote message processing for this feature of remote debugging the Ant build file. Without seeing the code related to that in the Eclipse plugin, it's hard to say what's wrong. Is it available some place and can you point us to how it deals with this communication? Either way, I am not yet sure this is specific to Ant. Is this reproducible if you try and debug a remote Java application from eclipse with those specific versions of Java? -Jaikiran On Tuesday 17 January 2017 11:51 AM, Sarika Sinha wrote: > > Unfortunately, I have this limited stack trace which causes missing > messages while debugging an ant build file. > So the scenario is : > 1. We place a breakpoint at a call3, which gets called from call2 > which is invoked from call1 > 2. So in some scenarios, (In Eclipse term when we are running it as > separate VM) the stack frames misses the call2. > It shows call1 and call3. So each stack frame is basically a received > message for the running ant process from VM. > > Thanks & Regards, > Sarika > > Inactive hide details for Jaikiran Pai ---01/17/2017 11:34:47 > AM---Looking at that stacktrace, I don't know how Ant is playing > Jaikiran Pai ---01/17/2017 11:34:47 AM---Looking at that stacktrace, I > don't know how Ant is playing a role in any of it. Can you explain in > > From: Jaikiran Pai <jai.forums2...@gmail.com> > To: dev@ant.apache.org > Date: 01/17/2017 11:34 AM > Subject: Re: Facing Issues with Ant 1.10.0 > > > > > > Looking at that stacktrace, I don't know how Ant is playing a role in > any of it. Can you explain in more detail what you mean by missing > breakpoints and how it relates to that stacktrace? What code are you > adding the breakpoints to? Also, that exception stacktrace doesn't look > like the complete stacktrace, can you post the complete stacktrace? > > -Jaikiran > On Tuesday 17 January 2017 10:44 AM, Sarika Sinha wrote: > > > > Thanks Stefan for the inputs, I could solve the other problems at > > Eclipse IDE code level, but I am still stuck with > > "missing stack frames while debugging Ant with breakpoints" > > > > 1.9.8 with Java 8 works fine but 1.10.0 is throwing error when we try > > to use ServerSocket and we get the exception > > _java.net.SocketException_: Connection reset > > at java.net.SocketInputStream.read(_SocketInputStream.java:209_) > > at java.net.SocketInputStream.read(_SocketInputStream.java:141_) > > at sun.nio.cs.StreamDecoder.readBytes(_StreamDecoder.java:284_) > > at sun.nio.cs.StreamDecoder.implRead(_StreamDecoder.java:326_) > > at sun.nio.cs.StreamDecoder.read(_StreamDecoder.java:178_) > > at java.io.InputStreamReader.read(_InputStreamReader.java:184_) > > at java.io.BufferedReader.fill(_BufferedReader.java:161_) > > at java.io.BufferedReader.readLine(_BufferedReader.java:324_) > > at java.io.BufferedReader.readLine(_BufferedReader.java:389_) > > > > We used to get similar error when we we were using Java version less > > than 1.7 for Ant 1.9.6 or so. > > Ant hints/suggestions will be of great help. > > > > Thanks & Regards, > > Sarika > > > > Inactive hide details for Stefan Bodewig ---01/09/2017 09:22:25 > > PM---On 2017-01-09, Sarika Sinha wrote: > I am trying to incorpStefan > > Bodewig ---01/09/2017 09:22:25 PM---On 2017-01-09, Sarika Sinha wrote: > > > I am trying to incorporate Ant 1.9.8 / 1.10.0 with Eclipse IDE. > > > > From: Stefan Bodewig <bode...@apache.org> > > To: dev@ant.apache.org > > Date: 01/09/2017 09:22 PM > > Subject: Re: Facing Issues with Ant 1.10.0 > > > > > > > > > > > > On 2017-01-09, Sarika Sinha wrote: > >
Re: Facing Issues with Ant 1.10.0
Code is available at http://git.eclipse.org/c/platform/eclipse.platform.git/tree/ant/org.eclipse.ant.launching/src/org/eclipse/ant/internal/launching/launchConfigurations/RemoteAntBuildListener.java Yes it is reproducible . Thanks & Regards, Sarika From: Jaikiran Pai <jai.forums2...@gmail.com> To: dev@ant.apache.org Date: 01/17/2017 11:58 AM Subject:Re: Facing Issues with Ant 1.10.0 This looks more related to how Eclipse (Ant?) plugin is doing that remote message processing for this feature of remote debugging the Ant build file. Without seeing the code related to that in the Eclipse plugin, it's hard to say what's wrong. Is it available some place and can you point us to how it deals with this communication? Either way, I am not yet sure this is specific to Ant. Is this reproducible if you try and debug a remote Java application from eclipse with those specific versions of Java? -Jaikiran On Tuesday 17 January 2017 11:51 AM, Sarika Sinha wrote: > > Unfortunately, I have this limited stack trace which causes missing > messages while debugging an ant build file. > So the scenario is : > 1. We place a breakpoint at a call3, which gets called from call2 > which is invoked from call1 > 2. So in some scenarios, (In Eclipse term when we are running it as > separate VM) the stack frames misses the call2. > It shows call1 and call3. So each stack frame is basically a received > message for the running ant process from VM. > > Thanks & Regards, > Sarika > > Inactive hide details for Jaikiran Pai ---01/17/2017 11:34:47 > AM---Looking at that stacktrace, I don't know how Ant is playing > Jaikiran Pai ---01/17/2017 11:34:47 AM---Looking at that stacktrace, I > don't know how Ant is playing a role in any of it. Can you explain in > > From: Jaikiran Pai <jai.forums2...@gmail.com> > To: dev@ant.apache.org > Date: 01/17/2017 11:34 AM > Subject: Re: Facing Issues with Ant 1.10.0 > > > > > > Looking at that stacktrace, I don't know how Ant is playing a role in > any of it. Can you explain in more detail what you mean by missing > breakpoints and how it relates to that stacktrace? What code are you > adding the breakpoints to? Also, that exception stacktrace doesn't look > like the complete stacktrace, can you post the complete stacktrace? > > -Jaikiran > On Tuesday 17 January 2017 10:44 AM, Sarika Sinha wrote: > > > > Thanks Stefan for the inputs, I could solve the other problems at > > Eclipse IDE code level, but I am still stuck with > > "missing stack frames while debugging Ant with breakpoints" > > > > 1.9.8 with Java 8 works fine but 1.10.0 is throwing error when we try > > to use ServerSocket and we get the exception > > _java.net.SocketException_: Connection reset > > at java.net.SocketInputStream.read(_SocketInputStream.java:209_) > > at java.net.SocketInputStream.read(_SocketInputStream.java:141_) > > at sun.nio.cs.StreamDecoder.readBytes(_StreamDecoder.java:284_) > > at sun.nio.cs.StreamDecoder.implRead(_StreamDecoder.java:326_) > > at sun.nio.cs.StreamDecoder.read(_StreamDecoder.java:178_) > > at java.io.InputStreamReader.read(_InputStreamReader.java:184_) > > at java.io.BufferedReader.fill(_BufferedReader.java:161_) > > at java.io.BufferedReader.readLine(_BufferedReader.java:324_) > > at java.io.BufferedReader.readLine(_BufferedReader.java:389_) > > > > We used to get similar error when we we were using Java version less > > than 1.7 for Ant 1.9.6 or so. > > Ant hints/suggestions will be of great help. > > > > Thanks & Regards, > > Sarika > > > > Inactive hide details for Stefan Bodewig ---01/09/2017 09:22:25 > > PM---On 2017-01-09, Sarika Sinha wrote: > I am trying to incorpStefan > > Bodewig ---01/09/2017 09:22:25 PM---On 2017-01-09, Sarika Sinha wrote: > > > I am trying to incorporate Ant 1.9.8 / 1.10.0 with Eclipse IDE. > > > > From: Stefan Bodewig <bode...@apache.org> > > To: dev@ant.apache.org > > Date: 01/09/2017 09:22 PM > > Subject: Re: Facing Issues with Ant 1.10.0 > > > > > > > > > > > > On 2017-01-09, Sarika Sinha wrote: > > > > > I am trying to incorporate Ant 1.9.8 / 1.10.0 with Eclipse IDE. > > > > > Has anyone faced a similar issue ? Or we already have some > discussion on > > > the similar line ? > > > I could not find any related bug on the Ant bugzilla. > > > > You are the first person reporting such issues. I'm not an Eclipse user > > (or any IDE user) at all, so
Re: Facing Issues with Ant 1.10.0
Unfortunately, I have this limited stack trace which causes missing messages while debugging an ant build file. So the scenario is : 1. We place a breakpoint at a call3, which gets called from call2 which is invoked from call1 2. So in some scenarios, (In Eclipse term when we are running it as separate VM) the stack frames misses the call2. It shows call1 and call3. So each stack frame is basically a received message for the running ant process from VM. Thanks & Regards, Sarika From: Jaikiran Pai <jai.forums2...@gmail.com> To: dev@ant.apache.org Date: 01/17/2017 11:34 AM Subject:Re: Facing Issues with Ant 1.10.0 Looking at that stacktrace, I don't know how Ant is playing a role in any of it. Can you explain in more detail what you mean by missing breakpoints and how it relates to that stacktrace? What code are you adding the breakpoints to? Also, that exception stacktrace doesn't look like the complete stacktrace, can you post the complete stacktrace? -Jaikiran On Tuesday 17 January 2017 10:44 AM, Sarika Sinha wrote: > > Thanks Stefan for the inputs, I could solve the other problems at > Eclipse IDE code level, but I am still stuck with > "missing stack frames while debugging Ant with breakpoints" > > 1.9.8 with Java 8 works fine but 1.10.0 is throwing error when we try > to use ServerSocket and we get the exception > _java.net.SocketException_: Connection reset > at java.net.SocketInputStream.read(_SocketInputStream.java:209_) > at java.net.SocketInputStream.read(_SocketInputStream.java:141_) > at sun.nio.cs.StreamDecoder.readBytes(_StreamDecoder.java:284_) > at sun.nio.cs.StreamDecoder.implRead(_StreamDecoder.java:326_) > at sun.nio.cs.StreamDecoder.read(_StreamDecoder.java:178_) > at java.io.InputStreamReader.read(_InputStreamReader.java:184_) > at java.io.BufferedReader.fill(_BufferedReader.java:161_) > at java.io.BufferedReader.readLine(_BufferedReader.java:324_) > at java.io.BufferedReader.readLine(_BufferedReader.java:389_) > > We used to get similar error when we we were using Java version less > than 1.7 for Ant 1.9.6 or so. > Ant hints/suggestions will be of great help. > > Thanks & Regards, > Sarika > > Inactive hide details for Stefan Bodewig ---01/09/2017 09:22:25 > PM---On 2017-01-09, Sarika Sinha wrote: > I am trying to incorpStefan > Bodewig ---01/09/2017 09:22:25 PM---On 2017-01-09, Sarika Sinha wrote: > > I am trying to incorporate Ant 1.9.8 / 1.10.0 with Eclipse IDE. > > From: Stefan Bodewig <bode...@apache.org> > To: dev@ant.apache.org > Date: 01/09/2017 09:22 PM > Subject: Re: Facing Issues with Ant 1.10.0 > > > > > > On 2017-01-09, Sarika Sinha wrote: > > > I am trying to incorporate Ant 1.9.8 / 1.10.0 with Eclipse IDE. > > > Has anyone faced a similar issue ? Or we already have some discussion on > > the similar line ? > > I could not find any related bug on the Ant bugzilla. > > You are the first person reporting such issues. I'm not an Eclipse user > (or any IDE user) at all, so I won't be able to help much. > > > Where as 1.9.8 works fine with existing Ant framework in eclipse, having > > many issues with Ant 1.10.0 like below and some more > > - missing stack frames while debugging Ant with breakpoints > > - Getting error while using Ant 1.1.0 and Java 1.8 - Specifying an > > InputHandler is an Ant 1.5.* feature. Please update your Ant > classpath to > > include an Ant version greater than this. > > The later makes me suspect this is an Eclipse issue with the Eclipse > integration for Ant trying to parse Ant's version number by using the > first digit after the dot and assuming with 1 < 5 you must be using a > very old version of Ant. I don't think Ant can fix that. > > Stefan > > - > To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org > For additional commands, e-mail: dev-h...@ant.apache.org > > >
Re: Facing Issues with Ant 1.10.0
Thanks Stefan for the inputs, I could solve the other problems at Eclipse IDE code level, but I am still stuck with "missing stack frames while debugging Ant with breakpoints" 1.9.8 with Java 8 works fine but 1.10.0 is throwing error when we try to use ServerSocket and we get the exception java.net.SocketException: Connection reset at java.net.SocketInputStream.read(SocketInputStream.java:209) at java.net.SocketInputStream.read(SocketInputStream.java:141) at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:284) at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:326) at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:178) at java.io.InputStreamReader.read(InputStreamReader.java:184) at java.io.BufferedReader.fill(BufferedReader.java:161) at java.io.BufferedReader.readLine(BufferedReader.java:324) at java.io.BufferedReader.readLine(BufferedReader.java:389) We used to get similar error when we we were using Java version less than 1.7 for Ant 1.9.6 or so. Ant hints/suggestions will be of great help. Thanks & Regards, Sarika From: Stefan Bodewig <bode...@apache.org> To: dev@ant.apache.org Date: 01/09/2017 09:22 PM Subject:Re: Facing Issues with Ant 1.10.0 On 2017-01-09, Sarika Sinha wrote: > I am trying to incorporate Ant 1.9.8 / 1.10.0 with Eclipse IDE. > Has anyone faced a similar issue ? Or we already have some discussion on > the similar line ? > I could not find any related bug on the Ant bugzilla. You are the first person reporting such issues. I'm not an Eclipse user (or any IDE user) at all, so I won't be able to help much. > Where as 1.9.8 works fine with existing Ant framework in eclipse, having > many issues with Ant 1.10.0 like below and some more > - missing stack frames while debugging Ant with breakpoints > - Getting error while using Ant 1.1.0 and Java 1.8 - Specifying an > InputHandler is an Ant 1.5.* feature. Please update your Ant classpath to > include an Ant version greater than this. The later makes me suspect this is an Eclipse issue with the Eclipse integration for Ant trying to parse Ant's version number by using the first digit after the dot and assuming with 1 < 5 you must be using a very old version of Ant. I don't think Ant can fix that. Stefan - To unsubscribe, e-mail: dev-unsubscr...@ant.apache.org For additional commands, e-mail: dev-h...@ant.apache.org
Facing Issues with Ant 1.10.0
I am trying to incorporate Ant 1.9.8 / 1.10.0 with Eclipse IDE. Where as 1.9.8 works fine with existing Ant framework in eclipse, having many issues with Ant 1.10.0 like below and some more - missing stack frames while debugging Ant with breakpoints - Getting error while using Ant 1.1.0 and Java 1.8 - Specifying an InputHandler is an Ant 1.5.* feature. Please update your Ant classpath to include an Ant version greater than this. Has anyone faced a similar issue ? Or we already have some discussion on the similar line ? I could not find any related bug on the Ant bugzilla. Thanks, Sarika Eclipse Ant & Debug Project Lead and Committer