geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mcco...@apache.org
Subject svn commit: r669387 - in /geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher: ./ build.xml pom.xml
Date Thu, 19 Jun 2008 04:41:39 GMT
Author: mcconne
Date: Wed Jun 18 21:41:39 2008
New Revision: 669387

URL: http://svn.apache.org/viewvc?rev=669387&view=rev
Log:
GERONIMODEVTOOLS-286 Updates to GEP automated testsuite

Added:
    geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/
    geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/build.xml   (with props)
    geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/pom.xml   (with props)

Added: geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/build.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/build.xml?rev=669387&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/build.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/build.xml Wed Jun 18 21:41:39
2008
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<!--
+ |  
+ | Ant script to start Eclipse via the equinox launcher
+ |                                                                                      
      
+ |                                                                                      
      
+ | @version $Rev$ $Date$                                                                
                           
+ |                                                                                      
      
+ -->
+<project name="GEP Automated Testsuite Launcher">
+
+    <target name="init">
+
+        <property name="ECLIPSE_HOME" value="test-eclipse"/>
+
+        <!--
+         |  
+         | Copy and rename the eqiunox launcher jar
+         |                                                                              
              
+         -->
+        <copy tofile="${ECLIPSE_HOME}/eclipse/plugins/org.eclipse.equinox.launcher.jar">
+            <fileset dir="${ECLIPSE_HOME}/eclipse/plugins"
+              includes="**/org.eclipse.equinox.launcher_*.jar"/>
+        </copy>
+
+        <!--
+         |  
+         | Copy and rename the org.eclipse.test folder
+         |                                                                              
              
+         -->
+        <mkdir dir="${ECLIPSE_HOME}/eclipse/plugins/org.eclipse.test"/>
+        <copy todir="${ECLIPSE_HOME}/eclipse/plugins/org.eclipse.test">
+            <fileset dir="${ECLIPSE_HOME}/eclipse/plugins/org.eclipse.test_3.2.0"/>
+        </copy>
+    </target>
+
+    <target name="win32" depends="init" description="Start equinox launcher on Windows">
+        <!--
+         |  
+         | Start Eclipse via the equinox launcher 
+         |                                                                              
              
+         -->
+        <java classname="org.eclipse.equinox.launcher.Main" fork="true">
+            <classpath>
+                <pathelement path="${ECLIPSE_HOME}/eclipse/plugins/org.eclipse.equinox.launcher.jar"/>
+            </classpath>
+            <arg line="-data workspace" />
+            <arg line="-application org.eclipse.ant.core.antRunner"/>
+            <arg line="-file testsuite.xml"/>
+            <arg value="helloworld"/>
+            <arg value="-Dws=win32"/>
+            <arg value="-Dos=win32"/>
+            <arg value="-Darch=x86"/>
+            <arg value="-Dnoclean=true"/>
+            <arg line="-logger org.apache.tools.ant.DefaultLogger" />
+    </target>
+
+    <target name="linux" depends="init" description="Start equinox launcher on Linux">
+        <!--
+         |  
+         | Start Eclipse via the equinox launcher 
+         |                                                                              
              
+         -->
+        <java classname="org.eclipse.equinox.launcher.Main" fork="true">
+            <classpath>
+                <pathelement path="${ECLIPSE_HOME}/eclipse/plugins/org.eclipse.equinox.launcher.jar"/>
+            </classpath>
+            <arg line="-data workspace" />
+            <arg line="-application org.eclipse.ant.core.antRunner"/>
+            <arg line="-file testsuite.xml"/>
+            <arg value="helloworld"/>
+            <arg value="-Dws=motif"/>
+            <arg value="-Dos=linux"/>
+            <arg value="-Darch=x86"/>
+            <arg value="-Dnoclean=true"/>
+            <arg line="-logger org.apache.tools.ant.DefaultLogger" />
+    </target>
+
+    <target name="macos" depends="init" description="Start equinox launcher on Mac">
+        <!--
+         |  
+         | Start Eclipse via the equinox launcher 
+         |                                                                              
              
+         -->
+        <java classname="org.eclipse.equinox.launcher.Main" fork="true">
+            <classpath>
+                <pathelement path="${ECLIPSE_HOME}/eclipse/plugins/org.eclipse.equinox.launcher.jar"/>
+            </classpath>
+            <arg line="-data workspace" />
+            <arg line="-application org.eclipse.ant.core.antRunner"/>
+            <arg line="-file testsuite.xml"/>
+            <arg value="helloworld"/>
+            <arg value="-Dws=carbon"/>
+            <arg value="-Dos=macosx"/>
+            <arg value="-Darch=x86"/>
+            <arg value="-Dnoclean=true"/>
+            <arg line="-logger org.apache.tools.ant.DefaultLogger" />
+    </target>
+
+</project>

Propchange: geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/build.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/build.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/build.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/pom.xml?rev=669387&view=auto
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/pom.xml (added)
+++ geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/pom.xml Wed Jun 18 21:41:39
2008
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  ~ Licensed to the Apache Software Foundation (ASF) under one or more
+  ~ contributor license agreements.  See the NOTICE file distributed with
+  ~ this work for additional information regarding copyright ownership.
+  ~ The ASF licenses this file to You under the Apache License, Version 2.0
+  ~ (the "License"); you may not use this file except in compliance with
+  ~ the License.  You may obtain a copy of the License at
+  ~
+  ~    http://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distributed under the License is distributed on an "AS IS" BASIS,
+  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  ~ See the License for the specific language governing permissions and
+  ~ limitations under the License.
+  -->
+
+<!-- @version $Rev$ $Date$ -->
+
+<project>
+                        
+    <modelVersion>4.0.0</modelVersion>
+
+    <groupId>org.apache.geronimo.devtools</groupId>
+    <artifactId>testsuite-launcher</artifactId>
+    <packaging>pom</packaging>
+    <version>2.1.1</version>
+    <name>Geronimo Devtools Testsuite :: Launcher</name>
+
+    <parent>
+        <groupId>org.apache.geronimo.devtools</groupId>
+        <artifactId>testsuite</artifactId>
+        <version>2.1.1</version>
+    </parent>
+                        
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-clean-plugin</artifactId>
+                <inherited>false</inherited>
+                <configuration>
+                    <failOnError>false</failOnError>
+                    <filesets>
+                        <fileset>
+                            <directory>${pom.basedir}</directory>
+                            <includes>
+                                <include>results</include>
+                                <include>test-eclipse</include>
+                                <include>workspace</include>
+                            </includes>
+                        </fileset>
+                    </filesets>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>run-testsuite</id>
+                        <phase>install</phase>
+                        <configuration>
+                            <tasks>
+                                <ant antfile="${basedir}/build.xml">
+                                    <target name="${eclipsePlatformFamily}"></target>
+                                </ant>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+        </plugins>
+    </build>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.devtools</groupId>
+            <artifactId>testsuite-eclipse</artifactId>
+            <version>${version}</version>
+            <type>pom</type>
+        </dependency>
+
+        <dependency>
+            <groupId>org.apache.geronimo.devtools</groupId>
+            <artifactId>testsuite-plugins</artifactId>
+            <version>${version}</version>
+            <type>pom</type>
+        </dependency>
+    </dependencies>
+
+</project>

Propchange: geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/devtools/eclipse-plugin/trunk/testsuite/launcher/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message