You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Antoine Levy-Lambert <an...@gmx.de> on 2004/07/02 11:25:05 UTC

Xalan1Executor

Hi,
I think I am doing an emergency fix of this class to make it build.
I had to problem : it does not import BuildException, and it invokes a 
constructor which can throw an exception.

C:\dev\asf\ant\src\main\org\apache\tools\ant\taskdefs\optional\junit\Xalan1Executor.java:43: 
cannot resolve symbol

symbol  : class BuildException

location: class org.apache.tools.ant.taskdefs.optional.junit.Xalan1Executor

        throws BuildException {

C:\dev\asf\ant\src\main\org\apache\tools\ant\taskdefs\optional\junit\Xalan1Executor.java:37: 
unreported exception org.xml.sax.SAXException; must be caught or 
declared to be thrown

    private XSLTProcessor processor = XSLTProcessorFactory.getProcessor();

                                                          ^

Cheers,

Antoine


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: Xalan1Executor

Posted by Stefan Bodewig <bo...@apache.org>.
On Fri, 02 Jul 2004, Antoine Levy-Lambert <an...@gmx.de> wrote:

> Hi, I think I am doing an emergency fix of this class to make it
> build.

My fault, sorry.

I thought I had Xalan1 on my classpath, but obviously I had not and
never compiled the class.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org