rt/mojo/src/main/resources/archetype-resources/bck2brwsr-assembly.xml
changeset 772 d382dacfd73f
parent 744 341d8ed644df
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/rt/mojo/src/main/resources/archetype-resources/bck2brwsr-assembly.xml	Tue Feb 26 16:54:16 2013 +0100
     1.3 @@ -0,0 +1,61 @@
     1.4 +<?xml version="1.0"?>
     1.5 +<!--
     1.6 +
     1.7 +    Back 2 Browser Bytecode Translator
     1.8 +    Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     1.9 +
    1.10 +    This program is free software: you can redistribute it and/or modify
    1.11 +    it under the terms of the GNU General Public License as published by
    1.12 +    the Free Software Foundation, version 2 of the License.
    1.13 +
    1.14 +    This program is distributed in the hope that it will be useful,
    1.15 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
    1.16 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1.17 +    GNU General Public License for more details.
    1.18 +
    1.19 +    You should have received a copy of the GNU General Public License
    1.20 +    along with this program. Look for COPYING file in the top folder.
    1.21 +    If not, see http://opensource.org/licenses/GPL-2.0.
    1.22 +
    1.23 +-->
    1.24 +<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    1.25 +  xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2 http://maven.apache.org/xsd/assembly-1.1.2.xsd">
    1.26 +  
    1.27 +  <id>bck2brwsr</id>
    1.28 +  <formats>
    1.29 +      <format>zip</format>
    1.30 +  </formats>
    1.31 +  <baseDirectory>public_html</baseDirectory>
    1.32 +  <dependencySets>
    1.33 +    <dependencySet>
    1.34 +        <useProjectArtifact>false</useProjectArtifact>
    1.35 +        <scope>runtime</scope>
    1.36 +        <outputDirectory>lib</outputDirectory>
    1.37 +        <includes>
    1.38 +            <include>*:jar</include>
    1.39 +            <include>*:rt</include>
    1.40 +        </includes>
    1.41 +    </dependencySet>
    1.42 +    <dependencySet>
    1.43 +        <useProjectArtifact>false</useProjectArtifact>
    1.44 +        <scope>provided</scope>
    1.45 +        <includes>
    1.46 +            <include>*:js</include>
    1.47 +        </includes>
    1.48 +        <unpack>true</unpack>
    1.49 +        <outputDirectory>/</outputDirectory>
    1.50 +    </dependencySet>
    1.51 +  </dependencySets> 
    1.52 +  <files>
    1.53 +    <file>
    1.54 +      <source>${project.build.directory}/${project.build.finalName}.jar</source>
    1.55 +      <outputDirectory>/</outputDirectory>
    1.56 +    </file>
    1.57 +    <file>
    1.58 +      <source>${project.build.directory}/classes/${package.replace('.','/')}/index.html</source>
    1.59 +      <outputDirectory>/</outputDirectory>
    1.60 +      <destName>index.html</destName>
    1.61 +    </file>
    1.62 +  </files>
    1.63 +
    1.64 +</assembly>
    1.65 \ No newline at end of file