![]() ![]() When you can successfully run your application with sbd -f sbd.sbconf appname, you are ready to create an application bundle of the same application that will run from the command line.īundling Studio Project Property SettingsĪ Studio project stores a complex set of metadata that can include project references to other projects, a customized Java build path, an extended module search path, or an extended search path for resource files. The solution is to create a server configuration file that identifies the same Java resources in or elements. ![]() These cases usually involve external resources such as custom Java operators or adapters that Studio knows how to locateįrom the project's Java Build Path, but sbd does not. There are cases where an application can be successfully launched and run in Studio, but fails to run at the command prompt If you can successfully bundle an application in Studio, you can do the same at the command line using sbbundle -p or -P.Įxceptions to these general rules are noted in the sections below. If you can successfully run an application in Studio, then you can bundle it in Studio. If you can successfully run an application from the command line with the sbd command and a server configuration file, then you can create an application bundle for that application using the sbbundle command. You can use the sbd command's -J option to specify the system property on the sbd command line. Set -working-bundle-dir=true to delete the working directory's contents even if you specify a non-empty path with -w. You can use the -working-bundle-dir system property to modify this delete on exit behavior. If you use -w, but specify a path to a directory with any existing contents, that directory is preserved on sbd exit. If you specify an empty directory with -w, it is treated as a temporary directory, and is automatically and silently deleted when sbd exits. When using the -w or -working-directory options in conjunction with running a bundle file, the working directory you specify is where the bundle file is unzipped When you run a bundle with a simple command such as sbd myApp.sbbundle, the sbd startup code creates a temporary directory, unzips the bundle there, and runs the sbd command as specified in the bundle's configuration file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |