[OS-JIRA] Created: (WOL-837) WOProject does not copy over an embedded Framework's Client-Side jars to the deployed application

From: David Avendasora (JIRA) ("David)
Date: Mon Jun 23 2008 - 16:26:09 EDT

  • Next message: Joshua Dubey: "Help! Missing bundles when running within WOLips"

    WOProject does not copy over an embedded Framework's Client-Side jars to the deployed application
    -------------------------------------------------------------------------------------------------

                     Key: WOL-837
                     URL: http://issues.objectstyle.org/jira/browse/WOL-837
                 Project: WOProject/WOLips
              Issue Type: Bug
              Components: woproject
        Affects Versions: WOLips stable 3.3.4906 for Eclipse 3.3.2
             Environment: Mac OS X, Eclipse 3.3.2, WOLips 5241
                Reporter: David Avendasora

    When building a Java Client application, all non-WebObjects frameworks that have client-side jars in their WebServerResources/Java directories need to have those .jar files copied to the "${dest.dir}/${project.name}.woa/Contents/WebServerResources/Java/" directory. I currently use the following addition to the build.xml file to do the copy manually.:

                    <copy todir="${dest.dir}/${project.name}.woa/Contents/WebServerResources/Java/">
                             <fileset dir="${wo.wolocalroot}">
                                  <patternset>
                                              <includesfile name="woproject/ant.frameworks.wo.wolocalroot.clientside"/>
                                    </patternset>
                               </fileset>
                            <mapper type="flatten"/>
                    </copy>

    The referenced includesfile is simply a copy of the woproject/ant.frameworks.wo.wolocalroot file with "WebServerResources/Java/*jar" added to the end of each Framework. For example, if the woproject/ant.frameworks.wo.wolocalroot file has "Library/Frameworks/MyFramework.framework" as a reference, then the clientside includes file has:

    Library/Frameworks/MyFramework.framework/WebServerResources/Java/*.jar

    WOProject should do this automatically for any frameworks on the build path.

    -- 
    This message is automatically generated by JIRA.
    -
    If you think it was sent incorrectly contact one of the administrators: http://issues.objectstyle.org/jira/secure/Administrators.jspa
    -
    For more information on JIRA, see: http://www.atlassian.com/software/jira
    



    This archive was generated by hypermail 2.0.0 : Mon Jun 23 2008 - 16:27:45 EDT