javaquery/demo-calculator/src/main/assembly/bck2brwsr.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Sat, 26 Dec 2015 08:51:01 +0100
changeset 1852 805b62b77f91
parent 1787 ea12a3bb4b33
child 1978 104ee9c6654f
permissions -rw-r--r--
Loading 'Class-Path' attributes of scripts relatively to location of the script that is referencing them
     1 <?xml version="1.0"?>
     2 <!--
     3 
     4     Back 2 Browser Bytecode Translator
     5     Copyright (C) 2012-2015 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     6 
     7     This program is free software: you can redistribute it and/or modify
     8     it under the terms of the GNU General Public License as published by
     9     the Free Software Foundation, version 2 of the License.
    10 
    11     This program is distributed in the hope that it will be useful,
    12     but WITHOUT ANY WARRANTY; without even the implied warranty of
    13     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    14     GNU General Public License for more details.
    15 
    16     You should have received a copy of the GNU General Public License
    17     along with this program. Look for COPYING file in the top folder.
    18     If not, see http://opensource.org/licenses/GPL-2.0.
    19 
    20 -->
    21 <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    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">
    23   
    24   <id>bck2brwsr</id>
    25   <formats>
    26       <format>zip</format>
    27       <format>dir</format>
    28   </formats>
    29   <baseDirectory>public_html</baseDirectory>
    30   <fileSets>
    31       <fileSet>
    32           <directory>${project.build.directory}</directory>
    33           <outputDirectory>/vm/</outputDirectory>
    34           <includes>
    35               <include>bck2brwsr.js</include>
    36           </includes>
    37       </fileSet>
    38       <fileSet>
    39           <directory>${project.build.directory}</directory>
    40           <outputDirectory>/app/</outputDirectory>
    41           <includes>
    42               <include>bck2brwsr.js</include>
    43               <include>calculator.js</include>
    44               <include>lib/*.js</include>
    45           </includes>
    46       </fileSet>
    47   </fileSets>
    48   <files>
    49     <file>
    50       <source>${project.build.directory}/classes/org/apidesign/bck2brwsr/demo/calc/staticcompilation/Calculator.xhtml</source>
    51       <outputDirectory>/</outputDirectory>
    52       <destName>index.xhtml</destName>
    53     </file>
    54   </files>
    55 
    56 </assembly>