XML is sensitive to quotes and ampersands. Try putting the arg line in a
properties file, and using the property in your build.xml. This will
save you the trouble of translating the quotes and ampersands into xml
friendly entities.
-Rob A
> -Original Message-
> From: Chon, Ae H [mailto:[E
Need help!
I'm having problems getting trying to run a command in windows using
ant "exec" task:
In windows, I would would the following command: cleartool find .
-version "created_since(yesterday)&&!(created_since(now))" -print
I tried to simulate this using 'exec' task...but it doesn't take
How do i get around this? I tried to used CDATA but i get the following
message (see code below): Class
org.apache.tools.ant.types.Commandline$Argument doesn't support the
nested "line" element
Please read the manual, and search the archive.
It's . --DD
--
Hi,
we tried to upgrade our system to Java 1.5 (jdk1.5.0_09) and Ant 1.7.0 RC1.
Sadly we ran into several problems. We also use svnant 1.1.0 RC2 and
ant-contrib 1.0b2.
I would like to know if any of you ran into similar problems - I'm moderately
experienced with fiddling with ant, but not an e
Here's the official Xerces statement on JDK1.2 compatibility...
They're supposed to be compatible with JDK 1.2 however no one has tested
that so I can't say whether they actually are. The same is true for all of
the previous releases starting from Xerces 2.6.0. These were only built
and tested w
It may help to give an example. Your question is very specific, which is great.
But I believe many are wondering why you would need this functionality. In Ant
there is often many ways to accomplish the same thing. If you explain what you
are trying to accomplish it may lead to a better option, o
Normally, the shell would expand the wildcard when using ls. This is not
the case in Ant since ls is not being executed within a shell. Try using
a fileset and the task. Of course, you could also try executing
a shell, or shell script.
-Rob Anderson
> -Original Message-
> From: Lloyd, E
On Tue, 05 Dec 2006, James Abley <[EMAIL PROTECTED]> wrote:
>
> That works for me, although I noticed something slightly surprising
> when I compiled using a 1.4 and 1.5 JDK.
>
> [javac] '-source'
> [javac] '1.3'
Ant magically upgraded the -source switch to 1.3 since most JDKs don't
su
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
Hi,
I'm new to Apache ant, and I'm trying to get a very simple to
work. For some reason, wildcards ('*') work fine in some cases but not
in others. For example, the following works fine:
Note: In ./File/src/obj there is one file - File.o. And running "ls
./File/src/obj/*.o" from a terminal wor
I dont know any buildin way. But the targets are hold in a Hashtable on
Project, so you could do
Ok, thats not what I want.
I want to be able to get this list of targets into a property, so it can be
used to make other decisons later on.
-Narahari
On 12/5/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
With "ant -h" you'll get a list of all Ant's options ...
Jan
>-Ursprüngliche N
>OK, going with the empirical approach rather than theorising about it!
>
>
>
>
>
>
> classpath="xercesImpl.jar" />
>
>
>
>
>public class X {
> org.apache.xerces.parsers.XIncludeAwareParserConfiguration
>conf = new
org.apache.xerces.parsers.XIncludeAwar
OK, going with the empirical approach rather than theorising about it!
public class X {
org.apache.xerces.parsers.XIncludeAwareParserConfiguration conf =
new org.apache.xerces.parsers.XIncludeAwareParserConfiguration();
}
That works for me, although I notic
>Looks like it does...
>
>http://svn.apache.org/viewvc/xerces/java/trunk/build.xml?view=markup
The compile target doesnt set a source and target level.
>which uses an extended form of
>
>http://svn.apache.org/viewvc/xerces/java/trunk/tools/src/XJavac.java?vi
ew=markup
I cant see any implemen
Yes, I can test the ${env.ant_exec_args} variable if
it is exported. But the value is modified by the
script (double quotes added), and the script will not
be portable between unix and dos/windows.
--- [EMAIL PROTECTED] a écrit :
> Could you change the ant-script and export the
> variable for tes
Looks like it does...
http://svn.apache.org/viewvc/xerces/java/trunk/build.xml?view=markup
which uses an extended form of
http://svn.apache.org/viewvc/xerces/java/trunk/tools/src/XJavac.java?view=markup
The class file version number (after pulling apart
org.apache.xerces.impl.Version) is 45.
17 matches
Mail list logo