On Jan 2, 2007, at 7:58 AM, Dominique Devienne wrote:
On 12/30/06, Trevor Harmon <[EMAIL PROTECTED]> wrote:
I'm trying to use Saxon instead of the built-in Xalan processor for
the Xslt task. Supposedly, all I have to do is specify a classpath
when calling the task [1], but I've never been able
If that's the sort of thing you're after, Log4J has a similar mechanism
which can monitor the config file and polls to see if it needs to reload
the configuration. [1]
I think that would provide a template for you. YMMV.
Cheers,
James
[1]
http://logging.apache.org/log4j/docs/api/org/apache/
It worked!!
I used:
>
>
> instead of
>
>
and it worked!
I have no idea why it worked (This is my first major reworking of an ant
buildfile that someone other than myself wrote) but it worked!
Thank you very much!
- alasdair
Alasdair Young
Scot P. Floess wrote:
> Oops - my bad...no line
Incidentally, this did _not_ work for me, but thank you anyway!
- alasdair
Hussam Al-Tayeb wrote:
>> I solved this by doing export
>> CLASSPATH=$CLASSPATH:$ANT_HOME/lib/junit.jar
>
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
"export CLASSPATH=$CLASSPATH:$ANT_HOME/lib/junit.jar"
just out of interest, can my junit.jar file be called junit-4.1.jar? Or
it MUST be called junit.jar?
- alasdair
Hussam Al-Tayeb wrote:
> On 1/2/07, Alasdair Young <[EMAIL PROTECTED]> wrote:
>> Hi!
>>
>> I'm trying to set up some automated bu
It seems a trivial task to generate a Java source file from a property
with .
- Alexey.
Rapthor wrote:
Sorry, having confused you.
I have a file named global.properties. This file is edited manually by me.
The webapplication loads this file into a java.util.Properties-instance at
start.
Eve
On 1/2/07, Alasdair Young <[EMAIL PROTECTED]> wrote:
Hi!
I'm trying to set up some automated builds for the first time here and
I'm using a legacy ant build script that I've been hacking away at to
get junit working.
I am running ant 1.7, Junit 4.1 and java 1.5 on fedora core 5.
When I try to
Sorry, having confused you.
I have a file named global.properties. This file is edited manually by me.
The webapplication loads this file into a java.util.Properties-instance at
start.
Everywhere I use this Properties instance like "props.getProperty("myProp")"
I have to check whether a "null" i
Oops - my bad...no line wrap :(
Well something else to try, add the path to build-tests as part of the
path...
For instance if build-tests exists as /foo/bar/build-test, put
/foo/bar/build-tests in as a path element...
Or try using
instead of
I think the problem is you need to use the
Thanks for the fast response!
I don't think that's it - ./build-tests should be in there - 3rd from
the end.
any other ideas perhaps?
- alasdair
Scot P. Floess wrote:
> Looks like you need to put ./build-tests in your path element.
>
> location="./build-tests:.:../java/build:../thirdParty/si
Sorry, I'm not sure I follow your problem... Do you mean Ant should
somehow generate a properties file based upon your build.xml
properties? Who sets the properties and how is this null pointer being
raised? I am a "wee" bit confused ;)
Rapthor wrote:
Scot P. Floess wrote:
If a property
Rapthor wrote:
>
>
> Donald McLean wrote:
>>
>> Really? That sounds like a case of "The cure is worse than the disease."
>>
>> I can't imagine a single case where something like that would be a
>> better solution than the three or four techniques for providing static
>> attributes that I'm
Scot P. Floess wrote:
>
> If a property does not exist, why is a null pointer thrown? I assume
> you mean java.util.Properties? If so, that does not raise a null
> pointer exception.
>
You are right ... the NullPointerException would be thrown if I relied on a
value read from the Propertie
Looks like you need to put ./build-tests in your path element.
Alasdair Young wrote:
I should also mention that
./build-tests/com/vigilos/apps/setup/TestScheduledtlTableModel.class
exists and is the class I wish to run.
Hmm... could it be an issue with not looking in the right directory?
-
Donald McLean wrote:
>
> Really? That sounds like a case of "The cure is worse than the disease."
>
> I can't imagine a single case where something like that would be a
> better solution than the three or four techniques for providing static
> attributes that I'm already familiar with.
>
> H
I should also mention that
./build-tests/com/vigilos/apps/setup/TestScheduledtlTableModel.class
exists and is the class I wish to run.
Hmm... could it be an issue with not looking in the right directory?
- alasdair
Alasdair Young wrote:
> Hi!
>
> I'm trying to set up some automated builds for th
Hi!
I'm trying to set up some automated builds for the first time here and
I'm using a legacy ant build script that I've been hacking away at to
get junit working.
I am running ant 1.7, Junit 4.1 and java 1.5 on fedora core 5.
When I try to get junit to run my tests via ant, I get the following:
Really? That sounds like a case of "The cure is worse than the disease."
I can't imagine a single case where something like that would be a
better solution than the three or four techniques for providing static
attributes that I'm already familiar with.
However, of course, YMMV.
Rapthor wrot
If a property does not exist, why is a null pointer thrown? I assume
you mean java.util.Properties? If so, that does not raise a null
pointer exception.
Rapthor wrote:
Hi,
I think this problem is very interesting. I have a web application that
needs various configuration. I'm using a proper
Hi,
I think this problem is very interesting. I have a web application that
needs various configuration. I'm using a properties file that is loaded into
a Properties-class.
The problem arrises when runtime exceptions are thrown
(NullPointerException) by using:
String value = props.getProperty("
Thanks for your reply. I was using AnthillOS for a while but I gave up in
frustration. It's a kiddy tool for starters but very easy to use, however,
the developers of it were so agonizingly slow to implement features, I gave
up. Now I'm reading on CruiseControl. I read a bit about Maven but
Do you think that is would be possible to get the JavaDocs online for the
new year? This link has been broken for so long...
http://ant.apache.org/manual/api/index.html
--
- Eric
On 12/30/06, Trevor Harmon <[EMAIL PROTECTED]> wrote:
I'm trying to use Saxon instead of the built-in Xalan processor for
the Xslt task. Supposedly, all I have to do is specify a classpath
when calling the task [1], but I've never been able to get this to
work. Ant always finds the built-in proce
Hello Hussam,
you should place junit under lib/optional.
Regards,
Antoine
On Jan 1, 2007, at 9:02 AM, Hussam Al-Tayeb wrote:
I'm trying to build apache-ant with jdk1.6
It says it needs junit. where do I place junit?
--
Regards,
Hussam Al-Tayeb.
-
Place in
ANT\lib\optional
or build with
-lib path-to-you-junit-directory
option.
See: http://ant.apache.org/manual/running.html#libs
Jan
>-Ursprüngliche Nachricht-
>Von: Hussam Al-Tayeb [mailto:[EMAIL PROTECTED]
>Gesendet: Montag, 1. Januar 2007 16:07
>An: user@ant.apache.org
>B
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
On 02/01/07, Peter Reilly <[EMAIL PROTECTED]> wrote:
I have committed a fix, should be in the next
nightly build.
Peter
On 1/1/07, Peter Reilly <[EMAIL PROTECTED]> wrote:
> On 1/1/07, Petar Tahchiev <[EMAIL PROTECTED]> wrote:
> > Hi guys,
> >
> > First of all Happy New Year to all of you.
> >
>
27 matches
Mail list logo