You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by jd...@apache.org on 2006/06/01 00:27:42 UTC

svn commit: r410691 - in /geronimo/sandbox/gshell/trunk/gshell-retro-assembly: ./ pom.xml src/ src/main/ src/main/assembly/ src/main/assembly/bin.xml

Author: jdillon
Date: Wed May 31 15:27:39 2006
New Revision: 410691

URL: http://svn.apache.org/viewvc?rev=410691&view=rev
Log:
Retrotranslation assembly so that GShell will work on JDK 1.4... AWESOME!!!!


Added:
    geronimo/sandbox/gshell/trunk/gshell-retro-assembly/
    geronimo/sandbox/gshell/trunk/gshell-retro-assembly/pom.xml
    geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/
    geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/main/
    geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/main/assembly/
    geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/main/assembly/bin.xml

Added: geronimo/sandbox/gshell/trunk/gshell-retro-assembly/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-retro-assembly/pom.xml?rev=410691&view=auto
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-retro-assembly/pom.xml (added)
+++ geronimo/sandbox/gshell/trunk/gshell-retro-assembly/pom.xml Wed May 31 15:27:39 2006
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: pom.xml 410438 2006-05-31 05:44:49Z jdillon $ -->
+
+<project
+    xmlns="http://maven.apache.org/POM/4.0.0"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+    
+    <modelVersion>4.0.0</modelVersion>
+    
+    <parent>
+        <groupId>org.apache.geronimo.gshell</groupId>
+        <artifactId>gshell</artifactId>
+        <version>1.0.0-SNAPSHOT</version>
+        <relativePath>../pom.xml</relativePath>
+    </parent>
+    
+    <artifactId>gshell-retro-assembly</artifactId>
+    <name>GShell :: Retro Assembly</name>
+    <packaging>pom</packaging>
+    
+    <dependencies>
+        <dependency>
+            <groupId>${pom.groupId}</groupId>
+            <artifactId>gshell-assembly</artifactId>
+            <version>${pom.version}</version>
+            <type>pom</type>
+        </dependency>
+        
+        <dependency>
+            <groupId>net.sf.retrotranslator</groupId>
+            <artifactId>retrotranslator-runtime</artifactId>
+            <version>1.0.4</version>
+            <type>jar</type>
+        </dependency>
+    </dependencies>
+    
+    <build>
+        <plugins>
+            
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>compile</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <tasks>
+                                <taskdef name="retrotranslator" classpathref="maven.plugin.classpath"
+                                    classname="net.sf.retrotranslator.transformer.RetrotranslatorTask"/>
+                                
+                                <mkdir dir="${pom.basedir}/target"/>
+                                <unzip src="${pom.basedir}/../gshell-assembly/target/gshell-${pom.version}-bin.zip"
+                                    dest="${pom.basedir}/target"/>
+                                
+                                <retrotranslator verify="false" failonwarning="true" lazy="true" verbose="false">
+                                    <src>
+                                        <fileset dir="${pom.basedir}/target/gshell-${pom.version}">
+                                            <include name="**/*.jar"/>
+                                        </fileset>
+                                    </src>
+                                    
+                                    <!-- TODO: Enable verification -->
+                                    
+                                </retrotranslator>
+                            </tasks>
+                        </configuration>
+                    </execution>
+                </executions>
+                <dependencies>
+                    <dependency>
+                        <groupId>net.sf.retrotranslator</groupId>
+                        <artifactId>retrotranslator-transformer</artifactId>
+                        <version>1.0.4</version>
+                        <type>jar</type>
+                    </dependency>
+                </dependencies>
+            </plugin>
+            
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.1</version>
+                <executions>
+                    <execution>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>attached</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    <descriptors>
+                        <descriptor>${pom.basedir}/src/main/assembly/bin.xml</descriptor>
+                    </descriptors>
+                    <finalName>gshell-${pom.version}-retro</finalName>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Added: geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/main/assembly/bin.xml?rev=410691&view=auto
==============================================================================
--- geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/main/assembly/bin.xml (added)
+++ geronimo/sandbox/gshell/trunk/gshell-retro-assembly/src/main/assembly/bin.xml Wed May 31 15:27:39 2006
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- $Id: bin.xml 410172 2006-05-30 02:25:59Z jdillon $ -->
+
+<assembly>
+    <id>bin</id>
+    
+    <formats>
+        <format>tar.gz</format>
+        <format>zip</format>
+    </formats>
+    
+    <fileSets>
+        <fileSet>
+            <directory>target/gshell-1.0.0-SNAPSHOT</directory>
+            <outputDirectory>/</outputDirectory>
+            <includes>
+                <include>*</include>
+                <include>etc/**</include>
+                <include>lib/**</include>
+            </includes>
+        </fileSet>
+        
+        <fileSet>
+            <directory>target/gshell-1.0.0-SNAPSHOT/bin</directory>
+            <outputDirectory>bin</outputDirectory>
+            <includes>
+                <include>gshell.bat</include>
+                <include>gshell.conf</include>
+            </includes>
+            <lineEnding>dos</lineEnding>
+        </fileSet>
+        
+        <fileSet>
+            <directory>target/gshell-1.0.0-SNAPSHOT/bin</directory>
+            <outputDirectory>bin</outputDirectory>
+            <includes>
+                <include>gshell</include>
+            </includes>
+            <lineEnding>unix</lineEnding>
+            <fileMode>0755</fileMode>
+        </fileSet>
+    </fileSets>
+    
+    <dependencySets>
+        <dependencySet>
+            <outputDirectory>lib</outputDirectory>
+            <includes>
+                <include>net.sf.retrotranslator:retrotranslator-runtime</include>
+            </includes>
+        </dependencySet>
+    </dependencySets>
+    
+</assembly>