javadoc custom doclet regression bug in 1.9.3? (was: [ANN] Apache Ant 1.9.3 Released)

2014-01-02 Thread Earl Hood
On Sat, Dec 28, 2013 at 11:47 PM, Antoine Levy Lambert wrote: > The Apache Ant Team is proud to announce the 1.9.3 release of Ant. [snip] I think I may have encountered a regression bug. When trying to use a custom doclet (DocFlex/Doclet v1.6.1), I get an NPE at the very end of the generation.

Re: javadoc custom doclet regression bug in 1.9.3?

2014-01-03 Thread Earl Hood
On Fri, Jan 3, 2014 at 12:37 AM, Stefan Bodewig wrote: > ... > So in your case destdir is null, something I didn't account for, sorry. > > I'll open a bugzilla issue so it is pro

Re: [ant] branch master updated: add java.security.manager=allow while launching against Java 19

2022-02-07 Thread Earl Hood
How exactly does setting the sysprop for only 18 and 19 allow folks to test their stuff? If Ant currently depends on the security manager to operate, why not set the sysprop regardless, then remove in future when a replacement API exists? Since I work on a project that embeds Ant and uses it API,

Message output level not public for Project class

2022-09-07 Thread Earl Hood
Ant Devs, Working on a custom task that will exec an external program. One thing I would like to do is if ant is invoked with debugging output level, set the debugging flag to the external program. Unfortunately, it seems to get the current logging level is not easy, as the level set when Ant is

Re: Message output level not public for Project class

2022-10-11 Thread Earl Hood
This is very helpful. Did not even consider using reflection. I adapted your method into a static utility method that given a Project instance, will return the logging level for it. Thanks, --ewh On Mon, Oct 10, 2022, 11:56 PM Gilles Querret < g.quer...@riverside-software.fr> wrote: > > So far

Re: [ant] branch master updated: add java.security.manager=allow while launching against Java 19

2022-11-17 Thread Earl Hood
Figured give an update wrt our project: The method used by Netbeans project as cited by Jan appears to work. I have not done full testing wrt to Ant as it appears the use of the SecurityManager in Ant is limited in scope to invoking another Java class in the same JVM, which we do not seem to do (n

Re: [ANNOUNCE] Apache Ant 1.10.14 released

2023-09-28 Thread Earl Hood
Ant Developers, Was it intended to keep code in ant.bat that does an initial execution of java.exe to check specification level regarding the setting of java.security.manager? I see the bourne shell script has no equivalent code. --ewh On Mon, Aug 21, 2023, 12:51 AM Jaikiran Pai wrote: > The

Re: Depedency to tools.jar

2014-06-13 Thread Earl Hood
On Wed, Jun 11, 2014 at 9:47 PM, Antoine Levy Lambert wrote: > your wish makes sense. You are right, only the specific ant tasks such > as javac/javadoc/javah which use java command line tools should worry > about tools.jar being around. > > Before you open a bug report, let’s see whether other An

ZipOutputStream exception in Ant 1.9.5 and 1.9.6

2015-07-20 Thread Earl Hood
It appears the zip problems have not been fully fixed in Ant. I have a program that uses Ant's ZipOutputStream class, and it has had no problems with versions of Ant 1.9.4 and earlier. However, with Ant 1.9.5 and 1.9.6, I get the following exception: java.lang.ArrayIndexOutOfBoundsException

Re: ZipOutputStream exception in Ant 1.9.5 and 1.9.6

2015-07-20 Thread Earl Hood
On Mon, Jul 20, 2015 at 3:56 PM, I wrote: > I have a program that uses Ant's ZipOutputStream class, and it has had > no problems with versions of Ant 1.9.4 and earlier. However, with Ant > 1.9.5 and 1.9.6, I get the following exception: > > java.lang.ArrayIndexOutOfBoundsException > at java

Re: Drop Support for Java5, Move on to Ant 1.10.0?

2016-03-06 Thread Earl Hood
On Mar 6, 2016 4:12 AM, "Stefan Bodewig" wrote: > > I'm not sure whether moving to Java6 is worth the effort since it has > been EOLed as well, even Java7 is no longer officially supported by > Oracle, but personally I wouldn't want to require Java8 right now. Java 1.6 extended support lasts til D

Re: Ant Contrib

2017-06-04 Thread Earl Hood
On Sun, Jun 4, 2017 at 4:47 AM, Gintautas Grigelionis wrote: > I noticed that Ivy has Ant Contrib as a dependency. It's a project > that has been asleep for a decade, and it shows. So I decided to > revive it, and the result is here: > https://github.com/twogee/ant-contrib When you say "revive",