|
From: Leif J. <le...@am...> - 2003-12-19 22:47:57
|
Hi Egon -
Sorry I keep bothering you about this, but we really need to have
Makefile.am files in the environment files directories. These
Makefile.am files are purely ccmtools autotools files ; they have no
relationship with the Makefile.am files that Confix creates. The
ccmtools autotools files are responsible only for installing and
uninstalling the environment source trees. We have to install the source
trees so that binary-only distributions of the CCM Tools will be able to
include the source files for creating component environment libraries.
I assume you've been having problems with these files because of an
unfortunate coincidence : Confix happens to create Makefile.am files
when you build the component environment libraries locally, inside the
ccmtools source tree. Since there's not really any way around this, you
*cannot* build the environments directly in the CCM Tools source tree !
Instead, component developers must use either (a) the *installed*
environment files source trees, or (b) a copy of the environment source
trees. Actually, the test/CppGenerator/test-loader.sh script fakes an
installation of the environment files :
data_dir=${sandbox_dir}/share/${PACKAGE}
:
:
for f in ${abssrcdir}/*Generator/*Environment ; do
ln -s $f ${data_dir} ; done
And then the ccmtools-c++-environment script copies the files to
/tmp/ccmtools-cpp-environment directory, and calls confix to make and
install them.
I won't add back the Makefile.am files until you give the ok. But we
must have these files in there before we do another release, because
binary distributions will not be able to include the environment source
trees otherwise.
leif
On Fri, 2003-12-19 at 07:09, tei...@us... wrote:
> Update of /cvsroot/ccmtools/ccmtools/CppGenerator
> In directory sc8-pr-cvs1:/tmp/cvs-serv28862
>
> Modified Files:
> CppRemoteGeneratorImpl.java
> Log Message:
> - Removed the Makefile.am files from the Environment directories because
> these files are created by confix.
> + Refactored the remote generator to handle the new namespace concept.
> (CppRemoteGenerator/facet and facet_user_types examples are running)
--
Leif Morgan Johnson : http://ambient.2y.net/leif/
|