代码拉取完成,页面将自动刷新
Name: bsf
Epoch: 0
Version: 2.4.0
Release: 32
Summary: Bean Scripting Framework
License: ASL 2.0
URL: http://commons.apache.org/bsf/
BuildArch: noarch
Source0: http://apache.mirror.anlx.net//commons/%{name}/source/%{name}-src-%{version}.tar.gz
Source1: bsf-pom.xml
Patch0000: build-file.patch
Patch0001: build.properties.patch
BuildRequires: javapackages-local ant apache-parent xalan-j2 rhino apache-commons-logging
%description
Bean Scripting Framework (BSF) is a set of Java classes which provides
scripting language support within Java applications, and access to Java
objects and methods from scripting languages.
The two primary components of BSF are the BSFManager and the BSFEngine.
The BSFManager handles all scripting execution engines running under its
control, and maintains the object registry that permits scripts access
to Java objects. By creating an instance of the BSFManager class, a Java
application can gain access to scripting services.
The BSFEngine provides an interface that must be implemented for a language
to be used by BSF. This interface provides an abstraction of the scripting
language's capabilities that permits generic handling of script execution
and object registration within the execution context of the scripting
language engine.
An application can instantiate a single BSFManager, and execute several
different scripting languages identically via the BSFEngine interface. Furthermore,
all of the scripting languages handled by the BSFManager are aware of the
objects registered with that BSFManager, and the execution state of those
scripting languages is maintained for the lifetime of the BSFManager.
%package help
Summary: Help documentation for bsf
Provides: bsf-javadoc = %{epoch}:%{version}-%{release}
Obsoletes: bsf-javadoc < %{epoch}:%{version}-%{release}
%description help
The Package is infomation about bsf.
%prep
%autosetup -p1
find -name \*.jar -delete
%mvn_file : bsf
%mvn_alias : org.apache.bsf:
%build
export CLASSPATH=$(build-classpath apache-commons-logging rhino xalan-j2)
ant jar javadocs
%mvn_artifact %{SOURCE1} build/lib/bsf.jar
%install
%mvn_install -J build/javadocs
%files -f .mfiles
%license LICENSE.txt NOTICE.txt
%doc AUTHORS.txt CHANGES.txt README.txt TODO.txt RELEASE-NOTE.txt
%files help -f .mfiles-javadoc
%changelog
* Thu Dec 12 2019 wanjiankang <wanjiankang@huawei.com> - 0:2.4.0-32
- Package Init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。