在这种情况下我们可能选择将处理程序类打包在一个JAR文件中而不是使它们成为类目录中的分散的文件。
In that case we might opt to package our handler classes in a JAR file rather than dumping them as loose files into the class directory.
其他的文件打包方案也是可能的,这取决于设备类。
Other file packaging solutions are possible, depending on the device class.
接着将类文件打包到一个JAR中。
一旦将您的代码编译成类文件,您就可以将其打包成JAR文件,用于部署到您的门户网站中。
Once you have compiled your code into class files, you package it into a JAR file for deployment into your portal. To install the service.
然而,可以发现已打包的版本要更方便,该版本包括Windows批处理文件和已编译类。
However, you may find that the packaged version, which includes Windows batch files and compiled classes, is more convenient.
这个类的用途很广泛,但是最直接的应用可能还是将CSS与其他程序文件一块打包使用。
The possibilities for this class are vast, but the most immediate use is to bundle CSS directly with your application file.
只要映射文件在类路径中存在,那么它们就可以打包在任何JAR中(甚至松散打包)。
Mapping files can be packaged in any JAR (or even packaged loosely) as long as they are available in the classpath.
另一个办法是将类文件打包到JAR文件中,并且部署JAR文件。
Another option is to package your class file into a JAR file, and deploy the JAR file.
图2左侧的堆栈演示的集成构建除了编译源代码、将类打包为二进制文件、在操作系统上部署软件之外,什么也没做。
The stack on the left in Figure 2 illustrates an integration build that doesn't do much more than compile source code, package classes into a binary, and deploy software into an operating environment.
这样,您只需要在想要为部署打包文件或者想要测试实际的部署JVM时转换类文件。
That way you only need to transform the class files when you're about to package the files for deployment or when you want to test with the actual deployment JVM.
可运行的JAR文件输出向导还可以把所需的类库打包进一个要输出的可运行JAR文件,或打包进与紧挨着该JAR的一个目录中
The Runnable JAR File Export wizard can now also package the required libraries into the exported runnable JAR file or into a folder next to the JAR
您现在需要重新打包RuleTeamServerEAR文件,使其包含新控制程序类和preferences文件,使用样例中提供的Ant任务完成。
You will now repackage the Rule Team Server EAR file with the new controller class and preferences file, using an Ant task provided in the sample.
当在PortletWAR文件中对自定义有效负载类型打包时,通常就会出现这种序列化情况,因为每个Web模块是在各自的类加载器中进行部署的。
This serialization is commonly the case when custom payload types are packaged in the portlet WAR file because each Web module is deployed in its own class loader.
这会将RuleExecutionServer控制台、XU和ssp与loanvalidation - xom类打包在一个单独的EAR文件中。
This will package the Rule Execution Server console, the XU and the SSP along with the loanvalidation-xom classes in a single EAR file.
把新的类打包在jar文件中并让MDMServer企业应用程序可以使用这个jar文件。
Package the new class in the jar and make the jar available to the MDM Server enterprise application.
可以看到,Global项目用WarsawWar创建最终的Web归档文件,出于编译需要,还使用了Warsaw的类(打包在JAR里)。
As we can see, Global project USES Warsaw WAR for creating final web archive and its classes packaged as JAR for compilation purposes.
可以看到,Global项目用WarsawWar创建最终的Web归档文件,出于编译需要,还使用了Warsaw的类(打包在JAR里)。
As we can see, Global project USES Warsaw WAR for creating final web archive and its classes packaged as JAR for compilation purposes.
应用推荐