Simple solution
Another possibility is using a template file and
.
The simple solution is based on your "requirement"
> Replace:
> 12467abc => 34567abc
> 12467def => 34567def
> 12467xyz => 34567xyz
For heavy
ef",
"/servlet/servlet.FileDownload?file=12467xyz"))
I want to replace below values in above lines using build.xml file.
Replace:
12467abc => 34567abc
12467def => 34567def
12467xyz => 34567xyz
I have made this query please suggest. I will use below query two times as
there is two numbers to replace.
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() method
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.
--
---
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
but it seems to be overly complicated for getting individual tokens
out when I am able to separate them using stringtokenizer. Isn't
there any other simplere way to do what I am after?
I have not fully understood your case, but I generally use the 'script'
task (with JavaScri
Thanks. I had seen that link before, but it seems to be overly complicated for
getting individual tokens out when I am able to separate them using
stringtokenizer. Isn't there any other simplere way to do what I am after?
-Original Message-
From: Peter West [mailto:li...@pbw.
xtract individual tokens in ANT after using stringtokenizer
> to separate the tokens out. Is it possible? How do I do it without using any
> other external ant libraries like ant-contrib?
>
> I attempted to do below, but am stuck at
I am trying to extract individual tokens in ANT after using stringtokenizer to
separate the tokens out. Is it possible? How do I do it without using any
other external ant libraries like ant-contrib?
I attempted to do below, but am stuck at extracting individual tokens
To whom it may concern,
I am trying to use gmail as an smtp server with the ant mail task.
I have set up the task as follows:
This worked a few months ago, but these days, when I run my ant build file
I get the follow error:
Failed to send email: 53
> From: dk0...@att.com
> To: user@ant.apache.org
> Subject: RE: Error about "Provider xx not a subtype" from using Ant XJC task
> Date: Thu, 29 Jan 2015 17:54:40 +
>
> > -Original Message-
> > From: KARR, DAVID
> > Sent: Tuesday, Janua
> -Original Message-
> From: KARR, DAVID
> Sent: Tuesday, January 20, 2015 10:59 AM
> To: Ant Users List
> Subject: RE: Error about "Provider xx not a subtype" from using Ant XJC
> task
>
> > -Original Message-
> > From: KARR, DAVID
> -Original Message-
> From: KARR, DAVID
> Sent: Friday, January 16, 2015 9:44 AM
> To: user@ant.apache.org
> Subject: Error about "Provider xx not a subtype" from using Ant XJC task
>
> I'm using the Ant XJC task, and attempting to load two JAXB exte
I'm using the Ant XJC task, and attempting to load two JAXB extensions. One is
a local copy of the "element wrapper" plugin, and the other the "fluent api".
When I run this, I get the following error:
Caused by: java.util.ServiceConfigurationError:
>
>> currently, it's on a windows server, but we have linux servers in our
>> environment too. i was thinking of using an ant script to handle/drive
>> most of this execution. as ant is primarily using for building (java
>> appliations), does a
ed a process to do the following, archive the
input, unzip the zip files, and execute some transformation on some of the
data.
currently, it's on a windows server, but we have linux servers in our
environment too. i was thinking of using an ant script to handle/drive
most of this execution.
some zip files are
> pulled from a vendor. i need a process to do the following, archive the
> input, unzip the zip files, and execute some transformation on some of the
> data.
>
> currently, it's on a windows server, but we have linux servers in our
> environment to
formation on some of the
data.
currently, it's on a windows server, but we have linux servers in our
environment too. i was thinking of using an ant script to handle/drive
most of this execution. as ant is primarily using for building (java
appliations), does anyone see issues with usi
Message-
From: Mark Lybarger [mailto:mlybar...@gmail.com]
Sent: Wednesday, January 15, 2014 8:36 AM
To: Ant Users List
Subject: using ant for non build tasks
hi,
i'm putting together a simple business "flow" process. some zip files are
pulled from a vendor. i need a pr
e have linux servers in our
environment too. i was thinking of using an ant script to handle/drive
most of this execution. as ant is primarily using for building (java
appliations), does anyone see issues with using ant to drive this file
processing and manipulation?
thoughts/ideas are very welcome!
thanks,
-mark-
On Fri, Aug 2, 2013 at 2:11 AM, Jan Matèrne (jhm) wrote:
> My idea is reading the SGML file using some filterchains and regexps for
> extracting the DTD-name.
> But I dont know any way to inject that into .
>
> So the workaround here is iterating over the for yourself
>
On Fri, Aug 2, 2013 at 7:19 AM, Peter West wrote:
> If you're ok with including an extra couple of build files you can have a
> look at
>
> http://codepulsive.blogspot.com.au/2013/05/ant-edit-property-values.html
> and
>
> http://codepulsive.blogspot.com.au/2013/05/ant-process-elements-in-list.ht
c/ant/editstring.xml
and
http://pbw.id.au/src/ant/listutils.xml
All standard ant, no compiled components.
Peter West
"Ask and it will be given you; seek, and you will find; knock, and it will be
opened to you."
On 02/08/2013, at 6:35 AM, Graydon Saunders wrote:
> Hi --
>
> I&
My idea is reading the SGML file using some filterchains and regexps for
extracting the DTD-name.
But I dont know any way to inject that into .
So the workaround here is iterating over the for yourself
- antcontrib: for, foreach
- loop using script (bsh, groovy, javascript) inside the buildfile
Hi --
I'm using ant 1.9.2 via a Fedora rawhide package on Linux.
I have bunch of SGML files (in complex, arbitrary directory structures
which I must preserve) that have different SGML DTDs; these need to be
normalized to XML.
One of the pieces of information required by the program that
t.apache.org
> Betreff: Automate saving reports using ANT in multiple folder/directory
>
> Hi, i am trying to run a testng.xml file whereby i will get to automate
> the saving of reports using build.xml However i am not too sure how to
> use ANT. This will be my first ANT project. Any a
Hi, i am trying to run a testng.xml file whereby i will get to automate the
saving of reports using build.xml
However i am not too sure how to use ANT. This will be my first ANT
project. Any advice will be appreciated.
my build.xml are as followed
related to Ant, you would
create a new Project instance.
Regards,
Antoine
On May 26, 2013, at 10:41 AM, WebServices Development wrote:
> I am trying to create a custom ant task to copy files to a specified location
> based on some criteria provided to the task.
>
> I am usin
I am trying to create a custom ant task to copy files to a specified location
based on some criteria provided to the task.
I am using ANT's Copy task for my custom task. I have seen some discussion
about using one of the two - getProject() and "new Project()" but hav
> Sorry. I am not getting your point. I am trying to use the
> projectSetImport to get the project names from the build.psf which is
> below.
>
>
>
> Loaded projects = ${ImportedProjectNames}
>
Have a look at the documentation
http://publib.boulder.ibm.com/infocenter/radhelp/v8
://ant.1045680.n5.nabble.com/Automating-cvs-modules-checkout-with-build-psf-using-Ant-Script-tp5713862p5713865.html
Sent from the Ant - Users mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
> I am able to checkout the projects directly in ant script using cvs
> commands but i need an sample for the following requirement. Please
> help.
>
> Need to run build.xml ant script with project name as argument. Ihe
> script should take the build.psf and needs to che
Hi All,
I am able to checkout the projects directly in ant script using cvs commands
but i need an sample for the following requirement. Please help.
Need to run build.xml ant script with project name as argument. Ihe script
should take the build.psf and needs to checkout the required projects
Hi,
I am trying to load external library by using jdk1.6 wild card syntax in Ant
1.8.4 and I get the below error, can anyone help me how to resolve this issue?
Below is my error and build script I am using..
Buildfile: C:\CCSTG\Workspace_V7\AntBuildTest\build.xml
init:
compile:
[echo
You can try something like this as well.
--
View this message in context:
http://ant.1045680.n5.nabble.com/Error-message-while-using-ant-contrib-jar-taskdef-A-class-needed-by-class-net-sf-antcontrib-platform-tp1356639p5713690.html
Sent from the Ant - Users mailing list archive at Nabble.com
Hi Siva,
I am still facing the same problem. Could you please tell me what is the
latest version of .jar file you have used?
Thanks in advance,
Ajay
--
View this message in context:
http://ant.1045680.n5.nabble.com/Unable-to-send-a-attachement-through-mail-using-ANT-tp5713538p5713588.html
Hi,
I solved this problem by adding the latest .jar file to the library.
Now it works fine
Regards,
Siva
--
View this message in context:
http://ant.1045680.n5.nabble.com/Unable-to-send-a-attachement-through-mail-using-ANT-tp5713538p5713575.html
Sent from the Ant - Users mailing list
fileName=c:/Users/marvin/Documents/B2Development/LINF-test.war&clean=true&available=true
On Fri, Sep 14, 2012 at 3:09 PM, Rob Tanner wrote:
> Hi,
>
> I have a project where I need to do a specific GET request to a server to
> let it know that a new application has been copied to a mounted partit
Hi,
I have a project where I need to do a specific GET request to a server to let
it know that a new application has been copied to a mounted partition and needs
to be installed (I was doing this manually, but would like to automate it).
If I to the GET without any parameters, the request works
.
> Date: Sun, 2 Sep 2012 01:32:51 +0300
> Subject: java.security.AccessControlException when using Ant, but runs ok
> when invoking java from console
> From: mperdik...@gmail.com
> To: user@ant.apache.org
>
> I have the following *Ant < java >* task:
>
I have the following *Ant < java >* task:
When I run *Ant* the execution of the **task fails (see trace below my
signature). When I copy-paste the echoed classpath and run my code from the
command line with *java -classpath ..* the execution succeeds! I was
a
If you are using JDK 1.6+, you can probably call out to wsimport...
On Wed, 27 Jun 2012, Andun Gunawardena wrote:
Please help me about the subject.
Thanks
AndunSLG
Scot P. Floess RHCT (Certificate Number 605010084735240)
Chief Architect FlossWare http://sourceforge.net
Please help me about the subject.
Thanks
AndunSLG
On 2012-06-08, Pascal Schumacher wrote:
> I opened a bugzilla issue:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=53383
Great, thanks
Stefan
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additiona
Hello Stefan,
thanks for the quick response. :-)
I opened a bugzilla issue:
https://issues.apache.org/bugzilla/show_bug.cgi?id=53383
Pascal
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de
---
On 2012-06-07, Pascal Schumacher wrote:
> Hello everybody,
> according to the AntUnit 1.2 documentation
> "assertResourceExists
> Asserts that a given resource exists. This is a generalization of
> assertFileExists and allows to test for arbitrary resources."
> it should be possible to check if
Hello everybody,
according to the AntUnit 1.2 documentation
"assertResourceExists
Asserts that a given resource exists. This is a generalization of
assertFileExists and allows to test for arbitrary resources."
it should be possible to check if a URL exists. But I can't figure out
how to do i
y. Is there a possibility of
>> a path conflict?
>
> The class behind classfileset is defined in ant-apache-bcel.jar and
> requires classes from bcel-5.2.jar - so you need both jars.
>
>> This is the error mesage:
>> Unable to load dependency analyzer:
>> org.apache.t
FullAnalyzer
> Platform:
> Mac OS X 10.7
> Apache Ant(TM) version 1.8.2 compiled on October 14 2011
> Using bcel-5.2.jar, in ~/.ant/lib and also /usr/share/ant/lib
Is this a system installed Ant? There may be an additional package for
optional tasks that didn't install.
Stefan
rly. Is there a possibility of
a path conflict?
This is the error mesage:
Unable to load dependency analyzer:
org.apache.tools.ant.util.depend.bcel.FullAnalyzer
Platform:
Mac OS X 10.7
Apache Ant(TM) version 1.8.2 compiled on October 14 2011
Using bcel-5.2.jar, in ~/.ant/lib and also /usr/sh
On 2011-12-22, Stefan Bodewig wrote:
> On 2011-12-19, Frank Astier wrote:
> Later versions of tar support workarounds (namely ustar later used by
> GNU tar and BSD tar aswell) and even later the newer POSIX standard
> added PAX extension headers to address this (and other things like file
> names
On 2011-12-19, Frank Astier wrote:
> I’m trying to use the Apache Tar package (1.8.2) for a Java program
> that tars large files in Hadoop. I am currently failing on a file
> that’s 17 GB long.
First of all, do yourself a favor and use Commons Compress rather than
Ant's tar package.
Traditional
You didn't mention what version of Ant was involved...
Andy.
On 20 Dec 2011 05:31, "Frank Astier" wrote:
> Hi -
>
> I’m trying to use the Apache Tar package (1.8.2) for a Java program that
> tars large files in Hadoop. I am currently failing on a file that’s 17 GB
> long. Note that this code wor
Hi -
I’m trying to use the Apache Tar package (1.8.2) for a Java program that tars
large files in Hadoop. I am currently failing on a file that’s 17 GB long. Note
that this code works without any problem for smaller files. I’m tarring smaller
HDFS files all day long without any problem. It fail
Hi,
We are currently generating a zip file using multiple
targets as follows.
A requirement has come up in that we need to generate (and include) a list
of the included files and their corresponding MD5 checksum values.
If we use a // combination, I can get a
text file
ect value should be as below
*set TEST_DIR=C:\home\dir2*
.. i am using this command in my ant build file..
"
"
..
..PLZ help
--
View this message in context:
http://ant.1045680.n5.nabble.com/problem-using-replaceregexp-when-using-with-DIRECTORY-location-tp4935408p4935408.
to *TEST_DIR*
but when i use in my ant script..it escapes forward
slashes.. and gives this result
*set TEST_DIR=C:homedir2*
but correct value should be as below
*set TEST_DIR=C:\home\dir2*
.. i am using this command in my ant build file..
"
"
..
..PLZ help
--
View this messag
correct value should be as below
*set TEST_DIR=C:\home\dir2*
.. i am using this command in my ant build file..
"
"
..
..PLZ help
--
View this message in context:
http://ant.1045680.n5.nabble.com/Having-trouble-using-replaceregexp-with-DIR-locations-as-string-to-replace-tp4935484p49
correct value should be as below
*set TEST_DIR=C:\home\dir2*
.. i am using this command in my ant build file..
"
"
..
..PLZ help
--
View this message in context:
http://ant.1045680.n5.nabble.com/problem-using-replaceregexp-when-using-with-DIRECTORY-location-tp4935408p4935408.html
Sen
--Original Message-
From: David Weintraub [mailto:qazw...@gmail.com]
Sent: 17 August 2011 17:32
To: Ant Users List
Subject: Re: Problems using properties containing multiple dollar signs.
On Wed, Aug 17, 2011 at 11:04 AM, Holman, Chris wrote:
> This ant script snip
ariable seems correct, but the echo is wrong.
However, this does work:
So, by declaring a variable equal to "$" and using that instead of
dollar signs seems to work.
--
Da
This ant script snippet:
Prints out:
[echo] $ $ $$ $$ $$$ $$$
I think its related to this PropertyExpander definition
org.apache.tools.ant.PropertyHelper.SKIP_DOUBLE_DOLLAR
On 2011-07-07, Markus Oley wrote:
> I have a problem which classloading and ant 1.8.1, junit 4.8.2 and
> log4j 1.2.16 or any third-party libraries:
Any chance you could try 1.8.2? I vaguely recall we fixed something
there but can't find any evidence for it in svn.
It would also be good if you c
Hi all,
I have a problem which classloading and ant 1.8.1, junit 4.8.2 and log4j
1.2.16 or any
third-party libraries:
.
with the classpath:
Following target is called:
only.junit4.example1 and only.junit4.example2 both call the target with
junit-call above
with ''
From: Grüner Heinrich
To: Ant Users List
Sent: Tuesday, June 7, 2011 6:22 AM
Subject: Re: verifying encoding value using xmlvalidate task
Hi Dominic,
maybe you should check out the xmltask.
http://www.oopsconsultancy.com/software/xmltask/
I don't know exa
intent to validate the XML files using the encoding ?
Thanks in advance,
Parag Doke
Save paper, save trees. Do not print emails/documents unless
absolutely necessary.
On Mon, Jun 6, 2011 at 8:38 PM, dominic Tippabattuni
wrote:
Hi,
I am working on a task which can verify xml encoding value. All xml
e in XML files ?
> Or is your intent to validate the XML files using the encoding ?
>
> Thanks in advance,
> Parag Doke
> Save paper, save trees. Do not print emails/documents unless
> absolutely necessary.
>
>
>
> On Mon, Jun 6, 2011 at 8:38 PM, dominic Tippabattuni
>
Hi Dominic.
I'm no ant expert, but just trying to understand the requirement.
If you intent to check presence of encoding value in XML files ?
Or is your intent to validate the XML files using the encoding ?
Thanks in advance,
Parag Doke
Save paper, save trees. Do not print emails/docu
Hi,
I am working on a task which can verify xml encoding value. All xml files in
the project should be verified.
It would be great if someone can point me in the right direction.
The line in the xml file which needs to be verified is
Thanks
Nick
eed a different entry name in my zip file. If using the
is the correct solution then we can go with that, but it's
really far from obvious; perhaps some additional documentation to the effect
of "if using concat as a resource collection then you must use a
", etc.
I was hoping
hard-coded name for the Resource it contains:
>
> public String getName() {
> return "concat (" + String.valueOf(c) + ")";
> }
>
> I can't imagine such a construction is ever useful.
>
> I was able to work around this issue by using a :
>
&g
ne such a construction is ever useful.
I was able to work around this issue by using a :
but this is IMHO clunky and not terribly obvious.
I propose two changes:
1. Allow the resource name to be specified when is used as a
ResourceCollection; e.g., someth
Hi, seems this is an old issue here.
It also occured to me from cmd .While it's ok from eclipse and hudson.
I changed it to be ,and it works for
me .
thanks for your note.
--
View this message in context:
http://ant.1045680.n5.nabble.com/error-while-using-project-helper-tp1341859p3869623
anders.jacobs...@gmail.com wrote:
Hi!
The Jenkins Ivy plugin uses Ivy 2.1 internally so yes, it would not
allow version="2.2". Ivy 2.1 only allows "1.0", "1.1", "1.2", "1.3",
"1.4" and "2.0".
Good to know, but the manual doesn't say that the ivy-module version
tracks the release number.
On Tue, 01 Feb 2011 13:48:52 +, Steele, Richard wrote:
...
> I think I really have no choice but to use "." as it's the only character
> guaranteed to work in Ant, various extensions and tools, property files, and
> command lines--unless someone has a better choice?
You may turn the colon onto
not a namespace issue: I want properties
which are private to a particular build file.
Someone else pointed out , which I've been using in targets and
macrodefs (and it's awesome). I didn't even think it could be used outside
of those blocks, but the documentation does say
Note
This pretty much confirms that I shouldn't be using ":" in my property
names. (If I once knew that ":" could be used in property files, I don't
remember it.)
Thanks,
Rich
On Tue, Feb 1, 2011 at 10:41 AM, Stephen Connolly <
stephen.alan.conno...@gmail.com> w
2011 at 2:37 PM, Vimil Saju wrote:
>> you're nuts, don't use : in property names! :P
>>
>> --- On Tue, 2/1/11, Steele, Richard wrote:
>>
>>> From: Steele, Richard
>>> Subject: Wisdom of using ":" in property name
>>> To: user@ant.ap
On Tue 2011-02-01 at 14:41h, Peter Reilly wrote on user:
> : and = and ' ' are used to separate the key from value in java property
> files.
Only when they are unescaped, see
http://download.oracle.com/javase/6/docs/api/java/util/Properties.html#load%28java.io.Reader%29.
> so, not a good thing t
le, Richard wrote:
>
>> From: Steele, Richard
>> Subject: Wisdom of using ":" in property name
>> To: user@ant.apache.org
>> Date: Tuesday, February 1, 2011, 5:53 AM
>> For better or for worse, I'm using
>> ":" as a separator character
you're nuts, don't use : in property names! :P
--- On Tue, 2/1/11, Steele, Richard wrote:
> From: Steele, Richard
> Subject: Wisdom of using ":" in property name
> To: user@ant.apache.org
> Date: Tuesday, February 1, 2011, 5:53 AM
> For better or for wo
For better or for worse, I'm using ":" as a separator character in my
property names as part of a set of reusable build files. The part before
the ":" indicates which build file the property is defined in.
I've come across at least one incompatibility doing this,
Thanks alot that really helped and I dint even have to add the excludes
statement.
--
View this message in context:
http://ant.1045680.n5.nabble.com/how-to-exclude-a-basedir-while-looping-using-foreach-tp3364313p3365697.html
Sent from the Ant - Users mailing list archive at Nabble.com
i tried everything else earlier but not "*" what does "*" actually stand for?
--
View this message in context:
http://ant.1045680.n5.nabble.com/how-to-exclude-a-basedir-while-looping-using-foreach-tp3364313p3365698.html
Sent from the Ant - Users mailing list a
You could try something like includes="*", but I'm not sure of the
intent of your excludes.
-Original Message-
From: rhea [mailto:karissacab...@gmail.com]
Sent: Monday, January 31, 2011 5:18 AM
To: user@ant.apache.org
Subject: how to exclude a basedir while loopin
inner
directories.
Have any ideas?
--
View this message in context:
http://ant.1045680.n5.nabble.com/how-to-exclude-a-basedir-while-looping-using-foreach-tp3364313p3364313.html
Sent from the Ant - Users mailing list archive at Nabble.com
James
From: Maarten Coene [maarten_co...@yahoo.com]
Sent: Monday, December 13, 2010 6:11 PM
To: ivy-u...@ant.apache.org
Subject: Re: using ivy iwth artifactory
Could it be that your "jpa-generic-dao" module has a dependency on the "test"
configura
but the is easier to use
and is good enough for 90% of this type of situations. (And look,
there's an example of using a Mapper in a task!)
Using "Mappers" is a bit esoteric and most Ant users aren't experts at
them. And, most users would include me personally. I usually hav
Subject: Re: Using shell command in ANT script
On Wed, Nov 24, 2010 at 12:33 PM, Ludwig, Michael
michael.lud...@delphi-mb.de> wrote:
It's , not .
And you could also use :
Thanks for that tip of . You can also use the
flattenmapper/> to remove directory names if yo
> Thanks for that tip of . You can also use the
> to remove directory names if you so choose:
Or even (starting with 1.8.2 or building from trunk) the newly introduced
! Lots of options ...
http://ant.apache.org/manual/Types/mapper.html
Michael
On Wed, Nov 24, 2010 at 12:33 PM, Ludwig, Michael
wrote:
> It's , not .
>
> And you could also use :
Thanks for that tip of . You can also use the
to remove directory names if you so choose:
That should be able to replace t
On Wed, Nov 24, 2010 at 3:48 AM, wrote:
> I want to use the following shell command in my build.xml file
> ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt
AFAIK, the 9th field of ls -l is the filename, so your "ls -l path |
awk '{ print $9 }'" is better replaced with simply "ls -1".
The
>
>
>
>
>
>
>
It's , not .
And you could also use :
You'll probably get absolute pathnames then.
(At least that's what I get.)
Michael
-
To unsubscribe, e-m
> Hi All,
>
> I want to use the following shell command in my build.xml file
>
> ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt
The problem is that your particular command requires two shells. When
you pipe the output of the "ls" command to the "grep" command, you
literally need two execu
Put the command inside a shell script and exec the shell script from
your build.xml
--sony
On Wednesday, November 24, 2010, Tim Visher wrote:
> On Wed, Nov 24, 2010 at 4:48 AM, wrote:
>> I want to use the following shell command in my build.xml file
>>
>> ls -l ../../../jobs/ | awk '{ print $9
On Wed, Nov 24, 2010 at 4:48 AM, wrote:
> I want to use the following shell command in my build.xml file
>
> ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt
>
> is there any way I can use the above mentioned command.
Read up on [Exec](http://ant.apache.org/manual/Tasks/exec.html).
-
Hi All,
I want to use the following shell command in my build.xml file
ls -l ../../../jobs/ | awk '{ print $9 }' > content.txt
is there any way I can use the above mentioned command.
Can anyone help me out in this regard?
Thanks,
Saha
> I have tried using the and other examples
> from Google but I can't get it to work.
Then you should try a little harder, it is not difficult,
certainly way less difficult than anything involving JBoss.
Start with a minimum script and the Ant manual. You shouldn't
need
Hi Michael,
I have tried using the and other examples from Google but
I can't get it to work. I just want the "db-upgrade:" bit to stop when it
cant meet the next condition.
At the moment it still tries to run the script looking for dir2 and dir3
even though these don't
> having difficulty scripting a
> routine to tell it that when a condition is not met it should exit.
Look at the docs for to see how to set the property.
Michael
-
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For
1 - 100 of 1534 matches
Mail list logo