It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Python Forum

Getting the absolute path of a WAR file

Getting the absolute path of a WAR file

Postby potchi on Fri May 20, 2011 10:13 am

Hi,
Is there a way to get the full path of my war file in jython??

I have war file (myApp.war) that is stored in D:\myConstantDirectory\myApp.war
I want to create a jython script that can retrieve the full path of my war file by just specifying
search myApp.war and it will output D:\myConstantDirectory\myApp.war

can you show me the code
Thanks!
potchi
 
Posts: 2
Joined: Wed May 18, 2011 9:27 am

Who is online

Users browsing this forum: No registered users and 0 guests