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
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
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
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:
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
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
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
>
>
>
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:
> 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
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:
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.
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
..
>
>
> 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.
>
>
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
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
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
> 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
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,
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
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
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
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
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:
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
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
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
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
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
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
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
>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
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
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:
--- 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
> >
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
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
--- 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
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
[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
>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]
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;
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
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
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
>-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
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
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
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
, 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
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
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
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
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.
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-<
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
> 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
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
--- "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
58 matches
Mail list logo