Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 11070 invoked from network); 13 Apr 2005 07:50:39 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 13 Apr 2005 07:50:39 -0000 Received: (qmail 46697 invoked by uid 500); 13 Apr 2005 07:49:24 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 46648 invoked by uid 500); 13 Apr 2005 07:49:23 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 46528 invoked by uid 99); 13 Apr 2005 07:49:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from mail.lexisnexis.at (HELO mail.lexisnexis.at) (212.27.108.99) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 13 Apr 2005 00:49:17 -0700 Received: from mail.lexisnexis.at (lngviecl11.orac.local) by mail.lexisnexis.at (Clearswift SMTPRS 5.0.4) with ESMTP id for ; Wed, 13 Apr 2005 09:52:15 +0200 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: AW: AW: Converting new or changed files with an batch file called from within ant X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Date: Wed, 13 Apr 2005 09:50:31 +0200 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: AW: Converting new or changed files with an batch file called from within ant Thread-Index: AcU/apLk9WSDot6/SziwID9YgDQk+QAji1DAAAEZUMA= From: "Huditsch Roman" To: "Ant Users List" X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Found out that I need to use=20 since otherwise is not supported. This works fine, but I still have problems with the transformation,=20 since there seems to be a mixup of input files and output directories = for Saxon... It seems that the macro is also expecting a directory as input, but = getting a file... Can you help me out once again? Thanks a lot for your patience and time! wbr, Roman =20 > -----Urspr=FCngliche Nachricht----- > Von: Huditsch Roman [mailto:Roman.Huditsch@lexisnexis.at]=20 > Gesendet: Mittwoch, 13. April 2005 09:20 > An: Ant Users List; jim.fuller@ruminate.co.uk > Betreff: AW: AW: Converting new or changed files with an=20 > batch file called from within ant >=20 > Hi Jim, >=20 > I just tried to get adapt my build file to your suggestions,=20 > but unfortunately I failed....again.... > It seems that my antcontrib.jar can be found, but the =20 > command is unknown : >=20 > C:\ANT-TEST\produktion.xml:80: Could not create task or type=20 > of type: for. > Ant could not find the task or a class this task relies upon. >=20 > My build file looks like: >=20 > name=3D"Content Produktion" default=3D"GLP_Legislation" basedir=3D"."> > > > location=3D"C:\Programme\ant\lib\ant-contrib.jar"/> > > > location=3D"C:\Programme\Saxon\saxon8.jar"/> >=20 > > > > > > > > includes=3D"**/*.xml"/> > to=3D"@{dest}/**/*.html"/> > > > arg1=3D"${transform.notRequired}" arg2=3D"true"/> > Transform not required > > out=3D"@{dest}" style=3D"@{style}" extension=3D".html"=20 > includes=3D"**.xml" basedir=3D"."> > name=3D"method" value=3D"xml"/> > name=3D"standalone" value=3D"yes"/> > name=3D"encoding" value=3D"iso8859_1"/> > name=3D"indent" value=3D"yes"/> > > =09 > > > > > > > >=20 > all XSLT transformations"> > > > > > > dest=3D"added" style=3D"stylesheets/add_versioning_information.xslt"/> > > > > >=20 >=20 >=20 > I also set the antcontrib.jar to my classpath..... > Did I use the in a wrong place? >=20 > wbr, > Roman >=20 >=20 > > -----Urspr=FCngliche Nachricht----- > > Von: James Fuller [mailto:jim.fuller@ruminate.co.uk] > > Gesendet: Dienstag, 12. April 2005 16:18 > > An: Ant Users List > > Betreff: Re: AW: Converting new or changed files with an batch file=20 > > called from within ant > >=20 > > Huditsch Roman wrote: > >=20 > > >Hi Jim, > > > > > >Thanks a lot for your solution. > > >I'll straigth dive into it tomorrow morning. > > >Thanks! > > > > > > =20 > > > > >=20 > > a few caveats...u have to download ant-contribs jar and make it=20 > > available to Ant (usually this means putting it in ant's=20 > lib...though=20 > > I would suggest putting into a seperate directory and nesting a=20 > > to the ) > >=20 > > this is not tested...though should give you the gist..... > >=20 > > if you find yourself going the file by file route you could use=20 > > ant-contribs task to iterate over a > >=20 > > > > > > > > > > > > > style=3D"somestylesheet.xsl"/> > > > > > >=20 > > note the src would refer to the single file e.g. @{file} (as being=20 > > itereated through defined by the ) > >=20 > > gl, Jim Fuller > >=20 > >=20 > >=20 > >=20 > --------------------------------------------------------------------- > > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 > additional=20 > > commands, e-mail: user-help@ant.apache.org > >=20 > >=20 >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For=20 > additional commands, e-mail: user-help@ant.apache.org >=20 >=20 --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org