javaquery/demo-calculator/src/main/assembly/bck2brwsr.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Wed, 06 Feb 2013 18:24:53 +0100
branchemul
changeset 692 d088fc482c65
parent 691 10194cb7ffc2
child 847 094e10a97511
permissions -rw-r--r--
Providing all Bck2Brwsr emulation APIs in a single JAR file
     1 <?xml version="1.0"?>
     2 <!--
     3 
     4     Back 2 Browser Bytecode Translator
     5     Copyright (C) 2012 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   <dependencySets>
    31     <dependencySet>
    32         <useProjectArtifact>false</useProjectArtifact>
    33         <scope>runtime</scope>
    34         <outputDirectory>lib</outputDirectory>
    35         <includes>
    36             <include>*:jar</include>
    37             <include>*:rt</include>
    38         </includes>
    39     </dependencySet>
    40     <dependencySet>
    41         <useProjectArtifact>false</useProjectArtifact>
    42         <scope>provided</scope>
    43         <includes>
    44             <include>*:js</include>
    45         </includes>
    46         <unpack>true</unpack>
    47         <outputDirectory>/</outputDirectory>
    48     </dependencySet>
    49   </dependencySets> 
    50   <files>
    51     <file>
    52       <source>${project.build.directory}/${project.build.finalName}.jar</source>
    53       <outputDirectory>/</outputDirectory>
    54     </file>
    55     <file>
    56       <source>${project.build.directory}/classes/org/apidesign/bck2brwsr/demo/calc/staticcompilation/Calculator.xhtml</source>
    57       <outputDirectory>/</outputDirectory>
    58       <destName>index.xhtml</destName>
    59     </file>
    60   </files>
    61 
    62 </assembly>