Found some issues, getting HPDF to work

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Found some issues, getting HPDF to work

Stephan Eggermont-3
After saving and closing and restarting squeak, the FFI tests are green.
The saving of a empty document test fails, as the document is written to
a different location than where it is expected:

testSavingEmptyDocument

        [PDFDocument new saveToFile: self pdfFileName.
    self assert: (FileDirectory default fileExists: self pdfFileName)]
                ensure: [self checkTestFileDeleted]

where self pdfFileName is ^'test.pdf'.

This fails as FileDirectory default is
'/Applications/Seaside-2.8-573.app/Contents/Resources'
and the file ends up in
'/Applications'

Where does libhpd get  its default directory, as it is an external  
library?
Sounds like it should be translated to an absolute path on the squeak  
side.

Stephan

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners