I want to include and exclude folders from directory listing, say I have
following folders:
Abc/workspace
Def/workspace
Ghi/workspace
Jkl/workspace
Mno/workspace
And so on
I want to generate a tar file for the above folders but wants to exclude all
“workspace” folders, I tried like this:
Thanks to all of you for taking interest in my query.
I myself is in favor of solution which can be platform independent but was
clueless on how to achieve this in ANT, the shell command which I wanted to
incorporate on my ANT script is only a part of lengthy command in actual I
wanted to write
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
There is one more bug in documentation of Perforce Task P4Change, the example
line
Should be terminated by the matching end-tag like this:
Thanks
OK This is being resolved by using P4Reopen
-Original Message-
From: jhoomshar...@netscape.net
To: user@ant.apache.org
Sent: Mon, Mar 29, 2010 3:19 pm
Subject: p4edit does not assign files to newly created changelist
s there a way that I can avoid this problem with Perforce task
Is there a way that I can avoid this problem with Perforce task
can't change from change 84623 - use 'reopen'
Now how this issue comes
I already create a p.change in one of the target and assigned files to this
newly created changelist now I want to create another p.change in next target
Hi All,
I am stuck to one of the simple issue, I want to use P4Change of Perforce task
in one of my exec task the way I am able to use it in P4Edit
Same way I want to use it in one of my create-review target under exec task
like this:
but when I use th
Hi,
Looks to me this is bug in optional task of Perforce in ANT, is there way so
that I can log a bug in ant so that this issue gets resolved in next ANT
release.
Thanks
-Original Message-
From: Antoine Levy Lambert
To: Ant Users List
Sent: Thu, Mar 25, 2010 11:26 pm
Subject: Re: Pe
HI,
I tried building ant source after making chnages but build is failing for me, I
think I need to download lots of other dependencies as mentioned on this page:
http://ant.apache.org/manual/install.html#librarydependencies
To which I don't think I will be bale to it immidetaly.
-Orig
Thanks for quick reply, but when I use
nocopynewtargetfiles="true"
I am getting the following error:
error: Usage: integrate [ -c changelist# -d -D -f -h -i -o -n -r -s from
-t
] [ -b branch to... | from to ]
error: Invalid option: --v.
Any idea what going wrong with my target.
-Or
Hi All,
I am trying to use “P4Integrate” task in ant from Perforce task, so I am using
“nocopytargetfiles” attribute in this task like this:
But when I execute this “inte-new” target I am getting following error:
p4integrate doesn't support the "nocopytargetfiles" att
I am using shellscript task of ant-contrib in one of my target, which looks
like this:
KAR=`echo ${adapter-active-directory} | awk -F. '{print $1}'`
MAR=`echo ${adapter-active-directory} | awk -F. '{print $4}'`
How I can use the shell script va
I am using shellscript task of ant-contrib in one of my target, which looks
like this:
KAR=`echo ${adapter-active-directory} | awk -F. '{print $1}'`
MAR=`echo ${adapter-active-directory} | awk -F. '{print $4}'`
I have two problems here:
1. Above
I have pom.xml, below is snippet of my pom.xml file:
pom.xml
---
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
4.0.0
com.xkri.kill.tokens
tok
Thanks for reply and detail explanation, I have soemthing else with shellscript
How about this:
?
I am ble to get the output what I want, like to know apart from becoming this
code platform specific where else it can fail, because I am least bothered of
platform as the things will always re
I combined xmltask and ant-contrib's shellscript like this
KAR=`echo ${act-dir} | awk -F. '{print $1}'`
MAR=`echo ${act-dir} | awk -F. '{print $4}'`
echo "KAR: $KAR"
echo "MAR: $MAR"
I am able to achieve
I combined xmltask and ant-contrib's shellscript like this
?
??
?
???
??? KAR=`echo ${act-dir} | awk -F. '{print $1}'`
??? MAR=`echo ${act-dir} | awk -F. '{print $4}'`
echo "KAR: $KAR"
echo "MAR: $MAR"
??
Hi All,
I am stuck to shell command execution in my build.xml file, I want to execute
the following command from my build.xml file:
KAR=`echo $var | awk -F. '{print $4}'`
Can anyone help me out in this?
Thanks in advance.
Hi All,
does it possible to pick the version from xml node
3.4.02.02
in format such that each digit gets picked up assuming decimal "." as seprator
and than write it into different format in another xml file like this:
Any idea how I can achive this?
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
? 4.0.0
? com.xkri.kill.tokens
? tokens-active-dent
? 7.5.02.02
?
? jar
? Colt and ADAM
? This package p
I did not reaplied to any mail, if you see any problem I can post a new mail.
-Original Message-
From: Michael Ludwig
To: Ant Users List
Sent: Sat, Jul 11, 2009 5:49 pm
Subject: Re: Version read and replace
jhoomshar...@netscape.net schrieb am 10.07.2009 um 21:43:45 (-0400):
>
> I h
I have pom.xml, below is snippet of my pom.xml file:
pom.xml
---
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
? 4.0.0
? com.xkri.kill.tokens
? tok
Why don't you use xmltask by oopsconsultancy
http://www.oopsconsultancy.com/software/xmltask/
If you use xmltask your ant build.xml will look like this:
Say your pom.xml looks like this:
pom.xml
---
http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
looks like?it should be like this
repository = http://loncfg02:8080/dimensions
pvcsproject = WS_COLT_OLC_SUPPLIER
WS_COLT_OLC_SUPPLIER
-Original Message-
From: Vinod Tiwari
To: user@ant.apache.org
Sent: Wed, 27 May 2009 2:21 pm
Subject: PCVS ant task help
Hi,
?
I need
Hi All
I want to read lots of pom.xml file to pick node, and than write the
content to another xml file, can it be possible with ANT XSLT to do so?
Thanks,
Jhoom
25 matches
Mail list logo