Quote Fochi: " I also did not suspect that ASSP was not able to load 
included files with relative paths."
Quote Fribo:  " ASSP is loading included files with relative path. I 
do not understand what you are reporting."

Fritz,

Procedure to re-create the problem:
1) Use ASSP GUI and Click the edit file button for Test Regular 
Expression* (testRe)
2) Insert two lines, one with relative, the other with absolute path.
    # include /usr/local/assp/files/testGOOD.txt
    # include files/testBAD.txt
    The GUI works Ok and creates the two files
3) Edit both files and put something there.
     Check the log and you will notice that ASSP was only able to 
reload the file with the absolute path.

The data on the other file is not loaded.
Please note that ASSP was able to load '/usr/local/assp/files/testGOOD.txt'
but failed to load 'files/testBAD.txt' with message No such file or directory.



Complimentary Reference log report:
It is important to note that I edited both files from ASSP GUI and so 
the GUI can read/write the included files
Please note that although ASSP GUI worked for both relative and full path,
BUT the only loaded the regex file that was created with full path.

Oct-23-09 11:51:40 IP 201.87.68.64 (201.87 (25) matches 
allowAdminConnectionsFrom
Oct-23-09 11:51:40 Admin connection from 201.87.68.64:3051; 
page:/edit; reading file:files/bombtestRe.txt
Oct-23-09 11:51:52 IP 201.87.68.64 (201.87 (25) matches 
allowAdminConnectionsFrom
Oct-23-09 11:51:52 Admin connection from 201.87.68.64:3052; 
page:/edit; writing file:files/bombtestRe.txt
Oct-23-09 11:52:01 AdminInfo: option list include file 
'/usr/local/assp/files/testGOOD.txt' processed for (testRe)
Oct-23-09 11:52:01 AdminInfo: failed to open option list include file 
for reading 'files/testBAD.txt' (testRe): No such file or directory
Oct-23-09 11:52:01 Option list file: 
'/usr/local/assp/files/bombtestRe.txt' reloaded (testRe) with 14 records

ls -la gives:
drwxr-xr-x  2 root root     4096 Oct 23 11:36 files
-rw-r--r--  1 root root   178 Oct 23 11:36 testGOOD.txt
-rw-r--r--  1 root root   171 Oct 23 11:02 testBAD.txt

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Assp-test mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/assp-test

Reply via email to