Hi all,
I was trying to run ant (v1.7) via jsp but i'm getting
java.lang.NoClassDefFoundError: org/apache/tools/ant/launch/Locator
it works ok via java but not jsp, is this a configration problem or this is
a bug?

Regards,


Stefan Bodewig wrote:
> 
> On Tue, 15 May 2007, Steve Loughran <[EMAIL PROTECTED]> wrote:
>> Well, I've been fixing the locator class, and adding new tests (not
>> yet committed)
>> 
>> I've  fix all outstanding defects but can show a problem in which a
>> path with forward slashes in it gets two leading slashes cut off:
>> 
>>     public void testTripleForwardSlashNetworkURI() throws Exception
>>     { resolveTo("file:///PC03/jclasses/lib/ant-1.7.0.jar",
>> "///PC03/jclasses/lib/ant-1.7.0.jar");
>>     }
>> 
>> the error is:
>> junit.framework.ComparisonFailure: Expected
>> file:///PC03/jclasses/lib/ant-1.7.0.jar to resolve to
>> ///PC03/jclasses/lib/ant-1.7.0.jar
>> but got
>> /PC03/jclasses/lib/ant-1.7.0.jar
> 
> Is the expectation correct at all?  /etc/passwd is file:///etc/passwd
> and Ant's code is correct in that case, isn't it?
> 
> For a network share it would be file://HOSTNAME/share and I think this
> is dealt with correctly.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Locator-bugs-tp10621641p14542381.html
Sent from the Ant - Dev mailing list archive at Nabble.com.


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

Reply via email to