Patch for WORuntimeClasspathProvider & WOJavaLocalApplicationLaunchConfigurationDelegate

From: Watkins, Garry (gwatkin..otleyrice.com)
Date: Mon Jun 27 2005 - 17:21:43 EDT

  • Next message: Vincent GADREAU: "WOLips WebServerResources Pb"

    I have attached two files for updating the RuntimeClassProvider for
    launching WOApps. The problem with the current launcher is that if you
    have included multiple frameworks from other eclipse projects, is that
    it will include some of the same jars multiple times. Then when it
    would go through and start initializing the frameworks, and throw an
    error complaining about a duplicate framework.
     
    For Example:
     
    Application A - references FrameworksB, FrameworksC & FrameworksD (as
    eclipse projects)
     
    FrameworksB - references FrameworksC
     
    FrameworksC - references FrameworksD
     
    FrameworksD
     
    When generating the classpath for application A it would generate
    something similar to this.
     
    C:/workspace/A/A/Contents/Resources/Java
    C:/workspace/B/B.framework/B.framework/Contents/Resources/Java/b.jar
    C:/Apple/Local/Library/Frameworks/C.framework/C.framework/Contents/Resou
    rces/Java/c.jar
    C:/workspace/C/C.framework/C.framework/Contents/Resources/Java/c.jar
    C:/Apple/Local/Library/Frameworks/D.framework/D.framework/Contents/Resou
    rces/Java/d.jar
    C:/workspace/D/D.framework/D.framework/Contents/Resources/Java/d.jar
    C:/Apple/Local/Library/Frameworks/B.framework/B.framework/Contents/Resou
    rces/Java/b.jar
    C:/Apple/Local/Library/Frameworks/C.framework/C.framework/Contents/Resou
    rces/Java/c.jar
    C:/Apple/Local/Library/Frameworks/D.framework/D.framework/Contents/Resou
    rces/Java/d.jar
    ...
    Other Apple Stuff
     
    I have been using the code for a couple of weeks now, it seems pretty
    stable.
     
    Thanks
     
    Garry Watkins
    Programmer, IT Dept.
    Motley Rice LLC
    (843) 216-9639
      

    Confidential & Privileged

    Unless otherwise indicated or obvious from its nature, the information contained in this communication is attorney-client privileged and confidential information/work product. This communication is intended for the use of the individual or entity named above. If the reader of this communication is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error or are not sure whether it is privileged, please immediately notify us by return e-mail and destroy any copies--electronic, paper or otherwise--which you may have of this communication.



    motleyrice.gif







    This archive was generated by hypermail 2.0.0 : Mon Jun 27 2005 - 17:21:48 EDT