Skip to content
Snippets Groups Projects
Commit 0ee2a43a authored by Adam Laskowski's avatar Adam Laskowski
Browse files

SSDM-13329 Moved openBIS KNIME to another repo:...

SSDM-13329 Moved openBIS KNIME to another repo: https://sissource.ethz.ch/openbis/openbis-public/openbis-knime
parent 0ce61e41
No related branches found
No related tags found
1 merge request!40SSDM-13578 : 2PT : Database and V3 Implementation - include the new AFS "free"...
Showing
with 0 additions and 713 deletions
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>openbis_knime.feature</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.pde.FeatureBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.FeatureNature</nature>
</natures>
</projectDescription>
bin.includes = feature.xml
<?xml version="1.0" encoding="UTF-8"?>
<feature
id="ch.systemsx.cisd.openbis.knime.feature"
label="openBIS Knime Nodes"
version="13.6.2.qualifier"
provider-name="ID Scientific IT Services ETH Zürich">
<description url="https://wiki-bsse.ethz.ch/display/openBISDoc1304/openBIS+KNIME+Nodes">
KNIME Nodes to access openBIS
</description>
<copyright>
Copyright 2013-2014 ETH Zuerich, CISD
</copyright>
<license url="http://www.apache.org/licenses/LICENSE-2.0">
Licensed under the Apache License, Version 2.0 (the &quot;License&quot;);
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 &quot;AS IS&quot; 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.
</license>
<requires>
<import plugin="org.eclipse.core.runtime"/>
<import plugin="org.knime.workbench.core"/>
<import plugin="org.knime.workbench.repository"/>
<import plugin="org.knime.base"/>
<import plugin="org.knime.core.data.uritype"/>
</requires>
<plugin
id="ch.systemsx.cisd.openbis.knime"
download-size="0"
install-size="0"
version="0.0.0"/>
</feature>
<?xml version="1.0" encoding="UTF-8"?>
<site>
<category-def name="openBIS KNIME Nodes" label="openBIS KNIME Nodes">
<description>
Nodes for integreting openBIS into a KNIME workflow.
</description>
</category-def>
</site>
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="source/java"/>
<classpathentry kind="src" path="sourceTest/java"/>
<classpathentry kind="src" path="sourceEclipse/java"/>
<classpathentry exported="true" kind="lib" path="lib/dss_client-S224.0-r35783.jar"/>
<classpathentry exported="true" kind="lib" path="lib/openBIS-query-API-S224.0-r35783.jar"/>
<classpathentry exported="true" kind="lib" path="lib/aopalliance-1.0.jar"/>
<classpathentry exported="true" kind="lib" path="lib/aspectjweaver-1.8.4.jar"/>
<classpathentry exported="true" kind="lib" path="lib/commons-codec-1.3.jar"/>
<classpathentry exported="true" kind="lib" path="lib/commons-io-1.4.jar"/>
<classpathentry exported="true" kind="lib" path="lib/commons-lang-2.4.jar"/>
<classpathentry exported="true" kind="lib" path="lib/commons-logging-1.2.jar"/>
<classpathentry exported="true" kind="lib" path="lib/httpclient-4.3.6.jar"/>
<classpathentry exported="true" kind="lib" path="lib/httpcore-4.3.3.jar"/>
<classpathentry exported="true" kind="lib" path="lib/log4j-1.2.15.jar"/>
<classpathentry exported="true" kind="lib" path="lib/spring-aop-4.1.4.RELEASE.jar"/>
<classpathentry exported="true" kind="lib" path="lib/spring-beans-4.1.4.RELEASE.jar"/>
<classpathentry exported="true" kind="lib" path="lib/spring-context-4.1.4.RELEASE.jar"/>
<classpathentry exported="true" kind="lib" path="lib/spring-core-4.1.4.RELEASE.jar"/>
<classpathentry exported="true" kind="lib" path="lib/spring-expression-4.1.4.RELEASE.jar"/>
<classpathentry exported="true" kind="lib" path="lib/spring-webmvc-4.1.4.RELEASE.jar"/>
<classpathentry exported="true" kind="lib" path="lib/spring-web-4.1.4.RELEASE.jar"/>
<classpathentry exported="true" kind="lib" path="lib/marathon-spring-util-1.2.5.jar"/>
<classpathentry exported="true" kind="lib" path="lib/sis-base-14.12.0.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="lib" path="/libraries/commons-logging/commons-logging.jar" sourcepath="/libraries/commons-logging/src.zip"/>
<classpathentry kind="lib" path="/libraries/commons-lang/commons-lang.jar" sourcepath="/libraries/commons-lang/src.zip"/>
<classpathentry kind="lib" path="/libraries/commons-io/commons-io.jar" sourcepath="/libraries/commons-io/src.zip"/>
<classpathentry kind="lib" path="/libraries/log4j/log4j.jar" sourcepath="/libraries/log4j/src.zip"/>
<classpathentry kind="lib" path="/libraries/knime/knime-core-util.jar"/>
<classpathentry kind="lib" path="/libraries/knime/knime-base.jar"/>
<classpathentry kind="lib" path="/libraries/knime/knime-core.jar"/>
<classpathentry kind="lib" path="/libraries/knime/knime-core-data-uritype.jar"/>
<classpathentry kind="lib" path="/libraries/testng/testng-jdk15.jar" sourcepath="/libraries/testng/src.zip"/>
<classpathentry kind="lib" path="/libraries/jmock/hamcrest/hamcrest-core.jar"/>
<classpathentry kind="lib" path="/libraries/jmock/hamcrest/hamcrest-library.jar"/>
<classpathentry kind="lib" path="/libraries/jmock/jmock.jar"/>
<classpathentry kind="lib" path="/libraries/sis-base/sis-base.jar" sourcepath="/libraries/sis-base/sis-base-src.zip"/>
<classpathentry kind="lib" path="/libraries/openbis-apis/dss/dss_client.jar"/>
<classpathentry kind="lib" path="/libraries/openbis-apis/query/openbis-query-api.jar" sourcepath="/libraries/openbis-apis/query/src.zip"/>
<classpathentry kind="lib" path="/libraries/activation/activation.jar"/>
<classpathentry kind="output" path="targets/classes"/>
</classpath>
/targets
/.settings
/test-output
/.idea/
*.iml
*.eml
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>openbis_knime</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.springsource.ide.eclipse.gradle.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<filteredResources>
<filter>
<id>1332321366607</id>
<name></name>
<type>26</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-true-false-.git</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: openBIS KNIME Nodes
Bundle-SymbolicName: ch.systemsx.cisd.openbis.knime;singleton:=true
Bundle-Version: 13.6.2.qualifier
Bundle-Vendor: ID Scientific IT Services ETH Zürich
Require-Bundle: org.knime.workbench.core,
org.knime.base,
org.knime.core.data.uritype,
org.apache.commons.codec,
org.apache.commons.httpclient,
org.apache.commons.lang,
org.apache.commons.io,
org.apache.commons.logging,
org.apache.log4j
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Bundle-ActivationPolicy: lazy
Export-Package: ch.systemsx.cisd.openbis.knime.file,
ch.systemsx.cisd.openbis.knime.query
Bundle-ClassPath: lib/dss_client-S224.0-r35783.jar,
lib/openBIS-query-API-S224.0-r35783.jar,
openbis-knime.jar,
lib/sis-base-14.12.0.jar,
lib/aspectjweaver-1.8.4.jar,
lib/commons-codec-1.3.jar,
lib/commons-io-1.4.jar,
lib/commons-lang-2.4.jar,
lib/commons-logging-1.2.jar,
lib/httpclient-4.3.6.jar,
lib/httpcore-4.3.3.jar,
lib/log4j-1.2.15.jar,
lib/spring-aop-4.1.4.RELEASE.jar,
lib/spring-beans-4.1.4.RELEASE.jar,
lib/spring-context-4.1.4.RELEASE.jar,
lib/spring-core-4.1.4.RELEASE.jar,
lib/spring-expression-4.1.4.RELEASE.jar,
lib/spring-web-4.1.4.RELEASE.jar,
lib/spring-webmvc-4.1.4.RELEASE.jar,
lib/marathon-spring-util-1.2.5.jar,
lib/aopalliance-1.0.jar
apply from: '../gradle/javaproject.gradle'
dependencies {
api 'cisd:cisd-base:r31435',
'apache:log4j:1.2.15',
'knime:knime:2.7.2',
'openbis:dss:13.04.2',
'openbis:query:13.04.2',
'rinn:restrictions:1.0.2',
'javax.activation:activation:1.1.1'
testImplementation 'testng:testng:6.8-CISD',
'hamcrest:hamcrest-integration:1.3',
'hamcrest:hamcrest-library:1.3'
testImplementation ('jmock:jmock:2.5.1') {
exclude group: 'hamcrest', module: 'hamcrest-core'
}
}
jar {
baseName = 'openbis-knime-server'
from ('targets/dist') {
include 'BUILD*INFO'
}
exclude 'ch/systemsx/cisd/openbis/knime/query'
exclude 'ch/systemsx/cisd/openbis/knime/common'
exclude 'ch/systemsx/cisd/openbis/knime/file'
}
output.. = targets/classes/
bin.includes = META-INF/,\
plugin.xml,\
icons/,\
openbis-knime.jar,\
lib/marathon-spring-util-1.2.5.jar,\
lib/sis-base-14.12.0.jar,\
lib/spring-web-4.1.4.RELEASE.jar,\
lib/aspectjweaver-1.8.4.jar,\
lib/commons-codec-1.3.jar,\
lib/commons-io-1.4.jar,\
lib/commons-lang-2.4.jar,\
lib/commons-logging-1.2.jar,\
lib/httpclient-4.3.6.jar,\
lib/httpcore-4.3.3.jar,\
lib/log4j-1.2.15.jar,\
lib/spring-aop-4.1.4.RELEASE.jar,\
lib/spring-beans-4.1.4.RELEASE.jar,\
lib/spring-context-4.1.4.RELEASE.jar,\
lib/spring-core-4.1.4.RELEASE.jar,\
lib/spring-expression-4.1.4.RELEASE.jar,\
lib/spring-webmvc-4.1.4.RELEASE.jar,\
lib/aopalliance-1.0.jar,\
lib/openBIS-query-API-S224.0-r35783.jar,\
lib/dss_client-S224.0-r35783.jar
source.openbis-knime.jar = source/java/,\
sourceEclipse/java/
src.includes = source/java/,\
sourceEclipse/java/
<project name="openbis_knime" default="ci" basedir="..">
<import file="../../build_resources/ant/build-common.xml" />
<project-classpath name="ecp" classes="${classes}" />
<property name="mainfolder" value="openbis_knime"/>
<property name="original.dist" value="../${ant.project.name}/dist" />
<loadproperties srcfile="META-INF/MANIFEST.MF">
<filterchain>
<tokenfilter>
<replacestring from=".qualifier" to=""/>
</tokenfilter>
</filterchain>
</loadproperties>
<property name="version" value="${Bundle-Version}"/>
<property name="jar.file" value="${dist}/openbis-knime-server-${version}.jar"/>
<!--
// Cleans distribution directory.
-->
<target name="clean" description="Cleans distribution directory.">
<delete dir="${dist}" failonerror="true" />
<mkdir dir="${dist}" />
</target>
<!--
// Runs tests.
-->
<target name="run-tests">
<antcall target="build-common.run-tests">
<param name="test.suite" value="tests.xml" />
</antcall>
</target>
<!--
// Creates build information.
-->
<target name="build-info" description="Creates build information.">
<build-info revision="revision.number" version="version.number" clean="clean.flag" />
<echo file="${build.info.file}">${version}:${revision.number}:${clean.flag}</echo>
</target>
<!--
// Creates server JAR file.
-->
<target name="server-jar" depends="compile, build-info" description="Creates project jar file.">
<delete file="${jar.file}" />
<recursive-jar destfile="${jar.file}">
<fileset dir="${classes}">
<include name="**/server/*.class" />
<include name="${build.info.filename}" />
</fileset>
</recursive-jar>
</target>
<!--
// Task for continuous integration server.
-->
<target name="ci" depends="build-common.ci, check-dependencies, server-jar"
description="Task for continuous integration server." />
</project>
\ No newline at end of file
This short text explain how to do development, build and deployment of openBIS KNIME nodes.
Here some important remarks because this is not a project like the other ones:
* Build has to be done manually as described below.
* The gradle build script creates only openbis-knime-server.jar which has helper classes for DSS aggregation plugins.
* The 3th party libraries for the actual plugin are in the lib folder.
Prerequisites for developing
============================
1. There are three Eclipse projects which belong together:
openbis_knime, openbis_knime.feature and openbis_knime.update-site
All three have to be checked out (they won't compile properly until KNIME plug-in is installed).
2. In addition the KNIME Node Development Tools plug-in has to be installed.
The update site is http://www.knime.org/update/3.1/
Developing and Testing
======================
Just develop as normal.
For unit testing do not run a test class directly but execute the eclipse launch configuration
'openbis knime all tests'. The reason for this is that the normal default class path doesn't work.
For manual integration test with KNIME do the following:
1. Open site.xml in project openbis_knime.update-site.
2. Click on category 'openBIS KNIME Nodes'.
3. Click on 'Add Feature...' and choose in the pop-up dialog the feature
ch.systemsx.cisd.openbis.knime
4. Click on the 'Build' button. This creates/update artifacts.jar, content.jar,
features/ and plugins/ folder of project openbis_knime.update-site
5. Install/update openBIS KNIME Nodes of the KNIME application from the local update site
file:/<absolut path to your Eclipse workspace>/openbis_knime.update-site
Be sure that update site http://update.knime.org/community-contributions/3.1/ is defined for
the KNIME application.
Build and deploy a new version
==============================
1. Open plugin.xml and change the version on the overview tab. For example from
13.04.02.qualifier -> 13.04.03.qualifier
2. Does the same for feature.xml in project openbis_knime.feature.
3. Open site.xml in project openbis_knime.update-site.
4. Click on category 'openBIS KNIME Nodes'.
5. Click on 'Add Feature...' and choose in the pop-up dialog the feature
ch.systemsx.cisd.openbis.knime
6. Click on the 'Build' button. This creates/update artifacts.jar, content.jar,
features/ and plugins/ folder of project openbis_knime.update-site
7. Copy these two JARs and folders to openbis@lascar:/links/groups/sis/doc/openbis/knime-update-site
openbis_knime/dist/icons/openbis.png

707 B

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<!--
// This configuration file is suitable for testing purposes.
-->
<log4j:configuration debug="true" xmlns:log4j='http://jakarta.apache.org/log4j/'>
<appender name="STDOUT" class="org.apache.log4j.ConsoleAppender">
<layout class="org.apache.log4j.PatternLayout">
<!--
// %d: outputs the date of the logging event.
// %-5p: priority (i.e. level) of the logging event should be left justified to
// a width of five characters.
// %t: outputs the name of the thread that generated the logging event.
// %c: outputs the category of the logging event.
// %m: outputs the application supplied message associated with the logging event.
// %n: outputs the platform dependent line separator character or characters.
// %X: outputs the MDC (mapped diagnostic context) associated with the thread that generated the logging event.
-->
<param name="ConversionPattern"
value="%d %-5p [%t]%X{sessionInfo} %c - %m%n" />
</layout>
</appender>
<!--
// Defined but not used right now.
-->
<appender name="NULL" class="org.apache.log4j.varia.NullAppender" />
<!--
// Enable full wire (header and content) + context logging
// For more information look at http://jakarta.apache.org/commons/httpclient/logging.html.
// We do not need to set a level value here as loggers inherit their level from the root logger.
-->
<!--
// Do not use log level debug otherwise plain passwords are readable.
-->
<logger name="httpclient.wire">
<level value="ERROR" />
</logger>
<!--
// Uncomment this for debugging value binding in Hibernate
<category name="org.hibernate.type">
<priority value="TRACE"/>
</category>
-->
<!--
<logger name="org.apache.commons.httpclient">
<level value="DEBUG" />
</logger>
-->
<root>
<priority value="info" />
<appender-ref ref="STDOUT" />
</root>
</log4j:configuration>
File deleted
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://sissource.ethz.ch/openbis/openbis-public/openbis-ivy/-/raw/main/gradle/distribution/7.4/gradle-7.4-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
#!/usr/bin/env sh
#
# Copyright 2015 the original author or authors.
#
# Licensed 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
#
# https://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.
#
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
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
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn () {
echo "$*"
}
die () {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin or MSYS, switch paths to Windows format before running java
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=$((i+1))
done
case $i in
(0) set -- ;;
(1) set -- "$args0" ;;
(2) set -- "$args0" "$args1" ;;
(3) set -- "$args0" "$args1" "$args2" ;;
(4) set -- "$args0" "$args1" "$args2" "$args3" ;;
(5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
(6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
(7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
(8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
(9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=$(save "$@")
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
# by default we should be in the correct project dir, but when run from Finder on Mac, the cwd is wrong
if [ "$(uname)" = "Darwin" ] && [ "$HOME" = "$PWD" ]; then
cd "$(dirname "$0")"
fi
exec "$JAVACMD" "$@"
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
openbis_knime/icons/openBIS_logo.png

4.73 KiB

openbis_knime/icons/openbis.png

707 B

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment