Executing from NetBeans using packages
807597Feb 22 2005 — edited Feb 23 2005Hi,
I've been using my own custom Ant scripts within NetBeans to compile code, generate various descriptors and create archive files. I really like using Ant; the only reason I even use an IDE is for editting--it's nice having its spell checking functionality, etc. However, to execute and debug code, I go straight to the command prompt and run my jar. But now I'd like to take the next step: execute and debug un-jarred code within NetBeans.
Executing code works fine within NB if I don't use packages. However, when I use packages, I get NoClassDefFoundErrors. I've mounted every directory that I could think of and added them all to my project. That would mean everything is in the Classpath right?
Can someone please walk me through the process? Also, should I create an Ant task to execute my code from within the IDE?
PGynt
PS--I've searched the NB website, but there is just too much stuff to wade through. And of course, I've searched the forums here too.