Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Users List »

AW: Re: AW: Error: Failed to create task or type schemavalidate

Jan Materne

2008-01-22


Author LoginPost Reply
> > But you only need that information if you want to access the class
from your java code.
> > For just using in the buildfile no extra work is needed, just use
<schemavalidate>.
>
> Yes, I call the task from a Java application.

When I use tasks from java code I usually instantiate a private project
and delegate logging
to my applications logging by overwriting
  public void log(String message, Throwable throwable, int msgLevel)
  public void log(Task task, String message, int msgLevel)
  public void log(Task task, String message, Throwable throwable, int
msgLevel)
  public void log(Target target, String message, int msgLevel)
  public void log(Target target, String message, Throwable throwable,
int msgLevel)



Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.