I downloaded the B4J-B4XPages project attached to this post and placed it in a folder on my Desktop.
By exporting this project in the proper way (CTRL + Click on the comment line, that is by executing Zipper.jar) the zip file created contains all the parent folder of the project one, that is my folder on the desktop, not only the project folder.