The bck2brwsr assembly has to be used only in bck2brwsr mode model
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Mon, 29 Apr 2013 08:37:23 +0200
branchmodel
changeset 1052546cdcaf3e66
parent 1051 284898f3e0ff
child 1053 f44a970bbc2f
The bck2brwsr assembly has to be used only in bck2brwsr mode
javaquery/demo-twitter/bck2brwsr-assembly.xml
javaquery/demo-twitter/pom.xml
javaquery/demo-twitter/src/main/assembly/bck2brwsr.xml
     1.1 --- a/javaquery/demo-twitter/bck2brwsr-assembly.xml	Mon Apr 29 08:27:54 2013 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,62 +0,0 @@
     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 -  </dependencySets> 
    1.43 -  <fileSets>
    1.44 -      <fileSet>
    1.45 -          <directory>${project.build.directory}/classes/org/apidesign/bck2brwsr/demo/twitter/</directory>
    1.46 -          <includes>
    1.47 -              <include>**/*</include>
    1.48 -          </includes>
    1.49 -          <excludes>
    1.50 -              <exclude>**/*.class</exclude>
    1.51 -          </excludes>
    1.52 -          <outputDirectory>/</outputDirectory>
    1.53 -      </fileSet>
    1.54 -  </fileSets>
    1.55 -  <files>
    1.56 -    <file>
    1.57 -      <source>${project.build.directory}/${project.build.finalName}.jar</source>
    1.58 -      <outputDirectory>/</outputDirectory>
    1.59 -    </file>
    1.60 -    <file>
    1.61 -      <source>${project.build.directory}/bck2brwsr.js</source>
    1.62 -      <outputDirectory>/</outputDirectory>
    1.63 -    </file>
    1.64 -  </files>
    1.65 -</assembly>
    1.66 \ No newline at end of file
     2.1 --- a/javaquery/demo-twitter/pom.xml	Mon Apr 29 08:27:54 2013 +0200
     2.2 +++ b/javaquery/demo-twitter/pom.xml	Mon Apr 29 08:37:23 2013 +0200
     2.3 @@ -104,24 +104,6 @@
     2.4                    <skip>true</skip>
     2.5                </configuration>
     2.6            </plugin>      
     2.7 -          <plugin>
     2.8 -              <artifactId>maven-assembly-plugin</artifactId>
     2.9 -              <version>2.4</version>
    2.10 -              <executions>
    2.11 -                  <execution>
    2.12 -                      <id>distro-assembly</id>
    2.13 -                      <phase>package</phase>
    2.14 -                      <goals>
    2.15 -                          <goal>single</goal>
    2.16 -                      </goals>
    2.17 -                      <configuration>
    2.18 -                          <descriptors>
    2.19 -                              <descriptor>bck2brwsr-assembly.xml</descriptor>
    2.20 -                          </descriptors>
    2.21 -                      </configuration>
    2.22 -                  </execution>
    2.23 -              </executions>                
    2.24 -          </plugin>      
    2.25        </plugins>
    2.26    </build>
    2.27  
    2.28 @@ -202,6 +184,24 @@
    2.29                            </compilerArguments>
    2.30                        </configuration>
    2.31                    </plugin>
    2.32 +                  <plugin>
    2.33 +                      <artifactId>maven-assembly-plugin</artifactId>
    2.34 +                      <version>2.4</version>
    2.35 +                      <executions>
    2.36 +                          <execution>
    2.37 +                              <id>distro-assembly</id>
    2.38 +                              <phase>package</phase>
    2.39 +                              <goals>
    2.40 +                                  <goal>single</goal>
    2.41 +                              </goals>
    2.42 +                              <configuration>
    2.43 +                                  <descriptors>
    2.44 +                                      <descriptor>src/main/assembly/bck2brwsr.xml</descriptor>
    2.45 +                                  </descriptors>
    2.46 +                              </configuration>
    2.47 +                          </execution>
    2.48 +                      </executions>                
    2.49 +                  </plugin>      
    2.50                </plugins>
    2.51            </build>
    2.52            <dependencies>
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/javaquery/demo-twitter/src/main/assembly/bck2brwsr.xml	Mon Apr 29 08:37:23 2013 +0200
     3.3 @@ -0,0 +1,62 @@
     3.4 +<?xml version="1.0"?>
     3.5 +<!--
     3.6 +
     3.7 +    Back 2 Browser Bytecode Translator
     3.8 +    Copyright (C) 2012 Jaroslav Tulach <jaroslav.tulach@apidesign.org>
     3.9 +
    3.10 +    This program is free software: you can redistribute it and/or modify
    3.11 +    it under the terms of the GNU General Public License as published by
    3.12 +    the Free Software Foundation, version 2 of the License.
    3.13 +
    3.14 +    This program is distributed in the hope that it will be useful,
    3.15 +    but WITHOUT ANY WARRANTY; without even the implied warranty of
    3.16 +    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    3.17 +    GNU General Public License for more details.
    3.18 +
    3.19 +    You should have received a copy of the GNU General Public License
    3.20 +    along with this program. Look for COPYING file in the top folder.
    3.21 +    If not, see http://opensource.org/licenses/GPL-2.0.
    3.22 +
    3.23 +-->
    3.24 +<assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    3.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">
    3.26 +  
    3.27 +  <id>bck2brwsr</id>
    3.28 +  <formats>
    3.29 +      <format>zip</format>
    3.30 +  </formats>
    3.31 +  <baseDirectory>public_html</baseDirectory>
    3.32 +  <dependencySets>
    3.33 +    <dependencySet>
    3.34 +        <useProjectArtifact>false</useProjectArtifact>
    3.35 +        <scope>runtime</scope>
    3.36 +        <outputDirectory>lib</outputDirectory>
    3.37 +        <includes>
    3.38 +            <include>*:jar</include>
    3.39 +            <include>*:rt</include>
    3.40 +        </includes>
    3.41 +    </dependencySet>
    3.42 +  </dependencySets> 
    3.43 +  <fileSets>
    3.44 +      <fileSet>
    3.45 +          <directory>${project.build.directory}/classes/org/apidesign/bck2brwsr/demo/twitter/</directory>
    3.46 +          <includes>
    3.47 +              <include>**/*</include>
    3.48 +          </includes>
    3.49 +          <excludes>
    3.50 +              <exclude>**/*.class</exclude>
    3.51 +          </excludes>
    3.52 +          <outputDirectory>/</outputDirectory>
    3.53 +      </fileSet>
    3.54 +  </fileSets>
    3.55 +  <files>
    3.56 +    <file>
    3.57 +      <source>${project.build.directory}/${project.build.finalName}.jar</source>
    3.58 +      <outputDirectory>/</outputDirectory>
    3.59 +    </file>
    3.60 +    <file>
    3.61 +      <source>${project.build.directory}/bck2brwsr.js</source>
    3.62 +      <outputDirectory>/</outputDirectory>
    3.63 +    </file>
    3.64 +  </files>
    3.65 +</assembly>
    3.66 \ No newline at end of file