Re: Locating specific code question

Davide Grandi <[email protected]> Mon, 08 Oct 2007 21:58:28 +0200
Newsgroups gmane.comp.java.tn5250j.devel
Message-ID <[email protected]>
Dean Searle ha scritto:
> Hello Davide,
>
> Ok, here is what I have so far. It works but its not separating the files into a separate folder. I'm sure that I am too concerned about it, but it would be nice if it would produce the files in the "profile" folder. 
>
> Code as follows:
>
> tn5250j.bat
> ===========
>
> @echo off
> @rem ======================================
> @rem DOS Batch file to invoke the emulator
> @rem ======================================
>
> :SET EMUL_PATH=..\tn5250j
> :java -jar "%EMUL_PATH%\lib\tn5250j.jar"
> set path=%path%;%~d0\PortableApps\Java\jdk1.5.0_10\bin
>   

When I had to assemble a ready to run jre I never set the path, just 
launching the java *.exe from the "main" folder, containing the *.bat, 
and the files not fully qualified got created here.
(this is also the eclipse project's root)

The JVM and/or the standard windows environment has a "defalt directory" 
concept (an, maybe, Java has another option to set it).
(sorry, but the win laptop is closed in his luggage : i'm writing from a 
5 years old mac [that is still up-to-date for sw development]).

Best regards and happy 5250-ing.

    Davide
--
Ing. Davide Grandi
[email protected]

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/