http://git-wip-us.apache.org/repos/asf/airavata/blob/c4f3c662/modules/distribution/xbaya-gui/src/main/resources/NOTICE ---------------------------------------------------------------------- diff --git a/modules/distribution/xbaya-gui/src/main/resources/NOTICE b/modules/distribution/xbaya-gui/src/main/resources/NOTICE new file mode 100644 index 0000000..61d74b8 --- /dev/null +++ b/modules/distribution/xbaya-gui/src/main/resources/NOTICE @@ -0,0 +1,163 @@ +Apache Airavata +Copyright 2013 The Apache Software Foundation + +This product includes software developed at +The Apache Software Foundation (http://www.apache.org/). + +=============================================================================== +Apache Xerces Java Notice: + + Portions of this software were originally based on the following: + - software copyright (c) 1999, IBM Corporation., http://www.ibm.com. + - software copyright (c) 1999, Sun Microsystems., http://www.sun.com. + - voluntary contributions made by Paul Eng on behalf of the + Apache Software Foundation that were originally developed at iClick, Inc., + software copyright (c) 1999. + +================================================================================ +Apache XmlBeans Notice: + + Portions of this software were originally based on the following: + - software copyright (c) 2000-2003, BEA Systems, <http://www.bea.com/>. + + Aside from contributions to the Apache XMLBeans project, this + software also includes: + + - one or more source files from the Apache Xerces-J and Apache Axis + products, Copyright (c) 1999-2003 Apache Software Foundation + + - W3C XML Schema documents Copyright 2001-2003 (c) World Wide Web + Consortium (Massachusetts Institute of Technology, European Research + Consortium for Informatics and Mathematics, Keio University) + + - resolver.jar from Apache Xml Commons project, + Copyright (c) 2001-2003 Apache Software Foundation + + - Piccolo XML Parser for Java from http://piccolo.sourceforge.net/, + Copyright 2002 Yuval Oren under the terms of the Apache Software License 2.0 + + - JSR-173 Streaming API for XML from http://sourceforge.net/projects/xmlpullparser/, + Copyright 2005 BEA under the terms of the Apache Software License 2.0 + +========================================================================================= +Apache Axis2 Notice: (axis2-*, mex-1.5.1-impl) + +Portions Copyright 2006 International Business Machines Corp. +Portions Copyright 2005-2007 WSO2, Inc. + +This product also includes schemas and specification developed by: +- the W3C consortium (http://www.w3c.org) + +This product also includes WS-* schemas developed by International +Business Machines Corporation, Microsoft Corporation, BEA Systems, +TIBCO Software, SAP AG, Sonic Software, and VeriSign + +This product also includes a WSDL developed by salesforce.com +- Copyright 1999-2006 salesforce.com, inc. +Portions of the included xmlbeans library were originally based on the following: +- software copyright (c) 2000-2003, BEA Systems, <http://www.bea.com/>. + +==================================================================================== +Apache Derby Notice: + +Portions of Derby were originally developed by +International Business Machines Corporation and are +licensed to the Apache Software Foundation under the +"Software Grant and Corporate Contribution License Agreement", +informally known as the "Derby CLA". +The following copyright notice(s) were affixed to portions of the code +with which this file is now or was at one time distributed +and are placed here unaltered. + +(C) Copyright 1997,2004 International Business Machines Corporation. All rights reserved. + +(C) Copyright IBM Corp. 2003. + +======================= + +The portion of the functionTests under 'nist' was originally +developed by the National Institute of Standards and Technology (NIST), +an agency of the United States Department of Commerce, and adapted by +International Business Machines Corporation in accordance with the NIST +Software Acknowledgment and Redistribution document at +http://www.itl.nist.gov/div897/ctg/sql_form.htm + +======================== + +The JDBC apis for small devices and JDBC3 (under java/stubs/jsr169 and +java/stubs/jdbc3) were produced by trimming sources supplied by the +Apache Harmony project. In addition, the Harmony SerialBlob and +SerialClob implementations are used. The following notice covers the Harmony sources: + +Portions of Harmony were originally developed by +Intel Corporation and are licensed to the Apache Software +Foundation under the "Software Grant and Corporate Contribution +License Agreement", informally known as the "Intel Harmony CLA". + +============================================================================= +Apache Woden Notice: + + This product also includes software developed by : + + - IBM Corporation (http://www.ibm.com), + WSDL4J was the initial code contribution for the Apache Woden + project and some of the WSDL4J design and code has been reused. + - The W3C Consortium (http://www.w3c.org), + Common W3C XML Schema and DTD files are packaged with Apache Woden. + + Please read the different LICENSE files present in the root directory of + this distribution. + +========================================================================= +Woodstox Notice: + +This product includes software developed by the Woodstox Project +(http://woodstox.codehaus.org/) + +This product currently only contains code developed by authors +of specific components, as identified by the source code files. + +Since product implements StAX API, it has dependencies to StAX API +classes. + +For additional credits (generally to people who reported problems) +see CREDITS file. + +=========================================================================== +Apache xml-commons xml-apis Notice: + + Portions of this software were originally based on the following: + - software copyright (c) 1999, IBM Corporation., http://www.ibm.com. + - software copyright (c) 1999, Sun Microsystems., http://www.sun.com. + - software copyright (c) 2000 World Wide Web Consortium, http://www.w3.org + +================================================================================================ +Apache Xalan Notice: + +Portions of this software was originally based on the following: + - software copyright (c) 1999-2002, Lotus Development Corporation., http://www.lotus.com. + - software copyright (c) 2001-2002, Sun Microsystems., http://www.sun.com. + - software copyright (c) 2003, IBM Corporation., http://www.ibm.com. + - voluntary contributions made by Ovidiu Predescu ([email protected]) on behalf of the + Apache Software Foundation and was originally developed at Hewlett Packard Company. +================================================================================================ +Apache OpenJPA Notice: + +OpenJPA includes software developed by the SERP project +Copyright (c) 2002-2006, A. Abram White. All rights reserved. + +OpenJPA includes the persistence and orm schemas from the JPA specifications. +Copyright 2005-2009 Sun Microsystems, Inc. All rights reserved. +OpenJPA elects to include this software in this distribution under the +CDDL license. You can obtain a copy of the License at: + https://glassfish.dev.java.net/public/CDDL+GPL.html +The source code is available at: + https://glassfish.dev.java.net/source/browse/glassfish/ + +OpenJPA includes software written by Miroslav Nachev +OpenJPA uses test code written by Charles Tillman. +================================================================================================ +Apache XmlSchema Notice: + +Portions Copyright 2006 International Business Machines Corp. +================================================================================================ \ No newline at end of file
http://git-wip-us.apache.org/repos/asf/airavata/blob/c4f3c662/modules/distribution/xbaya-gui/src/main/resources/README ---------------------------------------------------------------------- diff --git a/modules/distribution/xbaya-gui/src/main/resources/README b/modules/distribution/xbaya-gui/src/main/resources/README new file mode 100644 index 0000000..6ca8faf --- /dev/null +++ b/modules/distribution/xbaya-gui/src/main/resources/README @@ -0,0 +1,101 @@ +Apache Airavata XBaya - README.txt +Licensed under Apache License 2.0 - http://www.apache.org/licenses/LICENSE-2.0 +-------------------------------------------------------------------------------- + +About +===== +Apache Airavata, a software framework to executing and managing computational jobs on +distributed computing resources including local clusters, supercomputers, national grids, +academic and commercial clouds. Airavata can be used as individual components or +as an integrated solution to build science gateways or general-purpose distributed +application and workflow management systems. Users can use Airavata back end services +and build gadgets to deploy in open social containers such as Apache Rave and modify them +to suit their needs. Airavata builds on general concepts of service oriented computing, +distributed messaging, and workflow composition and orchestration. + +This distribution is a client gui application capable of composing workflows, application +descriptors & communicating with the airavata server to persist user data, run & monitor +experiments and analyze the results. + +Release Notes +============= +0.11 is the tenth release of Airavata (skipped 0.1-INCUBATNG). This release focuses GFac rearchitecturing and more GFac level changes. For detailed tasks list, please see RELEASE_NOTES. + +Building from source +==================== +For brief installation instructions, see INSTALL +For detailed installation and further instructions refer http://airavata.apache.org/ - Documentation section in left hand panel. Step by step with proper documentation are provided. + +Known Issues in This Release +============================ +This is the base release and is focused on a good foundation and less on features. This +version is not recommended for production usage. + +Airavata XBaya Distribution Directory Structure +================================================ + + AIRAVATA_XBAYA + âââ bin + â âââ airavata-client.properties + â âââ log4j.properties + â âââ setenv.bat + â âââ setenv.sh + â âââ xbaya-gui.bat + â âââ xbaya-gui.sh + âââ lib + âââ samples + âââ INSTALL + âââ LICENSE + âââ NOTICE + âââ README + +How to test and run samples +=========================== +* If you built Airavata from source, and if you see "BUILD SUCCESS", then the test cases should have passes. +* The test cases are beyond unit level, they startup embedded services and run through basic workflow use cases. +* To walk through Airavata features, follow "Airavata in Five Minutes" tutorial at http://airavata.apache.org/documentation/tutorials/airavata-in-5-minutes.html +* For intermediate level Airavata features, follow "Airavata in Ten Minutes" tutorial at http://airavata.apache.org/documentation/tutorials/airavata-in-10-minutes.html +* For advanced use cases, please contact mailing lists - http://airavata.apache.org/community/mailing-lists.html + +Description of Directory Structure +================================== + + - bin + This contains the configuration files for Airavata XBaya & the scripts to run XBaya GUI Application. + + - samples + This contains sample scripts to define the sample descriptor in http://airavata.apache.org/documentation/tutorials/airavata-in-10-minutes.html + + - lib + This contains all the libraries required to run the client side code with the jars required to run XBaya GUI. + + - README + This document. + + - INSTALL + This document will contain information on installing Apache-Airavata XBaya. + +Other Available Distributions +============================= + +Server Distributions +-------------------- +* Airavata Server + The Airavata Server binary distribution allows you to run a standalone Airavata Server which includes all the airavata services + shipped with a default derby database as the backend registry. For stable purposes, a mysql configuration is recommended. + +* Airavata Server Web Application + This is similar package as the Airavata Server but is distributed as the server Web Application archive. + This war is compatible with Apache Tomcat application server. The war bundles all airavata services + enabled by defualt to startup a derby database as the backend registry. For stable purposes, a mysql configuration is recommended. + +Client Distributions +-------------------- +* Airavata XBaya + The Airavata XBaya distribution is a client GUI application with features to register applications as web services, construct workflows, + execute and monitor workflows and browse the generated results from the airavata registry. + +* Airavata XBaya JNLP + The Airavata XBaya JNLP distribution is the simular GUI distribution but prepackeged to be ready to be deployed to + a web server as a web start application. The GUI provides features to register applications as web services, construct workflows, + execute and monitor workflows and browse the generated results from the airavata registry. http://git-wip-us.apache.org/repos/asf/airavata/blob/c4f3c662/modules/distribution/xbaya-gui/src/main/resources/airavata-logo.gif ---------------------------------------------------------------------- diff --git a/modules/distribution/xbaya-gui/src/main/resources/airavata-logo.gif b/modules/distribution/xbaya-gui/src/main/resources/airavata-logo.gif new file mode 100644 index 0000000..46749c1 Binary files /dev/null and b/modules/distribution/xbaya-gui/src/main/resources/airavata-logo.gif differ http://git-wip-us.apache.org/repos/asf/airavata/blob/c4f3c662/modules/distribution/xbaya-gui/src/main/resources/bin/setenv.bat ---------------------------------------------------------------------- diff --git a/modules/distribution/xbaya-gui/src/main/resources/bin/setenv.bat b/modules/distribution/xbaya-gui/src/main/resources/bin/setenv.bat new file mode 100755 index 0000000..e02e0d6 --- /dev/null +++ b/modules/distribution/xbaya-gui/src/main/resources/bin/setenv.bat @@ -0,0 +1,42 @@ +rem Licensed to the Apache Software Foundation (ASF) under one +rem or more contributor license agreements. See the NOTICE file +rem distributed with this work for additional information +rem regarding copyright ownership. The ASF licenses this file +rem to you under the Apache License, Version 2.0 (the +rem "License"); you may not use this file except in compliance +rem with the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, +rem software distributed under the License is distributed on an +rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +rem KIND, either express or implied. See the License for the +rem specific language governing permissions and limitations +rem under the License. + +@echo off + +:checkJava +if "%JAVA_HOME%" == "" goto noJavaHome +if not exist "%JAVA_HOME%\bin\java.exe" goto noJavaHome +goto initialize + +:noJavaHome +echo You must set the JAVA_HOME environment variable before running Airavata. +goto end + +:initialize +if "%XBAYA_HOME%"=="" set XBAYA_HOME=%~sdp0.. +SET curDrive=%cd:~0,1% +SET xBayaDrive=%XBAYA_HOME:~0,1% +if not "%curDrive%" == "%xBayaDrive%" %xBayaDrive%: +goto updateClasspath + +rem ----- update classpath ----------------------------------------------------- +:updateClasspath +cd %XBAYA_HOME% +set XBAYA_CLASSPATH= +FOR %%C in ("%XBAYA_HOME%\lib\*.jar") DO set XBAYA_CLASSPATH=!XBAYA_CLASSPATH!;..\lib\%%~nC%%~xC + +:end \ No newline at end of file http://git-wip-us.apache.org/repos/asf/airavata/blob/c4f3c662/modules/distribution/xbaya-gui/src/main/resources/bin/setenv.sh ---------------------------------------------------------------------- diff --git a/modules/distribution/xbaya-gui/src/main/resources/bin/setenv.sh b/modules/distribution/xbaya-gui/src/main/resources/bin/setenv.sh new file mode 100755 index 0000000..84673db --- /dev/null +++ b/modules/distribution/xbaya-gui/src/main/resources/bin/setenv.sh @@ -0,0 +1,77 @@ +#!/bin/sh + +# 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. + + +# Get standard environment variables +# if JAVA_HOME is not set we're not happy +if [ -z "$JAVA_HOME" ]; then + echo "You must set the JAVA_HOME variable before running Airavata Scripts." + exit 1 +fi + +# OS specific support. $var _must_ be set to either true or false. +cygwin=false +os400=false +case "`uname`" in +CYGWIN*) cygwin=true;; +OS400*) os400=true;; +esac + +# resolve links - $0 may be a softlink +PRG="$0" + +while [ -h "$PRG" ]; do + ls=`ls -ld "$PRG"` + link=`expr "$ls" : '.*-> \(.*\)$'` + if expr "$link" : '.*/.*' > /dev/null; then + PRG="$link" + else + PRG=`dirname "$PRG"`/"$link" + fi +done + + +PRGDIR=`dirname "$PRG"` + +# Only set AIRAVATA_HOME if not already set +[ -z "$AIRAVATA_HOME" ] && AIRAVATA_HOME=`cd "$PRGDIR/.." ; pwd` + +XBAYA_CLASSPATH="" + + + +for f in "$AIRAVATA_HOME"/lib/*.jar +do + XBAYA_CLASSPATH="$XBAYA_CLASSPATH":$f +done + +for f in "$AIRAVATA_HOME"/repository/services/*.jar +do + XBAYA_CLASSPATH="$XBAYA_CLASSPATH":$f +done + +XBAYA_CLASSPATH="$XBAYA_HOME":"$XBAYA_HOME/conf":"$XBAYA_CLASSPATH":"$CLASSPATH" + + + + +export AIRAVATA_HOME +export XBAYA_CLASSPATH + + http://git-wip-us.apache.org/repos/asf/airavata/blob/c4f3c662/modules/distribution/xbaya-gui/src/main/resources/bin/xbaya-gui.bat ---------------------------------------------------------------------- diff --git a/modules/distribution/xbaya-gui/src/main/resources/bin/xbaya-gui.bat b/modules/distribution/xbaya-gui/src/main/resources/bin/xbaya-gui.bat new file mode 100755 index 0000000..1f46002 --- /dev/null +++ b/modules/distribution/xbaya-gui/src/main/resources/bin/xbaya-gui.bat @@ -0,0 +1,23 @@ +@echo off +rem Licensed to the Apache Software Foundation (ASF) under one +rem or more contributor license agreements. See the NOTICE file +rem distributed with this work for additional information +rem regarding copyright ownership. The ASF licenses this file +rem to you under the Apache License, Version 2.0 (the +rem "License"); you may not use this file except in compliance +rem with the License. You may obtain a copy of the License at +rem +rem http://www.apache.org/licenses/LICENSE-2.0 +rem +rem Unless required by applicable law or agreed to in writing, +rem software distributed under the License is distributed on an +rem "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +rem KIND, either express or implied. See the License for the +rem specific language governing permissions and limitations +rem under the License. + +setlocal EnableDelayedExpansion +call "%~dp0"setenv.bat + +cd "%XBAYA_HOME%\bin" +"%JAVA_HOME%\bin\java.exe" %JAVA_OPTS% -classpath "%XBAYA_CLASSPATH%" org.apache.airavata.xbaya.XBaya %* http://git-wip-us.apache.org/repos/asf/airavata/blob/c4f3c662/modules/distribution/xbaya-gui/src/main/resources/bin/xbaya-gui.sh ---------------------------------------------------------------------- diff --git a/modules/distribution/xbaya-gui/src/main/resources/bin/xbaya-gui.sh b/modules/distribution/xbaya-gui/src/main/resources/bin/xbaya-gui.sh new file mode 100755 index 0000000..13ffe10 --- /dev/null +++ b/modules/distribution/xbaya-gui/src/main/resources/bin/xbaya-gui.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +# 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. + +. `dirname $0`/setenv.sh +$JAVA_HOME/bin/java $JAVA_OPTS -classpath "$XBAYA_CLASSPATH" \ + org.apache.airavata.xbaya.XBaya $* http://git-wip-us.apache.org/repos/asf/airavata/blob/c4f3c662/modules/distribution/xbaya-gui/src/main/resources/conf/log4j.properties ---------------------------------------------------------------------- diff --git a/modules/distribution/xbaya-gui/src/main/resources/conf/log4j.properties b/modules/distribution/xbaya-gui/src/main/resources/conf/log4j.properties new file mode 100644 index 0000000..ee40d6f --- /dev/null +++ b/modules/distribution/xbaya-gui/src/main/resources/conf/log4j.properties @@ -0,0 +1,40 @@ +# +# 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. +# + +# Set root category priority to INFO and its only appender to CONSOLE. +log4j.rootCategory=INFO, CONSOLE,LOGFILE +log4j.rootLogger=INFO, CONSOLE, LOGFILE + +# Set the enterprise logger priority to FATAL +log4j.logger.org.apache.axis2.enterprise=FATAL +log4j.logger.de.hunsicker.jalopy.io=FATAL +log4j.logger.httpclient.wire.header=FATAL +log4j.logger.org.apache.commons.httpclient=FATAL + +# CONSOLE is set to be a ConsoleAppender using a PatternLayout. +log4j.appender.CONSOLE=org.apache.log4j.ConsoleAppender +log4j.appender.CONSOLE.layout=org.apache.log4j.PatternLayout +log4j.appender.CONSOLE.layout.ConversionPattern=[%p] %m%n + +# LOGFILE is set to be a File appender using a PatternLayout. +log4j.appender.LOGFILE=org.apache.log4j.FileAppender +log4j.appender.LOGFILE.File=../../bin/axis2.log +log4j.appender.LOGFILE.Append=true +log4j.appender.LOGFILE.layout=org.apache.log4j.PatternLayout +log4j.appender.LOGFILE.layout.ConversionPattern=%d [%t] %-5p %c %x - %m%n http://git-wip-us.apache.org/repos/asf/airavata/blob/c4f3c662/modules/distribution/xbaya-gui/src/main/resources/jnlp/INSTALL ---------------------------------------------------------------------- diff --git a/modules/distribution/xbaya-gui/src/main/resources/jnlp/INSTALL b/modules/distribution/xbaya-gui/src/main/resources/jnlp/INSTALL new file mode 100644 index 0000000..24ae962 --- /dev/null +++ b/modules/distribution/xbaya-gui/src/main/resources/jnlp/INSTALL @@ -0,0 +1,48 @@ +Installing Apache Airavata XBaya 0.11 +------------------------------------- + +Prerequisites +------------- +Java 1.5 or later +Maven (tested on v 3.0.2) + +Build Apache Airavata XBaya JNLP from Source +-------------------------------------------- +* Unzip/untar the source file or check out from svn. +* 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 +* The compressed binary distribution is created at <PROJECT DIR>/modules/distribution/xbaya-gui/target/apache-airavata-xbaya-gui-<airavata-version>-jnlp.zip + +Installing the JNLP Distribution +-------------------------------- +* Extract the Apache Airavata XBaya JNLP distribution to a web accessible location +* Update the the xbaya.jnlp file "codebase" with the web access location of the jnlp + eg: <jnlp ... codebase="http://example-server.com/airavata/xbaya/" ...> + ... + ... + </jnlp> + +Starting Apache Airavata XBaya JNLP +----------------------------------- +Using the web browser + * Using a browser navigate to the url <JNLP-web-access-url>/xbaya.jnlp + eg: http://example-server.com/airavata/xbaya/xbaya.jnlp + * Following the web start download instructions to run XBaya + +Using the commandline + * type for following command in the commandline to start the Airavata XBaya + $ javaws <JNLP-web-access-url>/xbaya.jnlp + eg: $ javaws http://example-server.com/airavata/xbaya/xbaya.jnlp + +Running Tests +------------- +Once the binary is unzipped, instructions to run the tests should be followed from README + +Tutorials +---------- +The airavata website has instructions for basic tutorials: +* For basic understanding of how Airavata works - http://airavata.apache.org/documentation/tutorials/airavata-in-5-minutes.html +* Describing and executing applications using Airavata - http://airavata.apache.org/documentation/tutorials/airavata-in-10-minutes.html +* Advanced tutorial to provide understanding of how to run sample workflows distributed with Airavata - http://airavata.apache.org/documentation/tutorials/advanced-workflow-samples.html
