Re: JAVA: How to change the default furniture catalog?

by Sweeto » Fri Nov 27, 2015 5:02 pm

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:

Code: Select all

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):

Code: Select all

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):

Code: Select all

Path_To_Sweet_Home_3D\SweetHome3D-5.1-src\build\classes 
I could add

Code: Select all

<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