Print at Dec 20, 2025, 4:06:32 PM

Posted by Sweeto at Nov 27, 2015, 5:02:56 PM
Re: JAVA: How to change the default furniture catalog?
Hello digitaltrails,

thank you for your answer.

I have watched this video to understand how to build a project with ant: https://www.youtube.com/watch?v=qOhfl9gayB8

The options for an ant build are in the "build.xml"-file, which is located in this folder:

Path_To_Sweet_Home_3D\SweetHome3D-5.1-src\

The "build.xml"-file does not contain any command, that will tell ant to copy files to this folder (the default output folder of my eclipse project):

Path_To_Sweet_Home_3D\SweetHome3D-5.1-src\classes

Instead ant copies the files to this folder (the build folder gets deleted at the end of the build process):

Path_To_Sweet_Home_3D\SweetHome3D-5.1-src\build\classes

I could add
<copy todir="classes\com\eteks\sweethome3d\io\resources">
to the "build.xml" file to copy the furniture files (png, obj). Is this the right way to do it? Why doesn't the default ant build copy the files?

Have a nice weekend!

Greetings,

Sweeto