[ANNOUNCE] Apache Ant 1.10.15 released

2024-08-29 Thread Jaikiran Pai
The Apache Ant Team is pleased to announce the release of Apache Ant 1.10.15. Apache Ant is a Java library and command-line tool that helps building software. Ant 1.10.15 can be run on Java 8 and higher versions (even the latest released Java 22). Ant 1.10.15 is a regular bug fix release

[VOTE] Release Apache Ant 1.10.15 based on RC2

2024-08-25 Thread Jaikiran Pai
Hello everyone, I've created RC2 release candidate for Ant 1.10.15 release: git tag: ANT_1.10.15_RC2     on commit: 92fe5ca29625d30b98704806d6379fe9acb001e3 tarballs: https://dist.apache.org/repos/dist/dev/ant/     svn revision: 71094 Maven artifacts: https://repository.apache.org/co

[VOTE] Release Apache Ant 1.10.15 based on RC1

2024-08-18 Thread Jaikiran Pai
Hello everyone, I've created RC1 release candidate for Ant 1.10.15 release: git tag: ANT_1.10.15_RC1     on commit: 2250895d174f5beee54e9e4ea9523500feb1f1f9 tarballs: https://dist.apache.org/repos/dist/dev/ant/     svn revision: 70964 Maven artifacts: https://repository.apache.org/co

[ANNOUNCE] Apache Ant 1.9.x release series EOL

2024-06-19 Thread Jaikiran Pai
Hello everyone, The Apache Ant team has voted to EOL the 1.9.x release series of the Ant build tool. The Ant team had been maintaining 2 series of Ant releases for a while now - 1.10.x and 1.9.x. The 1.10.x series requires a minimum of Java 8 runtime and receives regular bug fixes and some

Re: [External] : Re: ant/jdk17, and badly generated jars

2023-10-28 Thread Jaikiran Pai
Hello Dave, This looks like it will need some investigation and appears to be some genuine issue either in the build script or within Ant or maybe JDK? Is there a simple reproducer that you will be able to share to help reproduce this? -Jaikiran On 28/10/23 8:31 am, Dave Brosius wrote

Re: [External] : Re: ant/jdk17, and badly generated jars

2023-10-27 Thread Dave Brosius
java version "17.0.2" 2022-01-18 LTS Java(TM) SE Runtime Environment (build 17.0.2+8-LTS-86) Java HotSpot(TM) 64-Bit Server VM (build 17.0.2+8-LTS-86, mixed mode, sharing) Apache Ant(TM) version 1.10.14 compiled on August 16 2023 Distributor ID:    Linuxmint Description:    Linux

Re: ant/jdk17, and badly generated jars

2023-10-27 Thread Jaikiran Pai
situation where we have an ant build that generates a jar file that includes a resource bundle property file using , later in the same build  a custom ant task is executed, which loads that class from  the classpath, and tries to read that bundle file, and fails  with [genSchema]

Re: ant/jdk17, and badly generated jars

2023-10-27 Thread Stefan Bodewig
Hi Dave Dave Brosius writes: > HI folks, we have an odd situation where we have an ant build that > generates a jar file that includes a resource bundle property file > using , later in the same build  a custom ant task is executed, > which loads that class from  the classpath,

ant/jdk17, and badly generated jars

2023-10-26 Thread Dave Brosius
HI folks, we have an odd situation where we have an ant build that generates a jar file that includes a resource bundle property file using , later in the same build  a custom ant task is executed, which loads that class from  the classpath, and tries to read that bundle file, and fails  with

[RESULT] Release Apache Ant 1.10.14 based on RC1

2023-08-20 Thread Jaikiran Pai
reated RC1 release candidate for Ant 1.10.14 release: git tag: ANT_1.10.14_RC1     on commit: 53f19eccf49acf526415997046dca5a5135b0e8f tarballs: https://dist.apache.org/repos/dist/dev/ant/     revision: 63474 Maven artifacts: https://repository.apache.org/content/repositories/orgapacheant-105

Re: [VOTE] Release Apache Ant 1.10.14 based on RC1

2023-08-18 Thread Jaikiran Pai
d RC1 release candidate for Ant 1.10.14 release: git tag: ANT_1.10.14_RC1     on commit: 53f19eccf49acf526415997046dca5a5135b0e8f tarballs: https://dist.apache.org/repos/dist/dev/ant/     revision: 63474 Maven artifacts: https://repository.apache.org/content/repositories/orgapacheant-1057 Apart

Re: [VOTE] Release Apache Ant 1.10.14 based on RC1

2023-08-16 Thread Gary Gregory
Sounds good! Thank you, Gary From: Jaikiran Pai Sent: Wednesday, August 16, 2023 8:57:09 PM To: Ant Developers List ; Gary Gregory ; Ant Users List Subject: Re: [VOTE] Release Apache Ant 1.10.14 based on RC1 EXTERNAL EMAIL Hello Gary, Yes, that

Re: [VOTE] Release Apache Ant 1.10.14 based on RC1

2023-08-16 Thread Jaikiran Pai
Hello Gary, Yes, that allow.class which was introduced in 1.10.13 is no longer part of Ant 1.10.14. I think, as you note, adding it to the release notes sounds like the right thing, since a couple of projects had specifically run into issue with that class. I'll update the release note

Re: [VOTE] Release Apache Ant 1.10.14 based on RC1

2023-08-16 Thread Gary Gregory
(AFK) Does this remove the class file in the root of the ant-launcher jar which caused JPMS issues? If so, it might be worth mentioning in the release noyes. Gary From: Jaikiran Pai Sent: Wednesday, August 16, 2023 8:35:22 AM To: user@ant.apache.org ; d

[VOTE] Release Apache Ant 1.10.14 based on RC1

2023-08-16 Thread Jaikiran Pai
Hello everyone, I've created RC1 release candidate for Ant 1.10.14 release: git tag: ANT_1.10.14_RC1     on commit: 53f19eccf49acf526415997046dca5a5135b0e8f tarballs: https://dist.apache.org/repos/dist/dev/ant/     revision: 63474 Maven artifacts: https://repository.apache.org/co

[ANNOUNCE] Apache Ant 1.10.13 released

2023-01-09 Thread Jaikiran Pai
The Apache Ant Team is pleased to announce the release of Apache Ant 1.10.13. Apache Ant is a Java library and command-line tool that helps building software. The Apache Ant team currently maintains two lines of development. The 1.9.x releases require Java 5 at runtime and 1.10.x requires

[VOTE] Release Apache Ant 1.10.13 based on RC1

2023-01-04 Thread Jaikiran Pai
Happy new year, everyone :) I've created RC1 release candidate for Ant 1.10.13 release: git tag: ANT_1.10.13_RC1     on commit: 6996b80b5fb59cc2769f7098d837de32680a tarballs: https://dist.apache.org/repos/dist/dev/ant/     revision: 59117 Maven artifacts: https://repository.apach

Re: Bundling Ant Tasks

2022-08-22 Thread Stefan Bodewig
On 2022-08-22, Hiran Chaudhuri wrote: > If it is a bit buried but exists it might be nice to have a reference > from the 'Developing with Ant' guide. This is true. Have you got any suggestion where and how to do that? Maybe even a blurb of text that you could contribute gi

Re: Bundling Ant Tasks

2022-08-22 Thread Hiran Chaudhuri
That's what I was searching for, thank you. I shall try the documented stuff. :-) If it is a bit buried but exists it might be nice to have a reference from the 'Developing with Ant' guide. Hiran On Fri, 2022-08-19 at 09:20 +0200, Stefan Bodewig wrote: > On 2022-08-19, Hir

Re: Bundling Ant Tasks

2022-08-19 Thread KM
You should be able to set the properties in the calling ant script or in your environment file using variables.  Unfortunately it's been a while since I used Ant and can't remember exactly.   If they are values that don't change set them directly, otherwise the env variables or

Re: Bundling Ant Tasks

2022-08-19 Thread Stefan Bodewig
On 2022-08-19, Hiran Chaudhuri wrote: > From other libraries I have seen there are things like property or XML > files bundled with the tasks that can host such information - but they > seem to be an undocumented feature? You are describing tasks bundled as an antlib. The documentation is a bit b

Bundling Ant Tasks

2022-08-18 Thread Hiran Chaudhuri
Hello there. I successfully created several custom Ant Tasks myself, thanks to the fine documentation in https://ant.apache.org/manual/developlist.html Now when I want to use these tasks, I always have to use taskdef elements in all my scripts and always remember exact dependencies (classpath

Re: Is Apache Ant an Integrated Development Environment (IDE) for Java, C, and C++ programming languages?

2022-07-28 Thread Turritopsis Dohrnii Teo En Ming
Noted with thanks. Mr. Turritopsis Dohrnii Teo En Ming Targeted Individual in Singapore On Thu, 28 Jul 2022 at 18:38, Dominique Devienne wrote: > > On Thu, Jul 28, 2022 at 12:04 PM wrote: > > You should be able to include C- and C++ Stuff via or some external > > tasks. &

Re: Is Apache Ant an Integrated Development Environment (IDE) for Java, C, and C++ programming languages?

2022-07-28 Thread Turritopsis Dohrnii Teo En Ming
ok noted with thanks. Mr. Turritopsis Dohrnii Teo En Ming Targeted Individual in Singapore On Thu, 28 Jul 2022 at 18:04, wrote: > > No it is not. > Ant is a build automation tool, primarily for Java. > You should be able to include C- and C++ Stuff via or some external > t

Re: Is Apache Ant an Integrated Development Environment (IDE) for Java, C, and C++ programming languages?

2022-07-28 Thread Dominique Devienne
On Thu, Jul 28, 2022 at 12:04 PM wrote: > You should be able to include C- and C++ Stuff via or some external > tasks. E.g. http://ant-contrib.sourceforge.net/cpptasks/index.html or https://github.com/timpokorny/cpptask I've used the former ages ago, and the learning curve was a l

AW: Is Apache Ant an Integrated Development Environment (IDE) for Java, C, and C++ programming languages?

2022-07-28 Thread apache
No it is not. Ant is a build automation tool, primarily for Java. You should be able to include C- and C++ Stuff via or some external tasks. Jan -Ursprüngliche Nachricht- Von: Turritopsis Dohrnii Teo En Ming <> Gesendet: Dienstag, 26. Juli 2022 09:32 An: user@ant.apache.org

Is Apache Ant an Integrated Development Environment (IDE) for Java, C, and C++ programming languages?

2022-07-26 Thread Turritopsis Dohrnii Teo En Ming
Subject: Is Apache Ant an Integrated Development Environment (IDE) for Java, C, and C++ programming languages? Good day from Singapore, Is Apache Ant an Integrated Development Environment (IDE) for Java, C, and C++ programming languages? Thank you. Regards, Mr. Turritopsis Dohrnii Teo En Ming

Re: Please need help in ANT.

2022-07-11 Thread Stefan Bodewig
Hi Deepack On 2022-07-10, Deepak Lalchandani wrote: > Screenshot is attached to this email which depicts the folder structure. > RecentError.txt has part of build.xml file and project_build.properties > file. The mailing list is set up to strip all attachments, so nobody has seen your screensho

Please need help in ANT.

2022-07-10 Thread Deepak Lalchandani
Hi ant admin's, I need help in my Ant project I have the following attached files for ant. Screenshot is attached to this email which depicts the folder structure. RecentError.txt has part of build.xml file and project_build.properties file. Build is successful but WAR file i

Build.xml failed in ANT

2022-07-05 Thread Deepak Lalchandani
Hi Ant Mailing list, I have an issue with ant. Following is the error message below when build.xml has failed. ___ Ant path is as below ___ #Properties-File build_dir_war= MyProject/MyProject_WAR

Re: [External] : Odd jdk8->jdk17 behaviour with ant

2022-07-04 Thread Dave Brosius
investigation to narrow down why this fails on Java 17. Would you be able to share a reproducer for this? What operating system is this issue showing up? > There is no ant task forking going on here. (Can you even fork a task?) Ant doesn't launch the "jar" command for the

Re: [External] : Odd jdk8->jdk17 behaviour with ant

2022-07-04 Thread Dave Brosius
this is linux mint (5.4.0-120-generic) I agree there is something going on with ant. like the jar isn't closing until the ant process closes. As for a sample, I grossly simplified the explanation. but the two steps that fail back to back are jar creation and an ant task that reads a l

Re: [External] : Odd jdk8->jdk17 behaviour with ant

2022-07-04 Thread Jaikiran Pai
this issue showing up? > There is no ant task forking going on here. (Can you even fork a task?) Ant doesn't launch the "jar" command for the jar task. Instead it internally uses (an in-process) set of APIs for writing out the output stream. -Jaikiran On 04/07/22 8:3

Re: [External] : Odd jdk8->jdk17 behaviour with ant

2022-07-04 Thread Dave Brosius
s been used for years to build on java8 (ant 1.10.2). Now trying to migrate stuff to 17. Ran in to this problem, and going to simplify as best as possible. Have 3 ant targets, related as such the producer target uses the task to produce a jar file, that includes resource bundle proper

Odd jdk8->jdk17 behaviour with ant

2022-07-04 Thread Dave Brosius
Hi Folks,     I realize this is probably difficult to understand, or give ideas on, but i'll give it a go. I have an existing build.xml file that's been used for years to build on java8 (ant 1.10.2). Now trying to migrate stuff to 17. Ran in to this problem, and going to simpli

Re: Ant does not work unless with debug option

2022-06-25 Thread Stefan Bodewig
On 2022-06-23, W wrote: > I got a new laptop, so I build my work environment on new laptop. I > call  ant distit should build my dist. But it only execute default > task, not "dist". But if I add debug option like:  ant -d distIt build > "dist" as expected. What is

Ant does not work unless with debug option

2022-06-25 Thread W
Hi All, I got a new laptop, so I build my work environment on new laptop. I call  ant distit should build my dist. But it only execute default task, not "dist". But if I add debug option like:  ant -d distIt build "dist" as expected. What is wrong please? I use Windows 11. A

Generating CycloneDX sbom files for ant builds

2022-05-11 Thread Patrick
g with our many legacy Java projects that we build with Ant / Ant Ivy. Does anyone know how this can be done? I've not found any utilities to do it, but maybe I'm missing something. I saw a suggestion that the CycloneDX maven plugin (located here: https://github.com/CycloneDX/cyclonedx-maven

Re: Apache Ant: Log4j 1.x Vulnerabilities

2022-01-13 Thread Stefan Bodewig
On 2022-01-13, Christopher Schultz wrote: > On 1/12/22 15:57, Stefan Bodewig wrote: >> On 2022-01-12, wrote: >>>1. Do you have any mitigation options available for addressing both >>> CVE-2019-17571 and CVE-2021-4104? >>> https://nvd.nist.gov/vuln/detail/CVE-2019-17571 >>> https://nvd.nist

Re: Apache Ant: Log4j 1.x Vulnerabilities

2022-01-12 Thread Christopher Schultz
Stefan, On 1/12/22 15:57, Stefan Bodewig wrote: On 2022-01-12, wrote: Can the following questions be confirmed for Ant? easily 1. Which versions of your products utilize Log4j 1.x, if any? By default Ant doesn't use any version of Apache Log4J at all. There is a depre

Re: Apache Ant: Log4j 1.x Vulnerabilities

2022-01-12 Thread Stefan Bodewig
On 2022-01-12, wrote: > Can the following questions be confirmed for Ant? easily > 1. Which versions of your products utilize Log4j 1.x, if any? By default Ant doesn't use any version of Apache Log4J at all. There is a deprecated BuildLogger using Log4J 1.x. It will only be

Re: Apache Ant: Log4j 1.x Vulnerabilities

2022-01-12 Thread Christopher Schultz
Ashley, NOTE: I do not speak for the Apache ant community. I'm just a volunteer and member of the community. On 1/12/22 13:37, ashley.ding...@wellsfargo.com.INVALID wrote: Hi, Can the following questions be confirmed for Ant? 1. Which versions of your products utilize Log4j 1.x, i

Apache Ant: Log4j 1.x Vulnerabilities

2022-01-12 Thread Ashley.Dingman
Hi, Can the following questions be confirmed for Ant? 1. Which versions of your products utilize Log4j 1.x, if any? 1. Do they utilize the JMSAppender or SocketServer classes? 1. Do you have any mitigation options available for addressing both CVE-2019-17571 and CVE-2021-4104

Re: Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread Christopher Schultz
Naming the script (simply) "ant" means you don't have to type "ant.sh" every time, just "ant". FWIW, Martin Grigorov regularly reports on dev@tomcat.a.o that the JDK early-access builds (latest: JDK 18) are running Tomcat's build and test-suite on aarch64

Re: Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread David Garratt
OK - I understand - I had expected a script to have a .sh file extension > On 22 Nov 2021, at 13:10, Matt Benson wrote: > > Usually this "top one" is a shell script rather than a compiled executable. > > Matt > > On Mon, Nov 22, 2021, 7:02 AM David Garrat

Re: Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread Scot Floess
Take a peek at those - they are just shell scripts (some for *nix and some for Windows)... On Mon, Nov 22, 2021 at 8:02 AM David Garratt wrote: > In my ant bin directory for example I have the following and I am running > the top one which I assume is compiled for intel machines. > &

RE: Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread John Burgess
It's a shell script. Should run on your new machine as well. Open it in a text editor and you'll see. -Original Message- From: David Garratt Sent: 22 November 2021 13:02 To: Ant Users List Subject: Re: Apple Silicon M1 Compatible Build of ANT In my ant bin directory for

Re: Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread Matt Benson
Usually this "top one" is a shell script rather than a compiled executable. Matt On Mon, Nov 22, 2021, 7:02 AM David Garratt wrote: > In my ant bin directory for example I have the following and I am running > the top one which I assume is compiled for intel machines. > &

Re: Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread David Garratt
In my ant bin directory for example I have the following and I am running the top one which I assume is compiled for intel machines. -rwxr-xr-x@ 1 dave staff 11730 10 Jul 19:36 ant -rw-r--r--@ 1 dave staff 7471 10 Jul 19:36 ant.bat -rw-r--r--@ 1 dave staff 2856 10 Jul 19:36 ant.cmd -rwxr

Re: Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread David Garratt
I am used to invoking ANT by just typing “ant params” at the command line and in the ant folder I have what finder describes as “Unix Executable File”. From what your saying I assume I can invoke it by typing java -jar xx params but I’m not familiar with that approach. I guess I’m

Re: Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread Dominique Devienne
On Mon, Nov 22, 2021 at 12:23 PM David Garratt wrote: > I will soon be getting a M1 based Apple Mac and I am looking for > compatible builds of my most frequently used tools including ANT. At the moment I’ve not been able to find anything which looks like it’s > built for an arm C

Apple Silicon M1 Compatible Build of ANT

2021-11-22 Thread David Garratt
I will soon be getting a M1 based Apple Mac and I am looking for compatible builds of my most frequently used tools including ANT. At the moment I’ve not been able to find anything which looks like it’s built for an arm CPU. Could anyone point me in the right direction please.

[ANNOUNCE] Apache Ant 1.10.12 released

2021-10-20 Thread Jaikiran Pai
The Apache Ant Team is pleased to announce the release of Apache Ant 1.10.12. Apache Ant is a Java library and command-line tool that helps building software. The Apache Ant team currently maintains two lines of development. The 1.9.x releases require Java 5 at runtime and 1.10.x

Re: [VOTE] Release Apache Ant 1.10.12 based on RC2

2021-10-17 Thread Jaikiran Pai
ommit: 4b420359942dfb1221f308d08f3648712fea9f83 tarballs: https://dist.apache.org/repos/dist/dev/ant/   revision: 50387 Maven artifacts: https://repository.apache.org/content/repositories/orgapacheant-1052 Snapcraft Build   Revision 22 in latest/candidate This vote will be open for at least 72 hours and clo

[VOTE] Release Apache Ant 1.10.12 based on RC2

2021-10-12 Thread Jaikiran Pai
I've created a new RC2 release candidate for 1.10.12: git tag: ANT_1.10.12_RC2 on commit: 4b420359942dfb1221f308d08f3648712fea9f83 tarballs: https://dist.apache.org/repos/dist/dev/ant/   revision: 50387 Maven artifacts: https://repository.apache.org/content/reposit

Re: [External] : Re: [VOTE] Release Apache Ant 1.10.12 based on RC1

2021-10-02 Thread Dave Brosius
Thanks, appreciate your efforts. On 10/2/21 8:28 AM, Jaikiran Pai wrote: +1 - Downloaded the .tar.gz binary - Checked the NOTICE file and some random manuals - Built internal projects using Java 8 and this version of Ant - Built some sample projects with Java 17 and this version Ant All

Re: [VOTE] Release Apache Ant 1.10.12 based on RC1

2021-10-02 Thread Gavin McDonald
n whether or not the 'source' - that is being released is good enough. Gav... > - Checked the NOTICE file and some random manuals > > - Built internal projects using Java 8 and this version of Ant > > - Built some sample projects with Java 17 and this version Ant > >

Re: [VOTE] Release Apache Ant 1.10.12 based on RC1

2021-10-02 Thread Jaikiran Pai
+1 - Downloaded the .tar.gz binary - Checked the NOTICE file and some random manuals - Built internal projects using Java 8 and this version of Ant - Built some sample projects with Java 17 and this version Ant All looks fine. -Jaikiran On 30/09/21 8:28 am, Jaikiran Pai wrote: I&#x

[VOTE] Release Apache Ant 1.10.12 based on RC1

2021-09-29 Thread Jaikiran Pai
I've created a release candidate for 1.10.12: git tag: ANT_1.10.12_RC1 on commit: cb7f242aa099c069bd75e6ee4d6e50b56fd73b71 tarballs: https://dist.apache.org/repos/dist/dev/ant/   revision: 50166 Maven artifacts: https://repository.apache.org/content/repositories/orgapac

Re: [External] : Re: Initial file for Ant

2021-08-14 Thread Dave Brosius
The project name among other defines a property that can be used throughout the script referenceable by ${ant.project..name} That Curly syntax Returns the value of the property. As for ant, the two main items in a file or property definitions and task definitions. Property definitions just

Re: Initial file for Ant

2021-08-14 Thread Julius Hamilton
defining a variable in XML, called "tstamp"? Which of "format" and "property" are specific xml commands vs. just attributes being named? Thanks very much, Julius On Sat, Aug 14, 2021, 14:10 Jaikiran Pai wrote: > Hello Julius, > > Ant looks for build.xml

Initial file for Ant

2021-08-14 Thread Julius Hamilton
I would like to study the source code for YaCy, a peer to peer open source search engine. On their GitHub, it details that the tool is built from source with "ant clean". I looked through the YaCy project repository but I wasn't able to pick out which initial file ant would look

Re: Initial file for Ant

2021-08-14 Thread Jaikiran Pai
Hello Julius, Ant looks for build.xml in the current directory (the directory from where you trigger the ant command). More details are available in our docs https://ant.apache.org/manual/index.html -Jaikiran On 14/08/21 5:03 pm, Julius Hamilton wrote: I would like to study the source code

Initial file for Ant

2021-08-14 Thread Julius Hamilton
I would like to study the source code for YaCy, a peer to peer open source search engine. On their GitHub, it details that the tool is built from source with "ant clean". I looked through the YaCy project repository but I wasn't able to pick out which initial file ant would look

[ANN] Apache Ant 1.9.16 and 1.10.11 Released

2021-07-13 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Apache Ant Team is pleased to announce the releases of Apache Ant 1.9.16 and 1.10.11. Apache Ant is a Java library and command-line tool that helps building software. The Apache Ant team currently maintains two lines of development. The 1.9.x

CVE-2021-36374: Apache Ant ZIP, and ZIP based, archive denial of service vulerability

2021-07-13 Thread Stefan Bodewig
Description: When reading a specially crafted ZIP archive, or a derived formats, an Apache Ant build can be made to allocate large amounts of memory that leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Commonly used derived formats

CVE-2021-36373: Apache Ant TAR archive denial of service vulnerability

2021-07-13 Thread Stefan Bodewig
Description: When reading a specially crafted TAR archive an Apache Ant build can be made to allocate large amounts of memory that finally leads to an out of memory error, even for small inputs. This can be used to disrupt builds using Apache Ant. Mitigation: Apache Ant 1.9.x users should

Re: SecurityManager in Java is being deprecated - Please try your Ant builds against JDK 17 EA builds

2021-06-17 Thread Rick Hillegas
e are explained here https://openjdk.java.net/jeps/411. The initial changes around this are already available in an early access release of JDK 17 which is available at https://jdk.java.net/17/ Ant is one of the projects that will be impacted since we internally deal with Java's SecurityMan

SecurityManager in Java is being deprecated - Please try your Ant builds against JDK 17 EA builds

2021-06-17 Thread Jaikiran Pai
anges around this are already available in an early access release of JDK 17 which is available at https://jdk.java.net/17/ Ant is one of the projects that will be impacted since we internally deal with Java's SecurityManager APIs especially when the "permissions" type https://a

[ANNOUNCE] Apache Ant 1.10.10 released

2021-04-19 Thread Jaikiran Pai
The Apache Ant Team is pleased to announce the release of Apache Ant 1.10.10. Apache Ant is a Java library and command-line tool that helps building software. The Apache Ant team currently maintains two lines of development. The 1.9.x releases require Java 5 at runtime and 1.10.x requires

Re: [VOTE] Release Apache Ant 1.10.10 based on RC1

2021-04-15 Thread Jaikiran Pai
    on commit: eccd0a2ceb4fa854ee9f2a95cfea10d55a485dda tarballs: https://dist.apache.org/repos/dist/dev/ant/   revision: 46988 Maven artifacts: https://repository.apache.org/content/repositories/orgapacheant-1047/org/apache/ant/ Snapcraft Build   Revision 18 in latest/candi

Re: [VOTE] Release Apache Ant 1.10.10 based on RC1

2021-04-12 Thread Jaikiran Pai
Changes that will be part of this release are noted here https://dist.apache.org/repos/dist/dev/ant/RELEASE-NOTES-1.10.10.html -Jaikiran On 12/04/21 10:01 am, Jaikiran Pai wrote: I've created a release candidate for 1.10.10: git tag: ANT_1.10.10_RC1 on c

[VOTE] Release Apache Ant 1.10.10 based on RC1

2021-04-11 Thread Jaikiran Pai
I've created a release candidate for 1.10.10: git tag: ANT_1.10.10_RC1 on commit: eccd0a2ceb4fa854ee9f2a95cfea10d55a485dda tarballs: https://dist.apache.org/repos/dist/dev/ant/   revision: 46988 Maven artifacts: https://repository.apache.org/content/repositories/orgapac

Re: a tricky case of running an executable from an ant build script

2020-12-25 Thread Stefan Bodewig
On 2020-12-19, Alan Snyder wrote: > The case of interest is where I perform the build directly within a Java > application process. [...] > Is there a way that within my application I can configure ant with a > different $PATH to provide to the build script, so that it wil

Re: a tricky case of running an executable from an ant build script

2020-12-24 Thread Alan Snyder
he "dir" attribute tot he directory containing the executable you > want to start. > Or provide a nested element. > > Jan > > -Ursprüngliche Nachricht- > Von: Alan Snyder > Gesendet: Samstag, 19. Dezember 2020 22:46 > An: Ant Users List > Betreff

AW: a tricky case of running an executable from an ant build script

2020-12-24 Thread apache
esendet: Samstag, 19. Dezember 2020 22:46 An: Ant Users List Betreff: a tricky case of running an executable from an ant build script I have an ant script that runs an executable without specifying the full path of the executable. If I run ant from the shell, then it finds the executable on my $PA

a tricky case of running an executable from an ant build script

2020-12-19 Thread Alan Snyder
I have an ant script that runs an executable without specifying the full path of the executable. If I run ant from the shell, then it finds the executable on my $PATH, which is what I want. (I do not specify searchpath=“true”, so perhaps I do not understand what that does, or the documentation

Re: Different indices not repected in Epub3 transformation with ant 1.9.8

2020-12-13 Thread Peter West
Have you asked on the oxygen users list? Over there they should be able to tell you what is being used (by the ant process) to actually do the work of transformation. -- Peter West p...@pbw.id.au “But to what shall I compare this generation? It is like children sitting in the marketplaces and

AW: Different indices not repected in Epub3 transformation with ant 1.9.8

2020-12-13 Thread apache
I don't think that updating Ant will solve your problem, because Ant just "triggers" the generation process. Which tool are you using? Could you post your buildfile? Maybe we could find some hints here. Or a sample project (e.g. on Github) showing the problem? Jan -Ursprüng

Different indices not repected in Epub3 transformation with ant 1.9.8

2020-12-12 Thread Bernhard Kleine
Hi, my first contribution, I am working with oxygen 20.1 xml-editor. while docbook to pdf transformation does respect different indices, during the generation of an epub with ant it is not respcted. The following is totally mixed up.        Scientific names             Deutsche

Re: propertyregex ANT task - need to extract string without newline character

2020-10-16 Thread KM
I am not sure if the regex works the same as some of the others, but you could try "$" at the end after the asterisk.  Maybe like regexp="OBF:.*$" KM On Thursday, October 15, 2020, 12:01:44 PM EDT, forumUsr forumUsr wrote: Hello I have following ANT task whe

propertyregex ANT task - need to extract string without newline character

2020-10-15 Thread forumUsr forumUsr
Hello I have following ANT task where I like to extract string starting from a keyword until newline character: Java ANT task results in following output: 2020-10-14 13:55:00.549:INFO::pool-2-thread-1: Logging initialized

[CVE-2020-11979] Apache Ant insecure temporary file vulnerability

2020-09-30 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 CVE-2020-11979: Apache Ant insecure temporary file vulnerability Severity: Medium Vendor: The Apache Software Foundation Versions Affected: Apache Ant 1.10.8 Description: As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions

[ANN] Apache Ant 1.10.9 Released

2020-09-30 Thread Stefan Bodewig
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The Apache Ant Team is pleased to announce the release of Apache Ant 1.10.9. Apache Ant is a Java library and command-line tool that helps building software. The Apache Ant team currently maintains two lines of development. The 1.9.x releases

Re: Can the Ant task "patch" be used in Linux for patching files with DOS linefeeds?

2020-09-04 Thread Stefan Bodewig
On 2020-09-02, Harri T. wrote: > 1. use the Ant task |patch| in Linux for patching files with DOS linefeeds? > 2. apply the option |--binary| with the Ant task |patch|? Th patch task doesn't support --binary, yet, but it would be very easy to add. Actually is really a simple wrappe

Can the Ant task "patch" be used in Linux for patching files with DOS linefeeds?

2020-09-02 Thread Harri T.
Hi, How can we... 1. use the Ant task |patch| in Linux for patching files with DOS linefeeds? 2. apply the option |--binary| with the Ant task |patch|? See the details below or at Stack Overflow <https://stackoverflow.com/q/63703418/2158271>. Kind regards, Harri Files * bui

Re: Knowledge sharing related to Apache Ant, mainly ZipFile class…

2020-06-28 Thread Roman Horváth
- Od: "Stefan Bodewig" Komu: user@ant.apache.org Odoslané: Pondelok, 22. Jún 2020 10:41:12 Predmet: Re: Knowledge sharing related to Apache Ant, mainly ZipFile class… Hello Roman many thanks for your comments and your interest in Ant's zip support. Ant's zip package has been

Re: Knowledge sharing related to Apache Ant, mainly ZipFile class…

2020-06-22 Thread Stefan Bodewig
org/proper/commons-compress/ Every now and then we've backported bugfixes from Commons Compress but not additional features. The goal has been to keep the zip package inside of Ant focussed on what is actually used by Ant's tasks. That the classes go beyond that scope is mostly due to bac

Re: Queries regarding Apache Ant 1.7.0

2020-06-22 Thread Stefan Bodewig
just adding one more detail to what Jaikiran said: On 2020-06-17, Shrey Bhatt wrote: > 2. Were there any security vulnerabilities reported for Apache Ant 1.7.0 > which could affect the application Yes, there have been. Please see https://ant.apache.org/security.html

Re: Queries regarding Apache Ant 1.7.0

2020-06-18 Thread Jaikiran Pai
Ant 1.7.x is more than a decade old release. It certainly isn't "supported" by the Ant development team. When I say supported, I mean, there are no 1.7.x specific branches or fixes that happen for that version. Ant right now ships two version series. The 1.9.x series (latest avail

Queries regarding Apache Ant 1.7.0

2020-06-17 Thread Shrey Bhatt
Hello Team, This is regarding the library Apache Ant 1.7.0 version released earlier under Apache Software. We are using the library in our application and would like to know the following: 1. Is the library Apache Ant 1.7.0 currently supported by your team? 2. Were there any security

Knowledge sharing related to Apache Ant, mainly ZipFile class…

2020-06-16 Thread Roman Horváth
I wish you a good day, this mail is mainly related to the Apache Ant ZipFile class. This mail shares some knowledge and makes some small recommendations for the ZipFile class and one recommendation for the ZipOutputStream class. (I separated them by few —.) ——— The first sentence within the

Re: Lots of problems resolving maven dependencies in Ant

2020-05-22 Thread Rick Mann
>> (turns out mvn works fine to build it). Now it *KNOWS* it's https, and it >> still does the wrong thing. I can't figure out where the http: is coming >> from: >> >> ``` >> $ ant build >> Buildfile: /Users/rmann/Projects/Personal/SatDB/repo/

Re: Lots of problems resolving maven dependencies in Ant

2020-05-21 Thread Davide Grandi
e On 19/05/2020 07:48, Rick Mann wrote: Welp, that didn't work. So I downloaded the sources and modified the code (turns out mvn works fine to build it). Now it *KNOWS* it's https, and it still does the wrong thing. I can't figure out where the http: is coming from: ``` $ ant bui

Re: Lots of problems resolving maven dependencies in Ant

2020-05-18 Thread Rick Mann
Welp, that didn't work. So I downloaded the sources and modified the code (turns out mvn works fine to build it). Now it *KNOWS* it's https, and it still does the wrong thing. I can't figure out where the http: is coming from: ``` $ ant build Buildfile: /Users/rmann/Projects/Pers

Re: Lots of problems resolving maven dependencies in Ant

2020-05-18 Thread Davide Grandi
Sorry, but this ant "corner" is out of my paths. Your idea is worth trying: -- [artifact:dependencies] from the specified remote repositories: [artifact:dependencies] maven-group (https://repo1.maven.org/maven2/), [artifact:dependencies] central (http://repo1.maven.

Re: Lots of problems resolving maven dependencies in Ant

2020-05-18 Thread Rick Mann
> On May 18, 2020, at 21:15 , Davide Grandi wrote: > > Just my 2 Euro cent: > - there's an address hardcoded here > -- > \maven-ant-tasks-2.1.3\src\main\java\org\apache\maven\artifact\ant\AbstractArtifactWithRepositoryTask.java > (1 hit) > Line 55:

Re: Lots of problems resolving maven dependencies in Ant

2020-05-18 Thread Davide Grandi
Just my 2 Euro cent: - there's an address hardcoded here   -- \maven-ant-tasks-2.1.3\src\main\java\org\apache\maven\artifact\ant\AbstractArtifactWithRepositoryTask.java (1 hit)   Line 55: remoteRepository.setUrl( "http://repo1.maven.org/maven2"; );   --   so :   a

Lots of problems resolving maven dependencies in Ant

2020-05-18 Thread Rick Mann
Hi there. If anyone can help with the following, I'd sure appreciate it: • Get Ivy to set a classpath (cachepath) • Get Maven Artifact Resolver Ant Tasks installed macOS 10.15.4, Java 11 Details --- I have this really old ant-based server project I'm trying to update. It

Re: [ANN] Apache Ant 1.9.15 and 1.10.8 Released

2020-05-18 Thread Jaikiran Pai
Thank you Stefan for making these releases. -Jaikiran On 13/05/20 10:00 pm, Stefan Bodewig wrote: > The Apache Ant Team is pleased to announce the releases of Apache Ant > 1.9.15 and 1.10.8. > > Apache Ant is a Java library and command-line tool that helps building > software. >

  1   2   3   4   5   6   7   8   9   10   >