/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: FW: NetBeans
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
- 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 repository.dtd
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.properties
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.
);
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: FW: NetBeans and OJB
Hi,
No Success
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) ) and repository.xml (I've
changed the repository.xml path in OJB.properties using
file:///c:/work/easy
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
the
, January 09, 2004 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 for Internal
:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 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
that small application.
Regards
Aamir
-Original Message-
From: Edson Carlos Ericksson Richter
[mailto:[EMAIL PROTECTED]
Sent: Friday, January 09, 2004 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
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
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:
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
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 unsubscribe,
15 matches
Mail list logo