I'm looping thru a directory and it has many sub-directories underneath. I
want to exclude some sub-directories. Here's my code
it works fine. Now I have another properties file that contains directories
I want to exclude also. For business reason, I can't combine them into one
file. I tri
Thanks. The includesfile works perfectly :)
Michael Ludwig-6 wrote:
>
> Andy2008 schrieb am 29.06.2010 um 12:56 (-0700):
>>
>> I want to include a number of directories. Below is my code. In
>> this example, I only want to include Project1
I want to include a number of directories. Below is my code. In this
example, I only want to include Project1 and Project2 directories
Is there a way to put Project1 and Project2 values in one include statement
instead of having 2 include statements? I will have a lot of directories to
Fri, Jun 25, 2010 at 6:29 PM, Andy2008 wrote:
>>
>> I'm looping thru a directory that contains a lot of sub directories. I
>> want
>> to get the name of each sub directory. Below is my code
>>
>>
>>
>>
>>
I'm looping thru a directory that contains a lot of sub directories. I want
to get the name of each sub directory. Below is my code
@{soa.project.dir}
Right now it outputs the whole path such as "c:\abc\def" which is good
since I
Thanks so much. It works. You are the man :)
Michael Ludwig-6 wrote:
>
> Andy2008 schrieb am 22.06.2010 um 17:17 (-0700):
>>
>> Here's my input
>>
>> abc/long/distance
>>
>> I want to get abc back. Here's my code
>>
&
Here's my input
abc/long/distance
I want to get abc back. Here's my code
but I got back the whole string (abc/long/distance)
Do you have any ideas?
Thanks
--
View this message in context:
http://old.nabble.com/propertyregex-question-tp28966275p28966275.html
Sent from the Ant - Users mail
I have a list of values that I need to loop thru and right now I have them as
a comma separated list as below in my properties file
apps=app1, app2, app3, app4
Name of the apps can be very long so I'm wondering if I can do something
like below for readability purpose
apps=app1
apps=app2
apps=ap
Thank you all for your replies. I changed to using the antlib.xml and it's
working now.
You guys are awesome
Thanks
--
View this message in context:
http://old.nabble.com/where-to-download-the-latest-ant-contrib-1.0b3.jar-tp28261202p28269551.html
Sent from the Ant - Users mailing list archiv
first
> pair
> of parentheses, it's "\1".
>
> Here's a document I created to explain regular expressions: <
> http://dl.dropbox.com/u/433257/Regular_Expressions.doc>
>
> On Thu, Apr 15, 2010 at 8:18 PM, Andy2008 wrote:
>
>>
>&
Here's my input
dev-abc.com:8001
I want abc.com:8001 back. Below is my propertyregex
but ${url} returns \1
Do you have any ideas?
--
View this message in context:
http://old.nabble.com/PropertyRegex-help-tp28261946p28261946.html
Sent from the Ant - Users mailing list archive at Nabble.com
I did download that zip file and as I mentioned in my post, the issue is
there's no for loop in the antcontrib.properties. Below is what it has
# Logic tasks
if=net.sf.antcontrib.logic.IfTask
foreach=net.sf.antcontrib.logic.ForEach
throw=net.sf.antcontrib.logic.Throw
trycatch=net.sf.antcontrib.l
I downloaded it from the below link
http://sourceforge.net/projects/ant-contrib/files/
but the antcontrib.properties file does not have the for task in it. that's
why i got error while trying to excute the for loop. In my script I have
@{i}
I got the answer
--
View this message in context:
http://old.nabble.com/how-to-detect-a-file-while-looping-thru-a-list-of-directories-tp27775656p27798444.
Sorry, maybe I was not clear, in my code
there are alot of directories under c:\temp directory such as
c:\temp\dir1
c:\temp\dir2\test.xml
c:\temp\dir3
in this example, only dir2 has the test.xml in it so I only want to call the
target ABC for dir2 and skip the other
I want to loop thru a list of directories and only call a target called "ABC"
if a directory contains a "test.xml" file. below is my initial code
Do you have any ideas?
Thanks
--
View this message in context:
http://old.nabble.com/how-to-detect-a-file-whi
16 matches
Mail list logo