javaquery/demo-calculator/src/main/assembly/bck2brwsr.xml
author Jaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 05 Feb 2013 15:32:41 +0100
branchemul
changeset 674 5d9cd8add4c6
parent 614 dac6be4a1fbc
child 691 10194cb7ffc2
permissions -rw-r--r--
Static assembly to use the exported bck2brwsr.js
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@612
    30
  <dependencySets>
jaroslav@612
    31
    <dependencySet>
jaroslav@612
    32
        <useProjectArtifact>false</useProjectArtifact>
jaroslav@612
    33
        <scope>runtime</scope>
jaroslav@612
    34
        <outputDirectory>lib</outputDirectory>
jaroslav@612
    35
    </dependencySet>
jaroslav@674
    36
    <dependencySet>
jaroslav@674
    37
        <useProjectArtifact>false</useProjectArtifact>
jaroslav@674
    38
        <scope>runtime</scope>
jaroslav@674
    39
        <includes>
jaroslav@674
    40
            <include>*:js</include>
jaroslav@674
    41
        </includes>
jaroslav@674
    42
        <unpack>true</unpack>
jaroslav@674
    43
        <outputDirectory>/</outputDirectory>
jaroslav@674
    44
    </dependencySet>
jaroslav@612
    45
  </dependencySets> 
jaroslav@612
    46
  <files>
jaroslav@612
    47
    <file>
jaroslav@612
    48
      <source>${project.build.directory}/${project.build.finalName}.jar</source>
jaroslav@612
    49
      <outputDirectory>/</outputDirectory>
jaroslav@612
    50
    </file>
jaroslav@612
    51
    <file>
jaroslav@612
    52
      <source>${project.build.directory}/classes/org/apidesign/bck2brwsr/demo/calc/staticcompilation/Calculator.xhtml</source>
jaroslav@612
    53
      <outputDirectory>/</outputDirectory>
jaroslav@612
    54
      <destName>index.xhtml</destName>
jaroslav@612
    55
    </file>
jaroslav@612
    56
  </files>
jaroslav@612
    57
jaroslav@612
    58
</assembly>