[Openlaszlo-i18n 509] Fw: Re: problem with running i18n patches; can't find resource bundle

アーカイブの一覧に戻る

togawa webma****@laszl*****
2005年 12月 13日 (火) 13:37:44 JST



-----------------------------------------fwd-----------------------------------------
So is your idea that when a build is created, our ant build script should
copy
the laszlomessages.proprerties files from
WEB-INF/lps/server/src/org/openlaszlo/i18n to
WEB-INF/classes/org/openlaszlo/i18n?



I added this to the "build-classes" target in build.xml



  <target name="build-classes"
      description="Build WEB-INF/classes. Called after building server."
      depends="init">

      <path id="3rd.party.classpath" >
          <dirset dir="${webapp-lps-home}/server/build" />
          <fileset dir="WEB-INF/lib">
            <exclude name="${lps.jar}" />
          </fileset>
          <fileset dir="3rd-party/jars/dev" />
      </path>

      <mkdir dir="WEB-INF/classes" />
      <javac classpathref="3rd.party.classpath"
          srcdir="WEB-INF/classes"
          destdir="WEB-INF/classes" />

    <copy todir="WEB-INF/classes/">
        <fileset dir="${webapp-lps-home}/server/src">
            <include name="org/openlaszlo/i18n/*.properties"/>
        </fileset>
    </copy>

  </target>

--
Henry Minsky
Software Architect
hmins****@laszl*****




Openlaszlo-i18n メーリングリストの案内
アーカイブの一覧に戻る