Print at Dec 20, 2025, 7:36:16 PM View all posts in this thread on one page
Posted by Jarod_Yang at Apr 17, 2009, 7:37:00 AM
IRC Channel
Hi all.
I am beginner in Java. I found this project this week, and i am interested in it.
I wanna ask that whether there is any IRC Channel for this project. So that we can communicate with each other easily.
cheers
Jarod




[Note: this thread was started on sourceforge.net forums]

Posted by Puybaret at Apr 17, 2009, 11:12:00 AM
Re: IRC Channel
Please, let's use this forum or email for the first steps of your discussion.
What do you want to know?


----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Jarod_Yang at Apr 17, 2009, 12:01:00 PM
Re: IRC Channel
I have downloaded the source file
In the "README" you only provided the compile way by Eclipse
I got to try to compile by "ant" in command terminal. but i failed.
Could you please provide me a way to compile the source code in terminal
cheers
Jarod



Posted by Jarod_Yang at Apr 17, 2009, 12:06:00 PM
Re: IRC Channel
ps.
my system is ubuntu linux
cheers



Posted by Puybaret at Apr 17, 2009, 5:55:00 PM
Re: IRC Channel
If you installed ant and java 5 or 6 correctly, the build.xml should work without any problem (all the files delivered in Sweet Home 3D project are built with Ant).
What error do you get?


----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Jarod_Yang at Apr 18, 2009, 2:42:00 AM
Re: IRC Channel
u4457331@n115lt23:~/Desktop/SweetHome3D$ ant build
Buildfile: build.xml

build:
[mkdir] Created dir: /home/u4457331/Desktop/SweetHome3D/build/classes
[javac] Compiling 2 source files to /home/u4457331/Desktop/SweetHome3D/build/classes
[javac] Compiling 151 source files to /home/u4457331/Desktop/SweetHome3D/build/classes
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[copy] Copying 175 files to /home/u4457331/Desktop/SweetHome3D/build/classes
[copy] Copied 15 empty directories to 1 empty directory under /home/u4457331/Desktop/SweetHome3D/build/classes
[zip] Building zip: /home/u4457331/Desktop/SweetHome3D/build/SweetHome3D.jar
[delete] Deleting directory /home/u4457331/Desktop/SweetHome3D/build/classes

BUILD SUCCESSFUL

It is OK until now. when i try to run the jar file there is the mistake
u4457331@n115lt23:~/Desktop/SweetHome3D$ cd build
u4457331@n115lt23:~/Desktop/SweetHome3D/build$ java -jar SweetHome3D.jar
Invalid or corrupt jarfile SweetHome3D.jar

I dont konw how to deal with it
Is there any step wrong?
my ant is the latest version

cheers
Jarod



Posted by Puybaret at Apr 18, 2009, 9:46:00 AM
Re: IRC Channel
You should have read *all* the comments at the beginning of the build.xml file http://sweethome3d.cvs.sourceforge.net/viewvc...sion=1.75&view=markup

It describes the different available targets and I think the one you're looking for is the target named "jarExecutable", isn't it?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator