airavata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hes...@apache.org
Subject svn commit: r1371715 - in /incubator/airavata/trunk/modules/distribution/src/main: assembly/bin-assembly.xml resources/bin/airavata-server.bat resources/bin/jackrabbit-server.bat resources/bin/setenv.bat resources/bin/xbaya-gui.bat
Date Fri, 10 Aug 2012 14:29:23 GMT
Author: heshan
Date: Fri Aug 10 14:29:23 2012
New Revision: 1371715

URL: http://svn.apache.org/viewvc?rev=1371715&view=rev
Log:
Fix for AIRAVATA-533. 
Thanks Amila for the contribution.

Added:
    incubator/airavata/trunk/modules/distribution/src/main/resources/bin/airavata-server.bat
    incubator/airavata/trunk/modules/distribution/src/main/resources/bin/jackrabbit-server.bat
    incubator/airavata/trunk/modules/distribution/src/main/resources/bin/setenv.bat
    incubator/airavata/trunk/modules/distribution/src/main/resources/bin/xbaya-gui.bat
Modified:
    incubator/airavata/trunk/modules/distribution/src/main/assembly/bin-assembly.xml

Modified: incubator/airavata/trunk/modules/distribution/src/main/assembly/bin-assembly.xml
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/distribution/src/main/assembly/bin-assembly.xml?rev=1371715&r1=1371714&r2=1371715&view=diff
==============================================================================
--- incubator/airavata/trunk/modules/distribution/src/main/assembly/bin-assembly.xml (original)
+++ incubator/airavata/trunk/modules/distribution/src/main/assembly/bin-assembly.xml Fri Aug
10 14:29:23 2012
@@ -138,6 +138,7 @@
             <outputDirectory>bin</outputDirectory>
             <includes>
                 <include>*.sh</include>
+		<include>*.bat</include>
             </includes>
         </fileSet>
         <fileSet>

Added: incubator/airavata/trunk/modules/distribution/src/main/resources/bin/airavata-server.bat
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/distribution/src/main/resources/bin/airavata-server.bat?rev=1371715&view=auto
==============================================================================
--- incubator/airavata/trunk/modules/distribution/src/main/resources/bin/airavata-server.bat
(added)
+++ incubator/airavata/trunk/modules/distribution/src/main/resources/bin/airavata-server.bat
Fri Aug 10 14:29:23 2012
@@ -0,0 +1,24 @@
+@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 "%AIRAVATA_HOME%\standalone-server\bin"
+call axis2server.bat %*
+cd "%AIRAVATA_HOME%\bin"
+

Added: incubator/airavata/trunk/modules/distribution/src/main/resources/bin/jackrabbit-server.bat
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/distribution/src/main/resources/bin/jackrabbit-server.bat?rev=1371715&view=auto
==============================================================================
--- incubator/airavata/trunk/modules/distribution/src/main/resources/bin/jackrabbit-server.bat
(added)
+++ incubator/airavata/trunk/modules/distribution/src/main/resources/bin/jackrabbit-server.bat
Fri Aug 10 14:29:23 2012
@@ -0,0 +1,21 @@
+@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.
+
+call "%~dp0"setenv.bat
+
+"%JAVA_HOME%\bin\java.exe" -jar "%AIRAVATA_HOME%\lib\jackrabbit-standalone-2.2.7.jar" -p
8081 %*

Added: incubator/airavata/trunk/modules/distribution/src/main/resources/bin/setenv.bat
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/distribution/src/main/resources/bin/setenv.bat?rev=1371715&view=auto
==============================================================================
--- incubator/airavata/trunk/modules/distribution/src/main/resources/bin/setenv.bat (added)
+++ incubator/airavata/trunk/modules/distribution/src/main/resources/bin/setenv.bat Fri Aug
10 14:29:23 2012
@@ -0,0 +1,56 @@
+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 variable before running Airavata."
+goto end
+
+:initialize
+if "%AIRAVATA_HOME%"=="" set AIRAVATA_HOME=%~sdp0..
+SET curDrive=%cd:~0,1%
+SET airavataDrive=%AIRAVATA_HOME:~0,1%
+if not "%curDrive%" == "%airavataDrive%" %airavataDrive%:
+goto updateClasspath
+
+rem ----- update classpath -----------------------------------------------------
+:updateClasspath
+cd %AIRAVATA_HOME%
+set XBAYA_CLASSPATH=
+FOR %%C in ("%AIRAVATA_HOME%\standalone-server\lib\*.jar") DO set XBAYA_CLASSPATH=!XBAYA_CLASSPATH!;".\standalone-server\lib\%%~nC%%~xC"
+
+set XBAYA_CLASSPATH=!XBAYA_CLASSPATH!;
+FOR %%C in ("%AIRAVATA_HOME%\standalone-server\repository\services\*.jar") DO set XBAYA_CLASSPATH=!XBAYA_CLASSPATH!;".\standalone-server\repository\services\%%~nC%%~xC"
+
+
+
+
+
+
+
+
+
+
+
+
+

Added: incubator/airavata/trunk/modules/distribution/src/main/resources/bin/xbaya-gui.bat
URL: http://svn.apache.org/viewvc/incubator/airavata/trunk/modules/distribution/src/main/resources/bin/xbaya-gui.bat?rev=1371715&view=auto
==============================================================================
--- incubator/airavata/trunk/modules/distribution/src/main/resources/bin/xbaya-gui.bat (added)
+++ incubator/airavata/trunk/modules/distribution/src/main/resources/bin/xbaya-gui.bat Fri
Aug 10 14:29:23 2012
@@ -0,0 +1,22 @@
+@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
+
+"%JAVA_HOME%\bin\java.exe" %JAVA_OPTS% -classpath "%XBAYA_CLASSPATH%" org.apache.airavata.xbaya.XBaya
%*



Mime
View raw message