Re: Defining ant target to run junit tests using dbunit

2008-05-23 Thread Carlos Alonso
atching signer information of other classes in the same package. I think I'm going to have to give up on using this, I'm wasting too much time trying to get this to work Carlos Alonso-2 wrote: Well, let's go step by step over the classpath definitions that you can find in

Re: Need help calling one build file from another

2008-05-22 Thread Carlos Alonso
Well Bryan, I think that the problem here relies on the target, you are invoking a target that belongs to other ant file, but the basedir and further properties belongs to the Bar ant file.To avoid this problem, follow the next example: Substitute both your and tasks with something like thi

Re: Defining ant target to run junit tests using dbunit

2008-05-21 Thread Carlos Alonso
f the classpath? I think I'm getting confused about the different places the classpaths are defined, and how to list multiple files/directories... Carlos Alonso-2 wrote: Have you included the java junit.jar library into the classpath provided for the junit task? The TestListener c

Re: Defining ant target to run junit tests using dbunit

2008-05-21 Thread Carlos Alonso
e. I simply cannot get this to work;very frustrating... Carlos Alonso-2 wrote: Hi tmni, About the authentication exception that you're getting, I cannot guess neither cause nor solution, but I think the following source code could be helpful. The first point is the problem you're g

Re: Defining ant target to run junit tests using dbunit

2008-05-20 Thread Carlos Alonso
Hi tmni, About the authentication exception that you're getting, I cannot guess neither cause nor solution, but I think the following source code could be helpful. The first point is the problem you're getting with the oracle driver load. I think that the point is that you have not defined w

Re: Executing a sorted fileset of .sql files in sql task

2008-05-19 Thread Carlos Alonso
( http://ant.apache.org/manual/CoreTasks/sql.html). Try removing so that your is nested directly within . According to the Ant docs for each resource from a nested resource collection is automatically run in its own transaction. -Andrew On Fri, May 16, 2008 at 11:57 AM, Carlos Alonso <[EM

Re: Doubt in property file

2008-05-19 Thread Carlos Alonso
Hi Irfan. Regarding to your first question, the answer is yes, you can use as much property files as you want. About the second question I'm not 100% sure, but I would say that the value is overriden so that the runtime value will be the one in the last loaded property file. Furthermore, I can

Executing a sorted fileset of .sql files in sql task

2008-05-16 Thread Carlos Alonso
Hi everyone. I'm looking for an automated way to execute a set of .sql files inside a sql task and I do need them to be executed in order. The ant task I've tried is the following includes="*.sql" />