Re: Dods: Ant task 5.1 and DODS 5.1 archive

Vladimir Puskas <[email protected]> 13 Oct 2003 15:57:13 +0200
Newsgroups gmane.comp.java.enhydra.dods
Message-ID <[email protected]>
> >From: Vladimir Bossicard <[email protected]>
> >To: [email protected]
> >Subject: Ant task 5.1
> >Date: Fri, 03 Oct 2003 08:30:53 +0200
> >
> >Hi,
> >
> >something I find annoying when trying to use the Ant task
> >for DODS: why do I have to set the DODS_HOME environment
> >variable.  This is especially annoying when you're writing
> >scripts when you don't want to force users to set the
> >DODS_HOME other than in the build.properties file.

Hi,

For runtime there is a new config file parameter, which removes
dependency on DODS_HOME. In your application's config file add:

Database.ConfigurationDir = /path/to/config/files

Yet, for generating (using either Generator or ant task), you need
DODS_HOME global property. During DODS generation DODS_HOME is used to
resolve some files (in $DODS_HOME/build directory).

> >From: Vladimir Bossicard <[email protected]>
> >To: [email protected]
> >Subject: DODS 5.1 archive
> >Date: Fri, 03 Oct 2003 08:32:00 +0200
> >
> >Hi,
> >
> >why do you assume that everybody will want to install DODS
> >in /usr/local?  Wouldn't it be easier to simply forget about
> >"/usr/local?"?
> >
> >regards,
> >
> >-Vladimir

We simply need a default prefix and IMHO /usr/local is as good as any.

  When you install RPM you may use --relocate install option to select
another location.

  If you are using "binary" tar.gz, after unpacking move dods-5.1
directory wherever you want and run configure script.

  Building (and installing) from sources gives you even more freedom.
You may use --prefix option (see configure --help).

Hope this helps.
Regards
-- 
Vladimir Puskas <[email protected]>
Together, Serbia