Menu

Build path problems with swt classes

K_W
2009-06-24
2013-04-09
  • K_W

    K_W - 2009-06-24

    Hi,

    I've checked out the plugins org.eclipsian.composer.example.rcp.wordpad, org.eclipsian.composer.ui and org.eclipsian.swt.composer from eclipse (Version v20090513) into a Eclipse 3.4.2 environment.

    In the org.eclipsian.swt.composer all classes of the org.eclipse.swt package are not resolved. To have a better understanding, please have a look at the screenshots http://www.flickr.com/photos/krisclipse/3655904171/sizes/l/ and http://www.flickr.com/photos/krisclipse/3655904301/.

    It seems that required plugins (MANIFEST.MF -> Dependencies -> Required Plugins) are not added to the class path. Does someone has any idea why?

    Thanks
    Kris

     
    • Max Stepanov

      Max Stepanov - 2009-06-24

      Kris,
      try to clean/rebuild projects. also rg.eclipsian.swt.composer.win32.win32.x86 fragment is missing.
      snippet project is not a plugin so it requires eclipse.swt projects to be imported into workspace.

      Best,
      Max

       
    • K_W

      K_W - 2009-06-24

      Hi Max,

      now I was able to resolve it.

      For others, who may run into the same problem (i am on eclipse 3.42 / Win Vista): After checkout of the plugins metioned before, adjust the org.eclipsian.swt.composer plugin as follows:

      1.) Go to Project-Properties (Right-Mouse->Properties) -> Tab Libraries -> Button "Add Library" -> "Plugin-Dependencies" [this caused the problem of this thread]
      2.) Go to Project-Properties (Right-Mouse->Properties) -> Tab Source:
      - Delete the "src"-Folder entry
      - Add the folders
           /common
           /dnd/<desiredplatform>
           /mozilla/common
           /mozilla/<desiredplatform>

      Afterwards there shoudn't be no error indicators anymore in the package explorer.

      Thanks
      Kris

       
      • Max Stepanov

        Max Stepanov - 2009-06-24

        there are actually a few .classpath_xxx files in the project folder. you should copy one these as .classpath after check out.

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.