This may be off, but could it be a classloader problem? Say your string
extension classes are not visible to classloader that loaded junitreport
classes.

http://ant.apache.org/faq.html#delegating-classloader

--Vladimir

> -----Original Message-----
> From: Steve Loughran [mailto:[EMAIL PROTECTED]
> Sent: Friday, December 01, 2006 6:09 AM
> To: Ant Users List
> Subject: Re: Need information about using Eclipse AntRunner
> 
> Michael Giroux wrote:
> > I have an ANT script that includes a <junitreport> task.  The
> > <junitreport> task uses an XSLT to transform junit reports (xml
files)
> > into HTML.  The xslt uses string extensions to convert newline
> > characters into <br> tags.
> >
> > When the script is executed using the Eclipse AntRunner (eclipse
> > 3.2.1), it appears that the extension library for strings is not
> > found, and the generated HTML does not get the desired <br> tags.
> > Worse, this happens silently, so I have no evidence that this is
> > actually the case, or if the string extensions are broken.
> >
> > I suspect that the extension library is not being included in the
> > classpath, but not sure how to prove that.
> >
> > If anyone has successfully used Eclipse AntRunner with <junitreport>
> > or any other task that needs extension libraries, can you tell me if
> > there is any additional configuration requirements to make this
work?
> >
> > FWIW, I asked this on the eclipse newsgroup and have not seen an
> > answer, so I'm guessing that nobody over there knows the answer.  I
> > was hoping that someone with ANT expertise was also familiar with
> > Eclipse AntRunner and might help here.
> >
> 
> Could be they are using a different XSLT engine than xerces, even if
> xerces is on the classpath. All those java endorsed directories and
> things...
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to