http://ant.apache.org/manual/running.html#libs
http://ant.apache.org/manual/CoreTypes/antlib.html#loadFromInside
Jan
>-Ursprüngliche Nachricht-
>Von: kkmca [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 8. März 2007 00:15
>An: user@ant.apache.org
>Betreff: specify in build script whic
Hi,
I have an application with multiple modules. I have created a common-build.xml
file that can be used in all the module builds. My main build file invokes
subant on all the modules. noe I can use 2 approaches
1. Set generic ant file to use the same common file in all modules.
I
I m not sure how to do this - how do i tell ant where to find it lib files
when it is running itself - cant always be sure the environment the script
is used in has the right version of ant
--
View this message in context:
http://www.nabble.com/specify-in-build-script-which-ant-lib-to-use-tf336
I have a file of files that I want filter as I copy. I want the
filterreader to look and work similar to a fileset. Here is an example
of what I would like to do. I thought I might be able to write a
scriptfilter to test the concept, but I can't find an Ant class that
will test a filename for membe
Dominique,
Thank you for your explanation. Something is still strange here, as
indeed, only the default logger gets to know the user-specified log
level (Main.createLogger()).
I am also looking at Ant task and I see that for the called project, the
logger is set to MSG_INFO level, regardless of w
On 3/2/07, Dominique Devienne <[EMAIL PROTECTED]> wrote:
On 3/2/07, Andrew Close <[EMAIL PROTECTED]> wrote:
> we currently have a file included with our projects called 'jar.list'.
> this file contains a list of JAR files that the project depends upon.
> i.e.
>
> apache-ant-1.7.0.jar
> productA.
Hi,
Anyone out there using and tasks from jware's
AntX with Log4j framework. Their User Guide examples don't really show
how those link to the Log4j framework. AntX extension library and its
feedback tasks like , and looks like a
great way of distributing build information/content to multipl
I found that prior to Java 1.5 I had to have these libs on the
classpath:
jaxb-libs.jar
jaxp-api.jar
sax.jar
xercesImpl.jar
xalan.jar
xsltc.jar
We jumped straight from 1.3 to 1.5 so I don't know if 1.4 is missing
these libs.
Perhaps 1.4.2 has these libs, or your wrapper script is somehow putting
If you run ant with -verbose or -debug, you may be able to
see what generated the null pointer exception.
Peter
On 3/7/07, Mikael Petterson (KI/EAB) <[EMAIL PROTECTED]> wrote:
Hi,
Thanks for reply.
When I ran in Eclipse I did use "run as junit". When I ran Ant I use a
shell script that start
Hi,
Thanks for reply.
When I ran in Eclipse I did use "run as junit". When I ran Ant I use a
shell script that starts Ant with junit in classpath.
I start Eclipse with a wrapper script and I use:
1.4.2_08
I have the same setting for my ant wrapper script.
When you say that it is usually clas
These things almost always come down to classpath but it's hard to tell
without more info. In particular I found that Java 1.3 and 1.4 are
missing a lot of libs needed to run junit, but Java 1.5 already comes
with everything.
When you say you ran it in Eclipse, did you simply select "run as juni
The way I approach this problem is to have one and only one javac task
in any given target. Organize targets according to the dependency
graph. I think that's a more "Anty" way to do things.
-Original Message-
From: euge [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 06, 2007 10:16 P
William Walsh wrote:
Is anyone else using Ant's task on z/OS and having various
file/string encoding issues? We're using Ant 1.6.2 on z/OS 1.7 with WAS
6.1's Java 5 and some of our tests get errors due to XML parsing errors.
In looking into this issue it appears that the file.encoding property
Hi steve
thanks for the reply
well your way doesnt work, ;(
a friend help me, and this is the right solution
anyway, thanks for your time
regards
Steve Loughran wrote:
>
> dr_pompeii wrote:
>> Hi guys
>>
>> i have a problem with ant [b]war[/b] task
>> my build.xml are located in
>>
>>
Is anyone else using Ant's task on z/OS and having various
file/string encoding issues? We're using Ant 1.6.2 on z/OS 1.7 with WAS
6.1's Java 5 and some of our tests get errors due to XML parsing errors.
In looking into this issue it appears that the file.encoding property
set to "UTF-8" at invo
Hi,
I run a junit test ( junit 3.8.1 in both) in Eclipse it works just fine.
Then I run the test in Ant using:
The test fails with an NullPointerException.
dr_pompeii wrote:
Hi guys
i have a problem with ant [b]war[/b] task
my build.xml are located in
[code]
myapp
WEB-INF
build.xml
[/code]
this is my war task target
[code]
[/code]
wher
17 matches
Mail list logo