Hi,
I'm using ant 1.6.5. I'm trying to run sql files in a row using SQLExec task.
The problem i am facing is that when execute the task the sql files run and
database and tables are created but at the same time in the console getting the
exception like below:
sql:
[run_script] connecting to jd
Hi,
I am using apache-ant-1.6.5 api to generate report in html format using
XSLTProcess task.
I want to generate some html files with the help of an xsl stylesheet into any
directory taking an xml as input.
It's OK when iam doing this in Windows enviorment. But when i am executing this
on
Hi,
I am using apache-ant-1.6.5 api to generate report in html format.
The code snippet :
XSLTProcess xslt_process = new XSLTProcess();
xslt_process.setProject(p2);
//xslt_process.setBasedir(new File(base_dir));
xslt_process.set
Hi
I am using ant API programmatically for build rather than writing build.xml.
It's o.k. Now i want the compilation record in a log file.I can get it by
writing the following in build.xml.
What i get in the output file "record-log.txt" i want that
Actually I want the log for each task.
e.g. for the task Javac the compilation information will be written in the log.
It may be in xml format or in text format.
and for other task the information for that particular task will be written in
log.
How it possible?
Thanks
Subir
Hi
I am using ant programmitacally for compilation of modules.Its OK.
But i want the log for compilation erros in a file.I have tried XmlLogger,
DefaultLogger.But these are not showing compilation errors.I want
compilation errors to be written in a file not in console.
Is it p
Hi
I am trying to execute a simple java code for a build using
Ant API rather than writing build.xml.When executing the code
it throws NullPointerException for the line
tinstaller.setClasspath(class_path);
in the code.
It is for the class "org.apache.tools.ant.taskdefs
de. Are you trying to write java code to use the
API rather than writing a build.xml?
-Rob A
> -Original Message-----
> From: subir bhaumik [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, May 16, 2006 6:44 AM
> To: user@ant.apache.org
> Subject: Taskdef
>
> Hi
> Wh
Hi
While i am executing the following the method setClasspath of
Taskdef getting NullPointerException, But the same method for Javac is O.K.
Where i am wrong?
My Code
String base_dir = Host.getBuildTemp();
Project p = new Project();