I am using the new xslt2 engine Saxon8.
-Original Message-
From: James Fuller [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 17. Februar 2005 11:44
To: Ant Users List
Subject: Re: Not stop build on xslt faillure
Robert Soesemann wrote:
>Acttually I was looking for a way inside
xslt faillure
Antcontrib´s would be my first try for that ...
Jan
> -Ursprüngliche Nachricht-
> Von: Robert Soesemann [mailto:[EMAIL PROTECTED] Gesendet am:
> Donnerstag, 17. Februar 2005 10:58
> An: Ant Users List
> Betreff: Not stop build on xslt faillure
>
>
Hello,
Inside my build.xml I use the XSLT task to process hundreds of xsl
files. Whenever the xslt fails for one file the whole pipeline stops.
Can I tell this task or Ant to just go on preprocessing the next file
and skip the error-prone one?
Thanks in advance,
R.
-
While copy HTML files (*.htm or *.html) to another folder, I want to
rename the extension of all those files to *.xhtml.
I tried this, but it didn't work. Can you help?
include name="**/*.html"/>
Best regards,
Robert
-
Is there a way to tell Ant's xslt task to uses Saxon8 as processor
WITHOUT copying the saxon8.jar to the Ant lib directory. I need this to
be as plattform independant as possible. Therefore I would prefer
putting the jar into an external application folder.
It does not work when I just add saxon to
What am I doing wrong here? I want to iterate over the structure of an
input xml and for a POC just ouput its structure with xmltask. This
might look complicated but I need to do it inside Ant.
The main target calls for each top-level ...
In my Ant pipeline I do XSD validation of XML document. When a document
is not valid a log of type WARN is written. Is there an easy way to
count log messages and call tasks depending if there was any error.
What I want is to only call somne targets when there was NO validation
error.
Can you hel
Hallo,
In my CMS migration project I have a Ant pipeline which gets HTML files
as input and perform mainly XSL preprocessing and validation on them.
The last step of the pipeline is responsible for bringing the values of
the XML structure into a CMS via a Java API.
On requirement is to write as f
PROTECTED]
Sent: Mittwoch, 8. Dezember 2004 17:21
To: Ant Users List
Subject: Re: Use Saxon8 in xslt task
Quoting Robert Soesemann <[EMAIL PROTECTED]>:
> Thanks,
>
> Could anybody give me an example how to use this user_home/.ant/lib
> solution. Would I really need to re
Thanks,
Could anybody give me an example how to use this user_home/.ant/lib
solution.
Would I really need to remove the xslt task front ant/lib or could I
just include the external saxon jar to the classpath?
Regards,
Robert
Quoting Robert Soesemann <[EMAIL PROTECTED]>:
> I ha
I have my Ant pipeline running inside Eclipse. For some xslt tasks I
need to use the optional Saxon 8 XSLT 2.0 processor.
I add the path inside the xslt tasks via classpath and processor
parameter:
E.g.:
And it just works.
But when i run the Ant build outside of Eclipse with another An
I am a XSLT2 feature from Saxon8 inside an Ant script. Ourput files will
be specified insede the xsl with xsl:result-document.
But the Ant xslt task forces me to provide @destdir and copies the input
files there. Even if they are empty they get copied unnessecarily.
Can I pass a parameter to Sax
t. See the web page for more details.
Brian
Ant invocations follow.
[1 = ${1}]
[2 = ${2}]
[3 = ${3}]
Robert Soesemann wrote:
>Sounds perfect. Thanks for this hint.
seperate files with XSLT and ANT
You can use xmltask with the instruction. See
http://www.oopsconsultancy.com/software/xmltask
Robert Soesemann wrote:
>Hello,
>
>I don't know if there is a standard way to do this, but maybe you have
>an idea.
>
>I have many XML files
Hello,
I don't know if there is a standard way to do this, but maybe you have
an idea.
I have many XML files which hold multiple XML fragments of a specific
type ..
For an easy import of those seperate contentitems into a CMS it would be
better to split those fragments up into different file (one
Hello,
I don't know if there is a standard way to do this, but maybe you have an idea.
I have many XML files which hold multiple XML fragments of a specific type
..
For an easy import of those seperate contentitems into a CMS it would be better
to split those fragments up into different file
Cool, that's easy.
Thanks,
Robert
-Original Message-
From: Peter Reilly [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 2. Dezember 2004 18:35
To: Ant Users List
Subject: Re: Delete XML Files depending on content
Peter
Robert Soesemann wrote:
>Hello,
Hello,
I am looking for a clean and fast way to delete XML files depending on
their content.
To give you an idea of what I am doing: During a time consuming
migration process I need to scan a folder structure for relevant files
that need to be xsltransformed and validated and so on...
Files tha
Dec 2004, Robert Soesemann <[EMAIL PROTECTED]> wrote:
> Would it be enough to just exchange the ant.jar? I am using eclipse
> with ant support.
Depends on what else you are using. The nightly builds come from CVS
HEAD. I think there haven't been any major changes in Ant's
?
Thanks,
Robert
-Original Message-
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 2. Dezember 2004 09:27
To: [EMAIL PROTECTED]
Subject: Re: Release log file lock from
On Wed, 1 Dec 2004, Robert Soesemann <[EMAIL PROTECTED]> wrote:
> In my build script I use
posts in the list if the
file is opened by another program on Windows (say
Windows Explorer), due to windows file locks, ant
cannot delete it (I never test that anyway).
--- Robert Soesemann <[EMAIL PROTECTED]> wrote:
> Here is a snippet of my code. Maybe its because I am
> not only
Would it be enough to just exchange the ant.jar? I am using eclipse with
ant support.
-Original Message-
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 2. Dezember 2004 09:27
To: [EMAIL PROTECTED]
Subject: Re: Release log file lock from
On Wed, 1 Dec 2004, Robert
I never thought that this could be the reason. Do you know a way to
release that lock after I stopped the recorder?
Robert
-Original Message-
From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
Sent: Donnerstag, 2. Dezember 2004 09:26
To: [EMAIL PROTECTED]
Subject: Re: Release log file lock f
Users List
Subject: Re: Release log file lock from
The follwoinf script works in my environment (Fedora
Core 2 Linux):
Ivan
--- Robert Soesemann <[EMAIL PROTECTED]> wrote:
> Hello,
>
> In my build script I use the task to echo
> errors to a
Hello,
In my build script I use the task to echo errors to a log file.
At the end of my script i want to perform some operations (replace,
rename) on that file.
But this does not work, as ant hold a lock on that file the whole time.
How can I release that?
Regards,
R.
che Nachricht-
> Von: Robert Soesemann [mailto:[EMAIL PROTECTED] Gesendet am:
> Mittwoch, 1. Dezember 2004 14:14
> An: [EMAIL PROTECTED]
> Betreff: Set output path for
>
> Is there a way to tell ant's record task not only the name of the log
> file, but also is
Is there a way to tell ant's record task not only the name of the log
file, but also ist path?
Maybe there is a property e.g. ant.logdir?
Any ideas?
Robert
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
Hello,
I have implemented a migration process in Ant with xsl transformations
and XML Schema validations. I want to write the errors/warnings during
validation and xsl:messages during into a log file.
I know there is the echo task which can write to a file, but it is only
able to write from the
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
ll
-----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 which perform a
foreach on every xml file in a folder structur
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
Subject: RE: Combine Apply + XSLT task
"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
Users List
Subject: RE: Combine Apply + XSLT task
"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
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
35 matches
Mail list logo