Joined: Apr 17, 2009
Post Count: 6
Status:
Offline
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]
Joined: Apr 17, 2009
Post Count: 6
Status:
Offline
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
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
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
Joined: Apr 17, 2009
Post Count: 6
Status:
Offline
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
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