AW: using task with XML Schema 1.1 and Saxon

2010-05-10 Thread Huditsch, Roman (LNG-VIE)
Hi Graham, That's a very interesting approach. I will definitely try to do it that way. And it's way better than what I have to the moment (calling a batch file that does the saxon validation call). Thanks, Roman Mag. (FH) Roman Huditsch Teamleader XSLT-Development Tel.: +43 (1) 534 52 - 15

AW: using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Huditsch, Roman (LNG-VIE)
Hi Stefan, After reading the saxon documentation I tried to use the class com.saxonica.jaxp.SchemaFactoryImpl directly for validation purposes Now, he is complaining about finding the saxon licence file (which is present in the classpath). So let's see, if that leads to a s

AW: using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Huditsch, Roman (LNG-VIE)
rüngliche Nachricht- Von: Knuplesch, Juergen [mailto:juergen.knuple...@icongmbh.de] Gesendet: Donnerstag, 6. Mai 2010 13:14 An: Ant Users List Betreff: AW: using task with XML Schema 1.1 and Saxon Did you use the saxon tasks? I use Saxon for XSLT inside Ant and I installed the Saxon

RE: AW: using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Martin Gainty
eiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Subject:

AW: using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Knuplesch, Juergen
Did you use the saxon tasks? I use Saxon for XSLT inside Ant and I installed the Saxon Anttasks -Ursprüngliche Nachricht- Von: Huditsch, Roman (LNG-VIE) [mailto:roman.hudit...@lexisnexis.at] Gesendet: Donnerstag, 6. Mai 2010 09:30 An: Ant Users List Betreff: AW: using task with XML

AW: using task with XML Schema 1.1 and Saxon

2010-05-06 Thread Huditsch, Roman (LNG-VIE)
Hi Stefan, Sorry, I forgot to include the ant output from the command line :( H:\Projekte\Stylesheets\LND\ZeitschriftenProduktion\build.xml:713: Could not start xml validation: com.saxonica.Validate implements nor SAX1 Parser nor SAX2 XML Reader. Best regards, Roman Mag. (FH) Roman Huditsch

AW: AW: Using anteater in ant

2010-04-14 Thread Jan.Materne
No idea. Have you asked on the anteater user list? Jan > -Ursprüngliche Nachricht- > Von: Pooja Ganapathi [mailto:pooja.ganapa...@gmail.com] > Gesendet: Mittwoch, 14. April 2010 07:09 > An: user@ant.apache.org > Betreff: Re: AW: Using anteater in ant > > >

Re: AW: Using anteater in ant

2010-04-13 Thread Pooja Ganapathi
hi, here is the URL --> http://aft.sourceforge.net/manual/Test%20tasks.html#elem:responseCode If you just scroll down, you might see the code like this : ** This is useful in conjunction with a property setter:

AW: Using anteater in ant

2010-04-13 Thread Jan.Materne
> in match,which i could use later with condition. The > anteater manual page (test tasks) decribes the same, I havent found that on http://aft.sourceforge.net/ could you post the url? > > > ${var1} > > > > > > > > > > The same code example as been given in the manuals too. > h

AW: Using Shellscript variable in build.xml

2010-01-22 Thread Jan.Materne
You must set the property in the Ant project instance. Not familiar with the bash-syntax ... so a JS code project.setNewProperty("KAR", KAR); - "KAR" is the name of the Ant property - KAR is the reference of the variable inside the block Jan >-Ursprüngliche Nachricht- >Von:

Re: AW: using dynamic declarations..

2009-10-19 Thread EetieD
Thanks for all the replies! (I used propertycopy, which it works perfect for me.) Knuplesch, Juergen wrote: > > Maybe use propertycopy from antcontrib package. > > > Juergen > -- > Jürgen Knuplesch > -Ursprüngliche Nachricht- > Von: EetieD [mailto:k...@leanapps.

AW: using dynamic declarations..

2009-10-15 Thread Knuplesch, Juergen
Maybe use propertycopy from antcontrib package. Juergen -- Jürgen Knuplesch -Ursprüngliche Nachricht- Von: EetieD [mailto:k...@leanapps.com] Gesendet: Donnerstag, 15. Oktober 2009 11:32 An: user@ant.apache.org Betreff: using dynamic declarations.. Hi, I was wonde

Re: AW: AW: using a for both and ???

2008-09-03 Thread Noel Grandin
.. > > > Jan > > -Ursprüngliche Nachricht- > Von: Noel Grandin [mailto:[EMAIL PROTECTED] > Gesendet: Mittwoch, 3. September 2008 14:21 > An: Ant Users List > Betreff: Re: AW: using a for both and ??? > > Hi > > Thanks, but that doesn't work. > >

AW: AW: using a for both and ???

2008-09-03 Thread Jan.Materne
I dont know if that works, but you could try Jan -Ursprüngliche Nachricht- Von: Noel Grandin [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 3. September 2008 14:21 An: Ant Users List Betreff: Re: AW: using a for both and ??? Hi Thanks, but that doesn't work. What I

Re: AW: using a for both and ???

2008-09-03 Thread Noel Grandin
Hi Thanks, but that doesn't work. What I want is to define a list of JAR files in one place, and use that list of JAR files both as input to the task, and also to merge that list of JAR files into one big jar. For the first situation I need the list to be treated as files, and in the second sit

AW: using a for both and ???

2008-09-03 Thread Jan.Materne
wants a resource collection and is one. and are other. Jan -Ursprüngliche Nachricht- Von: Noel Grandin [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 3. September 2008 11:29 An: user@ant.apache.org Betreff: using a for both and ??? Hi I want to do something like this, but I can

AW: Using properties in depends list for a target

2008-04-09 Thread Jan.Materne
> I would like to use properties in the "depends" list for a target, but > that does not seem to work. This is not possible because the if/unless attribute takes the _name_ of a property and checks its existence. > I would also like to use a filter chain to replace tokens in > a property inst

AW: Using Ant in Java

2008-03-27 Thread Jan.Materne
There is an add method which takes an Arg object. Jan Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 27. März 2008 15:18 An: user@ant.apache.org Betreff: Using Ant in Java Hi,

AW: Using ant in java

2008-03-27 Thread Jan.Materne
8:21 > An: user@ant.apache.org > Betreff: RE: Using ant in java > > Is there any working example of it? > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, March 27, 2008 9:25 AM > To: user@ant.apache.org > Subjec

AW: Using ant in java

2008-03-26 Thread Jan.Materne
You could implement a Redirector for catching the output into your GUI. Jan Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 25. März 2008 11:44 An: user@ant.apache.org Betreff: Using ant in java

AW: Using environment variable in SCP

2008-03-18 Thread Jan.Materne
I thought you want to use the env variable in your "scp" (maybe you have to mask the $ by $$). You could also start Ant with -v(erbose) or -d(ebug) mode. Usually you'll see the command Ant tries to execute. Jan > -Ursprüngliche Nachricht- > Von: Suhas Majale [mailto:[EMAIL PROTEC

AW: Using environment variable in SCP

2008-03-17 Thread Jan.Materne
When working with remote tasks like we have to distinguish between two environments: the env from the local and the remote machine. You can use the local environment by loading them into properties. I dont think that you can use the remote environment. What you could do as workaround i

AW: AW: using in tsk

2008-02-28 Thread Jan.Materne
n: Ant Users List > Betreff: Re: AW: using in tsk > > Thanks fo the reply Jan. > Do you think it can be considered a bug? > Dino > -- > - Messaggio originale - > Da: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> > A: user@ant.apache.org > Inviato:

Re: AW: using in tsk

2008-02-28 Thread dcdmailbox-info
Thanks fo the reply Jan. Do you think it can be considered a bug? Dino -- - Messaggio originale - Da: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> A: user@ant.apache.org Inviato: Lunedì 25 febbraio 2008, 7:33:43 Oggetto: AW: using in tsk Manual sais it uses nested files

AW: using in tsk

2008-02-24 Thread Jan.Materne
Manual sais it uses nested filesets ... :( Lets have a look into the source ... public void addLib(ZipFileSet fs) { // We just set the prefix for this fileset, and pass it up. fs.setPrefix("WEB-INF/lib/"); super.addFileset(fs); } no - only filesets. Then I only k

Re: AW: Using Replace

2007-10-12 Thread Brian Agnew
If you want to use XMLTask (and your input is XML - the below doesn't look quite right), the following will work: http://www.oopsconsultancy.com/software/xmltask/ Brian On Fri, October 12, 2007 08:22, [EMAIL PROTECTED] wrote: > Use a template which you copy and modify. > See , and > especia

AW: Using Replace

2007-10-12 Thread Jan.Materne
Use a template which you copy and modify. See , and especially in the manual the example "Copy a set of files to a directory, replacing @TITLE@ with Foo Bar in all files." Jan >-Ursprüngliche Nachricht- >Von: Dharmesh Vyas [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 11. Oktober

AW: Using ANT via Remote Desktop

2007-08-23 Thread Jan.Materne
it is a problem remotely but not >when I am in front of the machine, but at least I now know >what the difference is! > > > > > >SKent > > > > > >-----Original Message- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Thursday, August 23, 2007

AW: Using ANT via Remote Desktop

2007-08-22 Thread Jan.Materne
Sounds like a problem with the remote desktop. Ant does not know if it's started "directly" or "indirectly". Could you start other programs like Eclipse or NetBeans via remote desktop? Jan >-Ursprüngliche Nachricht- >Von: news [mailto:[EMAIL PROTECTED] Im Auftrag von Kent Moore >Gesen

AW: Using

2007-07-31 Thread Jan.Materne
These are two different kinds of datatypes. is a new resource collection. (ok is also one) is an "old" datatype. The handling (iterating over) these is completely different. You could compare handling and in http://ant.apache.org/manual/tutorial-tasks-filesets-properties.html * http://ant.apa

AW: Using Java xml properties file with Ant

2007-07-20 Thread Jan.Materne
>Good question. Looking at the ant source it looks like the >property value is overwritten with the new value concatenated >onto the old value with a comma in between. So the old value is lost. > >This is probably not the answer you are looking for but you >could use ant contrib's foreach task

Re: AW: Using for loop

2007-06-20 Thread arijit
thanks.. let me try to get the ant-contrib to work.. Knuplesch, Jürgen wrote: > > Use the for Task of the antcontrib Extension for Ant. > > > Download: http://sourceforge.net/project/showfiles.php?group_id=36177 > > Tasks: http://ant-contrib.sourceforge.net/tasks/tasks/index.html > > You ne

AW: Using for loop

2007-06-20 Thread Knuplesch , Jürgen
Use the for Task of the antcontrib Extension for Ant. Download: http://sourceforge.net/project/showfiles.php?group_id=36177 Tasks: http://ant-contrib.sourceforge.net/tasks/tasks/index.html You need to add antcontrib using the taskdef task (sometimes more tricky than it should), sth. Like:

Re: AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Matt Benson
--- Rick Moynihan <[EMAIL PROTECTED]> wrote: > Matt Benson wrote: > > --- Rick Moynihan <[EMAIL PROTECTED]> wrote: [SNIP] > >> I have already made inquiries on the > >> user/[EMAIL PROTECTED] lists, and I have > >> also tried contacting the project developers > >> directly. Unfortunately I > >

Re: AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Rick Moynihan
Matt Benson wrote: --- Rick Moynihan <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: So my questions to the ant community: * What is commons launcher doing that ANT alone isnt? Personally I havent heard from commons-launcher before. As you said it seems that commons-launcher is a modi

Re: AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Rick Moynihan
Steve Loughran wrote: Rick Moynihan wrote: Obviously I understand that ANT is a critically important piece of infrastructure for a huge number of projects, and I understand that ANT's primary focus is and always will be as a build tool. My only point is that *MAYBE* if it is not too much w

Re: AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Matt Benson
--- Rick Moynihan <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > >> So my questions to the ant community: > >> > >> * What is commons launcher doing that ANT alone > isnt? > > > > Personally I havent heard from commons-launcher > before. As you said it > > seems > > that commons-launche

Re: AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Steve Loughran
Rick Moynihan wrote: Obviously I understand that ANT is a critically important piece of infrastructure for a huge number of projects, and I understand that ANT's primary focus is and always will be as a build tool. My only point is that *MAYBE* if it is not too much work, ANT can be adapte

Re: AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Rick Moynihan
[EMAIL PROTECTED] wrote: So my questions to the ant community: * What is commons launcher doing that ANT alone isnt? Personally I havent heard from commons-launcher before. As you said it seems that commons-launcher is a modified copy of ant-launcher. So the best place to ask this would be (IM

AW: Using ant as a cross platform java process launcher

2007-04-24 Thread Jan.Materne
>So my questions to the ant community: > >* What is commons launcher doing that ANT alone isnt? Personally I havent heard from commons-launcher before. As you said it seems that commons-launcher is a modified copy of ant-launcher. So the best place to ask this would be (IMHO) the [EMAIL PROTECTED]

AW: Using ant to parse text file

2007-02-23 Thread Jan.Materne
I played a little bit ... import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import org.apache.tools.ant.BuildException; import org.apache.tools.ant.Task; public class LoadGroupTask extends Task { String prefix; File file; String section;

AW: Using ant to parse text file

2007-02-21 Thread Jan.Materne
I dont know any way (without writing a custom task). Jan >-Ursprüngliche Nachricht- >Von: DHARNA, AJAY [AG/1000] [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 22. Februar 2007 07:04 >An: Ant Users List >Betreff: Using ant to parse text file > >Hi all > >I am using Ant 1.6.5 - I woul

Re: AW: using * in arg of exec task

2007-02-12 Thread Martin M
Hello Jan, thank you for your response. As I don't want to use so many filesets, I changed my task to make the shell as executable and call the command as argument. This approach also works for me. So my task looks like this: As you've already mentioned the command above is working due to t

AW: using * in arg of exec task

2007-02-12 Thread Jan.Materne
You're running into the illusion that the * is resolved by the operating system. It is resolved by the shell (cmd, command, csh, ...). Does your script want to get a '*' as argument (Class*.class) and it does processing for its own? Then just use the Ant implementation you have. But if you need

AW: using * in arg of exec task

2007-02-12 Thread Jan.Materne
>-Ursprüngliche Nachricht- >Von: Martin M [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 12. Februar 2007 11:08 >An: user@ant.apache.org >Betreff: using * in arg of exec task > > >Hi all, > >I would like to call a helper script in my ant-task, but >somehow I dont't >get it running. > >I

AW: using mapper element to make a file name proper case

2007-01-02 Thread Jan.Materne
And what will be helloworld.java ? HelloWorld.java, Helloworld.java I think that's difficult because of camelcase notation. Jan >-Ursprüngliche Nachricht- >Von: Sunil [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 27. Dezember 2006 23:29 >An: user@ant.apache.org >Betre

AW: Using the '*' (wildcard)

2006-12-05 Thread Jan.Materne
Ant does not resolve the wildcard. The called program does - or does not. Have you tried to specify the shell (sh,bsh,...) on your second example? see: http://ant.apache.org/faq.html#batch-shell-execute Jan >-Ursprüngliche Nachricht- >Von: Lloyd, Eric [mailto:[EMAIL PROTECTED] >Gese

AW: Using path/refid for manifest classpath

2006-10-19 Thread Jan.Materne
For changing the backslash to slash, just set the dirsep-attribute on pathconvert. For a better way ... there was something DD said ... oh yes: the new (1.7) task ... Jan >-Ursprüngliche Nachricht- >Von: Lars Monsees [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 19. Oktober 200

Re: AW: using ant option in eclipse

2006-02-03 Thread Nicolas Vervelle
, février 3, 2006 9:31 am Objet: AW: using ant option in eclipse > Sounds more like an Eclipse question :-) > > a) These kind of questions should be asked on the Eclipse user list > b) An Ant build is run via a configuration like your program is run > via a run-configurat

AW: using ant option in eclipse

2006-02-03 Thread Jan.Materne
Sounds more like an Eclipse question :-) a) These kind of questions should be asked on the Eclipse user list b) An Ant build is run via a configuration like your program is run via a run-configuration. Ant is configured via "External Tools". There you can specify the target to run. I sugge

Re: AW: using a path element to copy to archive the whole structure

2006-01-06 Thread Matt Benson
Well, yeah... that too. :) --- [EMAIL PROTECTED] wrote: > Or take a HEAD version of Ant. > fileset´s and path´s are "only" a subset of resource > collections there. > > > Jan > > >-Ursprüngliche Nachricht- > >Von: Matt Benson [mailto:[EMAIL PROTECTED] > >Gesendet: Donnerstag, 5. Janu

AW: using a path element to copy to archive the whole structure

2006-01-05 Thread Jan.Materne
Or take a HEAD version of Ant. fileset´s and path´s are "only" a subset of resource collections there. Jan >-Ursprüngliche Nachricht- >Von: Matt Benson [mailto:[EMAIL PROTECTED] >Gesendet: Donnerstag, 5. Januar 2006 16:55 >An: Ant Users List >Betreff: Re: using a path element to copy to

AW: using fileset to only list the filenames and not the path+filename

2005-10-25 Thread Jan.Materne
Sorry, test code. - is expanded to the file, would give. With complete path. - is the string after all s are applied. So ... should help. Jan >-Ursprüngliche Nachricht- >Von: martin sweitzer [mailto:[EMAIL PROTECTED] >Gesendet: Dienstag, 25.

AW: using fileset to only list the filenames and not the path+filename

2005-10-24 Thread Jan.Materne
First thought was simply adding a , but adds always the basedir. So you must also set the 'relative' to true. Jan --- build.xml --8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-< --- myecho.bat --8-<

AW: Using ANT to build Synergy applications

2005-05-01 Thread Jan . Materne
Mmh - "other languages as Synergy" ??? I thought CM Synergy is a software configuration management tool ... Jan > -Ursprüngliche Nachricht- > Von: Declan McCann [mailto:[EMAIL PROTECTED] > Gesendet am: Freitag, 29. April 2005 15:31 > An: Ant Users List > Betreff: RE: Using ANT to build S

AW: Using multiple if on target element

2005-03-15 Thread Jan . Materne
> I need to check whether two properties are set before executing a > task. I could check for one property using if attribute of target. How > to check for 2 properties are set ?. > I dont want to write another target to check this condition. Inside core ant you have to

AW: Using pcli under ANT 1.6.2

2005-02-28 Thread Jan . Materne
Never heard of a task ... Jan > -Ursprüngliche Nachricht- > Von: Balasinorwala, Murtuza J. [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 28. Februar 2005 15:45 > An: 'Ant Users List' > Betreff: Using pcli under ANT 1.6.2 > > Hello, > I recently upgraded from ANT 1.5 to ANT 1.6.2

Re: AW: AW: Using property in regexp mapper

2004-02-13 Thread Matt Benson
--- "Hagen, Christian" <[EMAIL PROTECTED]> wrote: > > -Ursprüngliche Nachricht- > > Von: Matt Benson [mailto:[EMAIL PROTECTED] > > which part won't work? > > The mapper. Of course I can do it using a for-loop > and propertycopy, it wouldn't be the first time ;-). > But that's what I wante