There does not seem to be reasons to generate the JS artifact of the VM anymore.
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Tue, 05 Aug 2014 14:54:29 +0200
changeset 1662b85b98372381
parent 1629 1e2a0b94b2ce
child 1663 03f1dd008e83
There does not seem to be reasons to generate the JS artifact of the VM anymore.
rt/vm/pom.xml
rt/vm/src/main/assembly/bck2brwsr.xml
     1.1 --- a/rt/vm/pom.xml	Mon Jun 09 22:07:28 2014 +0200
     1.2 +++ b/rt/vm/pom.xml	Tue Aug 05 14:54:29 2014 +0200
     1.3 @@ -76,51 +76,6 @@
     1.4                   <skip>false</skip>
     1.5               </configuration>
     1.6           </plugin>
     1.7 -         <plugin>
     1.8 -             <groupId>org.codehaus.mojo</groupId>
     1.9 -             <artifactId>exec-maven-plugin</artifactId>
    1.10 -             <version>1.2.1</version>
    1.11 -             <executions>
    1.12 -                 <execution>
    1.13 -                     <id>generate-js</id>
    1.14 -                     <phase>process-classes</phase>
    1.15 -                     <configuration>
    1.16 -                         <executable>java</executable>
    1.17 -                        <arguments>
    1.18 -                            <argument>-Dskip.if.exists=true</argument>
    1.19 -                            <argument>-cp</argument>
    1.20 -                            <classpath />
    1.21 -                            <argument>org.apidesign.vm4brwsr.Main</argument>
    1.22 -                            <argument>--obfuscatelevel</argument>
    1.23 -                            <argument>${bck2brwsr.obfuscationlevel}</argument>
    1.24 -                            <argument>${project.build.directory}/bck2brwsr.js</argument>
    1.25 -                            <argument>org/apidesign/vm4brwsr/Bck2Brwsr</argument>
    1.26 -                        </arguments>
    1.27 -                     </configuration>
    1.28 -                     <goals>
    1.29 -                         <goal>exec</goal>
    1.30 -                     </goals>
    1.31 -                 </execution>
    1.32 -             </executions>
    1.33 -         </plugin>
    1.34 -         <plugin>
    1.35 -             <artifactId>maven-assembly-plugin</artifactId>
    1.36 -             <version>2.4</version>
    1.37 -             <executions>
    1.38 -                 <execution>
    1.39 -                     <id>js</id>
    1.40 -                     <phase>package</phase>
    1.41 -                     <goals>
    1.42 -                         <goal>single</goal>
    1.43 -                     </goals>
    1.44 -                     <configuration>
    1.45 -                         <descriptors>
    1.46 -                             <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
    1.47 -                         </descriptors>
    1.48 -                     </configuration>
    1.49 -                 </execution>
    1.50 -             </executions>                
    1.51 -         </plugin>      
    1.52        </plugins>
    1.53    </build>
    1.54    <dependencies>
     2.1 --- a/rt/vm/src/main/assembly/bck2brwsr.xml	Mon Jun 09 22:07:28 2014 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,36 +0,0 @@
     2.4 -<?xml version="1.0"?>
     2.5 -<!--
     2.6 -
     2.7 -    Back 2 Browser Bytecode Translator
     2.8 -    Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     2.9 -
    2.10 -    This program is free software: you can redistribute it and/or modify
    2.11 -    it under the terms of the GNU General Public License as published by
    2.12 -    the Free Software Foundation, version 2 of the License.
    2.13 -
    2.14 -    This program is distributed in the hope that it will be useful,
    2.15 -    but WITHOUT ANY WARRANTY; without even the implied warranty of
    2.16 -    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    2.17 -    GNU General Public License for more details.
    2.18 -
    2.19 -    You should have received a copy of the GNU General Public License
    2.20 -    along with this program. Look for COPYING file in the top folder.
    2.21 -    If not, see http://opensource.org/licenses/GPL-2.0.
    2.22 -
    2.23 --->
    2.24 -<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    2.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">
    2.26 -  
    2.27 -  <id>js</id>
    2.28 -  <formats>
    2.29 -      <format>zip</format>
    2.30 -  </formats>
    2.31 -  <baseDirectory>/</baseDirectory>
    2.32 -  <files>
    2.33 -    <file>
    2.34 -      <source>${project.build.directory}/bck2brwsr.js</source>
    2.35 -      <outputDirectory>/</outputDirectory>
    2.36 -    </file>
    2.37 -  </files>
    2.38 -
    2.39 -</assembly>
    2.40 \ No newline at end of file