#
# WIZARD Section
#

#
# task is a checkbox on the 1st page of wizard
#
task.simple.name = Start Weblogic Server 5.1.0 (normal mode)
task.simple.order = 1
task.simple=true

task.debug.name = Start Weblogic Server 5.1.0 (debug mode)
task.debug.order = 2
task.debug=false
task.debug.check.1 = %%task.simple%%
task.debug.check.1.type = NotEqual
task.debug.check.1.message = Please select option

#
# Wizard pages
#
page.dirs.name = Common Properties
page.dirs.order = 1

page.debug.name = Debug Connection Properties
page.debug.order = 2
page.debug.task = debug

#
# Wizard properties
#

#
# NAME = default value
# NAME.name = name of the field in wizard dialog
# NAME.type = type of property editor
# NAME.page = name of page of wizard dialog where the property should appear
# NAME.order = number specifying order of the property among others on the page

JAVA_HOME = /usr/local/jdk1.2.2
JAVA_HOME.name = JDK 1.2 root directory
JAVA_HOME.type = DirectoryField
JAVA_HOME.page = dirs
JAVA_HOME.order = 1
JAVA_HOME.check.1 = %%JAVA_HOME%%
JAVA_HOME.check.1.type = DirExistence
JAVA_HOME.check.1.message = JDK directory '%%JAVA_HOME%%' does not exist
JAVA_HOME.check.2 = %%JAVA_HOME%%/bin/javac
JAVA_HOME.check.2.type = FileExistence
JAVA_HOME.check.2.message = Unable to locate JAVAC application under selected JDK root: %%JAVA_HOME%%/bin/javac

WL_HOME = /usr/local/weblogic
WL_HOME.name = Root directory of WebLogic Server 5.1 installation
WL_HOME.type = DirectoryField
WL_HOME.page = dirs
WL_HOME.order = 2
WL_HOME.check.1 = %%WL_HOME%%
WL_HOME.check.1.type = DirExistence
WL_HOME.check.1.message = WebLogic directory '%%WL_HOME%%' does not exist
WL_HOME.check.2 = %%WL_HOME%%/myserver/public_html/docs51
WL_HOME.check.2.type = DirExistenceConfirm
WL_HOME.check.2.message = Directory '%%WL_HOME%%/myserver/public_html/docs51' not found\n\
         Are you sure you have selected correct directory of Weblogic Server 5.1?

DBG_PORT = 8787
DBG_PORT.name = Remote process port address
DBG_PORT.type = IntField
DBG_PORT.page = dirs
DBG_PORT.order = 3
DBG_PORT.page = debug

#
# PLUGIN Properties
#

#
# not editable properties
#
# ".page" is not defined; the property doesn't appear on any page of wizard


plugin.name = WebLogic Server 5.1.0 Starter
plugin.version = 1.1
plugin.message_tab = EJB Deployment
plugin.message_prefix = WLS51:\u0020

env_bin = %%WL_HOME%%/bin

env_DebugCMD  = %%$TG_HOME%%/bin/unix/startWebLogicDebug.sh
env_NormalCMD = %%$TG_HOME%%/bin/unix/startWebLogic.sh

read.step.1 = echo Not implemented yet
read.step.1.label = start

write.step.30 = -r -normal %%env_DebugCMD%% %%DBG_PORT%% %%WL_HOME%% %%JAVA_HOME%%
write.step.30.type = ejbframework.plugins.wls51.steps.RunWLS51
write.step.30.task = task.debug

write.step.40 = ********* To attach to the server for debugging the deployed EJBs, use Main menu/Tools/Debug/Attach to remote process...
write.step.40.type = ejbframework.step.DisplayMessage
write.step.40.task = task.debug

write.step.45 = ********* and enter the specified port address in the Address field of the dialog
write.step.45.type = ejbframework.step.DisplayMessage
write.step.45.task = task.debug

write.step.50 = -r -normal %%env_NormalCMD%% %%WL_HOME%% %%JAVA_HOME%%
write.step.50.type = ejbframework.plugins.wls51.steps.RunWLS51
write.step.50.task = task.simple

write.step.55 = ********* Check server console window (external shell window) and wait for the message "WebLogic Server started" to display.
write.step.55.type = ejbframework.step.DisplayMessage

write.step.60 = ********* Next, you can deploy EJBs, using EJB Deployment to Weblogic Server 5.1
write.step.60.type = ejbframework.step.DisplayMessage
