JApplication ant task definition problem

From: Emmanuel GEZE (emgez..mail.com)
Date: Fri Sep 29 2006 - 17:45:33 EDT

  • Next message: Andrus Adamchik: "Re: JApplication ant task definition problem"

    Hi List,

    I want to test the new JApplication task to create an app bundle with a
    test.woa application.
    For that, I've modified the buid.xml to add the next task:

        <target name="japp" depends = "setProps,init.build">
            <taskdef name="japplication"
    classname="org.objectstyle.woproject.ant.JApplication"/>
            <japplication name="${project.name}"
    destDir="${dest.dir}/${project.name}.woa/Contents/Windows/"
    mainClass="org.cocktail.depense.client.html.Main" os="windows">
                  <lib dir="${dest.dir}/${project.name}.woa">
                  <include name="**/*.jar"/>
                </lib>
                <fileset dir="${user.home}" includesfile =
    "woproject/ant.frameworks.user.home">
                  <include name = "**/*.jar"/>
                </fileset>
                <lib dir="${wo.wolocalroot}" includesfile =
    "woproject/ant.frameworks.wo.wolocalroot">
                      <include name = "*.jar"/>
                      <include name = "*.zip"/>
                </lib>
                <lib dir="${wo.wosystemroot}" includesfile =
    "woproject/ant.frameworks.wo.wosystemroot">
                    <include name="**/*.jar"/>
                </lib>
            </japplication>
        </target>

    But i don't get what i want !

    My "woproject/ant.frameworks.user.home" contains this:

    Roots\Ajax.framework
    Roots\ERExtensions.framework
    Roots\ERJars.framework
    Roots\ERPrototypes.framework
    Roots\JavaWOExtensions.framework

    With this fileset definition i hope obtained only jar files of the last
    framework's list but it's not the case because i obtain all the jars of
    my user.home directory.
    Then where i failed?

    Thank's in advance for replies and any help.

    Emmanuel

    I



    This archive was generated by hypermail 2.0.0 : Fri Sep 29 2006 - 17:45:40 EDT