Netbeans
Submitted by ashak on Wed, 01/12/2005 - 22:30.
Does anyone have any idea how one would go about importing JNode sources into Netbeans. I've imported normal Java projects into Netbeans before when the source tree is located under a single directory, but JNode, with its sources located under a fairly large amount of different directories, means I have no idea where to begin setting it up so that I can work on it in Netbeans.
Anyone have any ideas?
- Login to post comments
I used CodeGuide 7 (www.omnic
I used CodeGuide 7 (www.omnicore.com), it works very well for that.
I now use Xdevelop preview (www.xdevelop.com) which is the next generation of CodeGuide.
Unfortunately those IDE are not free, but you can test them for 30 days free of charge.
__
Marc
.classpath
Have a look at the contents of the eclipse projects.
Every directory directly under the root (core, fs, gui, ..) has a ".classpath" file (part of the eclipse project info).
You'll find lines like
<classpathentry kind="src" path="src/classpath/gnu"/>
This means that the directory src/classpath/gnu (relative to the directory that contains .classpath) contains a java source file tree.
PS. Using eclipse might be easier.
Ewout
Missing part of your post?
Hi,
Is there a line or so missing from your post there?
Also. I made a very rough attempt at importing each part of JNode into Netbeans as a seperate project. I hadn't realised there was a .classpath file created by Eclipse to give details, I was simply setting the classpath for each of the projects to the jar files in each projects lib folder. I played a little and by calling the all target of the ant script for the JNode-All project, my slow laptop went off and done stuff for about 5 mins. I know is was giving me a number of errors about enum and using -source 1.5 or something, but that's because i'd forgotten to tell it to use 1.4.2 compiler rather than the 1.5 compiler that I also have installed.
I will have another attempt later today, know I know about the .classpath file, i'll set the correct compiler to use and then let others know of my results.
Try Free-Form Project Configuration or wait for Netbean4.1
Try Free-Form Project Configuration or wait for Netbean4.1's muti-sources tree.
But in NB's, to track/synchronize Jnode CVS repository is not easy too.
I'm using Netbeans4.0, but not explored deeply into jnode src until now.
so other friends can help you more.
CVS in Eclipse
Last time I tried doing the same things inside of eclipse I found it to be quite difficult too, due to the way that the JNode sources were laid out. I remember using cvs itself and simply using Eclipse for developing.
Maybe this has changed or maybe I was doing something wrong in Eclipse, I don't know. I do know that a number of times i've tried Eclipse and always ended up going back to Netbeans.