Modify the project build path setting to include the OSGi framework library osgi.jar and other packages that we will use in the bundle code (servlet.jar in this case).
修改该项目的构建路径设置,使之包括OSGi框架库 osgi.jar和在包码中使用的其他包(在本实例中为 servlet.jar)。
Following is the source code showing how message queue provider Bundle provides message queue framework functions in the form of a Bundle service.
下面是显示消息队列提供者束如何以束服务的形式提供消息队列框架功能的源代码。
I go with the latter approach, which isn't all that interesting from a Scala perspective, but the result is included in this article's code bundle, should you be curious. (See Download.)
我采用后一种方法,从Scala的角度看这不是那么有趣,但是如果您有兴趣的话,可以看看本文的代码中包含的结果(参见下载)。
It provides options to compile ahead-of-time your application's Ruby source code as well as relocating the MacRuby framework inside the application bundle.
macruby _deploy提供了选项提前编译应用程序的ruby代码,还能将macruby框架放入应用程序中。
We will also bundle it all up in a plugin to show one way of integrating code generation into your development process.
我们还会将它们都绑定到一个插件中,从而展示一种将生成的代码集成到开发过程的方法。
Therefore, add code to do some bundle specific initialization.
因而,增加代码来实现某些包的特定初始化。
In fact, you might want to bundle up the code you write to handle data source configuration and connection into a utility class (that's left for you as an exercise).
实际上可以将处理数据源配置和连接的代码打包成一个工具类(留给读者作为练习)。
Pick the most current source code bundle, and download it to your machine.
选择最新的源代码包,并将其下载到您的计算机中。
While it is clear what the intent of each statement is because it matches the text description of the algorithm, it is not as terse a bundle of code as it could be.
虽然每条语句的目的十分明确,因为它匹配算法的文本描述,但是它不像代码包一样扼要。
The code in Listing 2 shows you how to create a new bundle.
清单2中的代码显示了如何创建新绑定。
If roundtripping were perfect, you could simply bundle your original application code into an EAR file with the generated artifacts and you would have yourself a merry little Web service.
如果往返是完美的,您就能够简单地使用生成的构件来将您最初的应用程序代码打包成ear文件,这样您就有了一个可爱的小web服务。
Each bundle needs to define its dependencies in the manifest, in order to determine at runtime whether all the required code is available.
每个bundle都需要在manifest中定义其依赖,以便在运行时判断所有必需代码是否可用。
Tying the generated code with the resource bundle.
绑定生成的代码和资源bundle。
The bundle utility can also copy all those dependencies into your application, making your code base self-sufficient.
该bundle实用程序还可以将所有依赖项复制到您的应用程序中,使得您的代码库自给自足。
In the demo code, as usual, the label value is pulled from the resource bundle.
在demo代码中,和通常一样,label的值是从资源包中提取的。
All of the aspect-oriented design solutions I've discussed are available complete in the code bundle for this article. The solutions have the following characteristics.
我所讨论的所有面向方面的设计解决方案都可在本文的代码压缩包中找到。
Alternatively, if you prefer to build from source, visit the GNU Screen project page (see Resources for a link), and download the latest code bundle.
另外,如果您喜欢从源代码构建软件,可以访问GNUScreen项目页面(见参考资料中的链接)并下载最新的代码包。
To simplify trace string specification, trace groups bundle common WebSphere Application Server code areas together.
为了简化跟踪字符串规范,可使用跟踪组将常见WebSphereApplicationServer代码区域绑定到一起。
When you're ready to deploy your code, bundle it into a JAR and send it wirelessly to a SPOT
当准备好部署代码时,将代码打包到一个JAR 中,通过无线的方式将它发送到 SPOT
This is an OSGi-specific piece of code which is invoked when the bundle is started, like a per-bundle main method.
下面是OSGi特定的代码片段,在bundle启动时被调用,有点像是bundle的main方法。
Once the bundle file is loaded, dojo.i18n.getLocalization() is used to get a JSON object that can be used directly in source code to get localized messages.
一旦加载了绑定文件,就使用dojo.i18n.getLocalization()来获得JSON 对象,该 JSON对象可直接用于源代码以便获得本地化的消息。
We probably do not want one giant bundle of everything. We'll likely prefer to separate our volatile application app code from comparatively stable vendor code modules.
我们可能不会希望把所有东西打进一个巨型包,而更喜欢把多变的应用代码从相对稳定的第三方提供商模块中分离出来。
I think I'd rather have it all in the store but they have to be loaded from the bundle at some point in code right?
我想我宁愿在商店中使用它,但是它们必须在代码的某个时候从包中加载?
Their main artifact is a complete binary distribution, a bundle including their compiled code and a set of third-party libraries they rely on.
他们的主要作品是一个完整的二进制发行,和一个包含他们编译了的代码和一系列所依赖的第三方库的包。
Their main artifact is a complete binary distribution, a bundle including their compiled code and a set of third-party libraries they rely on.
他们的主要作品是一个完整的二进制发行,和一个包含他们编译了的代码和一系列所依赖的第三方库的包。
应用推荐