Classpath problem while profiling plug-in [message #50576] |
Sat, 14 January 2006 06:38  |
Eclipse User |
|
|
|
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 #52881 is a reply to message #51342] |
Sun, 05 February 2006 05:15  |
Eclipse User |
|
|
|
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
>>
>>
>>
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.03634 seconds