sailfin
  1. sailfin
  2. SAILFIN-162

SIp DTDs and schemas should appear in the installation folder

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: milestone 1
    • Component/s: build_system
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Sun

    • Issuezilla Id:
      162

      Description

      All DTDs and schemas of all technologies appear lib/dtds and lib/schems folder
      of the glassfish/sailfin. The same should be applicable for sip schema and dtd also.

        Activity

        Hide
        naman_mehta added a comment -

        I added publish target in ssa-api/build.xml to copy .dtd and .xsd file to
        respective dtds and schemas foder under lib. Review done by Prasad and Robert.

        Changes are as below:
        ===================================================================
        RCS file: /cvs/sailfin/ssa-api/build.xml,v
        retrieving revision 1.1
        retrieving revision 1.2
        diff -u -r1.1 -r1.2
        — build.xml 8 May 2007 09:35:44 -0000 1.1
        +++ build.xml 23 Nov 2007 08:28:11 -0000 1.2
        @@ -41,7 +41,7 @@
        </target

        <!-- build –

        • <target name="build" depends="compile, assemble"
          + <target name="build" depends="compile, assemble, publish"
          description="Build entire component"
          </target

        @@ -78,6 +78,7 @@
        <include name="*/.properties"/
        <include name="*/.xml"/
        <include name="*/.dtd"/
        + <include name="*/.xsd"/
        </fileset
        </copy

        @@ -87,10 +88,27 @@
        <include name="*/.properties"/
        <include name="*/.xml"/
        <include name="*/.dtd"/
        + <include name="*/.xsd"/
        </fileset
        </jar
        </target

        + <!-- publish –
        + <target name="publish"
        + description="Copy DTDs and Schemas"
        + <copy todir="$

        {glassfish.home}/lib/dtds"
        + <fileset dir="${src.dir}"
        + <include name="*/.dtd"/
        + </fileset
        + </copy
        + <copy todir="${glassfish.home}

        /lib/schemas"
        + <fileset dir="$

        {src.dir}

        "
        + <include name="*/.xsd"/
        + </fileset
        + </copy
        + </target
        +

        Show
        naman_mehta added a comment - I added publish target in ssa-api/build.xml to copy .dtd and .xsd file to respective dtds and schemas foder under lib. Review done by Prasad and Robert. Changes are as below: =================================================================== RCS file: /cvs/sailfin/ssa-api/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 — build.xml 8 May 2007 09:35:44 -0000 1.1 +++ build.xml 23 Nov 2007 08:28:11 -0000 1.2 @@ -41,7 +41,7 @@ </target <!-- build – <target name="build" depends="compile, assemble" + <target name="build" depends="compile, assemble, publish" description="Build entire component" </target @@ -78,6 +78,7 @@ <include name="* / .properties"/ <include name="* / .xml"/ <include name="* / .dtd"/ + <include name="* / .xsd"/ </fileset </copy @@ -87,10 +88,27 @@ <include name="* / .properties"/ <include name="* / .xml"/ <include name="* / .dtd"/ + <include name="* / .xsd"/ </fileset </jar </target + <!-- publish – + <target name="publish" + description="Copy DTDs and Schemas" + <copy todir="$ {glassfish.home}/lib/dtds" + <fileset dir="${src.dir}" + <include name="* / .dtd"/ + </fileset + </copy + <copy todir="${glassfish.home} /lib/schemas" + <fileset dir="$ {src.dir} " + <include name="* / .xsd"/ + </fileset + </copy + </target +

          People

          • Assignee:
            naman_mehta
            Reporter:
            binod
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: