Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Classpath problem while profiling plug-in
Classpath problem while profiling plug-in [message #50576] Sat, 14 January 2006 11:38 Go to next message
Eclipse UserFriend
Originally posted by: lars.nospam.ohlen.dontspam.se

Hi,

I have created a custom specific Ant plug-in. It works perfectly both when
installed as a plug-in and during development running in the runtime
workbench.
But when I'm using TPTP for profiling (memory, executing etc) Ant gets
classloading problems! A very generic error message is displayed saying
Could not find one or more classes. Please check the Ant classpath.

I know that my Ant plug-in module uses some internal eclipse Ant classes,
but I would excpect that the classpath should be the same when executing and
profiling.
After some debugging I have found that the class missing is
org.eclipse.ant.internal.core.ant.InternalAntRunner (located in the
antsupportlib.jar). I have added
this jar file as a runtime required library and I have also changed the Ant
classpath in the runtime workbench prefs. With no luck.

I have checked the source code for the Ant plug-ins and perhaps the problem
is the custom classloading that occurs while interacting with the Apache
implemenation.

Any ideas / help appreciated.

Using Eclipse 3.1.1, TPTP 4.1,Windows XP Pro


BR

Lars
Re: Classpath problem while profiling plug-in [message #51342 is a reply to message #50576] Tue, 24 January 2006 01:31 Go to previous messageGo to next message
Guru Nagarajan is currently offline Guru NagarajanFriend
Messages: 45
Registered: July 2009
Member
Lars,
Your classloading maybe java related. What version of java are you
using?
Thanks,
Guru
Lars wrote:
> Hi,
>
> I have created a custom specific Ant plug-in. It works perfectly both when
> installed as a plug-in and during development running in the runtime
> workbench.
> But when I'm using TPTP for profiling (memory, executing etc) Ant gets
> classloading problems! A very generic error message is displayed saying
> Could not find one or more classes. Please check the Ant classpath.
>
> I know that my Ant plug-in module uses some internal eclipse Ant classes,
> but I would excpect that the classpath should be the same when executing and
> profiling.
> After some debugging I have found that the class missing is
> org.eclipse.ant.internal.core.ant.InternalAntRunner (located in the
> antsupportlib.jar). I have added
> this jar file as a runtime required library and I have also changed the Ant
> classpath in the runtime workbench prefs. With no luck.
>
> I have checked the source code for the Ant plug-ins and perhaps the problem
> is the custom classloading that occurs while interacting with the Apache
> implemenation.
>
> Any ideas / help appreciated.
>
> Using Eclipse 3.1.1, TPTP 4.1,Windows XP Pro
>
>
> BR
>
> Lars
>
>
>
>
>
>
Re: Classpath problem while profiling plug-in [message #52881 is a reply to message #51342] Sun, 05 February 2006 10:15 Go to previous message
Eclipse UserFriend
Originally posted by: lars.nospam.ohlen.dontspam.se

Hi,
I'm using Sun 1.4.2_06

/Lars

"Guru Nagarajan" <guru.nagarajan@intel.com> skrev i meddelandet
news:43D5836B.7030803@intel.com...
> Lars,
> Your classloading maybe java related. What version of java are you
> using?
> Thanks,
> Guru
> Lars wrote:
>> Hi,
>>
>> I have created a custom specific Ant plug-in. It works perfectly both
>> when installed as a plug-in and during development running in the runtime
>> workbench.
>> But when I'm using TPTP for profiling (memory, executing etc) Ant gets
>> classloading problems! A very generic error message is displayed saying
>> Could not find one or more classes. Please check the Ant classpath.
>>
>> I know that my Ant plug-in module uses some internal eclipse Ant classes,
>> but I would excpect that the classpath should be the same when executing
>> and profiling.
>> After some debugging I have found that the class missing is
>> org.eclipse.ant.internal.core.ant.InternalAntRunner (located in the
>> antsupportlib.jar). I have added
>> this jar file as a runtime required library and I have also changed the
>> Ant classpath in the runtime workbench prefs. With no luck.
>>
>> I have checked the source code for the Ant plug-ins and perhaps the
>> problem is the custom classloading that occurs while interacting with the
>> Apache implemenation.
>>
>> Any ideas / help appreciated.
>>
>> Using Eclipse 3.1.1, TPTP 4.1,Windows XP Pro
>>
>>
>> BR
>>
>> Lars
>>
>>
>>
>>
>>
Previous Topic:Eclipse TPTP Strengthens Integration with BIRT and WTP
Next Topic:Problems with UML2 diagrams
Goto Forum:
  


Current Time: Fri Apr 26 22:45:24 GMT 2024

Powered by FUDForum. Page generated in 0.03313 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top