InstantDB Project
About InstantDB
Project Mail Lists
Short History
Reporting Bugs
Screen Shots
3rd Party Examples
FAQs

Software
Downloads
Documentation
CVS Repositories
Roadmap
License

About Enhydra.org
Who We Are
News, Articles & Events
Getting Involved
Contact Us

Community
Demos
Contributions
Resources
Case Studies
On The Edge! -NEW-
Commercial Vendors


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: InstantDB: File absolute path


Hi,

I've figured it out. I forgot to set relativeToProperties to 0. Sorry.

I would like to know: is it possible to use the $user.dir for example
and append to it additional paths i.e:
$user.dir=my/dir
tablePath=my/dir/tables

so that:

tablePath=$user.dir/tables is the same as "my/dir/tables" ?

Thanx.
Hugo F.

----- Original Message -----
From: "Hugo Ferreira" <hmf@inescporto.pt>
To: <instantdb@enhydra.org>
Sent: Wednesday, November 08, 2000 2:07 PM
Subject: InstantDB: File absolute path


> Hi,
>
> I have attempted to use an absolute path as exemplified in the end of this
> message.
> When I run the application, I get the following excpetion:
>
> Enhydra InstantDB - Version 3.21
> The Initial Developer of the Original Code is Lutris Technologies Inc.
> Portions created by Lutris are Copyright (C) 1997-2000 Lutris
Technologies,
> Inc.
> All Rights Reserved.
> java.sql.SQLException: IO problem opening file:
> C:\WINNT\Profiles\hugof\D:\Damascos\WfBB\database\tables
> java.io.IOException: The filename, directory name, or volume label syntax
is
> incorrect
>  at org.enhydra.instantdb.jdbc.idbConnection.<init>(idbConnection.java:88)
>  at org.enhydra.instantdb.jdbc.idbDriver.connect(idbDriver.java:40)
>  at java.sql.DriverManager.getConnection(DriverManager.java:457)
>  at java.sql.DriverManager.getConnection(DriverManager.java:159)
>  at SystemUtilities.DBWriter.<init>(DBWriter.java:59)
>  at SystemUtilities.DBWriter.main(DBWriter.java:158)
>
> Anyone know where my mistake is?
> TIA.
>
> *.prp file :
> --------------
> !
> ! Path where index tables are held. Can be absolute or relative
> ! to the properties file. Defaults to tablePath.
> !
> indexPath=D:/Damascos/WfBB/database/indexes
> !
> ! Path where system tables are held. Can be absolute or relative to
> ! the properties file. Defaults to tablePath.
> !
> systemPath=D:/Damascos/WfBB/database/system
> !
> ! Path where database tables are held. Can be absolute or relative
> ! to the properties file. Defaults to "current" directory.
> !
> tablePath=D:/Damascos/WfBB/database/tables
> !
> ! Path where results set tables are held. Can be absolute or relative
> ! to the properties file. Defaults to tablePath.
> !
> tmpPath=D:/Damascos/WfBB/database/tmp
>
>
> --------------------------------------------------------------------------
---
> To unsubscribe from this mailing list, send email to majordomo@enhydra.org
> with the text "unsubscribe instantdb" in the body of the email.
> If you have other questions regarding this mailing list, send email to
> the list admin at owner-instantdb@enhydra.org.
>

-----------------------------------------------------------------------------
To unsubscribe from this mailing list, send email to majordomo@enhydra.org
with the text "unsubscribe instantdb" in the body of the email.
If you have other questions regarding this mailing list, send email to
the list admin at owner-instantdb@enhydra.org.