Hi Fletcher,
I recommend to use Ant-Contrib.
See Variable Task, and If-Then task
Regards,
trad-ex
>I would like to be able to take a macro parameter such as "devel" and
>use this information to compute the actual path where the data is stored
>(ex \\pca001\mypath). Unfortunately I cannot use pr
Hi all,
I've a situation here hope someone could give me some
guidance.
In my build script, I need to copy some files like
this:
from:
c:\from\qaz\123\common\some.xml
c:\from\wsx\345\common\some.xml
c:\from\edc\678\common\some.xml
to:
c:\to\123\common\some.xml
c:\to\456\common\some.xml
c:\to\67
I'm trying to get docbook up and running under Ant. Following some
instructions on the web, I got it to work by directly invoking the Saxon
XSLT processor via the task. However, all the docbooks is just XSLT,
so I'd like to use the task instead of . However, I can't seem
to get the combination
thanks Matt, works great!
Matt Benson wrote:
You talk about keeping your file indented correctly...
I wouldn't consider that necessary anyway... In any
event, the attached buildfile shows how to use concat
or echo, sacrificing formatting, then using a task per
line.
-Matt
--- Rakesh Patel <[E
That worked like a charm. Thanks for the quick response.
,
Josh.
> -Original Message-
> From: RADEMAKERS Tanguy [mailto:[EMAIL PROTECTED]
> Sent: Thursday, April 13, 2006 9:49 AM
> To: Ant Users List
> Subject: RE: Unzip Question
>
> Hello Josh,
>
> It's a two step process:
>
> 1) ext
Hello Josh,
It's a two step process:
1) extract the .js files from the archive to a temp location using the
task with a nested
2) use the task with a nested to copy the js
files from the temp location to a new destination
/t
>-Original Message-
>From: Fenlason, Josh [mailto:[EMAI
I'm trying to extract only js files from a zip file and not retain the
folder structure from the zip file.
For example the zip file might look like this:
/foo/bar/test.js
/foo/test2.js
I want to extract so they come out like this:
C:\test\test.js
C:\test\test2.js
Hope that make se
You talk about keeping your file indented correctly...
I wouldn't consider that necessary anyway... In any
event, the attached buildfile shows how to use concat
or echo, sacrificing formatting, then using a task per
line.
-Matt
--- Rakesh Patel <[EMAIL PROTECTED]> wrote:
> Hi Matt,
>
> can you
Jaysheel,
Actually, I would expect ant -verbose to be enough. You should see some
messages of the java command launcher of ant showing which command line
is being passed to the shell.
Or am I mistaken ?
Regards,
Antoine
Bandaru, Jaysheel wrote:
Hi -
Following is the snippet of what it i
Hi Matt,
can you give me an example of using ? I am already using
fixlastline=true with no result.
Thanks
Rakesh
Matt Benson wrote:
--- Rakesh Patel <[EMAIL PROTECTED]> wrote:
Hi,
almost there with the concat task but am having
problems with keeping my
build.xml file formatted corre
--- Rakesh Patel <[EMAIL PROTECTED]> wrote:
> Hi,
>
> almost there with the concat task but am having
> problems with keeping my
> build.xml file formatted correctly and giving the
> text to pass in ie if
> each line is indented, the indents go into the file.
>
> I tried individual staements b
Hi -
Following is the snippet of what it is printing on the console
[Loaded org.apache.tools.ant.taskdefs.Execute]
[Loaded org.apache.tools.ant.taskdefs.Execute$CommandLauncher]
[Loaded org.apache.tools.ant.taskdefs.Execute$Java13CommandLauncher]
[Loaded org.apache.tools.ant.taskdefs.Execute$Comm
Hi,
almost there with the concat task but am having problems with keeping my
build.xml file formatted correctly and giving the text to pass in ie if
each line is indented, the indents go into the file.
I tried individual staements but i can't seem to generate a new line.
Here's what i have s
Antoine Levy-Lambert wrote:
> Martijn Kruithof wrote:
>
>> Hi
>>
>> Is it an option to use JDK 1.5 completely and specify the source ant
>> target attributes
>>
> Martijn, Jaysheel wants to use , not ;-)
>
>> Martijn
>>
>>
>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
Martijn Kruithof wrote:
> Hi
>
> Is it an option to use JDK 1.5 completely and specify the source ant
> target attributes
Martijn, Jaysheel wants to use , not ;-)
>
>
> Martijn
>
>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
Hello Jaysheel,
I would be
user
scott
tiger
put *.war
quit
or with use of properties
user
${db.user}
${db.pwd}
put *.war
quit
Jan
>that seems to only produce name value pairs. Unfortunately,
>the file i want to create looks more like this:
>
>user
>scott
>tiger
>put *.war
>quit
---
that seems to only produce name value pairs. Unfortunately, the file i
want to create looks more like this:
user
scott
tiger
put *.war
quit
Cheers
Rakesh
Steve Loughran wrote:
Rakesh Patel wrote:
Hi,
looking at the core ant tasks, i couldn't see any obvious way to
create a text file on
Rakesh Patel wrote:
Hi,
looking at the core ant tasks, i couldn't see any obvious way to create
a text file on the fly and put text in it.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMA
Hi,
looking at the core ant tasks, i couldn't see any obvious way to create
a text file on the fly and put text in it.
Any ideas?
Cheers
Rakesh
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
Hi,
if cvs ain't on path , you might try the task, f.e. =
Regards, Gilbert
-Original Message-
From: Michael Giroux [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 12, 2006 5:25 PM
To: Ant Users List
Subject: tasks -- how to specify location of cvs.exe
The CVS related
20 matches
Mail list logo