Re: Jython code to parse command line arguments

This post is from the topic: Jython code to parse command line arguments




66683 potchi
Posted: 2011-05-18 09:40:11

Hi!

I have a batch file (potchi.bat) that contains the lines
...
set maxHeap = 2048
set initialHeap = 512
set olddir=%cd%
...
and I want to pass these values to a jython script (myScript.py)
such that

fullpath = '%olddir%+/myApp.war+'
AdminApp.installInteractive(fullpath, -contextroot myApp)
AdminTask.setJVMMaxHeapSize('')
AdminTask.setJVMInitialHeapSize('')

Thanks!!!


JOIN DEVPPL

It looks like you are new here. If you want to get involved, click on Join below!




MENU
Advertising