airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shame...@apache.org
Subject [71/81] [abbrv] airavata git commit: adding a parent distribution
Date Thu, 04 Jun 2015 20:16:24 GMT
adding a parent distribution


Project: http://git-wip-us.apache.org/repos/asf/airavata/repo
Commit: http://git-wip-us.apache.org/repos/asf/airavata/commit/8e451b31
Tree: http://git-wip-us.apache.org/repos/asf/airavata/tree/8e451b31
Diff: http://git-wip-us.apache.org/repos/asf/airavata/diff/8e451b31

Branch: refs/heads/master
Commit: 8e451b3145d9c3df975b7395665b1c7d98690aa6
Parents: 29cd57f
Author: Suresh Marru <smarru@apache.org>
Authored: Thu Jun 4 15:05:40 2015 -0400
Committer: Suresh Marru <smarru@apache.org>
Committed: Thu Jun 4 15:05:40 2015 -0400

----------------------------------------------------------------------
 distribution/main/assembly/bin-assembly.xml     |  189 ++
 distribution/main/assembly/src-assembly.xml     |   75 +
 distribution/main/resources/INSTALL             |   30 +
 distribution/main/resources/LICENSE             | 2387 ++++++++++++++++++
 distribution/main/resources/NOTICE              |  163 ++
 distribution/main/resources/README              |  145 ++
 .../main/resources/bin/airavata-server.bat      |   55 +
 .../main/resources/bin/airavata-server.sh       |  118 +
 distribution/main/resources/bin/api-server.sh   |  118 +
 distribution/main/resources/bin/derby.sh        |   23 +
 distribution/main/resources/bin/gfac-server.sh  |  118 +
 distribution/main/resources/bin/logo.txt        |   34 +
 .../main/resources/bin/orchestrator-server.sh   |  118 +
 distribution/main/resources/bin/setenv.bat      |   43 +
 distribution/main/resources/bin/setenv.sh       |   77 +
 .../main/resources/bin/startNetworkServer       |  189 ++
 .../main/resources/bin/workflow-server.sh       |  118 +
 .../main/resources/samples/registerSample.sh    |   25 +
 .../main/resources/samples/scripts/add.sh       |   21 +
 .../main/resources/samples/scripts/echo.sh      |   22 +
 .../main/resources/samples/scripts/multiply.sh  |   22 +
 .../main/resources/samples/scripts/subtract.sh  |   22 +
 distribution/pom.xml                            |  601 +++++
 pom.xml                                         |    1 +
 24 files changed, 4714 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/airavata/blob/8e451b31/distribution/main/assembly/bin-assembly.xml
----------------------------------------------------------------------
diff --git a/distribution/main/assembly/bin-assembly.xml b/distribution/main/assembly/bin-assembly.xml
new file mode 100644
index 0000000..6c290b8
--- /dev/null
+++ b/distribution/main/assembly/bin-assembly.xml
@@ -0,0 +1,189 @@
+<!--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. -->
+
+<!DOCTYPE assembly [
+        <!ELEMENT assembly (id|includeBaseDirectory|baseDirectory|formats|fileSets|dependencySets)*>
+        <!ELEMENT id (#PCDATA)>
+        <!ELEMENT includeBaseDirectory (#PCDATA)>
+        <!ELEMENT baseDirectory (#PCDATA)>
+        <!ELEMENT formats (format)*>
+        <!ELEMENT format (#PCDATA)>
+        <!ELEMENT fileSets (fileSet)*>
+        <!ELEMENT fileSet (directory|outputDirectory|fileMode|includes)*>
+        <!ELEMENT directory (#PCDATA)>
+        <!ELEMENT outputDirectory (#PCDATA)>
+        <!ELEMENT includes (include)*>
+        <!ELEMENT include (#PCDATA)>
+        <!ELEMENT dependencySets (dependencySet)*>
+        <!ELEMENT dependencySet (outputDirectory|outputFileNameMapping|includes)*>
+        ]>
+<assembly>
+	<id>bin</id>
+	<includeBaseDirectory>true</includeBaseDirectory>
+	<baseDirectory>${archieve.name}-${version}</baseDirectory>
+	<formats>
+		<format>tar.gz</format>
+		<format>zip</format>
+	</formats>
+
+	<fileSets>
+
+		<!-- ********************** copy release notes files ********************** -->
+		<fileSet>
+			<directory>../../../</directory>
+			<outputDirectory>.</outputDirectory>
+			<includes>
+				<include>RELEASE_NOTES</include>
+			</includes>
+		</fileSet>
+		<!-- ********************** copy licenses, readme etc. ********************** -->
+		<fileSet>
+			<directory>src/main/resources/</directory>
+			<outputDirectory>.</outputDirectory>
+			<includes>
+				<include>LICENSE</include>
+				<include>NOTICE</include>
+				<include>README</include>
+				<include>INSTALL</include>
+			</includes>
+		</fileSet>
+
+		<!-- ********************** copy database scripts ********************** -->
+		<fileSet>
+			<directory>../../ws-messenger/messagebroker/src/main/resources/database_scripts
+			</directory>
+			<outputDirectory>bin/database_scripts
+			</outputDirectory>
+			<includes>
+				<include>*sql*</include>
+			</includes>
+		</fileSet>
+		<fileSet>
+			<directory>../../ws-messenger/messagebox/src/main/resources/database_scripts
+			</directory>
+			<outputDirectory>bin/database_scripts
+			</outputDirectory>
+			<includes>
+				<include>*sql*</include>
+			</includes>
+		</fileSet>
+		<fileSet>
+			<directory>../../registry/airavata-jpa-registry/src/main/resources
+			</directory>
+			<outputDirectory>bin/database_scripts
+			</outputDirectory>
+			<includes>
+				<include>*sql*</include>
+			</includes>
+		</fileSet>
+		<fileSet>
+			<directory>../../app-catalog/app-catalog-data/src/main/resources
+			</directory>
+			<outputDirectory>bin/database_scripts
+			</outputDirectory>
+			<includes>
+				<include>*sql*</include>
+			</includes>
+		</fileSet>
+		<fileSet>
+			<directory>src/main/resources/bin</directory>
+			<outputDirectory>bin</outputDirectory>
+			<fileMode>777</fileMode>
+			<includes>
+				<include>*.sh</include>
+				<include>*.bat</include>
+				<include>logo.txt</include>
+				<include>startNetworkServer</include>
+			</includes>
+		</fileSet>
+		<fileSet>
+			<directory>src/main/resources/samples</directory>
+			<outputDirectory>samples</outputDirectory>
+			<fileMode>777</fileMode>
+			<includes>
+				<include>*.sh</include>
+				<include>**/*.sh</include>
+			</includes>
+		</fileSet>
+		<fileSet>
+			<directory>${project.build.directory}/conf</directory>
+			<outputDirectory>bin</outputDirectory>
+			<includes>
+				<include>airavata-server.properties</include>
+				<include>zoo.cfg</include>
+				<include>registry.properties</include>
+				<include>log4j.properties</include>
+				<include>host.xml</include>
+				<include>persistence.xml</include>
+				<include>provenance.sql</include>
+				<include>gfac-config.xml</include>
+				<include>PBSTemplate.xslt</include>
+				<include>SLURMTemplate.xslt</include>
+				<include>LSFTemplate.xslt</include>
+				<include>UGETemplate.xslt</include>
+				<include>gsissh.properties</include>
+			</includes>
+		</fileSet>
+
+		<!-- ********************** Copy Axis2 startup scripts to stand alone server 
+			********************** -->
+		<fileSet>
+			<directory>src/main/resources/axis2-standalone-bin</directory>
+			<outputDirectory>bin</outputDirectory>
+			<fileMode>777</fileMode>
+			<includes>
+				<include>*.sh</include>
+				<include>*.bat</include>
+			</includes>
+		</fileSet>
+
+		<fileSet>
+			<directory>src/main/resources/conf</directory>
+			<outputDirectory>bin</outputDirectory>
+			<includes>
+				<include>**/*</include>
+			</includes>
+		</fileSet>
+
+		<!-- ********************** Copy samples ********************** -->
+		<fileSet>
+			<directory>${project.build.directory}/samples/applications
+			</directory>
+			<outputDirectory>samples</outputDirectory>
+			<includes>
+				<include>*.sh</include>
+				<include>*.bat</include>
+			</includes>
+		</fileSet>
+
+	</fileSets>
+
+	<dependencySets>
+		<dependencySet>
+			<outputDirectory>lib</outputDirectory>
+			<outputFileNameMapping>${artifact.artifactId}.${artifact.extension}</outputFileNameMapping>
+			<includes>
+				<include>org.apache.derby:derby:jar</include>
+				<include>org.apache.derby:derbytools:jar</include>
+				<include>org.apache.derby:derbynet:jar</include>
+				<include>org.apache.derby:derbyclient:jar</include>
+			</includes>
+		</dependencySet>
+		<dependencySet>
+			<outputDirectory>lib</outputDirectory>
+			<includes>
+				<include>*:*:jar</include>
+            </includes>
+		</dependencySet>
+
+	</dependencySets>
+
+</assembly>

http://git-wip-us.apache.org/repos/asf/airavata/blob/8e451b31/distribution/main/assembly/src-assembly.xml
----------------------------------------------------------------------
diff --git a/distribution/main/assembly/src-assembly.xml b/distribution/main/assembly/src-assembly.xml
new file mode 100644
index 0000000..6a093ed
--- /dev/null
+++ b/distribution/main/assembly/src-assembly.xml
@@ -0,0 +1,75 @@
+<!--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.
+  -->
+
+<assembly>
+    <id>src</id>
+    <includeBaseDirectory>true</includeBaseDirectory> 
+    <baseDirectory>${archieve.name}-${version}</baseDirectory>
+    <formats>
+        <format>tar.gz</format>  
+        <format>zip</format>
+    </formats>
+
+    <fileSets>
+        <fileSet>
+            <directory>../..</directory>
+            <outputDirectory></outputDirectory>
+            <includes>
+                <include>NOTICE</include>
+                <include>LICENSE</include>
+                <include>README</include>
+                <include>RELEASE_NOTES</include>
+		<include>DISCLAIMER</include>
+		<include>INSTALL</include>
+            </includes>
+            <filtered>true</filtered>
+        </fileSet>
+        <fileSet>
+            <directory>../..</directory>
+            <outputDirectory></outputDirectory>
+            <useDefaultExcludes>true</useDefaultExcludes>
+            <includes>
+                <include>pom.xml</include>
+                <include>modules/**</include>
+                <include>samples/**</include>
+            </includes>
+
+            <excludes>
+                                <!-- Exclusions from org.apache.resources:apache-source-release-assembly-descriptor.
+                     Note that they assume that all sources are located under an "src" directory.
This
+                     is not the case for Axis2, which doesn't use the standard Maven 2 conventions.
+                     Thus we may still encounter some issues here. -->
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?maven-eclipse\.xml]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.project]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.classpath]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iws]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.ipr]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iml]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.settings(/.*)?]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.externalToolBuilders(/.*)?]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.deployables(/.*)?]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.wtpmodules(/.*)?]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?cobertura\.ser]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.releaseBackup]</exclude>
+                <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?release\.properties]</exclude>
+            </excludes>
+
+        </fileSet>
+          </fileSets>
+</assembly>

http://git-wip-us.apache.org/repos/asf/airavata/blob/8e451b31/distribution/main/resources/INSTALL
----------------------------------------------------------------------
diff --git a/distribution/main/resources/INSTALL b/distribution/main/resources/INSTALL
new file mode 100644
index 0000000..53d0550
--- /dev/null
+++ b/distribution/main/resources/INSTALL
@@ -0,0 +1,30 @@
+Installing  Apache Airavata 0.14
+-------------------------------
+
+Prerequisites
+-------------
+Java 1.5 or later
+Maven (tested on v 3.0.2)
+
+Build Apache Airavata from Source
+---------------------------------
+* Unzip/untar the source file or clone from git.
+* cd to project folder and type
+	$ mvn clean install
+	Note: in order to skip tests use the command
+			$ mvn clean install -Dmaven.test.skip=true
+* Alternatively, all  compressed binary distributions can be found at <PROJECT DIR>/modules/distribution/release/target/release-artifacts
+
+Running Tests
+-------------
+* Unit tests & integrations tests will run while Apache Airavata is built from source
(without "-Dmaven.test.skip=true").
+* To run the test samples
+    - You can find the binary distributions at <PROJECT DIR>/modules/distribution/release/target/release-artifacts
or from
+      the Apache Airavata download site.
+    - Extract the binary distributions and once the binary is unzipped, instructions to run
the tests should be followed
+      from README files found within.
+
+Tutorials
+----------
+The airavata website has instructions for basic tutorials:
+* Describing and executing applications using Airavata - follow "XBAYA Quick-Start Tutorial"
tutorial at https://cwiki.apache.org/confluence/display/AIRAVATA/XBAYA+Quick-Start+Tutorial
\ No newline at end of file


Mime
View raw message