My problem lies in the following snippet:
...
...
The output of the echo/$file-path variable are absolute paths like:
C:\program\\xmls\foo1.xml
C:\program\\xmls\bar\foo2.xml
To further proce
I'm sorry. That didn't help. My mistake was that I called the xslt task
in a way that he recursivly iterated over the directory itself.
Now I have another problem. $file is an absolute filepath, which can't
be processed correctly by the xslt task. I don't know what to put in the
out attribute.
Ca
In 8_sub use @{file} to access the parameter. HTH
Bill
-Original Message-
From: Robert Soesemann [mailto:[EMAIL PROTECTED]
Sent: Friday, November 26, 2004 7:46 AM
To: Ant Users List
Subject: foreach parameter does not change
Hello,
In my ant pipeline I have the following 2 targets whi
> 1.) Generate Remote/Home/Local interfaces for different EJBs
That´s usual the field for XDoclet.
> 2.) Generate Web Services from EJBs/Standalone java files
Don´t know whether XDoclet could do something here ...
> 3.) Generate Test clients for the EJBs/Web Services
Same as for 2) :-)
>
Where can I find the document for the following tasks:
1.) Generate Remote/Home/Local interfaces for different EJBs
2.) Generate Web Services from EJBs/Standalone java files
3.) Generate Test clients for the EJBs/Web Services
Currently I am using WSAD to accomplish all these tasks. I would like t
Hello,
In my ant pipeline I have the following 2 targets which perform a
foreach on every xml file in a folder structure. I do it this way to
pass the path of the currently process file to the xsl transformer.
Although the code looks like $file is overwritten each iteration, all my
xmls get the sa
"Robert Soesemann" <[EMAIL PROTECTED]> wrote ..
> In the ant-contrib manual is no example for the foreach task. Can
> anybody give an example of how to iterate e.g. over all .xml files in a
> folder structure.
>
> I also could not find out how to get the path and name of the currently
> iterated f
In the ant-contrib manual is no example for the foreach task. Can
anybody give an example of how to iterate e.g. over all .xml files in a
folder structure.
I also could not find out how to get the path and name of the currently
iterated file.
What I need is something like: (pseudocode)
Foreach f
"Robert Soesemann" <[EMAIL PROTECTED]> wrote ..
> Thanks, that much better than apply. But I couldn't find out how to
> extract and pass the path of the currently processed file.
>
could try something like;
${filepath}
you might have to process from here with a as well
gl, Jim Fu
Thanks, that much better than apply. But I couldn't find out how to
extract and pass the path of the currently processed file.
Can you help?
R
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Freitag, 26. November 2004 14:50
To: Ant Users List
Cc: Ant Users List
"Robert Soesemann" <[EMAIL PROTECTED]> wrote ..
> I guess it would not be an task, but an for loop. But the
> question is still how to extract path data and pass it to the xslt task.
check out the useful ant-contrib tasks esp the and
HTH, Jim Fuller
---
I guess it would not be an task, but an for loop. But the
question is still how to extract path data and pass it to the xslt task.
R.
-Original Message-
From: Robert Soesemann [mailto:[EMAIL PROTECTED]
Sent: Freitag, 26. November 2004 14:25
To: [EMAIL PROTECTED]
Subject: Combine Apply +
Hello,
In my ant pipeline I mainly process and transform XML document. I need
to insert a path attribute to every processed file.
My idea was to use an apply task to iterate over the whole folder
structure and - by means I don't know - pass the name & path information
of the currently processed fi
13 matches
Mail list logo