Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11991 Posts in 1587 Topics- by 3508 Members - Latest Member: NevilleKemp

26. May 2012, 07:18:17 pm
Xith3D CommunityGeneral CategorySupport (Moderator: Marvin Fröhlich)import org or com?
Pages: 1 [2]
Print
Author Topic: import org or com?  (Read 4258 times)
Sliver
Just dropped in

Offline Offline

Posts: 8


View Profile Email
« Reply #15 on: 15. December 2006, 10:11:22 pm »

i want to die... Cry

eclipse..ok
subclipse...ok
the 2 svn project...ok

now how to build them? "run as ant build" on the "build.xml" file?

is it possible that i've problem (if procedure above is right) because i took the new jdk 6? (i however set it in the property of the project).


ps: you hate me...i know Grin...but i'm a supernoob with eclipse and svn Cry
« Last Edit: 15. December 2006, 10:22:18 pm by Sliver » Logged
starscream
Enjoying the stay
*
Offline Offline

Posts: 25


View Profile
« Reply #16 on: 15. December 2006, 10:51:05 pm »

i don't know, where you have some problems:
after checkout just click "Project" -> "Build all".
This should work.  Huh
Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #17 on: 15. December 2006, 11:29:06 pm »

The build.xml file is not needed by eclipse. If you have enabled auto-build (like me), then the project is always builded (if possible). Try to run org.xith3d.test.Xith3DTestLauncher and you'll see, if it was correctly built.

Marvin
Logged
Sliver
Just dropped in

Offline Offline

Posts: 8


View Profile Email
« Reply #18 on: 16. December 2006, 11:20:51 am »

auto-build was enabled, i try to run org.xith3d.test.Xith3DTestLauncher and it works fine.

maybe i don't undestand how eclipse work...i don't saw (and see) the .class file of the two project  Huh
i don't know if i'm stupid or blind Grin, anyway...it works Tongue
« Last Edit: 16. December 2006, 11:22:36 am by Sliver » Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #19 on: 16. December 2006, 03:16:28 pm »

auto-build was enabled, i try to run org.xith3d.test.Xith3DTestLauncher and it works fine.

Then everything is built Wink.

maybe i don't undestand how eclipse work...i don't saw (and see) the .class file of the two project  Huh
i don't know if i'm stupid or blind Grin, anyway...it works Tongue

By default eclipse puts the class files into the same folders than the java files. This is a stupid default behaviour IMHO. But you can change it at project creation time (and by configuring the appropriate defaults). I for example decided to use a "src" forlder for the .java and a "bin" bolder for the .class files, which is quite similar to NetBeans' "src" and "build". And these names are configurable, but this time Eclipse's default is best. I strongly advise you to switch Eclipse's defaults to always use separate "src" and "bin" folders. When you want to archive a piece of code manually, you won't have to strip all the .class files manually.

When the project is built (manually or by auto-build) then class files are put next to the java files or separately into the package structure in the "bin" folder. That's all. Should be nearly the same in NetBeans, isn't it?

Marvin
Logged
Sliver
Just dropped in

Offline Offline

Posts: 8


View Profile Email
« Reply #20 on: 16. December 2006, 09:07:06 pm »

right, found them in bin folder... i'm stupid AND blind  Grin

netbeans is quite similar, use the "classes" folder for the class and and build for the jar, it have building option/method different but the result it's the same thing.
mine blind derives from the fact that for first time (don't thinking and knowing the autobuild function) i try to build in netbeans style (with build.xml) that create me classes directory and all the rest (but not the files, just present in bin directory by default).

after all...i want to regards for patience and support, and excuse me for all this (stupid and off topic too) posts



Logged
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4381


May the 4th, be with you...


View Profile
« Reply #21 on: 16. December 2006, 11:56:44 pm »

right, found them in bin folder... i'm stupid AND blind  Grin

netbeans is quite similar, use the "classes" folder for the class and and build for the jar, it have building option/method different but the result it's the same thing.
mine blind derives from the fact that for first time (don't thinking and knowing the autobuild function) i try to build in netbeans style (with build.xml) that create me classes directory and all the rest (but not the files, just present in bin directory by default).

Good to know.

after all...i want to regards for patience and support, and excuse me for all this (stupid and off topic too) posts

Hey, absolutely no problem. We're always happy to be able to help Wink.

Marvin
Logged
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #22 on: 18. December 2006, 03:43:54 pm »

Quote from: Marvin Fröhlich link=topic=19.msg264#msg264
Hey, absolutely no problem. We're always happy to be able to help Wink.
[/quote
Indeed  Grin
Logged
Pages: 1 [2]
Print
Jump to:  

Theme orange-lt created by panic