IRC Channel

This topic has been viewed 5167 times and has 6 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
Jarod_Yang
Posts: 6
Joined: Fri Apr 17, 2009 7:37 am

IRC Channel

Post by Jarod_Yang »

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]
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: IRC Channel

Post by Puybaret »

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
Jarod_Yang
Posts: 6
Joined: Fri Apr 17, 2009 7:37 am

Re: IRC Channel

Post by Jarod_Yang »

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


Jarod_Yang
Posts: 6
Joined: Fri Apr 17, 2009 7:37 am

Re: IRC Channel

Post by Jarod_Yang »

ps.
my system is ubuntu linux
cheers


User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: IRC Channel

Post by Puybaret »

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
Jarod_Yang
Posts: 6
Joined: Fri Apr 17, 2009 7:37 am

Re: IRC Channel

Post by Jarod_Yang »

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


User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: IRC Channel

Post by Puybaret »

You should have read *all* the comments at the beginning of the build.xml file http://sweethome3d.cvs.sourceforge.net/viewvc/sweethome3d/SweetHome3D/build.xml?revision=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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest