[OS-JIRA] Created: (WOL-991) JavaClient specific build.xml content could be improved

From: Florijan Stamenkovic (JIRA) ("Florijan)
Date: Tue Apr 07 2009 - 17:46:17 EDT

  • Next message: Scott Lopatin: "Re: Stable Installer Update (5693)"

    JavaClient specific build.xml content could be improved
    -------------------------------------------------------

                     Key: WOL-991
                     URL: http://issues.objectstyle.org/jira/browse/WOL-991
                 Project: WOProject/WOLips
              Issue Type: Improvement
              Components: wolips
             Environment: Latest.
                Reporter: Florijan Stamenkovic
                Priority: Minor

    1. There is no support for java client builds in the frameworks project template. Something like this could be beneficial, it should only be made to execute if the "javaClient" property is "true":

            <target name="jc.resources">
                    <mkdir dir="${dest.dir}/${project.name}.framework/WebServerResources/Java"/>
                    <jar basedir="${classes.dir}" excludes="**/server/**/**"
                                     jarfile="${dest.dir}/${project.name}.framework/WebServerResources/Java/${project.name}.jar">
                    </jar>
            </target>

    The build and install targets should then declare a dependency on this.

    2. Where present, client/server resource separation would most likely be more appropriate if expressed using exclusions, as opposed to inclusions... What I mean is that this:

            includes="**/client/**/*.class,**/common/**/*.class"

    should be replaced with:

            excludes="**/server/**/*.*

    3. As already demonstrated in the example above, it might be beneficial to include / exclude all resources, not just .class resources.

    -- 
    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 : Tue Apr 07 2009 - 17:47:44 EDT