Project

General

Profile

« Previous | Next » 

Revision 1933

Added by brooke over 19 years ago

changed knb skin index page to forward to knb site and include any user params in url. changed resultset.xsl so qformat is handled properly in posts. changed build file to copy default.css from eml checkout to style/common so other skin-specific css can import it if reqd

View differences:

build.xml
136 136
      <property name="servlet-path"        value="/${context}/servlet/metacat"/>
137 137
      <property name="html-path"           value="/${context}"/>
138 138
      <property name="systemidserver"      value="http://${server}"/>
139
      
140
      <property name="style-common-relpath" value="/style/common"/>
139
      <property name="style-common-relpath" 
140
                                           value="/style/common"/>
141 141
      <property name="style-common-fullpath" 
142
                value="/${installdir}${style-common-relpath}"/>
142
                                           value="/${installdir}${style-common-relpath}"/>
143 143
      <property name="style-common-path" 
144
                value="/${context}${style-common-relpath}"/>
144
                                           value="/${context}${style-common-relpath}"/>
145 145
      <property name="style-skins-relpath" value="/style/skins"/>
146 146
      <property name="style-skins-path"    value="/${context}${style-skins-relpath}"/>
147 147
      <property name="replication-log"     value="/tmp/metacatreplication.log"/>
......
153 153
      <property name="eml2-tag"            value="EML_2_0_0_FOR_METACAT" />
154 154
      <property name="eml2namespace"       value="eml://ecoinformatics.org/eml-2.0.0" />
155 155
      <property name="stmmlnamespace"      value="http://www.xml-cml.org/schema/stmml" />
156
      <property name="eml-css"             value="eml_xsl.css"/>
157
      <property name="eml-module.default.css"
158
                                           value="default.css"/>
156 159
      <property name="conversion-module"   value="webmdentry" />
157 160

  
158 161
      <!-- Config for registry variables -->
159
      <property name="scope" value="obfs"/>
160
      <property name="responseForm" value="genericResponse.tmpl"/>
161
      <property name="entryForm" value="entryForm.tmpl"/>
162
      <property name="guide" value="genericGuide.tmpl"/>
162
      <property name="scope"               value="obfs"/>
163
      <property name="responseForm"        value="genericResponse.tmpl"/>
164
      <property name="entryForm"           value="entryForm.tmpl"/>
165
      <property name="guide"               value="genericGuide.tmpl"/>
163 166
      <property name="confirmData" value="confirmData.tmpl"/>
164 167
      <property name="deleteData" value="deleteData.tmpl"/>
165 168
      <property name="genericHeader" value="genericHeader.tmpl"/>
......
202 205
      <filter token="mcanotheruser" value="${mcanotheruser}"/>
203 206
      <filter token="mcanotherpassword" value="${mcanotherpassword}"/>
204 207
      <filter token="knb-site-url" value="${knb-site-url}"/>
208
      <filter token="eml-css" value="${eml-css}"/>
205 209
      <filter token="style-skins-relpath" value="${style-skins-relpath}"/>
206 210
      <filter token="style-skins-path" value="${style-skins-path}"/>
207 211
      <filter token="style-common-relpath" value="${style-common-relpath}"/>
......
347 351
       <include name="**/*.xsl"/>
348 352
     </fileset>
349 353
     </copy>
354
     
355
     <!-- now copy default css from eml module and put it in style-common-path 
356
          dir with a new name, so other skin-specific css can import it if reqd -->
357
     <copy file="${build.tmp}/${eml-module}/${eml-module.default.css}"
358
           tofile="${style-common-fullpath}/${eml-css}" />
350 359
   </target>
351 360

  
352 361
   <target name="getdtd" depends="prepare">

Also available in: Unified diff