Re: FW: NetBeans and OJB

2004-01-16 Thread Gus Heck
4 12:49 AM To: OJB Users List Subject: RE: FW: NetBeans and OJB Hi, - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: FW: NetBeans and OJB

2004-01-13 Thread Coup, Robert Muir
Hi, I really strongly suggest you make a module using an ANT build file. There are lots of docs on the netbeans site and templates in the OpenAPIs Support module. Otherwise it will just get messier and messier every time you try to do something. Once you have a module, use nice netbeans-style pat

RE: FW: NetBeans and OJB

2004-01-12 Thread Muhammad Aamir
OJB.properties"); And in OJB.properties: file:///c:/work/test/repository.xml Is there any way to get rid of this ? Thanx a lot! Aamir -Original Message- From: Coup, Robert Muir [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 13, 2004 12:49 AM To: OJB Users List Subject: RE: F

RE: FW: NetBeans and OJB

2004-01-12 Thread Coup, Robert Muir
Hi, > No Success! :( I've mounted a directory c:\work\test and > OJB.properties is in it. What should I type after nz/ ? Ah. By nz/... I meant your path to the OJB properties file relative to the mount point It needs to be in a subfolder under the mountpoint otherwise NB won't resolve it.

Re: FW: NetBeans and OJB

2004-01-12 Thread Edson Carlos Ericksson Richter
Has more details? The stack trace, as example? Richter - Original Message - From: Muhammad Aamir To: OJB Users List Sent: Monday, January 12, 2004 10:28 AM Subject: RE: FW: NetBeans and OJB Yes Edson you are right and I've already done it and in this way OJB.prope

RE: FW: NetBeans and OJB

2004-01-12 Thread Muhammad Aamir
Sent: Monday, January 12, 2004 7:22 PM To: OJB Users List Subject: Re: FW: NetBeans and OJB You can try to put OJB .jar files in nb-home/lib/ext, as the JDBC driver. I think this because the DatabaseExplorer, as sample, allow you to work with some driver only if it is in ./lib/ext of netbeans. T

Re: FW: NetBeans and OJB

2004-01-12 Thread Edson Carlos Ericksson Richter
- Original Message - From: Muhammad Aamir To: OJB Users List Sent: Monday, January 12, 2004 9:39 AM Subject: RE: FW: NetBeans and OJB No Success! :( I've mounted a directory c:\work\test and OJB.properties is in it. What should I type after nz/ ? What about repositor

RE: FW: NetBeans and OJB

2004-01-12 Thread Muhammad Aamir
ut my own application classes ? Thank you v. much. Aamir -Original Message- From: Coup, Robert Muir [mailto:[EMAIL PROTECTED] Sent: Monday, January 12, 2004 1:28 AM To: OJB Users List Subject: RE: FW: NetBeans and OJB Hello, Sorry about the late reply. We're using Netbeans to deve

RE: FW: NetBeans and OJB

2004-01-11 Thread Coup, Robert Muir
> You need the ojb libraries in your classpath. This either means - > - make a module, declare dependencies and install the libs > in netbeans-dir/modules/ext > - do it the nasty way and install in netbeans-dir/lib/ext > Or alternatively, the pinnacle of nastiness, build a jar file with all t

RE: FW: NetBeans and OJB

2004-01-11 Thread Coup, Robert Muir
aturday, 10 January 2004 3:04 a.m. > To: OJB Users List > Subject: RE: FW: NetBeans and OJB > > > Edson, > > Although I had tried to set complete path of OJB.properties > (by System.setProperty("OJB.properties", > "C:/work/easy/OJB.properties") )

Re: FW: NetBeans and OJB

2004-01-10 Thread edson . richter
ng is the first line of my main method: >> >> System.setProperty("OJB.properties", "c:/work/test/OJB.properties"); >> >> >> Following is the line from OJB.properties: >> >> repositoryFile=c:/work/test/repository.xml >> >> >> Fol

Re: FW: NetBeans and OJB

2004-01-10 Thread Armin Waibel
ecution mode, the Working Directory is the NetBeans bin directory. So, if you need to use Internal Execution, you should set complete path for repository/ojb.properties. I sugest you to use External Execution, and set Working Directory (to avoid annoiances). I've collected these info in more t

RE: FW: NetBeans and OJB

2004-01-10 Thread Muhammad Aamir
e thing is to remember that it goes well when Executor is External. I am will be thankful if someone gives me a solution. I have also used Oracle TopLink and was really happy with that. I am really disappointing to think that I've wasted 1 week just to setup that small application. Regards Aam

RE: FW: NetBeans and OJB

2004-01-09 Thread Durham David Contr 805 CSPTS/SCE
> Did you try this? > > System.setProperty("OJB.properties", "/OJB.properties"); > Well, I just read Edson's post and it looks like you should disregard my suggestion. I'll go back to my work in shame. Dave - To unsubsc

RE: FW: NetBeans and OJB

2004-01-09 Thread Durham David Contr 805 CSPTS/SCE
From: Muhammad Aamir [mailto:[EMAIL PROTECTED] > Problem only occurs when I changed the execution type to > Internal execution. And as far as I understood so far, > NetBeans have custom class > loader(s) and that might be the reason. But I am not sure. Excuse my ignorance if you already know

RE: FW: NetBeans and OJB

2004-01-09 Thread Muhammad Aamir
6:47 PM To: OJB Users List Subject: Re: FW: NetBeans and OJB Hi! I could answer you question. In NetBeans, go to Tools -> Options -> Debbuging and Executing -> Execution Types -> External Execution -> Expert -> Working Directory. Unfortunately, there is no equivalent option

Re: FW: NetBeans and OJB

2004-01-09 Thread Thomas Dudziak
I guess there might be one way of manipulating the working directory which is to set the system property "user.dir" at the start of the program. Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [

Re: FW: NetBeans and OJB

2004-01-09 Thread Edson Carlos Ericksson Richter
annoiances). I've collected these info in more than a year working with OJB inside NetBeans. Best regards, Edson Richter - Original Message - From: Muhammad Aamir To: OJB Users List Sent: Friday, January 09, 2004 9:38 AM Subject: RE: FW: NetBeans and OJB NetBeans IDE

RE: FW: NetBeans and OJB

2004-01-09 Thread Muhammad Aamir
Users List Subject: RE: FW: NetBeans and OJB Well, I'm no expert when it comes to NetBeans (I prefer Eclipse). What is the benefit of internal execution vs. external execution ? Tom - To unsubscribe, e-mail: [EMAIL PROTECTED

RE: FW: NetBeans and OJB

2004-01-09 Thread Thomas Dudziak
Well, I'm no expert when it comes to NetBeans (I prefer Eclipse). What is the benefit of internal execution vs. external execution ? Tom - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTEC

RE: FW: NetBeans and OJB

2004-01-09 Thread Muhammad Aamir
ry 09, 2004 4:55 PM To: OJB Users List Subject: Re: FW: NetBeans and OJB Looks ok so far. Does it work when you run it from the commandline (not from within the IDE) in directory c:\work\easy ? If so, then you probably have a mistake in the IDE setting for the directory where the app is executed. I

Re: FW: NetBeans and OJB

2004-01-09 Thread Thomas Dudziak
Looks ok so far. Does it work when you run it from the commandline (not from within the IDE) in directory c:\work\easy ? If so, then you probably have a mistake in the IDE setting for the directory where the app is executed. If not then you should check that in OJB.properties the repository.xml fil

FW: NetBeans and OJB

2004-01-09 Thread Muhammad Aamir
Moreover, I've set property as: System.setProperty("OJB.properties", c:/work/easy/OJB.properties"); Aamir -Original Message- From: Muhammad Aamir Sent: Friday, January 09, 2004 4:35 PM To: OJB Users List Subject: RE: NetBeans and OJB Thank you for your quick reply. It's a simple applica