Can you send a diff/patch by checking out the 1.9.x branch from SVN
and changing it?  It's difficult for me to see what you changed.

svn co https://appfuse.dev.java.net/svn/appfuse/branches/BRANCH_1-9-x
appfuse-1.9.x

Matt

On 12/20/06, Daniel.Rodriguez <[EMAIL PROTECTED]> wrote:

Matt , just solved my problem.

Basically I had to do some changes around the package-dao task:

This is the original version :

<target name="package-dao" depends="prepare,compile-dao"
description="Package DAO JAR">

        <!-- Copy XML and properties files from source -->

        <copy todir="${build.dir}/dao/gen">

            <fileset dir="src/dao" excludes="**/*-${dao.type}.xml">

                <include name="**/*.xml"/>

                <include name="**/*.properties"/>

            </fileset>

            <filterset refid="variables.to.replace"/>

        </copy>

        <!-- Copy Spring configuration files -->

        <mkdir dir="${build.dir}/dao/gen/META-INF"/>

        <copy overwrite="true"
tofile="${build.dir}/dao/gen/META-INF/applicationContext-${dao.type}.xml">

            <fileset dir="src/dao" includes="**/*-${dao.type}.xml"/>

            <filterset refid="variables.to.replace"/>

        </copy>

        <jar destfile="${dist.dir}/${webapp.name}-dao.jar">

            <manifest>

                <attribute name="Class-Path"
value="${webapp.name}-dao.jar"/>

            </manifest>

            <fileset dir="${build.dir}/dao/classes"/>

            <fileset dir="${build.dir}/dao/gen" includes="**/*.xml"

                excludes="**/applicationContext-*.xml"/>

            <metainf dir="${build.dir}/dao/gen/META-INF"/>

        </jar>

    </target>

**********************
and here is my changed version:

<target name="package-dao" depends="prepare,compile-dao"
description="Package DAO JAR">

        <!-- Copy XML and properties files from source -->

        <copy todir="${build.dir}/dao/gen">

            <fileset dir="src/dao" excludes="**/*-${dao.type}.xml">

                <include name="**/*.xml"/>

                <include name="**/*.properties"/>

            </fileset>

            <filterset refid="variables.to.replace"/>

        </copy>

        <!-- Copy Spring configuration files -->

        <mkdir dir="${build.dir}/dao/gen/META-INF"/>

        <copy overwrite="true"
tofile="${build.dir}/dao/gen/META-INF/applicationContext-${dao.type}.xml">

            <fileset dir="src/dao" includes="**/*-${dao.type}.xml"/>

            <filterset refid="variables.to.replace"/>

        </copy>

        <jar destfile="${dist.dir}/${webapp.name}-dao.jar">

            <manifest>

                <attribute name="Class-Path"
value="${webapp.name}-dao.jar"/>

            </manifest>

            <fileset dir="${build.dir}/dao/classes"/>

            <fileset dir="${build.dir}/dao/gen"
excludes="**/applicationContext-*.xml">
                <include name="**/*.properties"/>
                <include name="**/*.xml"/>
            </fileset>

            <metainf dir="${build.dir}/dao/gen/META-INF"/>

        </jar>

    </target>

As you can see, the original has the change described in your reply.


Daniel




--
View this message in context: 
http://www.nabble.com/Webwork%27s-Conversion-not-working-tf2847151s2369.html#a7990563
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to