java - Runnable Jar file - src file path issue -
I have to read all the Java file names available in the script package to execute a particular method. The code below works fine with Eclipse I want to run a test using Runnable Jar - as strTestScriptsPath = "src / com / xyz / test / scripts" is a src, it is < (Otherwise I have to provide the src folder for the jar file to run it successfully) How to use this reference this.getClass () GetResourceAsStream () In the note :. I am trying to give the path of the directory not the file. I only have to give the name of the file name from the above code: ( Hanuman, if you want to make a runner jar, you will have to configure the manifest file by providing a fully qualified class name, as well as this class should have: Information about data leadership is available here:
Public Static Zero Main (string [] Args) {
Comments
Post a Comment