classes appearing twice in my plugin [message #328377] |
Fri, 23 May 2008 14:45 |
Eclipse User |
|
|
|
Originally posted by: subs._nospam_consertum.com
Hi,
I have just noticed that all of the classes in my plugins are appearing
twice in the plugin.jar. For example, my com.xyz.plugin.jar contains
bin
|- com
|- xyz
|- plugin
|- Activator.class
com
|- xyz
|- plugin
|- Activator.class
That is, it contains the same .class files in both
bin/com/xyz/plugin/... AND com/xyz/plugin/...
Any ideas why this is happening?
Thanks
--
Derek
|
|
|
Re: classes appearing twice in my plugin [message #328381 is a reply to message #328377] |
Fri, 23 May 2008 15:18 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Hi,
Could you give a copy of your build.properties?
Derek wrote:
> Hi,
>
> I have just noticed that all of the classes in my plugins are appearing
> twice in the plugin.jar. For example, my com.xyz.plugin.jar contains
> bin
> |- com
> |- xyz
> |- plugin
> |- Activator.class
> com
> |- xyz
> |- plugin
> |- Activator.class
>
> That is, it contains the same .class files in both
> bin/com/xyz/plugin/... AND com/xyz/plugin/...
>
> Any ideas why this is happening?
>
> Thanks
--
Thanks,
Rich Kulp
|
|
|
Re: classes appearing twice in my plugin [message #328387 is a reply to message #328381] |
Fri, 23 May 2008 16:24 |
Eclipse User |
|
|
|
Originally posted by: subs._nospam_consertum.com
Here's the contents of my build.properties file:
source.. = src/
output.. = bin/
bin.includes = plugin.xml,\
.,\
plugin.properties,\
icons/,\
META-INF/,\
bin/
src.includes = src/,\
.,\
plugin.xml,\
plugin.properties,\
icons/,\
META-INF/,\
bin/
Rich Kulp wrote:
> Hi,
>
> Could you give a copy of your build.properties?
>
> Derek wrote:
>> Hi,
>>
>> I have just noticed that all of the classes in my plugins are
>> appearing twice in the plugin.jar. For example, my com.xyz.plugin.jar
>> contains
>> bin
>> |- com
>> |- xyz
>> |- plugin
>> |- Activator.class
>> com
>> |- xyz
>> |- plugin
>> |- Activator.class
>>
>> That is, it contains the same .class files in both
>> bin/com/xyz/plugin/... AND com/xyz/plugin/...
>>
>> Any ideas why this is happening?
>>
>> Thanks
>
--
Derek
|
|
|
|
Re: classes appearing twice in my plugin [message #328397 is a reply to message #328389] |
Fri, 23 May 2008 19:53 |
Eclipse User |
|
|
|
Originally posted by: subs._nospam_consertum.com
Konstantin Komissarchik wrote:
> Remove the bin/ entry from bin.includes and src.includes.
>
> - Konstantin
Hmmm. Now my plugin doesn't work at all. I get class load failures.
I checked the plugin.jar and it has a com directory, but doesn't have a
bin directory. I'm sure I'm missing something here.
Thanks,
--
Derek
|
|
|
|
Powered by
FUDForum. Page generated in 0.03566 seconds