try my variant:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> O
gt;
>
>
>
>
>
>
>
>
>
>
> Original Message
> From: Alan Snyder [mailto:contagiousarrow...@cbfiddle.com]
> Sent: Wednesday, December 20, 2023 at 23:37 UTC
> To: Ant Users List
> Subject: java
ocs could be better too. I wasn't able to find examples of on the site.
Please try my variant:
Original Message
From: Alan Snyder [mailto:contagiousarrow...@cbfiddle.com]
Sent: Wednesday, December 20
I know of a couple of ways to run javac on more than one source tree.
>>
>> One way is to use nested src elements.
>>
>> Another way is like this:
>>
>> srcdir="${src}:${src2}”
>>
>> I would like to generalize this solution to a dynamicly
e than one source tree.
One way is to use nested src elements.
Another way is like this:
srcdir="${src}:${src2}”
I would like to generalize this solution to a dynamicly determined list of
source trees.
I thought that I could use srcpath for this purpose, but the task would fail if
srcdir wa
this purpose, but the task would fail if
srcdir was not specified or it did not identify a valid directory.
That restriction defeats my purpose.
Is there a solution?
Is the inability to use srcpath by itself a bug?
Thank you.
---
Happy to hear that Ant 1.10.14 gets the build passing on Java 21.
-Jaikiran
On 22/10/23 2:39 am, Rick Hillegas wrote:
Thanks, Jaikiran and Don. Ant 1.10.14 gets me over this hurdle. I'll
let you know if I encounter other issues building the next Derby
release with Java 21 and this version of A
Thanks, Jaikiran and Don. Ant 1.10.14 gets me over this hurdle. I'll let
you know if I encounter other issues building the next Derby release
with Java 21 and this version of Ant. Cheers
On 10/21/23 7:32 AM, Brutzman, Donald (Don) (CIV) wrote:
As Indicated in the email thread, have gotten java
Hello Rick,
Ant 1.10.6 cannot be used with Java 21 because of this very
SecurityManager usage within Ant. Considering this issue and Java
SecurityManager's deprecation for removal, we have released Ant 1.10.14
a couple of months back
https://lists.apache.org/thread/9vhk51nkw9wjxzm7xk2q9xm6s80
I am running Java 21 (OpenJDK 64-Bit Server VM (build 21+35-2513, mixed
mode, sharing)) and Ant 1.10.6. The following stanza in my build.xml
file raises a java.lang.UnsupportedOperationException:
The maintversion2props class is very simple, it just writes a
ility of few
advanced if-else conditions like (isLessThan, isGreaterThan, etc.) in 1.0b3
according to the error message I got. What is puzzling is that even though
'For' task doesn't have the 'parallel' option in 0.6, how come it runs fine in
some Windows Server box and n
Hi Dave,
I can update to 1.0b3 easily. I do have an issue with unavailability of few
advanced if-else conditions like (isLessThan, isGreaterThan, etc.) in 1.0b3
according to the error message I got. What is puzzling is that even though
'For' task doesn't have the 'parallel
This is really an ant-contrib question,not an ant question, but i guess
good luck getting someone to respond there.
When i look at 0.6 source, here
https://sourceforge.net/projects/ant-contrib/files/ant-contrib/ant-contrib-0.6/ant-contrib-0.6-src.zip/download
the For task doesn't not h
Hi
I'm using Ant 1.9.7 and Antcontrib 0.6. I have a script where I'm using the
'for' task with 'parallel' set to true. It fails on one Windows server
2012 R2 machine with error message "for doesn't support the "parallel"
attribute". This s
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
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
The "abnormal" jar was created with the iajc ant task (aspectj)
I'll see if i can get something together.
On 9/22/20 2:10 AM, Stefan Bodewig wrote:
Hi Dave
On 2020-09-21, Dave Brosius wrote:
In the end i just wrote my own custom ant task to do what jar was
supposed to do. Wha
Hi Dave
On 2020-09-21, Dave Brosius wrote:
> In the end i just wrote my own custom ant task to do what jar was
> supposed to do. What i noticed was that one of the jars had
> 1) no entries for the directories themselves
> 2) items out of alphabetical order.
> Don
On 9/21/20 4:32 AM, Stefan Bodewig wrote:
On 2020-09-15, Dave Brosius wrote:
I have an ant task using ant 1.10.8, that includes use of the
task as such:
...
There are in fact file collsions between the two jars
On 2020-09-15, Dave Brosius wrote:
> I have an ant task using ant 1.10.8, that includes use of the
> task as such:
> **duplicate="preserve"*>
> includes="**/*" />
>
> ...
>
>
Hi folks,
I have an ant task using ant 1.10.8, that includes use of the task
as such:
**duplicate="preserve"*>
includes="**/*" />
value="${ant.project.name}" />
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
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
> After replacement, replaceregexp task overrode the permissions.
It does, as do or or any other task where Ant creates a
file by itself.
Historically this all stems from Java not providing access to
permissions of files or directories at all. Neither reading permissions
nor writing t
replacement, replaceregexp task overrode the permissions.
I found below article that mentions this behavior as well:
https://hmemcpy.com/2014/06/when-good-permissions-gone-bada-case-of-a-failed-build/
Is there an ANT task that I can use that will replace and retain the
permissions of the file ? I
On 2020-02-20, Basin Ilya wrote:
> Hi. How do I make the scp task print the filenames? verbose="true" is
> too verbose.
For the task itself, there is no in-between.
> It also outputs the handshake details. I invoke it by passing a nested
> fileset
You can log the cont
Hi. How do I make the scp task print the filenames? verbose="true" is too
verbose. It also outputs the handshake details. I invoke it by passing a nested
fileset
--
Atul Pendse wrote:
>>> Does anyone have an example of wsimport ant task that works with JDK 11 or
>>> above?
>>> I would greatly appreciate any help around this.
>>> We are migrating from jdk8 to jdk 11/12/13, but can't seem to get wsimport
>&
Thanks Craig, I will try this.
Thanks,
Atul
> On 21-Dec-2019, at 11:40 PM, Craig Pell wrote:
>
> On 12/20/19 1:47 PM, Atul Pendse wrote:
>> Does anyone have an example of wsimport ant task that works with JDK 11 or
>> above?
>> I would greatly appreciate any
On 12/20/19 1:47 PM, Atul Pendse wrote:
Does anyone have an example of wsimport ant task that works with JDK 11 or
above?
I would greatly appreciate any help around this.
We are migrating from jdk8 to jdk 11/12/13, but can't seem to get wsimport
working with ant.
JAX-WS has been re
I don't have much knowledge of this task, but what is the exact issue
that you are running into with it in Java 11? Can you paste the relevant
build snippet and the complete stacktrace (if any)?
-Jaikiran
On 21/12/19 12:17 AM, Atul Pendse wrote:
> Hi,
>
> Does anyone have an examp
Hi,
Does anyone have an example of wsimport ant task that works with JDK 11 or
above?
I would greatly appreciate any help around this.
We are migrating from jdk8 to jdk 11/12/13, but can't seem to get wsimport
working with ant.
Thanks,
19 16:04
> An: user@ant.apache.org
> Betreff: Re: Issue with sql task accessing MySql
>
> Just to get the solution documented this thread, here's what I did.
> This is a winders 7 machine running ant in cygwin. The ant call:
>
>value="update_build_tabl
l
your help!
On Wednesday, August 28, 2019, 04:02:17 PM EDT, Stefan Bodewig
wrote:
On 2019-08-28, Eric Fetzer wrote:
> Is there a way to set that version JUST for this call?
I'm afraid there is no way to run the task in a different JVM than
the rest of Ant.
Judging from
htt
> Is there a way to set that version JUST for this call?
I'm afraid there is no way to run the task in a different JVM than
the rest of Ant.
Judging from
https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-versions.html
your MySQL Connector requires Java8 as a minimum.
But then again
On 2019-08-28, Eric Fetzer wrote:
> Is there a way to set that version JUST for this call?
I'm afraid there is no way to run the task in a different JVM than
the rest of Ant.
Judging from
https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-versions.html
your MySQL Connector
Also, any clue what version of Java do I need to use with this? 1.8?
On Wednesday, August 28, 2019, 12:57:34 PM MDT, Eric Fetzer
wrote:
Is there a way to set that version JUST for this call? We're building a
legacy application here that CANNOT upgrade to a newer version of Java...
Is there a way to set that version JUST for this call? We're building a
legacy application here that CANNOT upgrade to a newer version of Java...
Thanks!
On Wednesday, August 28, 2019, 12:28:55 PM MDT, Stefan Bodewig
wrote:
On 2019-08-28, Eric Fetzer wrote:
> Thanks Stefan, a bit
On 2019-08-28, Eric Fetzer wrote:
> Thanks Stefan, a bit better:
> $ ant -f test.xmlBuildfile: test.xml
> main:
> BUILD FAILEDc:\BuildDeployScripts\test.xml:22:
> java.lang.UnsupportedClassVersionError: (com/mysql/jdbc/Driver) bad major
> version at offset=6
> Total time: 0 seconds
You are run
Bodewig
wrote:
On 2019-08-28, Eric Fetzer wrote:
> The MySql server I'm accessing upgraded to version 8.0.17:
> So, accordingly, I downloaded the proper driver and linked to it in my task:
>
> BUILD FAILEDc:\BuildDeploySc
On 2019-08-28, Eric Fetzer wrote:
> The MySql server I'm accessing upgraded to version 8.0.17:
> So, accordingly, I downloaded the proper driver and linked to it in my task:
>
> BUILD FAILEDc:\BuildDeployScripts\test.xml:22:
> com.mysql.jdbc.exceptions.MySQLNonTransien
The MySql server I'm accessing upgraded to version 8.0.17:
mysql> select version();+---+| version() |+---+| 8.0.17
|+---+1 row in set (0.00 sec)
So, accordingly, I downloaded the proper driver and linked to it in
Betreff: Re: Skipping a javah task with Java 10 and higher
>
> Thanks much for your help! The javaversion condition works perfectly.
>
>
> Rei Odaira
>
> 2019年5月7日(火) 0:58 Jan Matèrne (jhm) :
>
> > With xml namespaces like if:set you could exclude individu
s.html
>
>
>
>
>
>
>
>
> ...
>
>
>
>
>
>
>
>
>
> Jan
>
> > -Ursprüngliche Nachricht-
> > Von: Jaikiran Pai [mailto:jaiki...@apache.org]
> > Gesendet: Dienstag, 7. Mai 2019 07:38
> > An: user@ant.apache.
Dienstag, 7. Mai 2019 07:38
> An: user@ant.apache.org
> Betreff: Re: Skipping a javah task with Java 10 and higher
>
> Recent versions of Ant (starting 1.10.2) have a "javaversion"
> condition[1] which you can use to setup a "property" which can then be
>
//ant.apache.org/manual/Tasks/conditions.html#javaversion
-Jaikiran
On 07/05/19 10:53 AM, 大平怜 wrote:
> Hello,
>
> My build.xml has a javah task. Since it no longer works with Java 10 and
> higher, I added nativeHeaderDir to a javac task, and it is working fine.
> However, I still want to
Hello,
My build.xml has a javah task. Since it no longer works with Java 10 and
higher, I added nativeHeaderDir to a javac task, and it is working fine.
However, I still want to keep the javah task, so that the same build.xml
works for older Java.
How can I make ant skip the javah task only when
Maybe writing your own Task in Java is the easiest and most maintainable way.
The task collects all data and then uses the existing testng task via
delegation.
(don’t forget to pass project and location reference)
Jan
> -Ursprüngliche Nachricht-
> Von: Isaac Jurado [mailto
its limits (in terms of XML
syntax). And the behavior of the task implemented in Java
doesn't help much either, not interpreting empty strings as null
values.
But thanks anyway.
On Mon, Feb 25, 2019 at 7:53 PM Matt Benson wrote:
>
> You could conditionally with or without the desired
In this case, the default value of timeout is null,
> which cannot be represented in a build.xml file. Using the following:
>
>
>
> ...
>
>
> Doesn't work with the default value because TestNGAntTask.setTimeout()
> accepts an Integer which Ant cannot parse.
&
.
Then, using seems like the way to go. However, is
a task which executes immediately. So none of the following options
work:
...
...
The first one fails because the reference is defined after ,
and the second one doesn't achieve the desired resu
Not sure why you want to wrap an existing Ant task ...
If you want to provide default settings, you could use
Jan
> -Ursprüngliche Nachricht-
> Von: Isaac Jurado [mailto:dipto...@gmail.com]
> Gesendet: Sonntag, 24. Februar 2019 18:27
> An: Ant Users List; gudnabr...@gmail.c
Thanks! I didn't notice the task existed.
However, I don't seem to wrap my head around it. In particular, it
doesn't seem to support forward references. This is what I tried:
...
The error I get is:
java.lang.IllegalStateException: Unknown refer
You could write a script, e.g. in JavaScript. There, you would create a
new instance of the testng task (using the global 'project' object),
then set all the necessary attributes and nested elements of the task
(don't forget to set the owning target), and, finally, call its
&
Look into the task with conditionally executed (using if/unless
namespaces, antcontrib , or similar) blocks.
HTH,
Matt
On Sat, Feb 23, 2019, 3:37 AM Isaac Jurado wrote:
> Hello Ant users,
>
> I'm trying to create a wrapper over . The idea is
> to have my macro expose th
Hello Ant users,
I'm trying to create a wrapper over . The idea is
to have my macro expose the same attributes that supports,
with as close semantics as possible.
Unfortunately, I have no idea how to reproduce the presence/absence
behavior. For instance, accepts a "timeout" integer
attribute
PS. Since the custom task is in the same JAR as the main class, I could
just call the 'main' method from the task's 'execute' method. I'd still
prefer to do it via the Java task to be able to fork etc.
Am 08.12.2018 um 21:57 schrieb Al Le:
Hello,
I have crea
Hello,
I have created a JAR that contains (among other things) a java class
with the 'main' method, i.e. it can be executed from the command line or
using the 'java' task.
The program can take many parameters on the command line; the parameters
have not very nice names
Hello Dave,
Can you add some details like what jars (especially the ones that
contain the Ant JUnit task classes) are present in the classpath? An
output of ant -v might also be useful.
There was an unintentional change in one of 1.10.x releases which
affected the signature of the clone
I am running ant 1.10.5 against the 5.3.1/1.3.1 of junit 5 and getting
java.lang.NoSuchMethodError:
org.apache.tools.ant.types.CommandlineJava.clone()Lorg/apache/tools/ant/types/CommandlineJava;
Anyone know what i'm missing? It works fine with 5.2.0/1.2.0.
--
---
files - actually
java.util.zip is to blame and forced us to recreate our own zip library.
Ant's task really mostly is a manifest aware variant of and
some of the features the task offers (merging manifests while merging
archives) would be difficult to do with the jar command line tool.
ew options to the jar tool:
https://docs.oracle.com/en/java/javase/11/tools/jar.html
I would like to use the --module-version and --main-class options with
Ant's Jar task, but I could not find them in the manual:
https://ant.apache.org/manual/Tasks/jar.html
I can accomplish this usi
On 2018-10-01, Bruce Alspaugh wrote:
> Java 9 and later add several new options to the jar tool:
> https://docs.oracle.com/en/java/javase/11/tools/jar.html
> I would like to use the --module-version and --main-class options with
> Ant's Jar task, but I could not find t
Java 9 and later add several new options to the jar tool:
https://docs.oracle.com/en/java/javase/11/tools/jar.html
I would like to use the --module-version and --main-class options with
Ant's Jar task, but I could not find them in the manual:
https://ant.apache.org/manual/Tasks/jar.ht
He-he, I've just discovered that the GET task does support headers, and
does so via nested "header" elements. Since Ant 1.8.0, released in 2010.
I don't know how I missed that then. And nobody pointed me to the fact :-)
On 2018-02-19, Al Le wrote:
> I have a question about how many times a task is instantiated during a
> build. I've read the description at
> https://ant.apache.org/manual/develop.html but still a question
> remains.
> [BTW, there is a typo on that page: "addCondifgi
Hello,
I have a question about how many times a task is instantiated during a
build. I've read the description at
https://ant.apache.org/manual/develop.html but still a question remains.
[BTW, there is a typo on that page: "addCondifgired"]
The mentioned page describes very
reated and whether it should be deleted on VM exit in a
single method invocation.
> 2. How would I ensure that the file is deleted after the task
> completes? Is there some mechanisms for this is Ant? Or should I just
> carefully program try-catch-finally and delete the file in the fina
Hello,
I'd like to implement a custom task. Its implementation would perform
following things:
1. Create a file (in .properties format)
2. Do some magic (the main logic of the task) which uses the file
created in step 1.
3. Delete the file created in step 1.
You see that the file
> -Ursprüngliche Nachricht-
> Von: Roger Whitcomb [mailto:roger.whitc...@actian.com]
> Gesendet: Donnerstag, 17. August 2017 16:20
> An: Ant Users List
> Betreff: Task for "javapackager"?
>
> Hi all,
> Does anyone use "javapackager&quo
On 2017-08-17, Al Le wrote:
> How can I achieve that some system properties are passed to the JVM
> started by the 'java' task with the 'fork=true' option without
> specifying them explicitly in the script?
Setting clonevm to true will copy over all system prop
Hello,
I'd need an advice from the experts.
In my ant script, I run a java program several times (up to 20) via the
'java' task. The program opens a connection to some server and uses the
IAIK library for this (some Java security stuff).
The server requires a certain level
Hi all,
Does anyone use "javapackager" with Ant? It has a ton of
options, and can be run with just
Hello,
Just running this by Apache Ant user group since I am not sure whether
anyone has a workaround for this yet.
i am not sure if Jasper (JSPC) currently supports excluding a list of JSP
files using typical or directive.
Jpsc is a directory based task so it does have pathname include
file
Jan
-Ursprüngliche Nachricht-
Von: Alexander Levin [mailto:a.le...@gmx.de]
Gesendet: Montag, 5. Juni 2017 01:39
An: Ant Users List; Jan Matèrne (jhm)
Betreff: Re: How to define a task with nested elements in Ant?
Hrm...
It would be cool if there existed a task which would allow t
atèrne (jhm)
> Betreff: Re: How to define a task with nested elements in Ant?
>
> Hrm...
>
> It would be cool if there existed a task which would allow to construct
> the translation of the task in Ant into some other existing tasks, e.g.
> using XPath.
>
> I.e. you
Hrm...
It would be cool if there existed a task which would allow to construct
the translation of the task in Ant into some other existing tasks, e.g.
using XPath.
I.e. you'd
1. Define the syntax of a new task; not with 'attribute' and 'element'
(like in macrod
Hrm...
It would be cool if there existed a task which would allow to construct
the translation of the task in Ant into some other existing tasks, e.g.
using XPath.
I.e. you'd
1. Define the syntax of a new task; not with 'attribute' and 'element'
(like in macrod
I dont know any easy way.
Simplest thing would be writing that kind in Java.
And if you dont want to download that jar from your buildfile you could the jar
creation inline:
- generate the code ()
- compile ()
- archive that ()
- include that ()
Via
Hello,
is it possible to define a task in Ant which would have some nested
elements? Sort of like how it's done with the macrodef task but with a
bit structure.
For example, I'd like to define a task which would be used as follows:
This should internally tr
Yes, it works! Thank you!
> Gesendet: Montag, 29. Mai 2017 um 12:16 Uhr
> Von: "Stefan Bodewig"
> An: user@ant.apache.org
> Betreff: Re: macrodef with parameters to pass to java task
>
> On 2017-05-29, Al Le wrote:
>
> > in my ant script I'd like to
he.org]
> Gesendet: Montag, 29. Mai 2017 12:17
> An: user@ant.apache.org
> Betreff: Re: macrodef with parameters to pass to java task
>
> On 2017-05-29, Al Le wrote:
>
> > in my ant script I'd like to define a macro (via macrodef) which
> would call the 'java' task
On 2017-05-29, Al Le wrote:
> in my ant script I'd like to define a macro (via macrodef) which would call
> the 'java' task as a part of its body/implementation.
> In the java task call in the macro, I want to just specify the main class
> name and the classpath
I'm sorry, the last closing tag in the example should of course be
"".
> Gesendet: Montag, 29. Mai 2017 um 12:04 Uhr
> Von: "Al Le"
> An: user@ant.apache.org
> Betreff: macrodef with parameters to pass to java task
>
> Hello,
>
> in my an
Hello,
in my ant script I'd like to define a macro (via macrodef) which would call the
'java' task as a part of its body/implementation.
In the java task call in the macro, I want to just specify the main class name
and the classpath. The parameters (which are usually specified
deployment.
2) I expected that any method footprint violation (>64k) should be checked
and informed by ant jspc task. But it seems not.
I also want to quote this (don't know if it holds true) from Ant JSPC task
doc
https://ant.apache.org/manual/Tasks/jspc.html
*"This task can be used to p
]
> Gesendet: Samstag, 25. Februar 2017 15:34
> An: user@ant.apache.org
> Betreff: Re: How to specify a password parameter in Java task
>
> On 2017-02-24, Al Le wrote:
>
> > When I run the script with the "-v" option that parameter is also
> > written out to
On 2017-02-24, Al Le wrote:
> When I run the script with the "-v" option that parameter is also
> written out to console, in clear text. Is it possible to tell ant to
> not write out the value in clear text but rather to display it as,
> say, '***'.
> Something like
No there is no such capabili
Hello,
in my ant script, I have a call to the "java" task. The parameters are
specified via nested "arg" elements.
One of the parameters is a password; its value is not stored in the script but
is calculated by a javascript and saved to an ant property.
When I run the
Hello AI Le.
I got it working now.
I will create a Jira ticket and submit a patch early next week.
Thank you very much for your help.
BTW: in this working implementation, I no longer use to group the
header tags...I have now:
Arcadius.
On 20 January 2017 at 06:45, Al Le wrote:
> > Ple
> Please, after changing the java code, what are the steps required to let
> the tag accept children nodes and ?
You should have methods like "setHeaders" (for the headers element) and
"addHeader"/"addConfiguredHeader" for the nested elements.
See https://ant.apache.org/manual/develop.html fo
Hello.
I am using the and get task for downloading files from a remote server.
The server requires tokens custom headers for authentication/authorization
i.e.
I was wondering whether it's a good idea to add that to the current get
task.
I got the source code from github and did some ch
Hello.
I am using the and get task for downloading files from a remote server.
The server requires tokens custom headers for authentication/authorization
i.e.
I was wondering whether it's a good idea to add that to the current get
task.
I got the source code from github and did some ch
Hi guys,
I have some troule with my ANT build.
We just migrated our CI-Server (Jenkins) to a new machine. The former
was a Windows Server 2008 R2 and now we have a Windows 10 machine.
After installing Jenkins and ANT and Java and all the other stuff and
restoring the configuration backup I can
Hello list,
I'm trying to enable XInclude processing in the schemavalidate task:
http://apache.org/xml/features/xinclude"; value="true"/>
This does not work, as I'm still getting an error when the task is executed:
"foo.xsd:8:136: s4s-elt-sc
Hello,
Using this test case, I see a different behavior on Windows and Linux ; I'm
creating two files, then generating a ZIP file (with regexpmapper to rename
files), wait a few seconds (just in case there's FS timestamp problem) and
re-execute the same Zip task.
On Linux, the secon
Try
task.setOwningTarget( self.getOwningTarget() );
'self' is referencing the task and the new created instance will get
its owning target.
Jan
> -Ursprüngliche Nachricht-
> Von: Al Le [<a rel="nofollow" href="mailto:al...@gmx.de&qu
Hello,
in my ant script, I do the following:
1. there is a target "calledTarget"
2. there is a task "macroTask", defined via "macrodef". This task contains in
its body a call to "calledTarget" (via "antcall").
3. there is a target "mainT
Is curl an option? You can run it with the Ant exec task.
Chris
From: Al Le
To: Ant Users List
Date: 03/17/2016 02:33 AM
Subject:Re: How to set content type in "get" task?
> No, the get task doesn't support setting the Accept-Header.
> Probably pr
I've kept your email in my inbox wanting to see if I could help.
Now that I'm trying - I'm surprised you can't specify the Content-Type. I
do a fair bit of REST work so I absolutely understand your desire for this
functionality. I found ant-contrib has a post task but
1 - 100 of 4558 matches
Mail list logo