Re: Jython code to parse command line arguments

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





P

keyboard_arrow_up
0
keyboard_arrow_down


Post #66683 potchi
Posts: 2 - Registered: 2011-05-18 04:27:49

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