javaquery/demo-calculator/src/main/assembly/bck2brwsr.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 27 May 2014 12:25:41 +0200
branchclosure
changeset 1604 7665471a56c1
parent 1584 7b6295731c30
child 1787 ea12a3bb4b33
permissions -rw-r--r--
The static calculator demo needs to reference just a single application .js file from its main HTML page. The rest is loaded based on classpath attribute.
jaroslav@614
     1
<?xml version="1.0"?>
jaroslav@614
     2
<!--
jaroslav@614
     3
jaroslav@614
     4
    Back 2 Browser Bytecode Translator
jaroslav@614
     5
    Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
jaroslav@614
     6
jaroslav@614
     7
    This program is free software: you can redistribute it and/or modify
jaroslav@614
     8
    it under the terms of the GNU General Public License as published by
jaroslav@614
     9
    the Free Software Foundation, version 2 of the License.
jaroslav@614
    10
jaroslav@614
    11
    This program is distributed in the hope that it will be useful,
jaroslav@614
    12
    but WITHOUT ANY WARRANTY; without even the implied warranty of
jaroslav@614
    13
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
jaroslav@614
    14
    GNU General Public License for more details.
jaroslav@614
    15
jaroslav@614
    16
    You should have received a copy of the GNU General Public License
jaroslav@614
    17
    along with this program. Look for COPYING file in the top folder.
jaroslav@614
    18
    If not, see http://opensource.org/licenses/GPL-2.0.
jaroslav@614
    19
jaroslav@614
    20
-->
jaroslav@612
    21
<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
jaroslav@612
    22
  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
jaroslav@612
    23
  
jaroslav@612
    24
  <id>bck2brwsr</id>
jaroslav@612
    25
  <formats>
jaroslav@612
    26
      <format>zip</format>
jaroslav@612
    27
      <format>dir</format>
jaroslav@612
    28
  </formats>
jaroslav@612
    29
  <baseDirectory>public_html</baseDirectory>
jaroslav@1584
    30
  <fileSets>
jaroslav@1584
    31
      <fileSet>
jaroslav@1584
    32
          <directory>${project.build.directory}</directory>
jaroslav@1584
    33
          <outputDirectory>/</outputDirectory>
jaroslav@1584
    34
          <includes>
jaroslav@1584
    35
              <include>bck2brwsr.js</include>
jaroslav@1604
    36
              <include>calculator.js</include>
jaroslav@1584
    37
              <include>lib/*.js</include>
jaroslav@1584
    38
          </includes>
jaroslav@1584
    39
      </fileSet>
jaroslav@1584
    40
  </fileSets>
jaroslav@612
    41
  <files>
jaroslav@612
    42
    <file>
jaroslav@612
    43
      <source>${project.build.directory}/classes/org/apidesign/bck2brwsr/demo/calc/staticcompilation/Calculator.xhtml</source>
jaroslav@612
    44
      <outputDirectory>/</outputDirectory>
jaroslav@612
    45
      <destName>index.xhtml</destName>
jaroslav@612
    46
    </file>
jaroslav@612
    47
  </files>
jaroslav@612
    48
jaroslav@612
    49
</assembly>