|
This document applies only to the following language
version(s):
English |
|
Problem(Abstract) |
Java™ Comand Language (JACL) scripts work on both UNIX®
and Windows® platforms unless there is a space in the directory structure.
Use of {} works in such cases; however, the same script does not work on
UNIX. Is there a way to write scripts that work on both Unix and Windows
platforms? |
|
|
|
Resolving the
problem |
Use of backslash "\" example
Here is a portable script containing a space in the directory structure
that works both on Windows and Unix platforms:
set plugin [$AdminControl completeObjectName
type=PluginCfgGenerator,*]
$AdminControl invoke $plugin generate "\"/opt/program files/WebSphere/Ap
pServer\" \"/opt/program files/WebSphere/AppServer/config\" waslinux
null null plugin-cfg.xml"
|
|
|
|
|
|
Cross Reference information |
Segment |
Product |
Component |
Platform |
Version |
Edition |
Application Servers |
WebSphere Application Server |
Admin Interface (for example: console or web or command line) |
AIX, Linux, Multi-Platform |
5.0.1, 5.0.2, 5.0.2.1 |
Base, Network Deployment |
Application Servers |
Runtimes for Java Technology |
Java SDK |
|
|
|
|
|
|