On Mon, 9 Jan 2006, shreedhar natarajan <[EMAIL PROTECTED]> wrote:
> One of my property file has key/values such as
>
> path=something\usb
> I understand that it interprets \u in usb as unicode char.
Yes.
> I tried to use a filter to change "\" to "\\"
>
> file="${build_dir}/myvalues.prop
On Mon, 9 Jan 2006, <[EMAIL PROTECTED]> wrote:
> i write some lines about ANT for a homework ... and i read that ANT
> (unlike to Maven) is a TOP LEVEL Project.
Wherever you read that, the "unlike to Maven" part is wrong. Maven is
a Top Level Project as well.
> But i cant see (read) the differe
Try changing the \ to / in the file.
HTH Bill
-Original Message-
From: shreedhar natarajan [mailto:[EMAIL PROTECTED]
Sent: Monday, January 09, 2006 4:46 PM
To: Ant Users List
Subject: Reading properties
hi all,
One of my property file has key/values such as
path=something\usb
When
hi all,
One of my property file has key/values such as
path=something\usb
When I read this property like
ant throws an exception, C:\mydir\build.xml:35:
java.lang.IllegalArgumentException: Malformed \u encoding.
I understand that it interprets \u in usb as unicode char. how to over co
Ajay --
You need an equals sign between the XmlLogger.file property and its
value. Try:
ant -listener org.apache.tools.ant.XmlLogger -DXmlLogger.file=log.xml
[YOUR_TARGET_HERE]
Tim
DHARNA, AJAY [AG/1000] wrote:
I am using the following options in Ant
-listener org.apache.tools.ant.XmlL
I am using the following options in Ant
-listener org.apache.tools.ant.XmlLogger -DXmlLogger.file log.xml
However, I get the following error message;
ant logfile C:Development\Project\Source\Build\log.xml does not exist.
Do I need to create a log.xml file?? Has anyone seen this issue and know h
On 1/6/06, Jeffrey E Care <[EMAIL PROTECTED]> wrote:
> The jar task already figures this out for you.
Indeed it does. If Jar runs anyway, it could be because you generate a
manifest dynamically, with a date or version number that changes on
every build, forcing jar to always run. Otherwise is a "
Steve,
The jar task compares the timestamps of all the files you wish to jar to the
preexisting complete jar (if it had been run before) and will not execute if
none of them are later than the timestamp of the existing jar. Working
backwards from there you have the javac task which compares the
Maybe try forking the java task and using an sub-element with it? Using
the tag you can set environment variables for the forked process where
the JRE runs. My other suggestion would be to distribute the DLL with the
Java library which may or may not make more sense depending on your
situatio
Hello,
I checked the patches Petar has provided. Here is the
list of the spelling errors he has found:
1) projects.xml - the line "display and browse the
dependenies between the different targets" must be
"display and browse the dependencies between the
different targets".
The word "dependenies"
"Karthik" <[EMAIL PROTECTED]> wrote on 01/09/2006 06:59:30 AM:
> 1)Time consumed for the TARGET that was fired from "build.xml" in form
of
> o/p using echo.
You can write a customer logger that tracks when a given context begins,
and when it ends; this applies to targets, but also tasks, whole
Maybe you can force Maven to accept a -lib option.
Jan
>-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 9. Januar 2006 14:19
>An: Ant Users List
>Betreff: Re: AW: AW: AW: how to add a lib dependency to Ant classpath
>
>Thanks Jan, it work
Thanks Jan, it works if I run Ant standalone, but same problem when I run
in the Maven env. I think this is more of a Maven support issue rather
than Ant's.
Regs
-Has
<[EMAIL PROTECTED]>
09/01/2006 12:04
Please respond to "Ant Users List"
To:
cc:
Subject:
Karthik wrote:
>Hi Form
>
>Somebody help me in the questions below.
>
>1)Time consumed for the TARGET that was fired from "build.xml" in form of
>o/p using echo.
>
>2)Howto make use of LOGGER in ANT are there any specific tags built in for
>using the same
>
>
timing
look at ant-contrib.sourcefor
place them in ${user.home}/.ant/lib
Jan
>-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 9. Januar 2006 12:59
>An: Ant Users List
>Betreff: Re: AW: AW: how to add a lib dependency to Ant classpath
>
>Hi
>
>I'm using scriptdef task in my A
Hi Form
Somebody help me in the questions below.
1)Time consumed for the TARGET that was fired from "build.xml" in form of
o/p using echo.
2)Howto make use of LOGGER in ANT are there any specific tags built in for
using the same
[ Ant Doc's revel very little information on logging process ]
Hi
I'm using scriptdef task in my Ant script. This needs bsf.jar to be in the
Ant classpath. As I cannot add bsf.jar in the ANT_HOME/lib, I have
downloaded it at somewhere other on my hard drive. Now I need to add this
jar to Ant's classpath before executing the scriptdef task in my
build.xml.
Manual :: Developing with Ant :: Writing Tasks
http://ant.apache.org/manual/tutorial-writing-tasks.html#use1
Jan
>-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 9. Januar 2006 12:50
>An: Ant Users List
>Betreff: Re: AW: how to add a li
Hi
Is there any documentation that I can refer to...
Taskdef documentation on Ant Manual (http://ant.apache.org/manual/) is
extremely scarce.
Thanks
Hassan
<[EMAIL PROTECTED]>
09/01/2006 10:51
Please respond to "Ant Users List"
To:
cc:
Subject:AW: h
What dependency? Between the external lib and what?
Dependencies between a (custom) task and external libs are specified via nested
classpath elements.
Jan
>-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 9. Januar 2006 12:10
>An: Ant Us
Hi Jan
taskdef uses the classname attribute, whereas I have a JAR dependency? How
do I fix that.
cheers
Hassan
<[EMAIL PROTECTED]>
09/01/2006 10:51
Please respond to "Ant Users List"
To:
cc:
Subject:AW: how to add a lib dependency to Ant classpath
n
nested classpath of taskdef
Jan
>-Ursprüngliche Nachricht-
>Von: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 9. Januar 2006 11:48
>An: user@ant.apache.org
>Betreff: how to add a lib dependency to Ant classpath
>
>Hi
>
>Is there a way of adding a library dependency t
Hi
Is there a way of adding a library dependency to ant classpath dynamically
from within the Ant script. My limitation is I cannot add to the
ANT_HOME/lib, as I'm using Ant via Maven, and therefore cannot use this
option.
Your help is much appreciated.
Regs
Hassan
Hello,
i write some lines about ANT for a homework ... and i read that ANT (unlike to
Maven) is a TOP LEVEL Project. But i cant see (read) the difference between a
Top Level Project and a "normal" Project inside the Apache Software Foundation.
Can anyone help me?
Greets Krusty
Hello everybody,
I just found some spelling mistakes in the documentation and I would
like to propose an archive of patches. I hope I contributed to the
project even a little :-).
-- Regards, Petar!
diffs.tar.gz
Description: GNU Zip compressed data
--
>I would like to use ant to launch a java application that
>loads a black box .dll under Windows.
>Whatever the reason, the .dll path need to be present in the
>PATH environment variable.
>Otherwise, the java app fails to find and load the library.
e.g. using SWT ...
>As I need to deploy the a
Hi,
I would like to use ant to launch a java application that loads a black
box .dll under Windows.
Whatever the reason, the .dll path need to be present in the PATH
environment variable.
Otherwise, the java app fails to find and load the library.
As I need to deploy the app on numerous machi
27 matches
Mail list logo