Getting the absolute path of a WAR file

Discussion in 'Software' started by potchi, May 20, 2011.

  1. potchi

    potchi

    Joined:
    May 18, 2011
    Messages:
    2
    Likes Received:
    0
    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, May 20, 2011
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.