You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by Brady Johnson <bj...@roguewave.com> on 2007/08/16 23:55:44 UTC

[DAS Native] ant build

Adriano,

You might have seen that both SCA and SDO native now have an ant build
infrastructure. I briefly looked at doing the same for DAS, but couldn't
get it to compile with "configure, make, make install" at the time, and
never got a chance to come back to it.

I think it should be very easy to copy the SDO ant stuff over to DAS,
what do you think?

--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - brady.johnson@roguewave.com
 

-----Original Message-----
From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
Behalf Of Adriano Crestani
Sent: Monday, July 23, 2007 11:21 PM
To: tuscany-dev@ws.apache.org
Subject: Re: [SCA Native] preliminary ant build

Great idea, soon I will try to apply this idea to Native DAS and see how
it works. I think the idea could also be easily applied to Native SDO,
as it does not have too much dependencies and code generation as Native
SCA does.

A folder ant-core could be created under tuscany/cpp/ folder to place
the ant scripts shared by the projects.

Also, we could add a build.xml under tuscany/ccp/ that builds all 3
subprojects at once, if the 3 to implement this ant build process. What
do you think?

Regards,
Adriano Crestani

On 7/23/07, Brady Johnson <bj...@roguewave.com> wrote:
>
>
> Correction, it should be like this:
>
>   <target name="compile.core">
>     <cpp-compile
>         srcdir="${core.abs.dir}"
>         objdir="${lib.dir}"
>         infiles="${core.cpp.files}">
>       <custom-cc-elements>
>         <defineset if="windows" define="SCA_EXPORTS"/>
>       </custom-cc-elements>
>     </cpp-compile>
>   </target>
>
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com
>
>
> -----Original Message-----
> From: Brady Johnson [mailto:bjohnson@roguewave.com]
> Sent: Monday, July 23, 2007 5:05 PM
> To: tuscany-dev@ws.apache.org
> Subject: RE: [SCA Native] preliminary ant build
>
>
> Pete,
>
> Good catch. That's an easy fix. I'll submit it with the next patch 
> tomorrow. Basically it involves removing SCA_EXPORTS from the 
> Tuscany-BaseCompiler and adding it to the runtime/core/src targets:
>         compile.core
>         compile.extension
>         compile.model
>         compile.util
>
> Like this:
>   <target name="compile.core">
>     <cpp-compile
>         srcdir="${core.abs.dir}"
>         objdir="${lib.dir}"
>         infiles="${core.cpp.files}"/>
>       <custom-cc-element>
>         <defineset if="windows" define="SCA_EXPORTS"/>
>       </custom-cc-element>
>   </target>
>
> Tomorrow I'll have the python, ruby, rest, and maybe php extensions 
> complete.
>
>
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com
>
>
> -----Original Message-----
> From: Pete Robbins [mailto:robbinspg@googlemail.com]
> Sent: Monday, July 23, 2007 2:41 PM
> To: tuscany-dev@ws.apache.org
> Subject: Re: [SCA Native] preliminary ant build
>
> I think there is a problem in the extension compilations. The 
> SCA_EXPORTS directive should only be set when compiling the 
> runtime/core. When compiling for dlls on windows which use the core 
> dll SCA_EXPORTS must not be set. I guess this means we have to move 
> the setting of this directive from the definition of the 
> Tuscany-BaseCompiler
>
> Cheers,
>
> On 23/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > I've applied the patch. How are you creating the patches? I had 
> > trouble applying it on Windows using ToirtoiseSVN.
> >
> > I've included the changes in the patch to the tools/TuscanyDriver 
> > build. I haven't tested this and I'm not sure if it works with the 
> > system.xml etc.
> >
> > Can you do a clean extract as a base for future patches?
> >
> > Cheers,
> >
> > On 23/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > I'll give this a go. I should be able to run it on Mac as well.
> > >
> > > Cheers,
> > >
> > > On 23/07/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > >
> > > > I updated the jira1438 with update 3, which includes the
> following:
> > > >        https://issues.apache.org/jira/browse/TUSCANY-1438
> > > >
> > > >
> > > > - added build.xml for the following dirs:
> > > >    runtime/extensions/build.xml
> > > >    runtime/extensions/cpp/build.xml
> > > >    runtime/extensions/sca/build.xml
> > > >    runtime/extensions/ws/build.xml
> > > >
> > > > - changed system.xml to check for necessary axis, php, python, 
> > > > rest, and ruby env vars. If they're not  set in the env, look 
> > > > for them in platform.properties
> > > >
> > > > - changed compile-targets.xml targets
> > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > >
> > > > - added compile-targets.xml target: <cpp-symlink/>
> > > >
> > > > - added library versioning and the 
> > > > platform.tuscanySCA.library.version
> > > > platform.properties property
> > > >
> > > > Can someone submit this for me.
> > > >
> > > > The only thing left now is the build.xml for these extensions:
> > > > php, python, rest, ruby
> > > >
> > > > WRT testing on macs, I wont have a mac available until next
week.
> > > >
> > > > Thanks
> > > >
> > > > --------------------
> > > > Brady Johnson
> > > > Lead Software Developer - HydraSCA Rogue Wave Software - 
> > > > brady.johnson@roguewave.com
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Brady Johnson [mailto:bjohnson@roguewave.com]
> > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: RE: [SCA Native] preliminary ant build
> > > >
> > > >
> > > > I can look into testing it on Mac here. I believe we have 
> > > > several mac machines for the purpose.
> > > >
> > > > I'll get back to you soon.
> > > >
> > > > --------------------
> > > > Brady Johnson
> > > > Lead Software Developer - HydraSCA Rogue Wave Software - 
> > > > brady.johnson@roguewave.com
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: Re: [SCA Native] preliminary ant build
> > > >
> > > > I've taken out the references to tuscany_sca_config.h and 
> > > > patched the automake for now with setting -DIS_DARWIN on mac. 
> > > > Yet to test it on Mac as I need to kick the kids off my machine!
> > > >
> > > > On 19/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > > > Automake generates a config file with lots of standard stuff 
> > > > > but
>
> > > > > the only  one we need is the IS_DARWIN, which is used in  2 
> > > > > places. I'll remove the 2 references to this header and change

> > > > > automale to set the IS_DARWIN compile flag.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > > >
> > > > > > I did the following diff command and got quite a lot of 
> > > > > > changes (listed
> > > > > > below):
> > > > > >
> > > > > > # diff tuscany_sca_config.h.in tuscany_sca_config.h
> > > > > >
> > > > > > Are these not needed?
> > > > > >        If not, I can get to work on removing all references 
> > > > > > to
>
> > > > > > the file.
> > > > > >        If so, then we still need to figure out how to create

> > > > > > the
> > > > file.
> > > > > >
> > > > > > I just realized, its 23:30, there... Go to bed! ;)
> > > > > >
> > > > > > --------------------
> > > > > > Brady Johnson
> > > > > > Lead Software Developer - HydraSCA Rogue Wave Software - 
> > > > > > brady.johnson@roguewave.com
> > > > > >
> > > > > >
> > > > > > 0a1
> > > > > > > /* tuscany_sca_config.h.  Generated by configure.  */
> > > > > > 4c5
> > > > > > < #undef CLOSEDIR_VOID
> > > > > > ---
> > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > 8c9
> > > > > > < #undef HAVE_DIRENT_H
> > > > > > ---
> > > > > > > #define HAVE_DIRENT_H 1
> > > > > > 11c12
> > > > > > < #undef HAVE_DLFCN_H
> > > > > > ---
> > > > > > > #define HAVE_DLFCN_H 1
> > > > > > 14c15
> > > > > > < #undef HAVE_DOPRNT
> > > > > > ---
> > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > 17c18
> > > > > > < #undef HAVE_GETCWD
> > > > > > ---
> > > > > > > #define HAVE_GETCWD 1
> > > > > > 20c21
> > > > > > < #undef HAVE_INTTYPES_H
> > > > > > ---
> > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > 23c24
> > > > > > < #undef HAVE_MEMORY_H
> > > > > > ---
> > > > > > > #define HAVE_MEMORY_H 1
> > > > > > 26c27
> > > > > > < #undef HAVE_NDIR_H
> > > > > > ---
> > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > 29c30
> > > > > > < #undef HAVE_PUTENV
> > > > > > ---
> > > > > > > #define HAVE_PUTENV 1
> > > > > > 33c34
> > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > ---
> > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > 36c37
> > > > > > < #undef HAVE_STDBOOL_H
> > > > > > ---
> > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > 39c40
> > > > > > < #undef HAVE_STDINT_H
> > > > > > ---
> > > > > > > #define HAVE_STDINT_H 1
> > > > > > 42c43
> > > > > > < #undef HAVE_STDLIB_H
> > > > > > ---
> > > > > > > #define HAVE_STDLIB_H 1
> > > > > > 45c46
> > > > > > < #undef HAVE_STRDUP
> > > > > > ---
> > > > > > > #define HAVE_STRDUP 1
> > > > > > 48c49
> > > > > > < #undef HAVE_STRINGS_H
> > > > > > ---
> > > > > > > #define HAVE_STRINGS_H 1
> > > > > > 51c52
> > > > > > < #undef HAVE_STRING_H
> > > > > > ---
> > > > > > > #define HAVE_STRING_H 1
> > > > > > 55c56
> > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > ---
> > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > 59c60
> > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > ---
> > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > 62c63
> > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > ---
> > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > 65c66
> > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > ---
> > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > 68c69
> > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > ---
> > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > 71c72
> > > > > > < #undef HAVE_UNISTD_H
> > > > > > ---
> > > > > > > #define HAVE_UNISTD_H 1
> > > > > > 74c75
> > > > > > < #undef HAVE_VPRINTF
> > > > > > ---
> > > > > > > #define HAVE_VPRINTF 1
> > > > > > 77c78
> > > > > > < #undef HAVE__BOOL
> > > > > > ---
> > > > > > > #define HAVE__BOOL 1
> > > > > > 80c81
> > > > > > < #undef IS_DARWIN
> > > > > > ---
> > > > > > > /* #undef IS_DARWIN */
> > > > > > 84c85
> > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > ---
> > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > 87c88
> > > > > > < #undef PACKAGE
> > > > > > ---
> > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > 90c91
> > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > ---
> > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > 93c94
> > > > > > < #undef PACKAGE_NAME
> > > > > > ---
> > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > 96c97
> > > > > > < #undef PACKAGE_STRING
> > > > > > ---
> > > > > > > #define PACKAGE_STRING "tuscany_sca_native
1.0-incubator-M3"
> > > > > > 99c100
> > > > > > < #undef PACKAGE_TARNAME
> > > > > > ---
> > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > 102c103
> > > > > > < #undef PACKAGE_VERSION
> > > > > > ---
> > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > 105c106
> > > > > > < #undef STDC_HEADERS
> > > > > > ---
> > > > > > > #define STDC_HEADERS 1
> > > > > > 108c109
> > > > > > < #undef VERSION
> > > > > > ---
> > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > 111c112
> > > > > > < #undef const
> > > > > > ---
> > > > > > > /* #undef const */
> > > > > > 116c117
> > > > > > < #undef inline
> > > > > > ---
> > > > > > > /* #undef inline */
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > >
> > > > > > yeah I figured that... I did exactly the same when 
> > > > > > committing changes earlier! I dodn't commit the changes 
> > > > > > inthe tools
> folder.
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > > > >
> > > > > > > Ok, I wasn't aware that I had changed the tools.
> > > > > > >
> > > > > > > I simply did a "svn diff . > patch_file" from the tuscany 
> > > > > > > root
> > > > dir.
> > > > > > > You can disregard the tools changes. I'll look into it.
> > > > > > >
> > > > > > > Thanks
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software - 
> > > > > > > brady.johnson@roguewave.com
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > >
> > > > > > > Cool! I've applied this change as well. The update2 patch 
> > > > > > > contained changes to the tools/TuscanyDriver/build.xml. 
> > > > > > > This
>
> > > > > > > doesn't work so you
> > > > > >
> > > > > > > may want to look at it.
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > > > > >
> > > > > > > > If that's all we need the tuscany_sca_config.h file for 
> > > > > > > > then, yes this
> > > > > > >
> > > > > > > > just got a whole lot easier. We can do the following on 
> > > > > > > > the Tuscany-BaseCompiler
> > > > > > > >
> > > > > > > >  <condition property="mac" value="true">
> > > > > > > >    <os family="mac"/>
> > > > > > > >  </condition>
> > > > > > > >
> > > > > > > >  <compiler id="Tuscany-BaseCompiler"
multithreaded="true"
> > > > > > > > exceptions="true" rtti="true">
> > > > > > > >    <defineset if="windows"
> > > > > > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > >    <includepath path="${tuscanySCA.root.dir}"/> <!-- 
> > > > > > > > tuscany_sca_config.h -->
> > > > > > > >    <includepath path="${tuscanySCA.root.src.dir}"/>
> > > > > > > >    <includepath
> > > > > > > > path="${tuscanySCA.root.src.dir}/core/src"/>
> > > > > > > >  </compiler>
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > > Brady Johnson
> > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -

> > > > > > > > brady.johnson@roguewave.com
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > >
> > > > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com>
wrote:
> > > > > > > > >
> > > > > > > > > I uploaded a patch on top of what you submit to svn.
> > > > > > > > >
> > > > > > > > > Here is a description of what I changed:
> > > > > > > > >
> > > > > > > > > - Changed the name of compilers.xml to system.xml.
> > > > > > > > >
> > > > > > > > > - This update has better support for a 
> > > > > > > > > platform.properties file that
> > > > > > >
> > > > > > > > > is completely empty.
> > > > > > > > >  That is, all of the platform dependent items are 
> > > > > > > > > figured out by
> > > > > > > ant.
> > > > > > > > > If they are set in
> > > > > > > > >  the platform.properties file then they override the 
> > > > > > > > > ant
> > > > > > > > determination.
> > > > > > > > >
> > > > > > > > > - Better directory path management has been added to 
> > > > > > > > > the
>
> > > > > > > > > root build.xml and  runtime/core/src/build.xml files.
> > > > > > > > >
> > > > > > > > > - The install and clean targets in runtime/core/src 
> > > > > > > > > have
>
> > > > > > > > > been
> > > > > > > > completed.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > With respect to your latest post regarding
> > > > "tuscany-sca-config.h":
> > > > > > > > > I knew this was a problem on clean systems and had 
> > > > > > > > > envisioned either
> > > > > > >
> > > > > > > > > running a script or using a slimmed down 
> > > > > > > > > automake/configure to
> > > >
> > > > > > > > > setup
> > > > > > >
> > > > > > > > > this file and any platform specific parameters. That's

> > > > > > > > > certainly something we'll have to address, what do you
> think?
> > > > > > > > >
> > > > > > > >
> > > > > > > > The only reason we use this automake generated file is 
> > > > > > > > to set the IS_DARWIN compiler flag for running on Mac OS

> > > > > > > > X. I
>
> > > > > > > > expect we
> > > >
> > > > > > > > can use
> > > > > >
> > > > > > > > a
> > > > > > >
> > > > > > > > different technique in ant to set this flag. Is there a
> > > > "family=mac"
> > > > > > > > or somesuch in ant? The automake simply runs a 'uname
-s'
> > > > > > > > command to
> > > > > >
> > > > > > > > figure it out.
> > > > > > > >
> > > > > > > > I think a goal for this shoul be that I can do a clean 
> > > > > > > > extract from svn and type "ant" in the top level 
> > > > > > > > directory
>
> > > > > > > > and it will build with
> > > > > >
> > > > > > > > everything defaulted. We need various pre-reqs defined 
> > > > > > > > (SDO loccation,
> > > > > > > > + other pre-reqs) but we should try to make this as 
> > > > > > > > + simple
>
> > > > > > > > + as
> > > > > > > > possible.
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software

> > > > > > > > > -
>
> > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > the install dir defaults to sca/deploy so I think we 
> > > > > > > > > don't need any properties other than overrides.
> > > > > > > > >
> > > > > > > > > I'll check in what I have. so youi can see.
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > >
> > > > > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com>
> wrote:
> > > > > > > > > >
> > > > > > > > > > Pete,
> > > > > > > > > >
> > > > > > > > > > That's a good idea. Then the only thing that really 
> > > > > > > > > > need to be set
> > > > > > >
> > > > > > > > > > in platform.properties file would be:
> > > > > > > > > >        tuscanySCA.install.dir
> > > > > > > > > >        and any possible overides
> > > > > > > > > >
> > > > > > > > > > I'll put that together real quick and upload it.
> > > > > > > > > >
> > > > > > > > > > Thanks
> > > > > > > > > >
> > > > > > > > > > -------------------- Brady Johnson Lead Software 
> > > > > > > > > > Developer - HydraSCA Rogue Wave Software
>
> > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > On 18/07/07, Pete Robbins <ro...@googlemail.com>
> wrote:
> > > > > > > > > > > On 18/07/07, Brady Johnson 
> > > > > > > > > > > <bj...@roguewave.com>
> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Pete,
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks for trying out the ant build scripts.
> > > > > > > > > > > >
> > > > > > > > > > > > Regarding core.dir, you're right, the name will 
> > > > > > > > > > > > need to
> > > > > > > change.
> > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > >
> > > > > > > > > > > > As for the "tuscanySCA.root.dir" : Your 
> > > > > > > > > > > > suggestion
>
> > > > > > > > > > > > will work
> > > > > >
> > > > > > > > > > > > if you only execute ant from the root directory,

> > > > > > > > > > > > but not
> > > >
> > > > > > > > > > > > if you execute ant
> > > > > > > > > >
> > > > > > > > > > > > from the runtime/core/src directory. That's why 
> > > > > > > > > > > > I put it
> > > >
> > > > > > > > > > > > in the platform.properties, which is accessed by

> > > > > > > > > > > > all
> > > > > > build.xml's.
> > > > > > >
> > > > > > > > > > > > Its better ant coding style to have anything 
> > > > > > > > > > > > that needs to be configured
> > > > > > > > > >
> > > > > > > > > > > > in a properties file, not in an ant build.xml
> file.
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Yes... I realized that would limit you to running 
> > > > > > > > > > > ant from
> > > >
> > > > > > > > > > > the
> > > > > >
> > > > > > > > > > > top
> > > > > > > >
> > > > > > > > > > > level. So, as most of the info in 
> > > > > > > > > > > platform.properties can be deduced
> > > > > > > > >
> > > > > > > > > > > would a better solution be to have a top level (or

> > > > > > > > > > > in antscripts
> > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > >  a) imports platform.properties for any overrides
> > > > > > > > > > >  b) sets the properties conditional on the
platform.
> > > > > > > > > > >
> > > > > > > > > > > e.g.
> > > > > > > > > > >      <condition property="lib.ext" value='.so' '>
> > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > >      </condition>
> > > > > > > > > > >      <condition property="lib.ext" value='.dll' '>
> > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > >      </condition>
> > > > > > > > > > >      <condition property="lib.ext" value='.dylib
'>
> > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > >      </condition>
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > the build.xml files would all import this top level
> file:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > As for the platform.properties file for windows:
> > > > > > > > > > > > The property platform can/should be removed, its

> > > > > > > > > > > > not
> > > > > > > necessary.
> > > > > > > > > > > > If
> > > > > > > > >
> > > > > > > > > > > > the property "platform.compiler-definition" is 
> > > > > > > > > > > > set, then
> > > >
> > > > > > > > > > > > that value will be used for the compiler 
> > > > > > > > > > > > selection, else
> > > >
> > > > > > > > > > > > it will get set to msvc for windows as can be 
> > > > > > > > > > > > seen
>
> > > > > > > > > > > > on line 18 of
> > > > > > > > > compilers.xml.
> > > > > > > > > > > >
> > > > > > > > > > > > I think the way this should ship is to have 
> > > > > > > > > > > > several platform.properties files for the
> different platform:
> > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > >        platform.properties.windows
> > > > > > > > > > > >        platform.properties.mac Which will each 
> > > > > > > > > > > > have values pre
> > > > > > >
> > > > > > > > > > > > configured for the corresponding
> > > > > > > >
> > > > > > > > > > > > platform. Then with either configure or a shell 
> > > > > > > > > > > > script, the platform
> > > > > > > > > >
> > > > > > > > > > > > file wil be copied to platform.properties and 
> > > > > > > > > > > > the directory properties will be set
accordingly.
> > > > > > > > > > > >
> > > > > > > > > > > > -------------------- Brady Johnson Lead Software

> > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software -
> > > >
> > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Pete Robbins 
> > > > > > > > > > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08 AM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > > I ran into a couple of issues tryingt o run this

> > > > > > > > > > > > ant
> > > > build.
> > > > > > > > > > > > Firstly I got an error with a path 
> > > > > > > > > > > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.

> > > > > > > > > > > > I
>
> > > > > > > > > > > > trcked this
> > > > > > >
> > > > > > > > > > > > down to the fact that the property core.dir is 
> > > > > > > > > > > > set
>
> > > > > > > > > > > > in the top level build.xml to "runtime/core/src"
> > > > > > > > > > > > and in the
> > > >
> > > > > > > > > > > > runtime/core/src/build.xml the same property 
> > > > > > > > > > > > name is used and set tu
> > > > > > > > > >
> > > > > > > > > > > > "tuscany/sca/core". It looks to me like the 
> > > > > > > > > > > > second
>
> > > > > > > > > > > > defintion
> > > > > >
> > > > > > > > > > > > of core.dir is being ignored. I'm not an ant
> expert ...
> > > > > > > > > > > > do properties
> > > > > > > > > > get propagated from higher level build files?
> > > > > > > > > > > > I got around this by changing the name of 
> > > > > > > > > > > > core.dir
>
> > > > > > > > > > > > to src.dir in
> > > > > > > >
> > > > > > > > > > > > one
> > > > > > > > > >
> > > > > > > > > > > > of the files.
> > > > > > > > > > > >
> > > > > > > > > > > > Rather than specifying the paths to the source 
> > > > > > > > > > > > code etc in the
> > > > > > >
> > > > > > > > > > > > platform.properties I would prefer to set these 
> > > > > > > > > > > > automatically so
> > > > > > > >
> > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > >
> > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > >
> > > > > > > > > > > > and then based other properties from this. It 
> > > > > > > > > > > > seemed to
> > > > > > work!
> > > > > > > > > > > >
> > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On 18/07/07, Pete Robbins 
> > > > > > > > > > > > <ro...@googlemail.com>
> > > > wrote:
> > > > > > > > > > > > > I'd like some info on what I need to edit in 
> > > > > > > > > > > > > the
> > > > > > > > > > platform.properties.
> > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > >
> > > > > > > > > > > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > >
> > > > > > > > > > > > > One good thing about automake is that it 
> > > > > > > > > > > > > detects
>
> > > > > > > > > > > > > your platform/compiler etc automatically.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 17/07/07, Brady Johnson 
> > > > > > > > > > > > > <bj...@roguewave.com>
> > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I put together some documentation for using 
> > > > > > > > > > > > > > ant with
> > > >
> > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > Native.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -------------------- Brady Johnson Lead 
> > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave 
> > > > > > > > > > > > > > Software -
> > > > > >
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Using ant to build TuscanySCA Native
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 1. Required Software to build TuscanySCA 
> > > > > > > > > > > > > > Native with
> > > > > > ant:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > >        Ant comes installed with almost all 
> > > > > > > > > > > > > > Linux
> > > > > > > > distributions
> > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > >        Download: http://ant.apache.org/
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > >        Download:
> http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > -----
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Make sure JAVA_HOME is set before starting.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Set the ANT_HOME variable to the directory 
> > > > > > > > > > > > > > where you
> > > >
> > > > > > > > > > > > > > install
> > > > > > > > > > ant.
> > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > export PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Optional ant tasks, such as antcontrib and 
> > > > > > > > > > > > > > cpptasks,
> > > >
> > > > > > > > > > > > > > should be
> > > > > > > > >
> > > > > > > > > > > > > > installed in $ANT_HOME/lib So place the 
> > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > >
> > > > > > > > > > > > > > there.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you dont have write access to 
> > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > following:
> > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Avoid adding optional ant tasks to your 
> > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > problematic.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Windows
> > > > > > > > > > > > > > -------
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Make sure JAVA_HOME is set before starting.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Set the ANT_HOME variable to the directory 
> > > > > > > > > > > > > > where you
> > > >
> > > > > > > > > > > > > > install
> > > > > > > > > > ant.
> > > > > > > > > > > > > > set ANT_HOME=c:\ant
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Add %ANT_HOME%\bin to your path.
> > > > > > > > > > > > > > set PATH=%PATH%;%ANT_HOME%\bin
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Optional ant tasks, such as antcontrib and 
> > > > > > > > > > > > > > cpptasks,
> > > >
> > > > > > > > > > > > > > should be
> > > > > > > > >
> > > > > > > > > > > > > > installed in %ANT_HOME%\lib So place the 
> > > > > > > > > > > > > > antcontrib and cpptasks
> > > > > > > > > >
> > > > > > > > > > > > > > jars there.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you dont have write access to 
> > > > > > > > > > > > > > %ANT_HOME%\lib, do the
> > > > > > > > > > following:
> > > > > > > > > > > > > > - create ${user.home}\.ant\lib
> > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Avoid adding optional ant tasks to your 
> > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > problematic.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Pete Robbins 
> > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > Sent: Tuesday, July 17, 2007 1:24 AM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant 
> > > > > > > > > > > > > > build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks Brady. I'll take a look at this. We 
> > > > > > > > > > > > > > will need
> > > >
> > > > > > > > > > > > > > doc
> > > > > >
> > > > > > > > > > > > > > as to
> > > > > > > > >
> > > > > > > > > > > > > > what the dependencies are (cpptasks etc) and

> > > > > > > > > > > > > > any configuration
> > > > > > > > >
> > > > > > > > > > > > > > that is
> > > > > > > > > > > > needed.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 16/07/07, Brady Johnson 
> > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > For anyone interested, I uploaded another 
> > > > > > > > > > > > > > > patch for this
> > > > > > >
> > > > > > > > > > > > > > > JIRA that
> > > > > > > > > > > >
> > > > > > > > > > > > > > > makes it work better for windows.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >        tuscanySCAnative_ant_update1.tar.gz
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -------------------- Brady Johnson Lead 
> > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave 
> > > > > > > > > > > > > > > Software
> > > > > >
> > > > > > > > > > > > > > > -
> > > > > > >
> > > > > > > > > > > > > > > brady.johnson@roguewave.com 
> > > > > > > > > > > > > > > <ma...@roguewave.com>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Brady Johnson 
> > > > > > > > > > > > > > > [mailto:bjohnson@roguewave.com]
> > > > > > > > > > > > > > > Sent: Monday, July 16, 2007 10:46 AM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: [SCA Native] preliminary ant 
> > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > This may be the second time you receive 
> > > > > > > > > > > > > > > this
>
> > > > > > > > > > > > > > > email, the first time
> > > > > > > > > > > >
> > > > > > > > > > > > > > > I sent it with an attachment, which I 
> > > > > > > > > > > > > > > later realized that this
> > > > > > > > > >
> > > > > > > > > > > > > > > dist list
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > may reject. So here it is again, w/o the 
> > > > > > > > > > > > > > > attachment. I
> > > > > >
> > > > > > > > > > > > > > > created
> > > > > > > > > >
> > > > > > > > > > > > > > > a JIRA and put the attachment there:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > https://issues.apache.org/jira/browse/TUSC
> > > > > > > > > > > > > > > AN
> > > > > > > > > > > > > > > Y-1438
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > According to a previous thread titled 
> > > > > > > > > > > > > > > "[SCA Native] next
> > > > > > >
> > > > > > > > > > > > > > > release content
> > > > > > > > > > > > > > > [was: Tuscany roadmap]" (I didnt want to 
> > > > > > > > > > > > > > > add
>
> > > > > > > > > > > > > > > another
> > > > > > > "was"
> > > > > > > > > > > > > > > redirection
> > > > > > > > > > > > > > > ;) ), I have prepared ant build scripts 
> > > > > > > > > > > > > > > for
> > > > > > > > > > cpp/sca/runtime/core.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > The tar.gz file attached to the jira 
> > > > > > > > > > > > > > > should just
> > > > > > > "overlay"
> > > > > > > > > > > > > > > onto the tuscany SCA cpp source code 
> > > > > > > > > > > > > > > directory
> > > > > > > structure.
> > > > > > > > > > > > > > > It
> > > > > > > > >
> > > > > > > > > > > > > > > consists of the following files:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > <tuscanySca Native Src dir>/
> > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > >      |---- build.xml
> > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > >      |---- antscripts/
> > > > > > > > > > > > > > >      |         |
> > > > > > > > > > > > > > >      |         |---- compilers.xml
> > > > > > > > > > > > > > >      |         |---- compile-targets.xml
> > > > > > > > > > > > > > >      |         |---- platform.properties
> > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > >      |---- runtime/core/src/build.xml
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > In order to use it, you will need to 
> > > > > > > > > > > > > > > modify the platform.properties file. This 
> > > > > > > > > > > > > > > will later be taken
> > > >
> > > > > > > > > > > > > > > care of
> > > > > > > >
> > > > > > > > > > > > > > > by either configure, or maybe just an 
> > > > > > > > > > > > > > > install
> > > > script.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Currently it compiles and links 
> > > > > > > > > > > > > > > runtime/core/src/tuscany/sca
> > > > > > > > >
> > > > > > > > > > > > > > > {core, extension, model, util} and creates
> > > > > > > > > libtuscany_sca.so.
> > > > > > > > > > > > > > > The install target installs the lib and 
> > > > > > > > > > > > > > > the headers from
> > > > > > >
> > > > > > > > > > > > > > > those
> > > > > > > > > >
> > > > > > > > > > > > > > > src directories to the install directory 
> > > > > > > > > > > > > > > specified
> > > >
> > > > > > > > > > > > > > > in
> > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Give it a spin and let me know what you 
> > > > > > > > > > > > > > > think. It shouldnt
> > > > > > > >
> > > > > > > > > > > > > > > take much to finish it for the rest of 
> > > > > > > > > > > > > > > tuscany
> > > > cpp.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If it works out, we can then discuss how 
> > > > > > > > > > > > > > > to configure platform.properties.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -------------------- Brady Johnson Lead 
> > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave 
> > > > > > > > > > > > > > > Software
> > > > > >
> > > > > > > > > > > > > > > -
> > > > > > >
> > > > > > > > > > > > > > > brady.johnson@roguewave.com 
> > > > > > > > > > > > > > > <ma...@roguewave.com>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > ------------------------------------------
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --------------------------------------------
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --------------------------------------------
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Pete
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Pete
> > > > > > > > > > > >
> > > > > > > > > > > > ------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > --
> > > > > > > > > > > > --
> > > > > > > > > > > > --
> > > > > > > > > > > > --
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > --
> > > > > > > > > > > > --
> > > > > > > > > > > > --
> > > > > > > > > > > > --
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Pete
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Pete
> > > > > > > > > >
> > > > > > > > > > ----------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > ----
> > > > > > > > > > --
> > > > > > > > > > --
> > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ----------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > ----
> > > > > > > > > > --
> > > > > > > > > > --
> > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Pete
> > > > > > > > >
> > > > > > > > > ------------------------------------------------------
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > ----
> > > > > > > > > --
> > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ------------------------------------------------------
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > ----
> > > > > > > > > --
> > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Pete
> > > > > > > >
> > > > > > > > --------------------------------------------------------
> > > > > > > > --
> > > > > > > > ------
> > > > > > > > ----
> > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail:
> > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > > > --------------------------------------------------------
> > > > > > > > --
> > > > > > > > ------
> > > > > > > > ----
> > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail:
> > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Pete
> > > > > > >
> > > > > > > ----------------------------------------------------------
> > > > > > > --
> > > > > > > ------
> > > > > > > --- To unsubscribe, e-mail:
> > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > For additional commands, e-mail:
> > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > >
> > > > > > >
> > > > > > > ----------------------------------------------------------
> > > > > > > --
> > > > > > > ------
> > > > > > > --- To unsubscribe, e-mail:
> > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > For additional commands, e-mail:
> > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Pete
> > > > > >
> > > > > > ------------------------------------------------------------
> > > > > > --
> > > > > > ------
> > > > > > - To unsubscribe, e-mail:
> > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > For additional commands, e-mail:
> > > > > > tuscany-dev-help@ws.apache.org
> > > > > >
> > > > > >
> > > > > > ------------------------------------------------------------
> > > > > > --
> > > > > > ------
> > > > > > - To unsubscribe, e-mail:
> > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > For additional commands, e-mail:
> > > > > > tuscany-dev-help@ws.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Pete
> > > > >
> > > >
> > > >
> > > > --
> > > > Pete
> > > >
> > > > ----------------------------------------------------------------
> > > > --
> > > > --- To unsubscribe, e-mail: 
> > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > >
> > > >
> > > > ----------------------------------------------------------------
> > > > --
> > > > --- To unsubscribe, e-mail: 
> > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > >
> > > >
> > > > ----------------------------------------------------------------
> > > > --
> > > > --- To unsubscribe, e-mail: 
> > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > Pete
> > >
> >
> >
> > --
> > Pete
> >
>
>
> --
> Pete
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


RE: [DAS Native] ant build

Posted by Brady Johnson <bj...@roguewave.com>.
Adriano,

I fixed the problems compiling debug on msvc8. I looked at the
antcontrib/cpptasks msvc compiler adaptor and decided that it would be
very easy to just make our own. Take a look here if you're interested:
	
cpptasks-1.0b4\src\net\sf\antcontrib\cpptasks\devstudio\DevStudioCompati
bleCCompiler.java

Until we get a fix from antcontrib/cpptasks, I figured this would be the
quickest way to advance. When the bugs are fixed, we can just go back to
how it was before.

So the source code for the msvc adaptor is located here:
	TUSCANY_SCA_NATIVE_SRC_ROOT/tools/ant_cpptasks

You don't actually need the source for SDO/DAS, just the jar file:
TuscanyMSVC8DevStudioCCompiler.jar
Which I already added to SCA/antscripts and SDO/antscripts, then just
add it to your CLASSPATH

You'll also need to copy the compilers and linkers definitions from
either the SDO/SCA antscripts/system.xml file.

I also added README_ANT_INSTALL to both SDO/SCA. When we finally move to
M4, I'll incorporate that information in the GettingStarted.html

Hope this helps!

Regards,

--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - brady.johnson@roguewave.com


-----Original Message-----
From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
Behalf Of Adriano Crestani
Sent: Monday, September 17, 2007 12:36 AM
To: tuscany-dev@ws.apache.org
Subject: Re: [DAS Native] ant build

Hi Brady,

Actually, I'm working on msvc8. I will keep using this compiler and
ignore
the ant build for a while till the cpptasks bug is solved.

I tried what you suggested, but had no success : (. The /Gd argument is
still being added on the beginning of argument list and /Gz also being
generated after /Gd argument.

The difference btw msv and ant builds are not only affecting the DAS,
but
also the SDO. During this week, I was using the DataGraphPtr class from
SDO
and got a corrupted heap while its object was being deleted, but using
the
SDO binaries from msv build it runs fine.

I think we could wait for the cpptasks fix and keep using the old builds
for
while ; ). Have you already reported the bug? Can you give me the url to
keep the track on the bug solution?

Thanks,
Adriano Crestani



On 9/14/07, Brady Johnson <bj...@roguewave.com> wrote:
>
>
> Adriano,
>
> I get the following when trying to compile SCA on windows in debug
with
> ant:
>
>         C:\tuscany_cpp\subversion_head\sca\runtime\core>ant
-Ddebug=true
> compile.core
>         Buildfile: build.xml
>
>         compile.core:
>                [cc] 5 total files to be compiled.
>                [cc] cl : Command line warning D9035 : option 'GZ' has
> been deprecated and will be removed in a future release
>                [cc] cl : Command line warning D9036 : use 'RTC1'
instead
> of 'GZ'
>                [cc] Exceptions.cpp
>                [cc] ServiceWrapper.cpp
>                [cc] ServiceProxy.cpp
>                [cc] SCARuntime.cpp
>                [cc] Operation.cpp
>                [cc] Generating Code...
>
>         BUILD SUCCESSFUL
>         Total time: 12 seconds
>
> And here's the command line from the history.xml file:
>
>         cl/EHsc /c /nologo /Zi /Od /GZ /D_DEBUG /MDd /GR /DSCA_EXPORTS
> /DWIN32 /D_CRT_SECURE_NO_DEPRECATE /D_USRDLL /D_WINDOWS
> /I..\sdo\deploy\include /Iruntime /Iruntime\core\src
>
> I got the same results as you trying to set the location argument of
the
> /Gd option. Seems like a bug in the cc task :( I also tried specifying
> /RTC1, but no luck.
>
> Another bug is the fact that it specifies /GZ for both msvc 7 and 8,
it
> should be possible to change that somehow. I'll file a bug with cc
task.
> Until there's a fix, can you try using debug on either msvc7 or on
> Linux.
>
> Another option would be to refactor the way we specify debug mode.
> Currently we just pass the debug flag to the debug argument of the cc
> task. We could remove that and put compilerarg arguments on the
> msvc8/g++ compiler to include the necessary debug statements. So they
> would look something like this:
>
>   <compiler id="msvc8-Compiler" extends="Tuscany-BaseCompiler"
> name="msvc" exceptions="false">
>     <compilerarg value="/EHsc"/>
>     <compilerarg value="/Zi" if="debug"/>
>     <compilerarg value="/Od" if="debug"/>
>     <compilerarg value="/Gd" if="debug"/>
>     <compilerarg value="/D_DEBUG" if="debug"/>
>     <compilerarg value="/MDd" if="debug"/>
>     <compilerarg value="/MD" unless="debug"/>
>     <compilerarg value="/GR" if="debug"/>
>   </compiler>
>
> We'd have to modify the Base Compiler and do something similar for
g++.
>
> What do you think?
>
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com
>
>
> -----Original Message-----
> From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> Behalf Of Adriano Crestani
> Sent: Thursday, September 13, 2007 7:57 PM
> To: tuscany-dev@ws.apache.org
> Subject: Re: [DAS Native] ant build
>
> Hi Brady,
>
> I added this new macro on DAS antscripts/compile-targets.xml, but the
> runtime error on das_test keeps. Have you successfully managed how to
> add
> the /Gd option on ant build compiler arguments as I told on my last
> message
> on this thread?
>
> Regards,
> Adriano Crestani
>
> On 9/12/07, Brady Johnson <bj...@roguewave.com> wrote:
> >
> >
> > Adriano,
> >
> > I found a problem with the ant build on Windows. The problem has to
do
> > with embedding the manifest files in the dll's and executables. I
had
> > this integrated in the ant build system at one time, but it didn't
get
> > included in a patch for some reason.
> >
> > I submit the change to the SDO and SCA code base. I'm a bit wary of
> > submitting to DAS, so I'll let you do that. It's a very simple fix
in
> > one file: antscripts/compile-targets.xml. Just add the
> > <cpp-embed-manifest/> macro and make sure you call it from the other
> > build macros and it should work.
> >
> >
> > --------------------
> > Brady Johnson
> > Lead Software Developer - HydraSCA
> > Rogue Wave Software - brady.johnson@roguewave.com
> >
> >
> > -----Original Message-----
> > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com]
On
> > Behalf Of Adriano Crestani
> > Sent: Friday, September 07, 2007 11:28 PM
> > To: tuscany-dev@ws.apache.org
> > Subject: Re: [DAS Native] ant build
> >
> > Hi Brady,
> >
> > I added the /D_VC80_UPGRADE=0x0600( the /Od argument was already
being
> > generated ) argument with no successful : (. So I did the reverse, I
> > added
> > the /Gz argument on the DAS MVS project, that was working, and than
it
> > got
> > the same error as DAS ant build. So now I'm sure the error has
> something
> > to
> > do with the /Gz argument, then I tried to add the /Gd argument on
ant
> > build
> > to overwrite the /Gz argument and had no luck(explanation below).
> >
> > I finally managed to use the compilerarg option on cc element and
> tried
> > to
> > add the /Gd argument to the compiler arguments adding this element
on
> cc
> > element:
> >
> > <compilerarg value="/Gd"/>
> >
> > And it's added to the beginning of arguments list:
> > cl /Gd /D_VC80_UPGRADE=0x0600 /EHsc /c /nologo /Zi /Od /GZ /D_DEBUG
> /MDd
> > /GR
> > /DWIN32 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS
> /I${
> > tuscany.das.home.dir}\include
> > /I..\libiconv-1.9.2-1-lib\include/I..\SDO\deploy\include
/I..\libxml2-
> > 2.6.13.win32\include /Iruntime\core\include /Iruntime\core\src
> > *
> > *But this way the /GZ argument overwrites /GD argument, because it's
> > declared after the /GD argument. So I tried to set the location
> > attribute on
> > compilerarg element to define where the /GD argument should be
> > generated:
> >
> > <compilerarg value="/Gd" location="mid"/>
> >
> > The /Gd argument should be generated after the arguments declaration
> and
> > before the include files on the compiler command line, however it
> wasn't
> > being generated whenever I declared the location attribute :S. Can
you
> > try
> > it on your computer and see if you get the same? Thanks ; )
> >
> > Adriano Crestani
> >
> > On 9/7/07, Adriano Crestani <ad...@apache.org> wrote:
> > >
> > > Hi Brady,
> > >
> > > I didn't add an ant build for das_test yet, I'm still building it
> with
> > > MVS. Just don't forget to remove the das_test project dependency
> from
> > > das_runtime project when building it with MVS.
> > >
> > > I will modify these options you suggested probably tomorrow, it's
> > holyday
> > > this friday on Brazil ;P. But I still don't see how I can add
these
> > > options in the ant build files : (
> > >
> > > Regards,
> > > Adriano Crestani
> > >
> > > On 9/7/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > > >
> > > >
> > > > Adriano,
> > > >
> > > > I'm looking into this. I don't see how to build the das_test
with
> > ant.
> > > > Have you submit the build.xml for das_test yet?
> > > >
> > > > At first glance, I see a few things to try changing:
> > > >         /Od - lets try adding this, it disables optimization
> > > >         /D_VC80_UPGRADE=0x0600 - not sure what this does, but
lets
> > try
> > > > adding it...
> > > >
> > > >
> > > > Brady
> > > >
> > > > -----Original Message-----
> > > > From: adrianocrestani@gmail.com
[mailto:adrianocrestani@gmail.com
> ]
> > On
> > > > Behalf Of Adriano Crestani
> > > > Sent: Friday, September 07, 2007 9:33 AM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: Re: [DAS Native] ant build
> > > >
> > > > Hi Brady,
> > > >
> > > > Yeah, I was comparing these two command lines. Thanks for your
> help
> > with
> > > > DAS
> > > > ; ).
> > > >
> > > > Adriano Crestani
> > > >
> > > > On 9/7/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > >
> > > > >
> > > > > Adriano,
> > > > >
> > > > > I agree completely that the ant build should produce the same
> > result
> > > > as
> > > > > the MVS build. This should be quite easy, considering that
they
> > both
> > > > > call the same compiler executable. I'll try to download DAS
> today
> > and
> > > > > work on it, it should just be a case of a few command line
> > switches.
> > > > The
> > > > > way to do it is to look at the command line that MVS produces
> (can
> > be
> > > > > seen by loading the project and displaying properties) and
> > comparing
> > > > it
> > > > > to the ant command line in the history.xml file. As For the
/Gz
> > option
> > > > > (an msvc 7.1 option), that was replaced by /Ehsc in msvc 8.0.
> > > > >
> > > > > --------------------
> > > > > Brady Johnson
> > > > > Lead Software Developer - HydraSCA
> > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: adrianocrestani@gmail.com
> [mailto:adrianocrestani@gmail.com]
> > On
> > > > > Behalf Of Adriano Crestani
> > > > > Sent: Wednesday, September 05, 2007 8:17 PM
> > > > > To: tuscany-dev@ws.apache.org
> > > > > Subject: Re: [DAS Native] ant build
> > > > >
> > > > > Hi Brady,
> > > > >
> > > > > I compiled both DAS and SDO with "ant -Ddebug=true", than I
> > compiled
> > > > the
> > > > > das_test project also on debug mode. But I get an error during
> the
> > > > > das_test
> > > > > execution?
> > > > >
> > > > > Run-Time Check Failure #2 - Stack around the variable
'sqlType'
> > was
> > > > > corrupted.
> > > > >
> > > > > This doesn't happen when I compile the das_test with my old
> build
> > > > (MVS).
> > > > > Than I looked on my MVS compiler arguments and on those
> arguments
> > > > > generated
> > > > > by the ant for something different that might be causing this
> > problem.
> > > > > So, I
> > > > > realized that the ant build, on SDO and DAS, is compiling with
> the
> > > > > argument
> > > > > /Gz, but, both, SDO and DAS MVS projects are configured with
the
> > > > > argument
> > > > > /Gd. In addition, my compiler is outputting a warning about
the
> > /Gz
> > > > > argument:
> > > > >
> > > > >        [cc] cl : Command line warning D9035 : option 'GZ' has
> been
> > > > > deprecated and will be removed in a future release
> > > > >        [cc] cl : Command line warning D9036 : use 'RTC1'
instead
> > of
> > > > 'GZ'
> > > > >
> > > > > I tried to modify the ant files adding the attribute
> > compilerarg='/GD'
> > > >
> > > > > to
> > > > > the cc tag, but it says my compiler does not support this
> > attribute :
> > > > (.
> > > > > After all, I dont know if it has something to do with the
> runtime
> > > > error
> > > > > I'm
> > > > > getting with das_tests, but I think the ant, bat or MSV
project
> > build
> > > > > should
> > > > > all result the same binaries, and it seems not to be happening
> > once
> > > > > there
> > > > > are different compiler arguments.
> > > > >
> > > > > Can you help me with that Brady? Thanks
> > > > >
> > > > > Regards,
> > > > > Adriano Crestani
> > > > >
> > > > > On 9/5/07, Adriano Crestani <ad...@apache.org>
wrote:
> > > > > >
> > > > > > Thanks a log Brady, it worked ; )
> > > > > >
> > > > > > Adriano Crestani
> > > > > >
> > > > > > On 9/5/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > > > >
> > > > > > >
> > > > > > > Adriano,
> > > > > > >
> > > > > > > There is for SCA and SDO. Either "ant -Ddebug=true" or set
> > > > > > > "platform.debug.compile=true" in platform.properties. Both
> of
> > > > those
> > > > > get
> > > > > > > passed to the cc task, which should take care of setting
the
> > > > correct
> > > > > > > command line args.
> > > > > > >
> > > > > > > Brady
> > > > > > >
> > > > > > > P.S. The arg can be true, yes, or on.
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: adrianocrestani@gmail.com [mailto:
> > > > adrianocrestani@gmail.com]
> > > > > On
> > > > > > > Behalf Of Adriano Crestani
> > > > > > > Sent: Wednesday, September 05, 2007 11:23 AM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: Re: [DAS Native] ant build
> > > > > > >
> > > > > > > Hi Brady,
> > > > > > >
> > > > > > > Thanks for the suggestion, I looked there and the compiler
> > > > arguments
> > > > > > > contains the /MD (Multi-threaded DLL) argument that mean
> > non-debug
> > > >
> > > > > mode.
> > > > > > > I
> > > > > > > think there should be a way to build the library on debug
> > mode,
> > > > > > > something
> > > > > > > like "ant debug", what do you thinnk?
> > > > > > >
> > > > > > > Regards,
> > > > > > > Adriano Crestani
> > > > > > >
> > > > > > > On 9/4/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > > Adriano,
> > > > > > > >
> > > > > > > > I'll try to look into this tomorrow. In the meantime,
> there
> > is a
> > > > > file
> > > > > > > > generated in the destination directory (where the object
> > files
> > > > > and/or
> > > > > > > > library is written) by ant called history.xml. If you
look
> > at
> > > > the
> > > > > > > > signature attribute of the <processor/> element you can
> see
> > the
> > > > > > > compiler
> > > > > > > > command line generated by ant. Hopefully this will help
> out.
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > > Brady Johnson
> > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: adrianocrestani@gmail.com [mailto:
> > > > > adrianocrestani@gmail.com] On
> > > > > > > > Behalf Of Adriano Crestani
> > > > > > > > Sent: Sunday, September 02, 2007 1:36 PM
> > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > Subject: Re: [DAS Native] ant build
> > > > > > > >
> > > > > > > > Back from vacation, back to work : )
> > > > > > > >
> > > > > > > > Brady, I thought the error had something to do with the
pc
> I
> > was
> > > > > using
> > > > > > >
> > > > > > > > while
> > > > > > > > my laptop was getting repaired, but I got it repaired
and
> > the
> > > > > error
> > > > > > > was
> > > > > > > > still occurring on my laptop. The error seems rationed
to
> > the
> > > > sdo
> > > > > ant
> > > > > > > > build,
> > > > > > > > cause I ignored the DAS ant build and built it like I
was
> > > > building
> > > > > > > > before,
> > > > > > > > with the MVS, but got the same error :S. Than I rebuilt
> the
> > SDO,
> > > > > but
> > > > > > > not
> > > > > > > > using the new sdo build, but the old one, the build.bat,
> and
> > > > guess
> > > > > > > what,
> > > > > > > > there was no more error : ).
> > > > > > > >
> > > > > > > > It is not exactly an error, when I build the SDO using
the
> > ant
> > > > > build,
> > > > > > > my
> > > > > > > > DAS
> > > > > > > > requires the dll MSVCP80.dll and with the old SDO build
it
> > does
> > > > > not.
> > > > > > > > There
> > > > > > > > may be some option that is being set on SDO ant build
that
> > is
> > > > not
> > > > > on
> > > > > > > SDO
> > > > > > > > old
> > > > > > > > build. I'm not a C++ expert, but I think it has
something
> to
> > do
> > > > > with
> > > > > > > the
> > > > > > > > option Multi-threaded Debug DLL (/MDd) or Multi-threaded
> > Debug
> > > > > (/MTd)
> > > > > > > on
> > > > > > > > compiler arguments.
> > > > > > > >
> > > > > > > > Another point, the sdo_test is also requiring this dll
> when
> > > > built
> > > > > > > using
> > > > > > > > the
> > > > > > > > SDO ant build (I built the SDO using ant build and
> compiled
> > the
> > > > > > > sdo_test
> > > > > > > > on
> > > > > > > > MVS, but I removed the sdo_test dependency from
> sdo_runtime,
> > > > > otherwise
> > > > > > >
> > > > > > > > it
> > > > > > > > would get compiled overwriting the SDO ant build
binaries
> on
> > > > > deploy
> > > > > > > > folder).
> > > > > > > >
> > > > > > > > Doing another tests right now to check whether it is a
> > > > > Multi-threaded
> > > > > > > > Debug
> > > > > > > > DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Adriano Crestani
> > > > > > > >
> > > > > > > > On 8/16/07, Adriano Crestani <adrianocrestani@apache.org
>
> > > > wrote:
> > > > > > > > >
> > > > > > > > > Hi Brady,
> > > > > > > > >
> > > > > > > > > Yes, I was plaining to do that after this weekend. I
had
> > no
> > > > > chance
> > > > > > > to
> > > > > > > > do
> > > > > > > > > that so far, cause I was really busy with college's
> stuffs
> > :(
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Adriano Crestani
> > > > > > > > >
> > > > > > > > > On 8/16/07, Brady Johnson < bjohnson@roguewave.com >
> > wrote:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Adriano,
> > > > > > > > > >
> > > > > > > > > > You might have seen that both SCA and SDO native now
> > have an
> > > >
> > > > > ant
> > > > > > > > build
> > > > > > > > > > infrastructure. I briefly looked at doing the same
for
> > DAS,
> > > > > but
> > > > > > > > couldn't
> > > > > > > > > > get it to compile with "configure, make, make
install"
> > at
> > > > the
> > > > > > > time,
> > > > > > > > and
> > > > > > > > > > never got a chance to come back to it.
> > > > > > > > > >
> > > > > > > > > > I think it should be very easy to copy the SDO ant
> stuff
> > > > over
> > > > > to
> > > > > > > > DAS,
> > > > > > > > > > what do you think?
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: adrianocrestani@gmail.com
> > > > > [mailto: adrianocrestani@gmail.com]
> > > > > > > > On
> > > > > > > > > > Behalf Of Adriano Crestani
> > > > > > > > > > Sent: Monday, July 23, 2007 11:21 PM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > Great idea, soon I will try to apply this idea to
> Native
> > DAS
> > > > > and
> > > > > > > see
> > > > > > > > how
> > > > > > > > > > it works. I think the idea could also be easily
> applied
> > to
> > > > > Native
> > > > > > > > SDO,
> > > > > > > > > > as it does not have too much dependencies and code
> > > > generation
> > > > > as
> > > > > > > > Native
> > > > > > > > > > SCA does.
> > > > > > > > > >
> > > > > > > > > > A folder ant-core could be created under
tuscany/cpp/
> > folder
> > > > > to
> > > > > > > > place
> > > > > > > > > > the ant scripts shared by the projects.
> > > > > > > > > >
> > > > > > > > > > Also, we could add a build.xml under tuscany/ccp/
that
> > > > builds
> > > > > all
> > > > > > > 3
> > > > > > > > > > subprojects at once, if the 3 to implement this ant
> > build
> > > > > process.
> > > > > > > > What
> > > > > > > > > > do you think?
> > > > > > > > > >
> > > > > > > > > > Regards,
> > > > > > > > > > Adriano Crestani
> > > > > > > > > >
> > > > > > > > > > On 7/23/07, Brady Johnson <bjohnson@roguewave.com >
> > wrote:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Correction, it should be like this:
> > > > > > > > > > >
> > > > > > > > > > >   <target name="compile.core">
> > > > > > > > > > >     <cpp-compile
> > > > > > > > > > >         srcdir="${ core.abs.dir}"
> > > > > > > > > > >         objdir="${lib.dir}"
> > > > > > > > > > >         infiles="${ core.cpp.files}">
> > > > > > > > > > >       <custom-cc-elements>
> > > > > > > > > > >         <defineset if="windows"
> define="SCA_EXPORTS"/>
> > > > > > > > > > >       </custom-cc-elements>
> > > > > > > > > > >     </cpp-compile>
> > > > > > > > > > >   </target>
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com
]
> > > > > > > > > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Pete,
> > > > > > > > > > >
> > > > > > > > > > > Good catch. That's an easy fix. I'll submit it
with
> > the
> > > > next
> > > > > > > patch
> > > > > > > > > > > tomorrow. Basically it involves removing
SCA_EXPORTS
> > from
> > > > > the
> > > > > > > > > > > Tuscany-BaseCompiler and adding it to the
> > runtime/core/src
> > > >
> > > > > > > > targets:
> > > > > > > > > > >         compile.core
> > > > > > > > > > >         compile.extension
> > > > > > > > > > >         compile.model
> > > > > > > > > > >         compile.util
> > > > > > > > > > >
> > > > > > > > > > > Like this:
> > > > > > > > > > >   <target name="compile.core">
> > > > > > > > > > >     <cpp-compile
> > > > > > > > > > >         srcdir="${core.abs.dir}"
> > > > > > > > > > >         objdir="${lib.dir}"
> > > > > > > > > > >         infiles="${core.cpp.files }"/>
> > > > > > > > > > >       <custom-cc-element>
> > > > > > > > > > >         <defineset if="windows"
> define="SCA_EXPORTS"/>
> > > > > > > > > > >       </custom-cc-element>
> > > > > > > > > > >   </target>
> > > > > > > > > > >
> > > > > > > > > > > Tomorrow I'll have the python, ruby, rest, and
maybe
> > php
> > > > > > > > extensions
> > > > > > > > > > > complete.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Pete Robbins [mailto:
robbinspg@googlemail.com
> ]
> > > > > > > > > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > > I think there is a problem in the extension
> > compilations.
> > > > > The
> > > > > > > > > > > SCA_EXPORTS directive should only be set when
> > compiling
> > > > the
> > > > > > > > > > > runtime/core. When compiling for dlls on windows
> which
> > use
> > > > > the
> > > > > > > > core
> > > > > > > > > > > dll SCA_EXPORTS must not be set. I guess this
means
> we
> > > > have
> > > > > to
> > > > > > > > move
> > > > > > > > > > > the setting of this directive from the definition
of
> > the
> > > > > > > > > > > Tuscany-BaseCompiler
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > > On 23/07/07, Pete Robbins <
robbinspg@googlemail.com
> >
> > > > wrote:
> > > > > > > > > > > > I've applied the patch. How are you creating the
> > > > patches?
> > > > > I
> > > > > > > had
> > > > > > > > > > > > trouble applying it on Windows using
ToirtoiseSVN.
> > > > > > > > > > > >
> > > > > > > > > > > > I've included the changes in the patch to the
> > > > > > > > tools/TuscanyDriver
> > > > > > > > > > > > build. I haven't tested this and I'm not sure if
> it
> > > > works
> > > > > with
> > > > > > >
> > > > > > > > the
> > > > > > > > > > > > system.xml etc.
> > > > > > > > > > > >
> > > > > > > > > > > > Can you do a clean extract as a base for future
> > patches?
> > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > > On 23/07/07, Pete Robbins <
> robbinspg@googlemail.com
> > >
> > > > > wrote:
> > > > > > > > > > > > > I'll give this a go. I should be able to run
it
> on
> > Mac
> > > > > as
> > > > > > > > well.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 23/07/07, Brady Johnson <
> > bjohnson@roguewave.com>
> > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I updated the jira1438 with update 3, which
> > includes
> > > > > the
> > > > > > > > > > > following:
> > > > > > > > > > > > > >
> > > > > https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - added build.xml for the following dirs:
> > > > > > > > > > > > > >    runtime/extensions/build.xml
> > > > > > > > > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > > > > > > > > >    runtime/extensions/sca/build.xml
> > > > > > > > > > > > > >    runtime/extensions/ws/build.xml
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - changed system.xml to check for necessary
> > axis,
> > > > php,
> > > > > > > > python,
> > > > > > > > > > > > > > rest, and ruby env vars. If they're not  set
> in
> > the
> > > > > env,
> > > > > > > > look
> > > > > > > > > > > > > > for them in platform.properties
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - changed compile-targets.xml targets
> > > > > > > > > > > > > >    <cpp-install-headers/> to
> > <cpp-install-files/>
> > > > > > > > > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - added compile-targets.xml target:
> > <cpp-symlink/>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - added library versioning and the
> > > > > > > > > > > > > > platform.tuscanySCA.library.version
> > > > > > > > > > > > > > platform.properties property
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Can someone submit this for me.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The only thing left now is the build.xml for
> > these
> > > > > > > > extensions:
> > > > > > > > > > > > > > php, python, rest, ruby
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > WRT testing on macs, I wont have a mac
> available
> > > > until
> > > > > > > next
> > > > > > > > > > week.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
Wave
> > > > Software
> > > > > -
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Brady Johnson
> > [mailto:bjohnson@roguewave.com ]
> > > > > > > > > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: RE: [SCA Native] preliminary ant
> build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I can look into testing it on Mac here. I
> > believe we
> > > >
> > > > > have
> > > > > > > > > > > > > > several mac machines for the purpose.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I'll get back to you soon.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
Wave
> > > > Software
> > > > > -
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Pete Robbins
> > [mailto:robbinspg@googlemail.com
> > > > ]
> > > > > > > > > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I've taken out the references to
> > > > tuscany_sca_config.h
> > > > > and
> > > > > > > > > > > > > > patched the automake for now with setting
> > > > -DIS_DARWIN
> > > > > on
> > > > > > > > mac.
> > > > > > > > > > > > > > Yet to test it on Mac as I need to kick the
> kids
> > off
> > > >
> > > > > my
> > > > > > > > machine!
> > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 19/07/07, Pete Robbins <
> > > > robbinspg@googlemail.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > > Automake generates a config file with lots
> of
> > > > > standard
> > > > > > > > stuff
> > > > > > > > > > > > > > > but
> > > > > > > > > > >
> > > > > > > > > > > > > > > the only  one we need is the IS_DARWIN,
> which
> > is
> > > > > used in
> > > > > > > > 2
> > > > > > > > > > > > > > > places. I'll remove the 2 references to
this
> > > > header
> > > > > and
> > > > > > > > change
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > automale to set the IS_DARWIN compile
flag.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > bjohnson@roguewave.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I did the following diff command and got
> > quite a
> > > >
> > > > > lot
> > > > > > > of
> > > > > > > > > > > > > > > > changes (listed
> > > > > > > > > > > > > > > > below):
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > # diff tuscany_sca_config.h.in
> > > > > tuscany_sca_config.h
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Are these not needed?
> > > > > > > > > > > > > > > >        If not, I can get to work on
> removing
> > all
> > > > > > > > references
> > > > > > > > > > > > > > > > to
> > > > > > > > > > >
> > > > > > > > > > > > > > > > the file.
> > > > > > > > > > > > > > > >        If so, then we still need to
figure
> > out
> > > > how
> > > > > to
> > > > > > > > create
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > file.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I just realized, its 23:30, there... Go
to
> > bed!
> > > > ;)
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> > Wave
> > > > > Software
> > > > > > > -
> > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 0a1
> > > > > > > > > > > > > > > > > /* tuscany_sca_config.h.  Generated by
> > > > > configure.
> > > > > > > */
> > > > > > > > > > > > > > > > 4c5
> > > > > > > > > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > > > > > > > > 8c9
> > > > > > > > > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > > > > > > > > 11c12
> > > > > > > > > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > > > > > > > > 14c15
> > > > > > > > > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > > > > > > > > 17c18
> > > > > > > > > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > > > > > > > > 20c21
> > > > > > > > > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > > > > > > > > 23c24
> > > > > > > > > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > > > > > > > > 26c27
> > > > > > > > > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > > > > > > > > 29c30
> > > > > > > > > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > > > > > > > > 33c34
> > > > > > > > > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG
*/
> > > > > > > > > > > > > > > > 36c37
> > > > > > > > > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > > > > > > > > 39c40
> > > > > > > > > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > > > > > > > > 42c43
> > > > > > > > > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > > > > > > > > 45c46
> > > > > > > > > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > > > > > > > > 48c49
> > > > > > > > > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > > > > > > > > 51c52
> > > > > > > > > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > > > > > > > > 55c56
> > > > > > > > > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > > > > > > > > 59c60
> > > > > > > > > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > > > > > > > > 62c63
> > > > > > > > > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > > > > > > > > 65c66
> > > > > > > > > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > > > > > > > > 68c69
> > > > > > > > > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > > > > > > > > 71c72
> > > > > > > > > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > > > > > > > > 74c75
> > > > > > > > > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > > > > > > > > 77c78
> > > > > > > > > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > > > > > > > > 80c81
> > > > > > > > > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > > > > > > > > 84c85
> > > > > > > > > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK
1
> > > > > > > > > > > > > > > > 87c88
> > > > > > > > > > > > > > > > < #undef PACKAGE
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > > > > > > > > 90c91
> > > > > > > > > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > > > > > > > > 93c94
> > > > > > > > > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define PACKAGE_NAME
> "tuscany_sca_native"
> > > > > > > > > > > > > > > > 96c97
> > > > > > > > > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define PACKAGE_STRING
> "tuscany_sca_native
> > > > > > > > > > 1.0-incubator-M3 "
> > > > > > > > > > > > > > > > 99c100
> > > > > > > > > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define PACKAGE_TARNAME
> > "tuscany_sca_native"
> > > > > > > > > > > > > > > > 102c103
> > > > > > > > > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define PACKAGE_VERSION
> "1.0-incubator-M3"
> > > > > > > > > > > > > > > > 105c106
> > > > > > > > > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > > > > > > > > 108c109
> > > > > > > > > > > > > > > > < #undef VERSION
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > > > > > > > > 111c112
> > > > > > > > > > > > > > > > < #undef const
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef const */
> > > > > > > > > > > > > > > > 116c117
> > > > > > > > > > > > > > > > < #undef inline
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef inline */
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > > > robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
ant
> > build
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > yeah I figured that... I did exactly the
> > same
> > > > when
> > > > > > > > > > > > > > > > committing changes earlier! I dodn't
> commit
> > the
> > > > > > > changes
> > > > > > > > > > > > > > > > inthe tools
> > > > > > > > > > > folder.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > > bjohnson@roguewave.com >
> > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Ok, I wasn't aware that I had changed
> the
> > > > tools.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I simply did a "svn diff . >
patch_file"
> > from
> > > > > the
> > > > > > > > tuscany
> > > > > > > > > > > > > > > > > root
> > > > > > > > > > > > > > dir.
> > > > > > > > > > > > > > > > > You can disregard the tools changes.
> I'll
> > look
> > > >
> > > > > into
> > > > > > > > it.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA
Rogue
> > Wave
> > > > > > > Software
> > > > > > > > -
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> ant
> > > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cool! I've applied this change as
well.
> > The
> > > > > update2
> > > > > > > > patch
> > > > > > > > > > > > > > > > > contained changes to the
> > > > > > > > tools/TuscanyDriver/build.xml.
> > > > > > > > > > > > > > > > > This
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > doesn't work so you
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > may want to look at it.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > > bjohnson@roguewave.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If that's all we need the
> > > > tuscany_sca_config.h
> > > > > > > file
> > > > > > > > for
> > > > > > > > > > > > > > > > > > then, yes this
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > just got a whole lot easier. We can
do
> > the
> > > > > > > following
> > > > > > > > on
> > > > > > > > > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >  <condition property="mac"
> value="true">
> > > > > > > > > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > > > > > > > > >  </condition>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > > > > > > > > multithreaded="true"
> > > > > > > > > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > > > > > > > > >
> > > > > > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > > > > > > > > >    <defineset if="mac"
> > define="IS_DARWIN"/>
> > > > > > > > > > > > > > > > > >    <includepath
> > path="${sdo.include.dir}"/>
> > > > > > > > > > > > > > > > > >    <includepath path="${
> > tuscanySCA.root.dir
> > > > > }"/>
> > > > > > > > <!--
> > > > > > > > > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > > > > > > > > >    <includepath
> > > > > > > path="${tuscanySCA.root.src.dir }"/>
> > > > > > > > > > > > > > > > > >    <includepath
> > > > > > > > > > > > > > > > > > path="${ tuscanySCA.root.src.dir
> > > > }/core/src"/>
> > > > > > > > > > > > > > > > > >  </compiler>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA
> Rogue
> > > > Wave
> > > > > > > > Software -
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41
PM
> > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
preliminary
> > ant
> > > > > build
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > <bj...@roguewave.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I uploaded a patch on top of what
> you
> > > > submit
> > > > > to
> > > > > > > > svn.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Here is a description of what I
> > changed:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > - Changed the name of
compilers.xml
> to
> > > > > > > system.xml.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > - This update has better support
for
> a
> > > > > > > > > > > > > > > > > > > platform.properties file that
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > is completely empty.
> > > > > > > > > > > > > > > > > > >  That is, all of the platform
> > dependent
> > > > > items
> > > > > > > are
> > > > > > > > > > > > > > > > > > > figured out by
> > > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > If they are set in
> > > > > > > > > > > > > > > > > > >  the platform.properties file then
> > they
> > > > > override
> > > > > > > > the
> > > > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > > > > > > > determination.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > - Better directory path management
> has
> > > > been
> > > > > > > added
> > > > > > > > to
> > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > root build.xml and
> > > > > runtime/core/src/build.xml
> > > > > > > > files.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > - The install and clean targets in
> > > > > > > > runtime/core/src
> > > > > > > > > > > > > > > > > > > have
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > been
> > > > > > > > > > > > > > > > > > completed.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > With respect to your latest post
> > regarding
> > > > > > > > > > > > > > "tuscany-sca-config.h ":
> > > > > > > > > > > > > > > > > > > I knew this was a problem on clean
> > systems
> > > >
> > > > > and
> > > > > > > had
> > > > > > > > > > > > > > > > > > > envisioned either
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > running a script or using a
slimmed
> > down
> > > > > > > > > > > > > > > > > > > automake/configure to
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > setup
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > this file and any platform
specific
> > > > > parameters.
> > > > > > > > That's
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > certainly something we'll have to
> > address,
> > > > > what
> > > > > > > do
> > > > > > > > you
> > > > > > > > > > > think?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > The only reason we use this automake
> > > > generated
> > > > > > > file
> > > > > > > > is
> > > > > > > > > > > > > > > > > > to set the IS_DARWIN compiler flag
for
> > > > running
> > > > > on
> > > > > > > > Mac OS
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > X. I
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > expect we
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > can use
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > different technique in ant to set
this
> > flag.
> > > > > Is
> > > > > > > > there a
> > > > > > > > > > > > > > "family=mac"
> > > > > > > > > > > > > > > > > > or somesuch in ant? The automake
> simply
> > runs
> > > > a
> > > > > > > > 'uname
> > > > > > > > > > -s'
> > > > > > > > > > > > > > > > > > command to
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > figure it out.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I think a goal for this shoul be
that
> I
> > can
> > > > do
> > > > > a
> > > > > > > > clean
> > > > > > > > > > > > > > > > > > extract from svn and type "ant" in
the
> > top
> > > > > level
> > > > > > > > > > > > > > > > > > directory
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > and it will build with
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > everything defaulted. We need
various
> > > > pre-reqs
> > > > > > > > defined
> > > > > > > > > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > > > > > > > > + other pre-reqs) but we should try
to
> > make
> > > > > this
> > > > > > > as
> > > > > > > > > > > > > > > > > > + simple
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > + as
> > > > > > > > > > > > > > > > > > possible.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA
> > Rogue
> > > > > Wave
> > > > > > > > Software
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > > > > > > robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007
9:22
> AM
> > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> preliminary
> > ant
> > > > > build
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > the install dir defaults to
> sca/deploy
> > so
> > > > I
> > > > > > > think
> > > > > > > > we
> > > > > > > > > > > > > > > > > > > don't need any properties other
than
> > > > > overrides.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I'll check in what I have. so youi
> can
> > > > see.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > > > > > bjohnson@roguewave.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > That's a good idea. Then the
only
> > thing
> > > > > that
> > > > > > > > really
> > > > > > > > > > > > > > > > > > > > need to be set
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in platform.properties file
would
> > be:
> > > > > > > > > > > > > > > > > > > >         tuscanySCA.install.dir
> > > > > > > > > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I'll put that together real
quick
> > and
> > > > > upload
> > > > > > > it.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -------------------- Brady
Johnson
> > Lead
> > > > > > > Software
> > > > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave
> > Software
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > [mailto: robbinspg@googlemail.com
> > > > > > > > > > ]
> > > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007
> 9:00
> > AM
> > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> > preliminary
> > > > ant
> > > > > > > build
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> > > > > > > > robbinspg@googlemail.com
> > > > > > > > > > >
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com >
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Thanks for trying out the
ant
> > build
> > > > > > > scripts.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Regarding core.dir, you're
> > right,
> > > > the
> > > > > name
> > > > > > > > will
> > > > > > > > > > > > > > > > > > > > > > need to
> > > > > > > > > > > > > > > > > change.
> > > > > > > > > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > As for the "
> > tuscanySCA.root.dir" :
> > > > > Your
> > > > > > > > > > > > > > > > > > > > > > suggestion
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > will work
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > if you only execute ant from
> the
> > > > root
> > > > > > > > directory,
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > but not
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > from the runtime/core/src
> > directory.
> > > > > > > That's
> > > > > > > > why
> > > > > > > > > > > > > > > > > > > > > > I put it
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > in the platform.properties,
> > which is
> > > > > > > > accessed by
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > build.xml's.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Its better ant coding style
to
> > have
> > > > > > > anything
> > > > > > > > > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > in a properties file, not in
> an
> > ant
> > > > > > > > build.xml
> > > > > > > > > > > file.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Yes... I realized that would
> limit
> > you
> > > > > to
> > > > > > > > running
> > > > > > > > > > > > > > > > > > > > > ant from
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > top
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > level. So, as most of the info
> in
> > > > > > > > > > > > > > > > > > > > > platform.properties can be
> deduced
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > would a better solution be to
> have
> > a
> > > > top
> > > > > > > level
> > > > > > > > (or
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > > > > > > > > dir) platform-properties.xml
> that
> > > > > > > > > > > > > > > > > > > > >  a) imports
platform.properties
> > for
> > > > any
> > > > > > > > overrides
> > > > > > > > > > > > > > > > > > > > >  b) sets the properties
> > conditional on
> > > >
> > > > > the
> > > > > > > > > > platform.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > > > > > > > > >      <condition property="
> > lib.ext"
> > > > > > > > value='.so' '>
> > > > > > > > > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > > > >      <condition property="
> > lib.ext"
> > > > > > > > value='.dll' '>
> > > > > > > > > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > > > >      <condition
> property="lib.ext"
> > > > > > > > value='.dylib
> > > > > > > > > > '>
> > > > > > > > > > > > > > > > > > > > >        <os
> family='MacOSX?????'/>
> > > > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > the build.xml files would all
> import
> > > > this
> > > > > top
> > > > > > > > level
> > > > > > > > > > > file:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > As for the
platform.properties
> > file
> > > > > for
> > > > > > > > windows:
> > > > > > > > > > > > > > > > > > > > > > The property platform
> can/should
> > be
> > > > > > > removed,
> > > > > > > > its
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > necessary.
> > > > > > > > > > > > > > > > > > > > > > If
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > the property
> > > > > > > "platform.compiler-definition"
> > > > > > > > is
> > > > > > > > > > > > > > > > > > > > > > set, then
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > that value will be used for
> the
> > > > > compiler
> > > > > > > > > > > > > > > > > > > > > > selection, else
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > it will get set to msvc for
> > windows
> > > > as
> > > > > can
> > > > > > > > be
> > > > > > > > > > > > > > > > > > > > > > seen
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I think the way this should
> ship
> > is
> > > > to
> > > > > > > have
> > > > > > > > > > > > > > > > > > > > > > several platform.properties
> > files
> > > > for
> > > > > the
> > > > > > > > > > > different platform:
> > > > > > > > > > > > > > > > > > > > > >
> platform.properties.linux
> > > > > > > > > > > > > > > > > > > > > >
> > platform.properties.windows
> > > > > > > > > > > > > > > > > > > > > >
platform.properties.mac
> > Which
> > > > > will
> > > > > > > > each
> > > > > > > > > > > > > > > > > > > > > > have values pre
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > configured for the
> corresponding
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > platform. Then with either
> > configure
> > > > > or a
> > > > > > > > shell
> > > > > > > > > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > file wil be copied to
> > > > > platform.properties
> > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > the directory properties
will
> be
> > set
> > > > > > > > > > accordingly.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> > Johnson
> > > > > Lead
> > > > > > > > Software
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue
> Wave
> > > > > Software -
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > > > > > [mailto:
> > robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18,
2007
> > 7:08
> > > > AM
> > > > > > > > > > > > > > > > > > > > > > To:
tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> > > > preliminary
> > > > > ant
> > > > > > > > build
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I ran into a couple of
issues
> > > > tryingt
> > > > > o
> > > > > > > run
> > > > > > > > this
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > > > build.
> > > > > > > > > > > > > > > > > > > > > > Firstly I got an error with
a
> > path
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > trcked this
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > down to the fact that the
> > property
> > > > > > > core.dir
> > > > > > > > is
> > > > > > > > > > > > > > > > > > > > > > set
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > in the top level build.xml
to
> > > > > > > > "runtime/core/src"
> > > > > > > > > > > > > > > > > > > > > > and in the
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > runtime/core/src/build.xml
the
> > same
> > > > > > > property
> > > > > > > > > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > "tuscany/sca/core". It looks
> to
> > me
> > > > > like
> > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > second
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > defintion
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > of core.dir is being
ignored.
> > I'm
> > > > not
> > > > > an
> > > > > > > ant
> > > > > > > > > > > expert ...
> > > > > > > > > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > > > > > > > > get propagated from higher level
> > build
> > > > > files?
> > > > > > > > > > > > > > > > > > > > > > I got around this by
changing
> > the
> > > > name
> > > > > of
> > > > > > > > > > > > > > > > > > > > > > core.dir
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > one
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Rather than specifying the
> paths
> > to
> > > > > the
> > > > > > > > source
> > > > > > > > > > > > > > > > > > > > > > code etc in the
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > platform.properties I would
> > prefer
> > > > to
> > > > > set
> > > > > > > > these
> > > > > > > > > > > > > > > > > > > > > > automatically so
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > in the top level build.xml I
> > added:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > <property
> > name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > and then based other
> properties
> > from
> > > >
> > > > > this.
> > > > > > > > It
> > > > > > > > > > > > > > > > > > > > > > seemed to
> > > > > > > > > > > > > > > > work!
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > > > > > > > > < robbinspg@googlemail.com>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > I'd like some info on what
I
> > need
> > > > to
> > > > > > > edit
> > > > > > > > in
> > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > One good thing about
> automake
> > is
> > > > > that it
> > > > > > > > > > > > > > > > > > > > > > > detects
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > your platform/compiler etc
> > > > > > > automatically.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > I put together some
> > > > documentation
> > > > > for
> > > > > > > > using
> > > > > > > > > > > > > > > > > > > > > > > > ant with
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > --------------------
Brady
> > > > Johnson
> > > > > > > Lead
> > > > > > > > > > > > > > > > > > > > > > > > Software Developer -
> > HydraSCA
> > > > > Rogue
> > > > > > > Wave
> > > > > > > > > > > > > > > > > > > > > > > > Software -
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Using ant to build
> > TuscanySCA
> > > > > Native
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > 1. Required Software to
> > build
> > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > > > > > Native with
> > > > > > > > > > > > > > > > ant:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > > > > > > > > >        Ant comes
installed
> > with
> > > > > almost
> > > > > > >
> > > > > > > > all
> > > > > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > > > > > > > > >        version 1.6 or
> later
> > > > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > http://ant.apache.org/
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > > > > > > > > >        version 1.0b3 or
> > later
> > > > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > > > > > > > > >        version 1.0b4 or
> > later
> > > > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > 2. Installation
> > Instructions:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is
set
> > > > before
> > > > > > > > starting.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > > > > > >
> > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Set the ANT_HOME
variable
> to
> > the
> > > > > > > > directory
> > > > > > > > > > > > > > > > > > > > > > > > where you
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > > > > > > export
> > ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to
your
> > path.
> > > > > > > > > > > > > > > > > > > > > > > > export
> > > > > PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Optional ant tasks, such
> as
> > > > > antcontrib
> > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > installed in
$ANT_HOME/lib
> > So
> > > > > place
> > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > antcontrib and cpptasks
> jars
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > If you dont have write
> > access to
> > > >
> > > > > > > > > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > > > > > - create
> > ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Avoid adding optional
ant
> > tasks
> > > > to
> > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > >
> > > ...
> > >
> > > [Message clipped]
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [DAS Native] ant build

Posted by Adriano Crestani <ad...@apache.org>.
Hi Brady,

Actually, I'm working on msvc8. I will keep using this compiler and ignore
the ant build for a while till the cpptasks bug is solved.

I tried what you suggested, but had no success : (. The /Gd argument is
still being added on the beginning of argument list and /Gz also being
generated after /Gd argument.

The difference btw msv and ant builds are not only affecting the DAS, but
also the SDO. During this week, I was using the DataGraphPtr class from SDO
and got a corrupted heap while its object was being deleted, but using the
SDO binaries from msv build it runs fine.

I think we could wait for the cpptasks fix and keep using the old builds for
while ; ). Have you already reported the bug? Can you give me the url to
keep the track on the bug solution?

Thanks,
Adriano Crestani



On 9/14/07, Brady Johnson <bj...@roguewave.com> wrote:
>
>
> Adriano,
>
> I get the following when trying to compile SCA on windows in debug with
> ant:
>
>         C:\tuscany_cpp\subversion_head\sca\runtime\core>ant -Ddebug=true
> compile.core
>         Buildfile: build.xml
>
>         compile.core:
>                [cc] 5 total files to be compiled.
>                [cc] cl : Command line warning D9035 : option 'GZ' has
> been deprecated and will be removed in a future release
>                [cc] cl : Command line warning D9036 : use 'RTC1' instead
> of 'GZ'
>                [cc] Exceptions.cpp
>                [cc] ServiceWrapper.cpp
>                [cc] ServiceProxy.cpp
>                [cc] SCARuntime.cpp
>                [cc] Operation.cpp
>                [cc] Generating Code...
>
>         BUILD SUCCESSFUL
>         Total time: 12 seconds
>
> And here's the command line from the history.xml file:
>
>         cl/EHsc /c /nologo /Zi /Od /GZ /D_DEBUG /MDd /GR /DSCA_EXPORTS
> /DWIN32 /D_CRT_SECURE_NO_DEPRECATE /D_USRDLL /D_WINDOWS
> /I..\sdo\deploy\include /Iruntime /Iruntime\core\src
>
> I got the same results as you trying to set the location argument of the
> /Gd option. Seems like a bug in the cc task :( I also tried specifying
> /RTC1, but no luck.
>
> Another bug is the fact that it specifies /GZ for both msvc 7 and 8, it
> should be possible to change that somehow. I'll file a bug with cc task.
> Until there's a fix, can you try using debug on either msvc7 or on
> Linux.
>
> Another option would be to refactor the way we specify debug mode.
> Currently we just pass the debug flag to the debug argument of the cc
> task. We could remove that and put compilerarg arguments on the
> msvc8/g++ compiler to include the necessary debug statements. So they
> would look something like this:
>
>   <compiler id="msvc8-Compiler" extends="Tuscany-BaseCompiler"
> name="msvc" exceptions="false">
>     <compilerarg value="/EHsc"/>
>     <compilerarg value="/Zi" if="debug"/>
>     <compilerarg value="/Od" if="debug"/>
>     <compilerarg value="/Gd" if="debug"/>
>     <compilerarg value="/D_DEBUG" if="debug"/>
>     <compilerarg value="/MDd" if="debug"/>
>     <compilerarg value="/MD" unless="debug"/>
>     <compilerarg value="/GR" if="debug"/>
>   </compiler>
>
> We'd have to modify the Base Compiler and do something similar for g++.
>
> What do you think?
>
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com
>
>
> -----Original Message-----
> From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> Behalf Of Adriano Crestani
> Sent: Thursday, September 13, 2007 7:57 PM
> To: tuscany-dev@ws.apache.org
> Subject: Re: [DAS Native] ant build
>
> Hi Brady,
>
> I added this new macro on DAS antscripts/compile-targets.xml, but the
> runtime error on das_test keeps. Have you successfully managed how to
> add
> the /Gd option on ant build compiler arguments as I told on my last
> message
> on this thread?
>
> Regards,
> Adriano Crestani
>
> On 9/12/07, Brady Johnson <bj...@roguewave.com> wrote:
> >
> >
> > Adriano,
> >
> > I found a problem with the ant build on Windows. The problem has to do
> > with embedding the manifest files in the dll's and executables. I had
> > this integrated in the ant build system at one time, but it didn't get
> > included in a patch for some reason.
> >
> > I submit the change to the SDO and SCA code base. I'm a bit wary of
> > submitting to DAS, so I'll let you do that. It's a very simple fix in
> > one file: antscripts/compile-targets.xml. Just add the
> > <cpp-embed-manifest/> macro and make sure you call it from the other
> > build macros and it should work.
> >
> >
> > --------------------
> > Brady Johnson
> > Lead Software Developer - HydraSCA
> > Rogue Wave Software - brady.johnson@roguewave.com
> >
> >
> > -----Original Message-----
> > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> > Behalf Of Adriano Crestani
> > Sent: Friday, September 07, 2007 11:28 PM
> > To: tuscany-dev@ws.apache.org
> > Subject: Re: [DAS Native] ant build
> >
> > Hi Brady,
> >
> > I added the /D_VC80_UPGRADE=0x0600( the /Od argument was already being
> > generated ) argument with no successful : (. So I did the reverse, I
> > added
> > the /Gz argument on the DAS MVS project, that was working, and than it
> > got
> > the same error as DAS ant build. So now I'm sure the error has
> something
> > to
> > do with the /Gz argument, then I tried to add the /Gd argument on ant
> > build
> > to overwrite the /Gz argument and had no luck(explanation below).
> >
> > I finally managed to use the compilerarg option on cc element and
> tried
> > to
> > add the /Gd argument to the compiler arguments adding this element on
> cc
> > element:
> >
> > <compilerarg value="/Gd"/>
> >
> > And it's added to the beginning of arguments list:
> > cl /Gd /D_VC80_UPGRADE=0x0600 /EHsc /c /nologo /Zi /Od /GZ /D_DEBUG
> /MDd
> > /GR
> > /DWIN32 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS
> /I${
> > tuscany.das.home.dir}\include
> > /I..\libiconv-1.9.2-1-lib\include/I..\SDO\deploy\include /I..\libxml2-
> > 2.6.13.win32\include /Iruntime\core\include /Iruntime\core\src
> > *
> > *But this way the /GZ argument overwrites /GD argument, because it's
> > declared after the /GD argument. So I tried to set the location
> > attribute on
> > compilerarg element to define where the /GD argument should be
> > generated:
> >
> > <compilerarg value="/Gd" location="mid"/>
> >
> > The /Gd argument should be generated after the arguments declaration
> and
> > before the include files on the compiler command line, however it
> wasn't
> > being generated whenever I declared the location attribute :S. Can you
> > try
> > it on your computer and see if you get the same? Thanks ; )
> >
> > Adriano Crestani
> >
> > On 9/7/07, Adriano Crestani <ad...@apache.org> wrote:
> > >
> > > Hi Brady,
> > >
> > > I didn't add an ant build for das_test yet, I'm still building it
> with
> > > MVS. Just don't forget to remove the das_test project dependency
> from
> > > das_runtime project when building it with MVS.
> > >
> > > I will modify these options you suggested probably tomorrow, it's
> > holyday
> > > this friday on Brazil ;P. But I still don't see how I can add these
> > > options in the ant build files : (
> > >
> > > Regards,
> > > Adriano Crestani
> > >
> > > On 9/7/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > > >
> > > >
> > > > Adriano,
> > > >
> > > > I'm looking into this. I don't see how to build the das_test with
> > ant.
> > > > Have you submit the build.xml for das_test yet?
> > > >
> > > > At first glance, I see a few things to try changing:
> > > >         /Od - lets try adding this, it disables optimization
> > > >         /D_VC80_UPGRADE=0x0600 - not sure what this does, but lets
> > try
> > > > adding it...
> > > >
> > > >
> > > > Brady
> > > >
> > > > -----Original Message-----
> > > > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com
> ]
> > On
> > > > Behalf Of Adriano Crestani
> > > > Sent: Friday, September 07, 2007 9:33 AM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: Re: [DAS Native] ant build
> > > >
> > > > Hi Brady,
> > > >
> > > > Yeah, I was comparing these two command lines. Thanks for your
> help
> > with
> > > > DAS
> > > > ; ).
> > > >
> > > > Adriano Crestani
> > > >
> > > > On 9/7/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > >
> > > > >
> > > > > Adriano,
> > > > >
> > > > > I agree completely that the ant build should produce the same
> > result
> > > > as
> > > > > the MVS build. This should be quite easy, considering that they
> > both
> > > > > call the same compiler executable. I'll try to download DAS
> today
> > and
> > > > > work on it, it should just be a case of a few command line
> > switches.
> > > > The
> > > > > way to do it is to look at the command line that MVS produces
> (can
> > be
> > > > > seen by loading the project and displaying properties) and
> > comparing
> > > > it
> > > > > to the ant command line in the history.xml file. As For the /Gz
> > option
> > > > > (an msvc 7.1 option), that was replaced by /Ehsc in msvc 8.0.
> > > > >
> > > > > --------------------
> > > > > Brady Johnson
> > > > > Lead Software Developer - HydraSCA
> > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: adrianocrestani@gmail.com
> [mailto:adrianocrestani@gmail.com]
> > On
> > > > > Behalf Of Adriano Crestani
> > > > > Sent: Wednesday, September 05, 2007 8:17 PM
> > > > > To: tuscany-dev@ws.apache.org
> > > > > Subject: Re: [DAS Native] ant build
> > > > >
> > > > > Hi Brady,
> > > > >
> > > > > I compiled both DAS and SDO with "ant -Ddebug=true", than I
> > compiled
> > > > the
> > > > > das_test project also on debug mode. But I get an error during
> the
> > > > > das_test
> > > > > execution?
> > > > >
> > > > > Run-Time Check Failure #2 - Stack around the variable 'sqlType'
> > was
> > > > > corrupted.
> > > > >
> > > > > This doesn't happen when I compile the das_test with my old
> build
> > > > (MVS).
> > > > > Than I looked on my MVS compiler arguments and on those
> arguments
> > > > > generated
> > > > > by the ant for something different that might be causing this
> > problem.
> > > > > So, I
> > > > > realized that the ant build, on SDO and DAS, is compiling with
> the
> > > > > argument
> > > > > /Gz, but, both, SDO and DAS MVS projects are configured with the
> > > > > argument
> > > > > /Gd. In addition, my compiler is outputting a warning about the
> > /Gz
> > > > > argument:
> > > > >
> > > > >        [cc] cl : Command line warning D9035 : option 'GZ' has
> been
> > > > > deprecated and will be removed in a future release
> > > > >        [cc] cl : Command line warning D9036 : use 'RTC1' instead
> > of
> > > > 'GZ'
> > > > >
> > > > > I tried to modify the ant files adding the attribute
> > compilerarg='/GD'
> > > >
> > > > > to
> > > > > the cc tag, but it says my compiler does not support this
> > attribute :
> > > > (.
> > > > > After all, I dont know if it has something to do with the
> runtime
> > > > error
> > > > > I'm
> > > > > getting with das_tests, but I think the ant, bat or MSV project
> > build
> > > > > should
> > > > > all result the same binaries, and it seems not to be happening
> > once
> > > > > there
> > > > > are different compiler arguments.
> > > > >
> > > > > Can you help me with that Brady? Thanks
> > > > >
> > > > > Regards,
> > > > > Adriano Crestani
> > > > >
> > > > > On 9/5/07, Adriano Crestani <ad...@apache.org> wrote:
> > > > > >
> > > > > > Thanks a log Brady, it worked ; )
> > > > > >
> > > > > > Adriano Crestani
> > > > > >
> > > > > > On 9/5/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > > > >
> > > > > > >
> > > > > > > Adriano,
> > > > > > >
> > > > > > > There is for SCA and SDO. Either "ant -Ddebug=true" or set
> > > > > > > "platform.debug.compile=true" in platform.properties. Both
> of
> > > > those
> > > > > get
> > > > > > > passed to the cc task, which should take care of setting the
> > > > correct
> > > > > > > command line args.
> > > > > > >
> > > > > > > Brady
> > > > > > >
> > > > > > > P.S. The arg can be true, yes, or on.
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: adrianocrestani@gmail.com [mailto:
> > > > adrianocrestani@gmail.com]
> > > > > On
> > > > > > > Behalf Of Adriano Crestani
> > > > > > > Sent: Wednesday, September 05, 2007 11:23 AM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: Re: [DAS Native] ant build
> > > > > > >
> > > > > > > Hi Brady,
> > > > > > >
> > > > > > > Thanks for the suggestion, I looked there and the compiler
> > > > arguments
> > > > > > > contains the /MD (Multi-threaded DLL) argument that mean
> > non-debug
> > > >
> > > > > mode.
> > > > > > > I
> > > > > > > think there should be a way to build the library on debug
> > mode,
> > > > > > > something
> > > > > > > like "ant debug", what do you thinnk?
> > > > > > >
> > > > > > > Regards,
> > > > > > > Adriano Crestani
> > > > > > >
> > > > > > > On 9/4/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > > Adriano,
> > > > > > > >
> > > > > > > > I'll try to look into this tomorrow. In the meantime,
> there
> > is a
> > > > > file
> > > > > > > > generated in the destination directory (where the object
> > files
> > > > > and/or
> > > > > > > > library is written) by ant called history.xml. If you look
> > at
> > > > the
> > > > > > > > signature attribute of the <processor/> element you can
> see
> > the
> > > > > > > compiler
> > > > > > > > command line generated by ant. Hopefully this will help
> out.
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > > Brady Johnson
> > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: adrianocrestani@gmail.com [mailto:
> > > > > adrianocrestani@gmail.com] On
> > > > > > > > Behalf Of Adriano Crestani
> > > > > > > > Sent: Sunday, September 02, 2007 1:36 PM
> > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > Subject: Re: [DAS Native] ant build
> > > > > > > >
> > > > > > > > Back from vacation, back to work : )
> > > > > > > >
> > > > > > > > Brady, I thought the error had something to do with the pc
> I
> > was
> > > > > using
> > > > > > >
> > > > > > > > while
> > > > > > > > my laptop was getting repaired, but I got it repaired and
> > the
> > > > > error
> > > > > > > was
> > > > > > > > still occurring on my laptop. The error seems rationed to
> > the
> > > > sdo
> > > > > ant
> > > > > > > > build,
> > > > > > > > cause I ignored the DAS ant build and built it like I was
> > > > building
> > > > > > > > before,
> > > > > > > > with the MVS, but got the same error :S. Than I rebuilt
> the
> > SDO,
> > > > > but
> > > > > > > not
> > > > > > > > using the new sdo build, but the old one, the build.bat,
> and
> > > > guess
> > > > > > > what,
> > > > > > > > there was no more error : ).
> > > > > > > >
> > > > > > > > It is not exactly an error, when I build the SDO using the
> > ant
> > > > > build,
> > > > > > > my
> > > > > > > > DAS
> > > > > > > > requires the dll MSVCP80.dll and with the old SDO build it
> > does
> > > > > not.
> > > > > > > > There
> > > > > > > > may be some option that is being set on SDO ant build that
> > is
> > > > not
> > > > > on
> > > > > > > SDO
> > > > > > > > old
> > > > > > > > build. I'm not a C++ expert, but I think it has something
> to
> > do
> > > > > with
> > > > > > > the
> > > > > > > > option Multi-threaded Debug DLL (/MDd) or Multi-threaded
> > Debug
> > > > > (/MTd)
> > > > > > > on
> > > > > > > > compiler arguments.
> > > > > > > >
> > > > > > > > Another point, the sdo_test is also requiring this dll
> when
> > > > built
> > > > > > > using
> > > > > > > > the
> > > > > > > > SDO ant build (I built the SDO using ant build and
> compiled
> > the
> > > > > > > sdo_test
> > > > > > > > on
> > > > > > > > MVS, but I removed the sdo_test dependency from
> sdo_runtime,
> > > > > otherwise
> > > > > > >
> > > > > > > > it
> > > > > > > > would get compiled overwriting the SDO ant build binaries
> on
> > > > > deploy
> > > > > > > > folder).
> > > > > > > >
> > > > > > > > Doing another tests right now to check whether it is a
> > > > > Multi-threaded
> > > > > > > > Debug
> > > > > > > > DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Adriano Crestani
> > > > > > > >
> > > > > > > > On 8/16/07, Adriano Crestani <adrianocrestani@apache.org >
> > > > wrote:
> > > > > > > > >
> > > > > > > > > Hi Brady,
> > > > > > > > >
> > > > > > > > > Yes, I was plaining to do that after this weekend. I had
> > no
> > > > > chance
> > > > > > > to
> > > > > > > > do
> > > > > > > > > that so far, cause I was really busy with college's
> stuffs
> > :(
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Adriano Crestani
> > > > > > > > >
> > > > > > > > > On 8/16/07, Brady Johnson < bjohnson@roguewave.com >
> > wrote:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Adriano,
> > > > > > > > > >
> > > > > > > > > > You might have seen that both SCA and SDO native now
> > have an
> > > >
> > > > > ant
> > > > > > > > build
> > > > > > > > > > infrastructure. I briefly looked at doing the same for
> > DAS,
> > > > > but
> > > > > > > > couldn't
> > > > > > > > > > get it to compile with "configure, make, make install"
> > at
> > > > the
> > > > > > > time,
> > > > > > > > and
> > > > > > > > > > never got a chance to come back to it.
> > > > > > > > > >
> > > > > > > > > > I think it should be very easy to copy the SDO ant
> stuff
> > > > over
> > > > > to
> > > > > > > > DAS,
> > > > > > > > > > what do you think?
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: adrianocrestani@gmail.com
> > > > > [mailto: adrianocrestani@gmail.com]
> > > > > > > > On
> > > > > > > > > > Behalf Of Adriano Crestani
> > > > > > > > > > Sent: Monday, July 23, 2007 11:21 PM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > Great idea, soon I will try to apply this idea to
> Native
> > DAS
> > > > > and
> > > > > > > see
> > > > > > > > how
> > > > > > > > > > it works. I think the idea could also be easily
> applied
> > to
> > > > > Native
> > > > > > > > SDO,
> > > > > > > > > > as it does not have too much dependencies and code
> > > > generation
> > > > > as
> > > > > > > > Native
> > > > > > > > > > SCA does.
> > > > > > > > > >
> > > > > > > > > > A folder ant-core could be created under tuscany/cpp/
> > folder
> > > > > to
> > > > > > > > place
> > > > > > > > > > the ant scripts shared by the projects.
> > > > > > > > > >
> > > > > > > > > > Also, we could add a build.xml under tuscany/ccp/ that
> > > > builds
> > > > > all
> > > > > > > 3
> > > > > > > > > > subprojects at once, if the 3 to implement this ant
> > build
> > > > > process.
> > > > > > > > What
> > > > > > > > > > do you think?
> > > > > > > > > >
> > > > > > > > > > Regards,
> > > > > > > > > > Adriano Crestani
> > > > > > > > > >
> > > > > > > > > > On 7/23/07, Brady Johnson <bjohnson@roguewave.com >
> > wrote:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Correction, it should be like this:
> > > > > > > > > > >
> > > > > > > > > > >   <target name="compile.core">
> > > > > > > > > > >     <cpp-compile
> > > > > > > > > > >         srcdir="${ core.abs.dir}"
> > > > > > > > > > >         objdir="${lib.dir}"
> > > > > > > > > > >         infiles="${ core.cpp.files}">
> > > > > > > > > > >       <custom-cc-elements>
> > > > > > > > > > >         <defineset if="windows"
> define="SCA_EXPORTS"/>
> > > > > > > > > > >       </custom-cc-elements>
> > > > > > > > > > >     </cpp-compile>
> > > > > > > > > > >   </target>
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > > > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Pete,
> > > > > > > > > > >
> > > > > > > > > > > Good catch. That's an easy fix. I'll submit it with
> > the
> > > > next
> > > > > > > patch
> > > > > > > > > > > tomorrow. Basically it involves removing SCA_EXPORTS
> > from
> > > > > the
> > > > > > > > > > > Tuscany-BaseCompiler and adding it to the
> > runtime/core/src
> > > >
> > > > > > > > targets:
> > > > > > > > > > >         compile.core
> > > > > > > > > > >         compile.extension
> > > > > > > > > > >         compile.model
> > > > > > > > > > >         compile.util
> > > > > > > > > > >
> > > > > > > > > > > Like this:
> > > > > > > > > > >   <target name="compile.core">
> > > > > > > > > > >     <cpp-compile
> > > > > > > > > > >         srcdir="${core.abs.dir}"
> > > > > > > > > > >         objdir="${lib.dir}"
> > > > > > > > > > >         infiles="${core.cpp.files }"/>
> > > > > > > > > > >       <custom-cc-element>
> > > > > > > > > > >         <defineset if="windows"
> define="SCA_EXPORTS"/>
> > > > > > > > > > >       </custom-cc-element>
> > > > > > > > > > >   </target>
> > > > > > > > > > >
> > > > > > > > > > > Tomorrow I'll have the python, ruby, rest, and maybe
> > php
> > > > > > > > extensions
> > > > > > > > > > > complete.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com
> ]
> > > > > > > > > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > > I think there is a problem in the extension
> > compilations.
> > > > > The
> > > > > > > > > > > SCA_EXPORTS directive should only be set when
> > compiling
> > > > the
> > > > > > > > > > > runtime/core. When compiling for dlls on windows
> which
> > use
> > > > > the
> > > > > > > > core
> > > > > > > > > > > dll SCA_EXPORTS must not be set. I guess this means
> we
> > > > have
> > > > > to
> > > > > > > > move
> > > > > > > > > > > the setting of this directive from the definition of
> > the
> > > > > > > > > > > Tuscany-BaseCompiler
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com
> >
> > > > wrote:
> > > > > > > > > > > > I've applied the patch. How are you creating the
> > > > patches?
> > > > > I
> > > > > > > had
> > > > > > > > > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > > > > > > > > >
> > > > > > > > > > > > I've included the changes in the patch to the
> > > > > > > > tools/TuscanyDriver
> > > > > > > > > > > > build. I haven't tested this and I'm not sure if
> it
> > > > works
> > > > > with
> > > > > > >
> > > > > > > > the
> > > > > > > > > > > > system.xml etc.
> > > > > > > > > > > >
> > > > > > > > > > > > Can you do a clean extract as a base for future
> > patches?
> > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > > On 23/07/07, Pete Robbins <
> robbinspg@googlemail.com
> > >
> > > > > wrote:
> > > > > > > > > > > > > I'll give this a go. I should be able to run it
> on
> > Mac
> > > > > as
> > > > > > > > well.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 23/07/07, Brady Johnson <
> > bjohnson@roguewave.com>
> > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I updated the jira1438 with update 3, which
> > includes
> > > > > the
> > > > > > > > > > > following:
> > > > > > > > > > > > > >
> > > > > https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - added build.xml for the following dirs:
> > > > > > > > > > > > > >    runtime/extensions/build.xml
> > > > > > > > > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > > > > > > > > >    runtime/extensions/sca/build.xml
> > > > > > > > > > > > > >    runtime/extensions/ws/build.xml
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - changed system.xml to check for necessary
> > axis,
> > > > php,
> > > > > > > > python,
> > > > > > > > > > > > > > rest, and ruby env vars. If they're not  set
> in
> > the
> > > > > env,
> > > > > > > > look
> > > > > > > > > > > > > > for them in platform.properties
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - changed compile-targets.xml targets
> > > > > > > > > > > > > >    <cpp-install-headers/> to
> > <cpp-install-files/>
> > > > > > > > > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - added compile-targets.xml target:
> > <cpp-symlink/>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - added library versioning and the
> > > > > > > > > > > > > > platform.tuscanySCA.library.version
> > > > > > > > > > > > > > platform.properties property
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Can someone submit this for me.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The only thing left now is the build.xml for
> > these
> > > > > > > > extensions:
> > > > > > > > > > > > > > php, python, rest, ruby
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > WRT testing on macs, I wont have a mac
> available
> > > > until
> > > > > > > next
> > > > > > > > > > week.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > > Software
> > > > > -
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Brady Johnson
> > [mailto:bjohnson@roguewave.com ]
> > > > > > > > > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: RE: [SCA Native] preliminary ant
> build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I can look into testing it on Mac here. I
> > believe we
> > > >
> > > > > have
> > > > > > > > > > > > > > several mac machines for the purpose.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I'll get back to you soon.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > > Software
> > > > > -
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Pete Robbins
> > [mailto:robbinspg@googlemail.com
> > > > ]
> > > > > > > > > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I've taken out the references to
> > > > tuscany_sca_config.h
> > > > > and
> > > > > > > > > > > > > > patched the automake for now with setting
> > > > -DIS_DARWIN
> > > > > on
> > > > > > > > mac.
> > > > > > > > > > > > > > Yet to test it on Mac as I need to kick the
> kids
> > off
> > > >
> > > > > my
> > > > > > > > machine!
> > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 19/07/07, Pete Robbins <
> > > > robbinspg@googlemail.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > > Automake generates a config file with lots
> of
> > > > > standard
> > > > > > > > stuff
> > > > > > > > > > > > > > > but
> > > > > > > > > > >
> > > > > > > > > > > > > > > the only  one we need is the IS_DARWIN,
> which
> > is
> > > > > used in
> > > > > > > > 2
> > > > > > > > > > > > > > > places. I'll remove the 2 references to this
> > > > header
> > > > > and
> > > > > > > > change
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > bjohnson@roguewave.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I did the following diff command and got
> > quite a
> > > >
> > > > > lot
> > > > > > > of
> > > > > > > > > > > > > > > > changes (listed
> > > > > > > > > > > > > > > > below):
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > # diff tuscany_sca_config.h.in
> > > > > tuscany_sca_config.h
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Are these not needed?
> > > > > > > > > > > > > > > >        If not, I can get to work on
> removing
> > all
> > > > > > > > references
> > > > > > > > > > > > > > > > to
> > > > > > > > > > >
> > > > > > > > > > > > > > > > the file.
> > > > > > > > > > > > > > > >        If so, then we still need to figure
> > out
> > > > how
> > > > > to
> > > > > > > > create
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > file.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I just realized, its 23:30, there... Go to
> > bed!
> > > > ;)
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> > Wave
> > > > > Software
> > > > > > > -
> > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 0a1
> > > > > > > > > > > > > > > > > /* tuscany_sca_config.h.  Generated by
> > > > > configure.
> > > > > > > */
> > > > > > > > > > > > > > > > 4c5
> > > > > > > > > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > > > > > > > > 8c9
> > > > > > > > > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > > > > > > > > 11c12
> > > > > > > > > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > > > > > > > > 14c15
> > > > > > > > > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > > > > > > > > 17c18
> > > > > > > > > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > > > > > > > > 20c21
> > > > > > > > > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > > > > > > > > 23c24
> > > > > > > > > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > > > > > > > > 26c27
> > > > > > > > > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > > > > > > > > 29c30
> > > > > > > > > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > > > > > > > > 33c34
> > > > > > > > > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > > > > > > > > 36c37
> > > > > > > > > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > > > > > > > > 39c40
> > > > > > > > > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > > > > > > > > 42c43
> > > > > > > > > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > > > > > > > > 45c46
> > > > > > > > > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > > > > > > > > 48c49
> > > > > > > > > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > > > > > > > > 51c52
> > > > > > > > > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > > > > > > > > 55c56
> > > > > > > > > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > > > > > > > > 59c60
> > > > > > > > > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > > > > > > > > 62c63
> > > > > > > > > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > > > > > > > > 65c66
> > > > > > > > > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > > > > > > > > 68c69
> > > > > > > > > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > > > > > > > > 71c72
> > > > > > > > > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > > > > > > > > 74c75
> > > > > > > > > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > > > > > > > > 77c78
> > > > > > > > > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > > > > > > > > 80c81
> > > > > > > > > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > > > > > > > > 84c85
> > > > > > > > > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > > > > > > > > 87c88
> > > > > > > > > > > > > > > > < #undef PACKAGE
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > > > > > > > > 90c91
> > > > > > > > > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > > > > > > > > 93c94
> > > > > > > > > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define PACKAGE_NAME
> "tuscany_sca_native"
> > > > > > > > > > > > > > > > 96c97
> > > > > > > > > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define PACKAGE_STRING
> "tuscany_sca_native
> > > > > > > > > > 1.0-incubator-M3 "
> > > > > > > > > > > > > > > > 99c100
> > > > > > > > > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define PACKAGE_TARNAME
> > "tuscany_sca_native"
> > > > > > > > > > > > > > > > 102c103
> > > > > > > > > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define PACKAGE_VERSION
> "1.0-incubator-M3"
> > > > > > > > > > > > > > > > 105c106
> > > > > > > > > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > > > > > > > > 108c109
> > > > > > > > > > > > > > > > < #undef VERSION
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > > > > > > > > 111c112
> > > > > > > > > > > > > > > > < #undef const
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef const */
> > > > > > > > > > > > > > > > 116c117
> > > > > > > > > > > > > > > > < #undef inline
> > > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > > /* #undef inline */
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > > > robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > build
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > yeah I figured that... I did exactly the
> > same
> > > > when
> > > > > > > > > > > > > > > > committing changes earlier! I dodn't
> commit
> > the
> > > > > > > changes
> > > > > > > > > > > > > > > > inthe tools
> > > > > > > > > > > folder.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > > bjohnson@roguewave.com >
> > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Ok, I wasn't aware that I had changed
> the
> > > > tools.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I simply did a "svn diff . > patch_file"
> > from
> > > > > the
> > > > > > > > tuscany
> > > > > > > > > > > > > > > > > root
> > > > > > > > > > > > > > dir.
> > > > > > > > > > > > > > > > > You can disregard the tools changes.
> I'll
> > look
> > > >
> > > > > into
> > > > > > > > it.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> > Wave
> > > > > > > Software
> > > > > > > > -
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> ant
> > > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cool! I've applied this change as well.
> > The
> > > > > update2
> > > > > > > > patch
> > > > > > > > > > > > > > > > > contained changes to the
> > > > > > > > tools/TuscanyDriver/build.xml.
> > > > > > > > > > > > > > > > > This
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > doesn't work so you
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > may want to look at it.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > > bjohnson@roguewave.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If that's all we need the
> > > > tuscany_sca_config.h
> > > > > > > file
> > > > > > > > for
> > > > > > > > > > > > > > > > > > then, yes this
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > just got a whole lot easier. We can do
> > the
> > > > > > > following
> > > > > > > > on
> > > > > > > > > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >  <condition property="mac"
> value="true">
> > > > > > > > > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > > > > > > > > >  </condition>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > > > > > > > > multithreaded="true"
> > > > > > > > > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > > > > > > > > >
> > > > > > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > > > > > > > > >    <defineset if="mac"
> > define="IS_DARWIN"/>
> > > > > > > > > > > > > > > > > >    <includepath
> > path="${sdo.include.dir}"/>
> > > > > > > > > > > > > > > > > >    <includepath path="${
> > tuscanySCA.root.dir
> > > > > }"/>
> > > > > > > > <!--
> > > > > > > > > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > > > > > > > > >    <includepath
> > > > > > > path="${tuscanySCA.root.src.dir }"/>
> > > > > > > > > > > > > > > > > >    <includepath
> > > > > > > > > > > > > > > > > > path="${ tuscanySCA.root.src.dir
> > > > }/core/src"/>
> > > > > > > > > > > > > > > > > >  </compiler>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA
> Rogue
> > > > Wave
> > > > > > > > Software -
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> > ant
> > > > > build
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > <bj...@roguewave.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I uploaded a patch on top of what
> you
> > > > submit
> > > > > to
> > > > > > > > svn.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Here is a description of what I
> > changed:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > - Changed the name of compilers.xml
> to
> > > > > > > system.xml.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > - This update has better support for
> a
> > > > > > > > > > > > > > > > > > > platform.properties file that
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > is completely empty.
> > > > > > > > > > > > > > > > > > >  That is, all of the platform
> > dependent
> > > > > items
> > > > > > > are
> > > > > > > > > > > > > > > > > > > figured out by
> > > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > If they are set in
> > > > > > > > > > > > > > > > > > >  the platform.properties file then
> > they
> > > > > override
> > > > > > > > the
> > > > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > > > > > > > determination.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > - Better directory path management
> has
> > > > been
> > > > > > > added
> > > > > > > > to
> > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > root build.xml and
> > > > > runtime/core/src/build.xml
> > > > > > > > files.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > - The install and clean targets in
> > > > > > > > runtime/core/src
> > > > > > > > > > > > > > > > > > > have
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > been
> > > > > > > > > > > > > > > > > > completed.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > With respect to your latest post
> > regarding
> > > > > > > > > > > > > > "tuscany-sca-config.h ":
> > > > > > > > > > > > > > > > > > > I knew this was a problem on clean
> > systems
> > > >
> > > > > and
> > > > > > > had
> > > > > > > > > > > > > > > > > > > envisioned either
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > running a script or using a slimmed
> > down
> > > > > > > > > > > > > > > > > > > automake/configure to
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > setup
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > this file and any platform specific
> > > > > parameters.
> > > > > > > > That's
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > certainly something we'll have to
> > address,
> > > > > what
> > > > > > > do
> > > > > > > > you
> > > > > > > > > > > think?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > The only reason we use this automake
> > > > generated
> > > > > > > file
> > > > > > > > is
> > > > > > > > > > > > > > > > > > to set the IS_DARWIN compiler flag for
> > > > running
> > > > > on
> > > > > > > > Mac OS
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > X. I
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > expect we
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > can use
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > different technique in ant to set this
> > flag.
> > > > > Is
> > > > > > > > there a
> > > > > > > > > > > > > > "family=mac"
> > > > > > > > > > > > > > > > > > or somesuch in ant? The automake
> simply
> > runs
> > > > a
> > > > > > > > 'uname
> > > > > > > > > > -s'
> > > > > > > > > > > > > > > > > > command to
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > figure it out.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I think a goal for this shoul be that
> I
> > can
> > > > do
> > > > > a
> > > > > > > > clean
> > > > > > > > > > > > > > > > > > extract from svn and type "ant" in the
> > top
> > > > > level
> > > > > > > > > > > > > > > > > > directory
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > and it will build with
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > everything defaulted. We need various
> > > > pre-reqs
> > > > > > > > defined
> > > > > > > > > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > > > > > > > > + other pre-reqs) but we should try to
> > make
> > > > > this
> > > > > > > as
> > > > > > > > > > > > > > > > > > + simple
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > + as
> > > > > > > > > > > > > > > > > > possible.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA
> > Rogue
> > > > > Wave
> > > > > > > > Software
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > > > > > > robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22
> AM
> > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> preliminary
> > ant
> > > > > build
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > the install dir defaults to
> sca/deploy
> > so
> > > > I
> > > > > > > think
> > > > > > > > we
> > > > > > > > > > > > > > > > > > > don't need any properties other than
> > > > > overrides.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I'll check in what I have. so youi
> can
> > > > see.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > > > > > bjohnson@roguewave.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > That's a good idea. Then the only
> > thing
> > > > > that
> > > > > > > > really
> > > > > > > > > > > > > > > > > > > > need to be set
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in platform.properties file would
> > be:
> > > > > > > > > > > > > > > > > > > >         tuscanySCA.install.dir
> > > > > > > > > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I'll put that together real quick
> > and
> > > > > upload
> > > > > > > it.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> > Lead
> > > > > > > Software
> > > > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave
> > Software
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > [mailto: robbinspg@googlemail.com
> > > > > > > > > > ]
> > > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007
> 9:00
> > AM
> > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> > preliminary
> > > > ant
> > > > > > > build
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> > > > > > > > robbinspg@googlemail.com
> > > > > > > > > > >
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com >
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Thanks for trying out the ant
> > build
> > > > > > > scripts.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Regarding core.dir, you're
> > right,
> > > > the
> > > > > name
> > > > > > > > will
> > > > > > > > > > > > > > > > > > > > > > need to
> > > > > > > > > > > > > > > > > change.
> > > > > > > > > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > As for the "
> > tuscanySCA.root.dir" :
> > > > > Your
> > > > > > > > > > > > > > > > > > > > > > suggestion
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > will work
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > if you only execute ant from
> the
> > > > root
> > > > > > > > directory,
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > but not
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > from the runtime/core/src
> > directory.
> > > > > > > That's
> > > > > > > > why
> > > > > > > > > > > > > > > > > > > > > > I put it
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > in the platform.properties,
> > which is
> > > > > > > > accessed by
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > build.xml's.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Its better ant coding style to
> > have
> > > > > > > anything
> > > > > > > > > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > in a properties file, not in
> an
> > ant
> > > > > > > > build.xml
> > > > > > > > > > > file.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Yes... I realized that would
> limit
> > you
> > > > > to
> > > > > > > > running
> > > > > > > > > > > > > > > > > > > > > ant from
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > top
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > level. So, as most of the info
> in
> > > > > > > > > > > > > > > > > > > > > platform.properties can be
> deduced
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > would a better solution be to
> have
> > a
> > > > top
> > > > > > > level
> > > > > > > > (or
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > > > > > > > > dir) platform-properties.xml
> that
> > > > > > > > > > > > > > > > > > > > >  a) imports platform.properties
> > for
> > > > any
> > > > > > > > overrides
> > > > > > > > > > > > > > > > > > > > >  b) sets the properties
> > conditional on
> > > >
> > > > > the
> > > > > > > > > > platform.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > > > > > > > > >      <condition property="
> > lib.ext"
> > > > > > > > value='.so' '>
> > > > > > > > > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > > > >      <condition property="
> > lib.ext"
> > > > > > > > value='.dll' '>
> > > > > > > > > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > > > >      <condition
> property="lib.ext"
> > > > > > > > value='.dylib
> > > > > > > > > > '>
> > > > > > > > > > > > > > > > > > > > >        <os
> family='MacOSX?????'/>
> > > > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > the build.xml files would all
> import
> > > > this
> > > > > top
> > > > > > > > level
> > > > > > > > > > > file:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > As for the platform.properties
> > file
> > > > > for
> > > > > > > > windows:
> > > > > > > > > > > > > > > > > > > > > > The property platform
> can/should
> > be
> > > > > > > removed,
> > > > > > > > its
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > necessary.
> > > > > > > > > > > > > > > > > > > > > > If
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > the property
> > > > > > > "platform.compiler-definition"
> > > > > > > > is
> > > > > > > > > > > > > > > > > > > > > > set, then
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > that value will be used for
> the
> > > > > compiler
> > > > > > > > > > > > > > > > > > > > > > selection, else
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > it will get set to msvc for
> > windows
> > > > as
> > > > > can
> > > > > > > > be
> > > > > > > > > > > > > > > > > > > > > > seen
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I think the way this should
> ship
> > is
> > > > to
> > > > > > > have
> > > > > > > > > > > > > > > > > > > > > > several platform.properties
> > files
> > > > for
> > > > > the
> > > > > > > > > > > different platform:
> > > > > > > > > > > > > > > > > > > > > >
> platform.properties.linux
> > > > > > > > > > > > > > > > > > > > > >
> > platform.properties.windows
> > > > > > > > > > > > > > > > > > > > > >        platform.properties.mac
> > Which
> > > > > will
> > > > > > > > each
> > > > > > > > > > > > > > > > > > > > > > have values pre
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > configured for the
> corresponding
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > platform. Then with either
> > configure
> > > > > or a
> > > > > > > > shell
> > > > > > > > > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > file wil be copied to
> > > > > platform.properties
> > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > the directory properties will
> be
> > set
> > > > > > > > > > accordingly.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> > Johnson
> > > > > Lead
> > > > > > > > Software
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue
> Wave
> > > > > Software -
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > > > > > [mailto:
> > robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007
> > 7:08
> > > > AM
> > > > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> > > > preliminary
> > > > > ant
> > > > > > > > build
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I ran into a couple of issues
> > > > tryingt
> > > > > o
> > > > > > > run
> > > > > > > > this
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > > > build.
> > > > > > > > > > > > > > > > > > > > > > Firstly I got an error with a
> > path
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > trcked this
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > down to the fact that the
> > property
> > > > > > > core.dir
> > > > > > > > is
> > > > > > > > > > > > > > > > > > > > > > set
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > in the top level build.xml to
> > > > > > > > "runtime/core/src"
> > > > > > > > > > > > > > > > > > > > > > and in the
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > runtime/core/src/build.xml the
> > same
> > > > > > > property
> > > > > > > > > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > "tuscany/sca/core". It looks
> to
> > me
> > > > > like
> > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > second
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > defintion
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > of core.dir is being ignored.
> > I'm
> > > > not
> > > > > an
> > > > > > > ant
> > > > > > > > > > > expert ...
> > > > > > > > > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > > > > > > > > get propagated from higher level
> > build
> > > > > files?
> > > > > > > > > > > > > > > > > > > > > > I got around this by changing
> > the
> > > > name
> > > > > of
> > > > > > > > > > > > > > > > > > > > > > core.dir
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > one
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Rather than specifying the
> paths
> > to
> > > > > the
> > > > > > > > source
> > > > > > > > > > > > > > > > > > > > > > code etc in the
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > platform.properties I would
> > prefer
> > > > to
> > > > > set
> > > > > > > > these
> > > > > > > > > > > > > > > > > > > > > > automatically so
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > in the top level build.xml I
> > added:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > <property
> > name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > and then based other
> properties
> > from
> > > >
> > > > > this.
> > > > > > > > It
> > > > > > > > > > > > > > > > > > > > > > seemed to
> > > > > > > > > > > > > > > > work!
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > > > > > > > > < robbinspg@googlemail.com>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > I'd like some info on what I
> > need
> > > > to
> > > > > > > edit
> > > > > > > > in
> > > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > One good thing about
> automake
> > is
> > > > > that it
> > > > > > > > > > > > > > > > > > > > > > > detects
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > your platform/compiler etc
> > > > > > > automatically.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > I put together some
> > > > documentation
> > > > > for
> > > > > > > > using
> > > > > > > > > > > > > > > > > > > > > > > > ant with
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> > > > Johnson
> > > > > > > Lead
> > > > > > > > > > > > > > > > > > > > > > > > Software Developer -
> > HydraSCA
> > > > > Rogue
> > > > > > > Wave
> > > > > > > > > > > > > > > > > > > > > > > > Software -
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Using ant to build
> > TuscanySCA
> > > > > Native
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > 1. Required Software to
> > build
> > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > > > > > Native with
> > > > > > > > > > > > > > > > ant:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > > > > > > > > >        Ant comes installed
> > with
> > > > > almost
> > > > > > >
> > > > > > > > all
> > > > > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > > > > > > > > >        version 1.6 or
> later
> > > > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > http://ant.apache.org/
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > > > > > > > > >        version 1.0b3 or
> > later
> > > > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > > > > > > > > >        version 1.0b4 or
> > later
> > > > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > 2. Installation
> > Instructions:
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set
> > > > before
> > > > > > > > starting.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > > > > > >
> > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable
> to
> > the
> > > > > > > > directory
> > > > > > > > > > > > > > > > > > > > > > > > where you
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > > > > > > export
> > ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your
> > path.
> > > > > > > > > > > > > > > > > > > > > > > > export
> > > > > PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Optional ant tasks, such
> as
> > > > > antcontrib
> > > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib
> > So
> > > > > place
> > > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > > antcontrib and cpptasks
> jars
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > If you dont have write
> > access to
> > > >
> > > > > > > > > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > > > > > - create
> > ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > > Avoid adding optional ant
> > tasks
> > > > to
> > > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > >
> > > ...
> > >
> > > [Message clipped]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

RE: [DAS Native] ant build

Posted by Brady Johnson <bj...@roguewave.com>.
Adriano,

I get the following when trying to compile SCA on windows in debug with
ant:

	C:\tuscany_cpp\subversion_head\sca\runtime\core>ant -Ddebug=true
compile.core
	Buildfile: build.xml

	compile.core:
	       [cc] 5 total files to be compiled.
	       [cc] cl : Command line warning D9035 : option 'GZ' has
been deprecated and will be removed in a future release
	       [cc] cl : Command line warning D9036 : use 'RTC1' instead
of 'GZ'
	       [cc] Exceptions.cpp
	       [cc] ServiceWrapper.cpp
	       [cc] ServiceProxy.cpp
	       [cc] SCARuntime.cpp
	       [cc] Operation.cpp
	       [cc] Generating Code...

	BUILD SUCCESSFUL
	Total time: 12 seconds

And here's the command line from the history.xml file:

	cl/EHsc /c /nologo /Zi /Od /GZ /D_DEBUG /MDd /GR /DSCA_EXPORTS
/DWIN32 /D_CRT_SECURE_NO_DEPRECATE /D_USRDLL /D_WINDOWS
/I..\sdo\deploy\include /Iruntime /Iruntime\core\src

I got the same results as you trying to set the location argument of the
/Gd option. Seems like a bug in the cc task :( I also tried specifying
/RTC1, but no luck.

Another bug is the fact that it specifies /GZ for both msvc 7 and 8, it
should be possible to change that somehow. I'll file a bug with cc task.
Until there's a fix, can you try using debug on either msvc7 or on
Linux.

Another option would be to refactor the way we specify debug mode.
Currently we just pass the debug flag to the debug argument of the cc
task. We could remove that and put compilerarg arguments on the
msvc8/g++ compiler to include the necessary debug statements. So they
would look something like this:

  <compiler id="msvc8-Compiler" extends="Tuscany-BaseCompiler"
name="msvc" exceptions="false">
    <compilerarg value="/EHsc"/>
    <compilerarg value="/Zi" if="debug"/>
    <compilerarg value="/Od" if="debug"/>
    <compilerarg value="/Gd" if="debug"/>
    <compilerarg value="/D_DEBUG" if="debug"/>
    <compilerarg value="/MDd" if="debug"/>
    <compilerarg value="/MD" unless="debug"/>
    <compilerarg value="/GR" if="debug"/>
  </compiler>

We'd have to modify the Base Compiler and do something similar for g++.

What do you think?

--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - brady.johnson@roguewave.com


-----Original Message-----
From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
Behalf Of Adriano Crestani
Sent: Thursday, September 13, 2007 7:57 PM
To: tuscany-dev@ws.apache.org
Subject: Re: [DAS Native] ant build

Hi Brady,

I added this new macro on DAS antscripts/compile-targets.xml, but the
runtime error on das_test keeps. Have you successfully managed how to
add
the /Gd option on ant build compiler arguments as I told on my last
message
on this thread?

Regards,
Adriano Crestani

On 9/12/07, Brady Johnson <bj...@roguewave.com> wrote:
>
>
> Adriano,
>
> I found a problem with the ant build on Windows. The problem has to do
> with embedding the manifest files in the dll's and executables. I had
> this integrated in the ant build system at one time, but it didn't get
> included in a patch for some reason.
>
> I submit the change to the SDO and SCA code base. I'm a bit wary of
> submitting to DAS, so I'll let you do that. It's a very simple fix in
> one file: antscripts/compile-targets.xml. Just add the
> <cpp-embed-manifest/> macro and make sure you call it from the other
> build macros and it should work.
>
>
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com
>
>
> -----Original Message-----
> From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> Behalf Of Adriano Crestani
> Sent: Friday, September 07, 2007 11:28 PM
> To: tuscany-dev@ws.apache.org
> Subject: Re: [DAS Native] ant build
>
> Hi Brady,
>
> I added the /D_VC80_UPGRADE=0x0600( the /Od argument was already being
> generated ) argument with no successful : (. So I did the reverse, I
> added
> the /Gz argument on the DAS MVS project, that was working, and than it
> got
> the same error as DAS ant build. So now I'm sure the error has
something
> to
> do with the /Gz argument, then I tried to add the /Gd argument on ant
> build
> to overwrite the /Gz argument and had no luck(explanation below).
>
> I finally managed to use the compilerarg option on cc element and
tried
> to
> add the /Gd argument to the compiler arguments adding this element on
cc
> element:
>
> <compilerarg value="/Gd"/>
>
> And it's added to the beginning of arguments list:
> cl /Gd /D_VC80_UPGRADE=0x0600 /EHsc /c /nologo /Zi /Od /GZ /D_DEBUG
/MDd
> /GR
> /DWIN32 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS
/I${
> tuscany.das.home.dir}\include
> /I..\libiconv-1.9.2-1-lib\include/I..\SDO\deploy\include /I..\libxml2-
> 2.6.13.win32\include /Iruntime\core\include /Iruntime\core\src
> *
> *But this way the /GZ argument overwrites /GD argument, because it's
> declared after the /GD argument. So I tried to set the location
> attribute on
> compilerarg element to define where the /GD argument should be
> generated:
>
> <compilerarg value="/Gd" location="mid"/>
>
> The /Gd argument should be generated after the arguments declaration
and
> before the include files on the compiler command line, however it
wasn't
> being generated whenever I declared the location attribute :S. Can you
> try
> it on your computer and see if you get the same? Thanks ; )
>
> Adriano Crestani
>
> On 9/7/07, Adriano Crestani <ad...@apache.org> wrote:
> >
> > Hi Brady,
> >
> > I didn't add an ant build for das_test yet, I'm still building it
with
> > MVS. Just don't forget to remove the das_test project dependency
from
> > das_runtime project when building it with MVS.
> >
> > I will modify these options you suggested probably tomorrow, it's
> holyday
> > this friday on Brazil ;P. But I still don't see how I can add these
> > options in the ant build files : (
> >
> > Regards,
> > Adriano Crestani
> >
> > On 9/7/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > >
> > >
> > > Adriano,
> > >
> > > I'm looking into this. I don't see how to build the das_test with
> ant.
> > > Have you submit the build.xml for das_test yet?
> > >
> > > At first glance, I see a few things to try changing:
> > >         /Od - lets try adding this, it disables optimization
> > >         /D_VC80_UPGRADE=0x0600 - not sure what this does, but lets
> try
> > > adding it...
> > >
> > >
> > > Brady
> > >
> > > -----Original Message-----
> > > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com
]
> On
> > > Behalf Of Adriano Crestani
> > > Sent: Friday, September 07, 2007 9:33 AM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: Re: [DAS Native] ant build
> > >
> > > Hi Brady,
> > >
> > > Yeah, I was comparing these two command lines. Thanks for your
help
> with
> > > DAS
> > > ; ).
> > >
> > > Adriano Crestani
> > >
> > > On 9/7/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > >
> > > >
> > > > Adriano,
> > > >
> > > > I agree completely that the ant build should produce the same
> result
> > > as
> > > > the MVS build. This should be quite easy, considering that they
> both
> > > > call the same compiler executable. I'll try to download DAS
today
> and
> > > > work on it, it should just be a case of a few command line
> switches.
> > > The
> > > > way to do it is to look at the command line that MVS produces
(can
> be
> > > > seen by loading the project and displaying properties) and
> comparing
> > > it
> > > > to the ant command line in the history.xml file. As For the /Gz
> option
> > > > (an msvc 7.1 option), that was replaced by /Ehsc in msvc 8.0.
> > > >
> > > > --------------------
> > > > Brady Johnson
> > > > Lead Software Developer - HydraSCA
> > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: adrianocrestani@gmail.com
[mailto:adrianocrestani@gmail.com]
> On
> > > > Behalf Of Adriano Crestani
> > > > Sent: Wednesday, September 05, 2007 8:17 PM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: Re: [DAS Native] ant build
> > > >
> > > > Hi Brady,
> > > >
> > > > I compiled both DAS and SDO with "ant -Ddebug=true", than I
> compiled
> > > the
> > > > das_test project also on debug mode. But I get an error during
the
> > > > das_test
> > > > execution?
> > > >
> > > > Run-Time Check Failure #2 - Stack around the variable 'sqlType'
> was
> > > > corrupted.
> > > >
> > > > This doesn't happen when I compile the das_test with my old
build
> > > (MVS).
> > > > Than I looked on my MVS compiler arguments and on those
arguments
> > > > generated
> > > > by the ant for something different that might be causing this
> problem.
> > > > So, I
> > > > realized that the ant build, on SDO and DAS, is compiling with
the
> > > > argument
> > > > /Gz, but, both, SDO and DAS MVS projects are configured with the
> > > > argument
> > > > /Gd. In addition, my compiler is outputting a warning about the
> /Gz
> > > > argument:
> > > >
> > > >        [cc] cl : Command line warning D9035 : option 'GZ' has
been
> > > > deprecated and will be removed in a future release
> > > >        [cc] cl : Command line warning D9036 : use 'RTC1' instead
> of
> > > 'GZ'
> > > >
> > > > I tried to modify the ant files adding the attribute
> compilerarg='/GD'
> > >
> > > > to
> > > > the cc tag, but it says my compiler does not support this
> attribute :
> > > (.
> > > > After all, I dont know if it has something to do with the
runtime
> > > error
> > > > I'm
> > > > getting with das_tests, but I think the ant, bat or MSV project
> build
> > > > should
> > > > all result the same binaries, and it seems not to be happening
> once
> > > > there
> > > > are different compiler arguments.
> > > >
> > > > Can you help me with that Brady? Thanks
> > > >
> > > > Regards,
> > > > Adriano Crestani
> > > >
> > > > On 9/5/07, Adriano Crestani <ad...@apache.org> wrote:
> > > > >
> > > > > Thanks a log Brady, it worked ; )
> > > > >
> > > > > Adriano Crestani
> > > > >
> > > > > On 9/5/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > > >
> > > > > >
> > > > > > Adriano,
> > > > > >
> > > > > > There is for SCA and SDO. Either "ant -Ddebug=true" or set
> > > > > > "platform.debug.compile=true" in platform.properties. Both
of
> > > those
> > > > get
> > > > > > passed to the cc task, which should take care of setting the
> > > correct
> > > > > > command line args.
> > > > > >
> > > > > > Brady
> > > > > >
> > > > > > P.S. The arg can be true, yes, or on.
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: adrianocrestani@gmail.com [mailto:
> > > adrianocrestani@gmail.com]
> > > > On
> > > > > > Behalf Of Adriano Crestani
> > > > > > Sent: Wednesday, September 05, 2007 11:23 AM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: Re: [DAS Native] ant build
> > > > > >
> > > > > > Hi Brady,
> > > > > >
> > > > > > Thanks for the suggestion, I looked there and the compiler
> > > arguments
> > > > > > contains the /MD (Multi-threaded DLL) argument that mean
> non-debug
> > >
> > > > mode.
> > > > > > I
> > > > > > think there should be a way to build the library on debug
> mode,
> > > > > > something
> > > > > > like "ant debug", what do you thinnk?
> > > > > >
> > > > > > Regards,
> > > > > > Adriano Crestani
> > > > > >
> > > > > > On 9/4/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > > >
> > > > > > >
> > > > > > > Adriano,
> > > > > > >
> > > > > > > I'll try to look into this tomorrow. In the meantime,
there
> is a
> > > > file
> > > > > > > generated in the destination directory (where the object
> files
> > > > and/or
> > > > > > > library is written) by ant called history.xml. If you look
> at
> > > the
> > > > > > > signature attribute of the <processor/> element you can
see
> the
> > > > > > compiler
> > > > > > > command line generated by ant. Hopefully this will help
out.
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA
> > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: adrianocrestani@gmail.com [mailto:
> > > > adrianocrestani@gmail.com] On
> > > > > > > Behalf Of Adriano Crestani
> > > > > > > Sent: Sunday, September 02, 2007 1:36 PM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: Re: [DAS Native] ant build
> > > > > > >
> > > > > > > Back from vacation, back to work : )
> > > > > > >
> > > > > > > Brady, I thought the error had something to do with the pc
I
> was
> > > > using
> > > > > >
> > > > > > > while
> > > > > > > my laptop was getting repaired, but I got it repaired and
> the
> > > > error
> > > > > > was
> > > > > > > still occurring on my laptop. The error seems rationed to
> the
> > > sdo
> > > > ant
> > > > > > > build,
> > > > > > > cause I ignored the DAS ant build and built it like I was
> > > building
> > > > > > > before,
> > > > > > > with the MVS, but got the same error :S. Than I rebuilt
the
> SDO,
> > > > but
> > > > > > not
> > > > > > > using the new sdo build, but the old one, the build.bat,
and
> > > guess
> > > > > > what,
> > > > > > > there was no more error : ).
> > > > > > >
> > > > > > > It is not exactly an error, when I build the SDO using the
> ant
> > > > build,
> > > > > > my
> > > > > > > DAS
> > > > > > > requires the dll MSVCP80.dll and with the old SDO build it
> does
> > > > not.
> > > > > > > There
> > > > > > > may be some option that is being set on SDO ant build that
> is
> > > not
> > > > on
> > > > > > SDO
> > > > > > > old
> > > > > > > build. I'm not a C++ expert, but I think it has something
to
> do
> > > > with
> > > > > > the
> > > > > > > option Multi-threaded Debug DLL (/MDd) or Multi-threaded
> Debug
> > > > (/MTd)
> > > > > > on
> > > > > > > compiler arguments.
> > > > > > >
> > > > > > > Another point, the sdo_test is also requiring this dll
when
> > > built
> > > > > > using
> > > > > > > the
> > > > > > > SDO ant build (I built the SDO using ant build and
compiled
> the
> > > > > > sdo_test
> > > > > > > on
> > > > > > > MVS, but I removed the sdo_test dependency from
sdo_runtime,
> > > > otherwise
> > > > > >
> > > > > > > it
> > > > > > > would get compiled overwriting the SDO ant build binaries
on
> > > > deploy
> > > > > > > folder).
> > > > > > >
> > > > > > > Doing another tests right now to check whether it is a
> > > > Multi-threaded
> > > > > > > Debug
> > > > > > > DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Adriano Crestani
> > > > > > >
> > > > > > > On 8/16/07, Adriano Crestani <adrianocrestani@apache.org >
> > > wrote:
> > > > > > > >
> > > > > > > > Hi Brady,
> > > > > > > >
> > > > > > > > Yes, I was plaining to do that after this weekend. I had
> no
> > > > chance
> > > > > > to
> > > > > > > do
> > > > > > > > that so far, cause I was really busy with college's
stuffs
> :(
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Adriano Crestani
> > > > > > > >
> > > > > > > > On 8/16/07, Brady Johnson < bjohnson@roguewave.com >
> wrote:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Adriano,
> > > > > > > > >
> > > > > > > > > You might have seen that both SCA and SDO native now
> have an
> > >
> > > > ant
> > > > > > > build
> > > > > > > > > infrastructure. I briefly looked at doing the same for
> DAS,
> > > > but
> > > > > > > couldn't
> > > > > > > > > get it to compile with "configure, make, make install"
> at
> > > the
> > > > > > time,
> > > > > > > and
> > > > > > > > > never got a chance to come back to it.
> > > > > > > > >
> > > > > > > > > I think it should be very easy to copy the SDO ant
stuff
> > > over
> > > > to
> > > > > > > DAS,
> > > > > > > > > what do you think?
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: adrianocrestani@gmail.com
> > > > [mailto: adrianocrestani@gmail.com]
> > > > > > > On
> > > > > > > > > Behalf Of Adriano Crestani
> > > > > > > > > Sent: Monday, July 23, 2007 11:21 PM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > Great idea, soon I will try to apply this idea to
Native
> DAS
> > > > and
> > > > > > see
> > > > > > > how
> > > > > > > > > it works. I think the idea could also be easily
applied
> to
> > > > Native
> > > > > > > SDO,
> > > > > > > > > as it does not have too much dependencies and code
> > > generation
> > > > as
> > > > > > > Native
> > > > > > > > > SCA does.
> > > > > > > > >
> > > > > > > > > A folder ant-core could be created under tuscany/cpp/
> folder
> > > > to
> > > > > > > place
> > > > > > > > > the ant scripts shared by the projects.
> > > > > > > > >
> > > > > > > > > Also, we could add a build.xml under tuscany/ccp/ that
> > > builds
> > > > all
> > > > > > 3
> > > > > > > > > subprojects at once, if the 3 to implement this ant
> build
> > > > process.
> > > > > > > What
> > > > > > > > > do you think?
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Adriano Crestani
> > > > > > > > >
> > > > > > > > > On 7/23/07, Brady Johnson <bjohnson@roguewave.com >
> wrote:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Correction, it should be like this:
> > > > > > > > > >
> > > > > > > > > >   <target name="compile.core">
> > > > > > > > > >     <cpp-compile
> > > > > > > > > >         srcdir="${ core.abs.dir}"
> > > > > > > > > >         objdir="${lib.dir}"
> > > > > > > > > >         infiles="${ core.cpp.files}">
> > > > > > > > > >       <custom-cc-elements>
> > > > > > > > > >         <defineset if="windows"
define="SCA_EXPORTS"/>
> > > > > > > > > >       </custom-cc-elements>
> > > > > > > > > >     </cpp-compile>
> > > > > > > > > >   </target>
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Pete,
> > > > > > > > > >
> > > > > > > > > > Good catch. That's an easy fix. I'll submit it with
> the
> > > next
> > > > > > patch
> > > > > > > > > > tomorrow. Basically it involves removing SCA_EXPORTS
> from
> > > > the
> > > > > > > > > > Tuscany-BaseCompiler and adding it to the
> runtime/core/src
> > >
> > > > > > > targets:
> > > > > > > > > >         compile.core
> > > > > > > > > >         compile.extension
> > > > > > > > > >         compile.model
> > > > > > > > > >         compile.util
> > > > > > > > > >
> > > > > > > > > > Like this:
> > > > > > > > > >   <target name="compile.core">
> > > > > > > > > >     <cpp-compile
> > > > > > > > > >         srcdir="${core.abs.dir}"
> > > > > > > > > >         objdir="${lib.dir}"
> > > > > > > > > >         infiles="${core.cpp.files }"/>
> > > > > > > > > >       <custom-cc-element>
> > > > > > > > > >         <defineset if="windows"
define="SCA_EXPORTS"/>
> > > > > > > > > >       </custom-cc-element>
> > > > > > > > > >   </target>
> > > > > > > > > >
> > > > > > > > > > Tomorrow I'll have the python, ruby, rest, and maybe
> php
> > > > > > > extensions
> > > > > > > > > > complete.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com
]
> > > > > > > > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > I think there is a problem in the extension
> compilations.
> > > > The
> > > > > > > > > > SCA_EXPORTS directive should only be set when
> compiling
> > > the
> > > > > > > > > > runtime/core. When compiling for dlls on windows
which
> use
> > > > the
> > > > > > > core
> > > > > > > > > > dll SCA_EXPORTS must not be set. I guess this means
we
> > > have
> > > > to
> > > > > > > move
> > > > > > > > > > the setting of this directive from the definition of
> the
> > > > > > > > > > Tuscany-BaseCompiler
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com
>
> > > wrote:
> > > > > > > > > > > I've applied the patch. How are you creating the
> > > patches?
> > > > I
> > > > > > had
> > > > > > > > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > > > > > > > >
> > > > > > > > > > > I've included the changes in the patch to the
> > > > > > > tools/TuscanyDriver
> > > > > > > > > > > build. I haven't tested this and I'm not sure if
it
> > > works
> > > > with
> > > > > >
> > > > > > > the
> > > > > > > > > > > system.xml etc.
> > > > > > > > > > >
> > > > > > > > > > > Can you do a clean extract as a base for future
> patches?
> > >
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > > On 23/07/07, Pete Robbins <
robbinspg@googlemail.com
> >
> > > > wrote:
> > > > > > > > > > > > I'll give this a go. I should be able to run it
on
> Mac
> > > > as
> > > > > > > well.
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > > On 23/07/07, Brady Johnson <
> bjohnson@roguewave.com>
> > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > I updated the jira1438 with update 3, which
> includes
> > > > the
> > > > > > > > > > following:
> > > > > > > > > > > > >
> > > > https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > - added build.xml for the following dirs:
> > > > > > > > > > > > >    runtime/extensions/build.xml
> > > > > > > > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > > > > > > > >    runtime/extensions/sca/build.xml
> > > > > > > > > > > > >    runtime/extensions/ws/build.xml
> > > > > > > > > > > > >
> > > > > > > > > > > > > - changed system.xml to check for necessary
> axis,
> > > php,
> > > > > > > python,
> > > > > > > > > > > > > rest, and ruby env vars. If they're not  set
in
> the
> > > > env,
> > > > > > > look
> > > > > > > > > > > > > for them in platform.properties
> > > > > > > > > > > > >
> > > > > > > > > > > > > - changed compile-targets.xml targets
> > > > > > > > > > > > >    <cpp-install-headers/> to
> <cpp-install-files/>
> > > > > > > > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > > > > > > > >
> > > > > > > > > > > > > - added compile-targets.xml target:
> <cpp-symlink/>
> > > > > > > > > > > > >
> > > > > > > > > > > > > - added library versioning and the
> > > > > > > > > > > > > platform.tuscanySCA.library.version
> > > > > > > > > > > > > platform.properties property
> > > > > > > > > > > > >
> > > > > > > > > > > > > Can someone submit this for me.
> > > > > > > > > > > > >
> > > > > > > > > > > > > The only thing left now is the build.xml for
> these
> > > > > > > extensions:
> > > > > > > > > > > > > php, python, rest, ruby
> > > > > > > > > > > > >
> > > > > > > > > > > > > WRT testing on macs, I wont have a mac
available
> > > until
> > > > > > next
> > > > > > > > > week.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks
> > > > > > > > > > > > >
> > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > Software
> > > > -
> > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Brady Johnson
> [mailto:bjohnson@roguewave.com ]
> > > > > > > > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: RE: [SCA Native] preliminary ant
build
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I can look into testing it on Mac here. I
> believe we
> > >
> > > > have
> > > > > > > > > > > > > several mac machines for the purpose.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I'll get back to you soon.
> > > > > > > > > > > > >
> > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > Software
> > > > -
> > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Pete Robbins
> [mailto:robbinspg@googlemail.com
> > > ]
> > > > > > > > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
build
> > > > > > > > > > > > >
> > > > > > > > > > > > > I've taken out the references to
> > > tuscany_sca_config.h
> > > > and
> > > > > > > > > > > > > patched the automake for now with setting
> > > -DIS_DARWIN
> > > > on
> > > > > > > mac.
> > > > > > > > > > > > > Yet to test it on Mac as I need to kick the
kids
> off
> > >
> > > > my
> > > > > > > machine!
> > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 19/07/07, Pete Robbins <
> > > robbinspg@googlemail.com>
> > > > > > wrote:
> > > > > > > > > > > > > > Automake generates a config file with lots
of
> > > > standard
> > > > > > > stuff
> > > > > > > > > > > > > > but
> > > > > > > > > >
> > > > > > > > > > > > > > the only  one we need is the IS_DARWIN,
which
> is
> > > > used in
> > > > > > > 2
> > > > > > > > > > > > > > places. I'll remove the 2 references to this
> > > header
> > > > and
> > > > > > > change
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > bjohnson@roguewave.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I did the following diff command and got
> quite a
> > >
> > > > lot
> > > > > > of
> > > > > > > > > > > > > > > changes (listed
> > > > > > > > > > > > > > > below):
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > # diff tuscany_sca_config.h.in
> > > > tuscany_sca_config.h
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Are these not needed?
> > > > > > > > > > > > > > >        If not, I can get to work on
removing
> all
> > > > > > > references
> > > > > > > > > > > > > > > to
> > > > > > > > > >
> > > > > > > > > > > > > > > the file.
> > > > > > > > > > > > > > >        If so, then we still need to figure
> out
> > > how
> > > > to
> > > > > > > create
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > file.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I just realized, its 23:30, there... Go to
> bed!
> > > ;)
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> Wave
> > > > Software
> > > > > > -
> > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > 0a1
> > > > > > > > > > > > > > > > /* tuscany_sca_config.h.  Generated by
> > > > configure.
> > > > > > */
> > > > > > > > > > > > > > > 4c5
> > > > > > > > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > > > > > > > 8c9
> > > > > > > > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > > > > > > > 11c12
> > > > > > > > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > > > > > > > 14c15
> > > > > > > > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > > > > > > > 17c18
> > > > > > > > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > > > > > > > 20c21
> > > > > > > > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > > > > > > > 23c24
> > > > > > > > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > > > > > > > 26c27
> > > > > > > > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > > > > > > > 29c30
> > > > > > > > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > > > > > > > 33c34
> > > > > > > > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > > > > > > > 36c37
> > > > > > > > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > > > > > > > 39c40
> > > > > > > > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > > > > > > > 42c43
> > > > > > > > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > > > > > > > 45c46
> > > > > > > > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > > > > > > > 48c49
> > > > > > > > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > > > > > > > 51c52
> > > > > > > > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > > > > > > > 55c56
> > > > > > > > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > > > > > > > 59c60
> > > > > > > > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > > > > > > > 62c63
> > > > > > > > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > > > > > > > 65c66
> > > > > > > > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > > > > > > > 68c69
> > > > > > > > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > > > > > > > 71c72
> > > > > > > > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > > > > > > > 74c75
> > > > > > > > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > > > > > > > 77c78
> > > > > > > > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > > > > > > > 80c81
> > > > > > > > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > > > > > > > 84c85
> > > > > > > > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > > > > > > > 87c88
> > > > > > > > > > > > > > > < #undef PACKAGE
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > > > > > > > 90c91
> > > > > > > > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > > > > > > > 93c94
> > > > > > > > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define PACKAGE_NAME
"tuscany_sca_native"
> > > > > > > > > > > > > > > 96c97
> > > > > > > > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define PACKAGE_STRING
"tuscany_sca_native
> > > > > > > > > 1.0-incubator-M3 "
> > > > > > > > > > > > > > > 99c100
> > > > > > > > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define PACKAGE_TARNAME
> "tuscany_sca_native"
> > > > > > > > > > > > > > > 102c103
> > > > > > > > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define PACKAGE_VERSION
"1.0-incubator-M3"
> > > > > > > > > > > > > > > 105c106
> > > > > > > > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > > > > > > > 108c109
> > > > > > > > > > > > > > > < #undef VERSION
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > > > > > > > 111c112
> > > > > > > > > > > > > > > < #undef const
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef const */
> > > > > > > > > > > > > > > 116c117
> > > > > > > > > > > > > > > < #undef inline
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef inline */
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > > robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > yeah I figured that... I did exactly the
> same
> > > when
> > > > > > > > > > > > > > > committing changes earlier! I dodn't
commit
> the
> > > > > > changes
> > > > > > > > > > > > > > > inthe tools
> > > > > > > > > > folder.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > bjohnson@roguewave.com >
> > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Ok, I wasn't aware that I had changed
the
> > > tools.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I simply did a "svn diff . > patch_file"
> from
> > > > the
> > > > > > > tuscany
> > > > > > > > > > > > > > > > root
> > > > > > > > > > > > > dir.
> > > > > > > > > > > > > > > > You can disregard the tools changes.
I'll
> look
> > >
> > > > into
> > > > > > > it.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> Wave
> > > > > > Software
> > > > > > > -
> > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > From: Pete Robbins
> > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
ant
> > > build
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cool! I've applied this change as well.
> The
> > > > update2
> > > > > > > patch
> > > > > > > > > > > > > > > > contained changes to the
> > > > > > > tools/TuscanyDriver/build.xml.
> > > > > > > > > > > > > > > > This
> > > > > > > > > >
> > > > > > > > > > > > > > > > doesn't work so you
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > may want to look at it.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > bjohnson@roguewave.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If that's all we need the
> > > tuscany_sca_config.h
> > > > > > file
> > > > > > > for
> > > > > > > > > > > > > > > > > then, yes this
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > just got a whole lot easier. We can do
> the
> > > > > > following
> > > > > > > on
> > > > > > > > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >  <condition property="mac"
value="true">
> > > > > > > > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > > > > > > > >  </condition>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > > > > > > > multithreaded="true"
> > > > > > > > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > > > > > > > >
> > > > > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > > > > > > > >    <defineset if="mac"
> define="IS_DARWIN"/>
> > > > > > > > > > > > > > > > >    <includepath
> path="${sdo.include.dir}"/>
> > > > > > > > > > > > > > > > >    <includepath path="${
> tuscanySCA.root.dir
> > > > }"/>
> > > > > > > <!--
> > > > > > > > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > > > > > > > >    <includepath
> > > > > > path="${tuscanySCA.root.src.dir }"/>
> > > > > > > > > > > > > > > > >    <includepath
> > > > > > > > > > > > > > > > > path="${ tuscanySCA.root.src.dir
> > > }/core/src"/>
> > > > > > > > > > > > > > > > >  </compiler>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA
Rogue
> > > Wave
> > > > > > > Software -
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> ant
> > > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > <bj...@roguewave.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I uploaded a patch on top of what
you
> > > submit
> > > > to
> > > > > > > svn.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Here is a description of what I
> changed:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > - Changed the name of compilers.xml
to
> > > > > > system.xml.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > - This update has better support for
a
> > > > > > > > > > > > > > > > > > platform.properties file that
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > is completely empty.
> > > > > > > > > > > > > > > > > >  That is, all of the platform
> dependent
> > > > items
> > > > > > are
> > > > > > > > > > > > > > > > > > figured out by
> > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > If they are set in
> > > > > > > > > > > > > > > > > >  the platform.properties file then
> they
> > > > override
> > > > > > > the
> > > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > > > > > > determination.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > - Better directory path management
has
> > > been
> > > > > > added
> > > > > > > to
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > root build.xml and
> > > > runtime/core/src/build.xml
> > > > > > > files.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > - The install and clean targets in
> > > > > > > runtime/core/src
> > > > > > > > > > > > > > > > > > have
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > been
> > > > > > > > > > > > > > > > > completed.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > With respect to your latest post
> regarding
> > > > > > > > > > > > > "tuscany-sca-config.h ":
> > > > > > > > > > > > > > > > > > I knew this was a problem on clean
> systems
> > >
> > > > and
> > > > > > had
> > > > > > > > > > > > > > > > > > envisioned either
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > running a script or using a slimmed
> down
> > > > > > > > > > > > > > > > > > automake/configure to
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > setup
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > this file and any platform specific
> > > > parameters.
> > > > > > > That's
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > > > > certainly something we'll have to
> address,
> > > > what
> > > > > > do
> > > > > > > you
> > > > > > > > > > think?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The only reason we use this automake
> > > generated
> > > > > > file
> > > > > > > is
> > > > > > > > > > > > > > > > > to set the IS_DARWIN compiler flag for
> > > running
> > > > on
> > > > > > > Mac OS
> > > > > > > > >
> > > > > > > > > > > > > > > > > X. I
> > > > > > > > > >
> > > > > > > > > > > > > > > > > expect we
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > can use
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > different technique in ant to set this
> flag.
> > > > Is
> > > > > > > there a
> > > > > > > > > > > > > "family=mac"
> > > > > > > > > > > > > > > > > or somesuch in ant? The automake
simply
> runs
> > > a
> > > > > > > 'uname
> > > > > > > > > -s'
> > > > > > > > > > > > > > > > > command to
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > figure it out.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I think a goal for this shoul be that
I
> can
> > > do
> > > > a
> > > > > > > clean
> > > > > > > > > > > > > > > > > extract from svn and type "ant" in the
> top
> > > > level
> > > > > > > > > > > > > > > > > directory
> > > > > > > > > >
> > > > > > > > > > > > > > > > > and it will build with
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > everything defaulted. We need various
> > > pre-reqs
> > > > > > > defined
> > > > > > > > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > > > > > > > + other pre-reqs) but we should try to
> make
> > > > this
> > > > > > as
> > > > > > > > > > > > > > > > > + simple
> > > > > > > > > >
> > > > > > > > > > > > > > > > > + as
> > > > > > > > > > > > > > > > > possible.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA
> Rogue
> > > > Wave
> > > > > > > Software
> > > > > > > > >
> > > > > > > > > > > > > > > > > > -
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > > > > > robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22
AM
> > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
preliminary
> ant
> > > > build
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > the install dir defaults to
sca/deploy
> so
> > > I
> > > > > > think
> > > > > > > we
> > > > > > > > > > > > > > > > > > don't need any properties other than
> > > > overrides.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I'll check in what I have. so youi
can
> > > see.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > > > > bjohnson@roguewave.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > That's a good idea. Then the only
> thing
> > > > that
> > > > > > > really
> > > > > > > > > > > > > > > > > > > need to be set
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > in platform.properties file would
> be:
> > > > > > > > > > > > > > > > > > >         tuscanySCA.install.dir
> > > > > > > > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I'll put that together real quick
> and
> > > > upload
> > > > > > it.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> Lead
> > > > > > Software
> > > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave
> Software
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > [mailto: robbinspg@googlemail.com
> > > > > > > > > ]
> > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007
9:00
> AM
> > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> preliminary
> > > ant
> > > > > > build
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> > > > > > > robbinspg@googlemail.com
> > > > > > > > > >
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com >
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Thanks for trying out the ant
> build
> > > > > > scripts.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Regarding core.dir, you're
> right,
> > > the
> > > > name
> > > > > > > will
> > > > > > > > > > > > > > > > > > > > > need to
> > > > > > > > > > > > > > > > change.
> > > > > > > > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > As for the "
> tuscanySCA.root.dir" :
> > > > Your
> > > > > > > > > > > > > > > > > > > > > suggestion
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > will work
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > if you only execute ant from
the
> > > root
> > > > > > > directory,
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > but not
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > from the runtime/core/src
> directory.
> > > > > > That's
> > > > > > > why
> > > > > > > > > > > > > > > > > > > > > I put it
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > in the platform.properties,
> which is
> > > > > > > accessed by
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > build.xml's.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Its better ant coding style to
> have
> > > > > > anything
> > > > > > > > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > in a properties file, not in
an
> ant
> > > > > > > build.xml
> > > > > > > > > > file.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Yes... I realized that would
limit
> you
> > > > to
> > > > > > > running
> > > > > > > > > > > > > > > > > > > > ant from
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > top
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > level. So, as most of the info
in
> > > > > > > > > > > > > > > > > > > > platform.properties can be
deduced
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > would a better solution be to
have
> a
> > > top
> > > > > > level
> > > > > > > (or
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > > > > > > > dir) platform-properties.xml
that
> > > > > > > > > > > > > > > > > > > >  a) imports platform.properties
> for
> > > any
> > > > > > > overrides
> > > > > > > > > > > > > > > > > > > >  b) sets the properties
> conditional on
> > >
> > > > the
> > > > > > > > > platform.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > > > > > > > >      <condition property="
> lib.ext"
> > > > > > > value='.so' '>
> > > > > > > > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > > >      <condition property="
> lib.ext"
> > > > > > > value='.dll' '>
> > > > > > > > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > > >      <condition
property="lib.ext"
> > > > > > > value='.dylib
> > > > > > > > > '>
> > > > > > > > > > > > > > > > > > > >        <os
family='MacOSX?????'/>
> > > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > the build.xml files would all
import
> > > this
> > > > top
> > > > > > > level
> > > > > > > > > > file:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > As for the platform.properties
> file
> > > > for
> > > > > > > windows:
> > > > > > > > > > > > > > > > > > > > > The property platform
can/should
> be
> > > > > > removed,
> > > > > > > its
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > necessary.
> > > > > > > > > > > > > > > > > > > > > If
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > the property
> > > > > > "platform.compiler-definition"
> > > > > > > is
> > > > > > > > > > > > > > > > > > > > > set, then
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > that value will be used for
the
> > > > compiler
> > > > > > > > > > > > > > > > > > > > > selection, else
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > it will get set to msvc for
> windows
> > > as
> > > > can
> > > > > > > be
> > > > > > > > > > > > > > > > > > > > > seen
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I think the way this should
ship
> is
> > > to
> > > > > > have
> > > > > > > > > > > > > > > > > > > > > several platform.properties
> files
> > > for
> > > > the
> > > > > > > > > > different platform:
> > > > > > > > > > > > > > > > > > > > >
platform.properties.linux
> > > > > > > > > > > > > > > > > > > > >
> platform.properties.windows
> > > > > > > > > > > > > > > > > > > > >        platform.properties.mac
> Which
> > > > will
> > > > > > > each
> > > > > > > > > > > > > > > > > > > > > have values pre
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > configured for the
corresponding
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > platform. Then with either
> configure
> > > > or a
> > > > > > > shell
> > > > > > > > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > file wil be copied to
> > > > platform.properties
> > > > > > > and
> > > > > > > > > > > > > > > > > > > > > the directory properties will
be
> set
> > > > > > > > > accordingly.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> Johnson
> > > > Lead
> > > > > > > Software
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue
Wave
> > > > Software -
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > > > > [mailto:
> robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007
> 7:08
> > > AM
> > > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> > > preliminary
> > > > ant
> > > > > > > build
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I ran into a couple of issues
> > > tryingt
> > > > o
> > > > > > run
> > > > > > > this
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > > build.
> > > > > > > > > > > > > > > > > > > > > Firstly I got an error with a
> path
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > trcked this
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > down to the fact that the
> property
> > > > > > core.dir
> > > > > > > is
> > > > > > > > > > > > > > > > > > > > > set
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > in the top level build.xml to
> > > > > > > "runtime/core/src"
> > > > > > > > > > > > > > > > > > > > > and in the
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > runtime/core/src/build.xml the
> same
> > > > > > property
> > > > > > > > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > "tuscany/sca/core". It looks
to
> me
> > > > like
> > > > > > the
> > > > > > > > > > > > > > > > > > > > > second
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > defintion
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > of core.dir is being ignored.
> I'm
> > > not
> > > > an
> > > > > > ant
> > > > > > > > > > expert ...
> > > > > > > > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > > > > > > > get propagated from higher level
> build
> > > > files?
> > > > > > > > > > > > > > > > > > > > > I got around this by changing
> the
> > > name
> > > > of
> > > > > > > > > > > > > > > > > > > > > core.dir
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > one
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Rather than specifying the
paths
> to
> > > > the
> > > > > > > source
> > > > > > > > > > > > > > > > > > > > > code etc in the
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > platform.properties I would
> prefer
> > > to
> > > > set
> > > > > > > these
> > > > > > > > > > > > > > > > > > > > > automatically so
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > in the top level build.xml I
> added:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > <property
> name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > and then based other
properties
> from
> > >
> > > > this.
> > > > > > > It
> > > > > > > > > > > > > > > > > > > > > seemed to
> > > > > > > > > > > > > > > work!
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > > > > > > > < robbinspg@googlemail.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > I'd like some info on what I
> need
> > > to
> > > > > > edit
> > > > > > > in
> > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > One good thing about
automake
> is
> > > > that it
> > > > > > > > > > > > > > > > > > > > > > detects
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > your platform/compiler etc
> > > > > > automatically.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > I put together some
> > > documentation
> > > > for
> > > > > > > using
> > > > > > > > > > > > > > > > > > > > > > > ant with
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> > > Johnson
> > > > > > Lead
> > > > > > > > > > > > > > > > > > > > > > > Software Developer -
> HydraSCA
> > > > Rogue
> > > > > > Wave
> > > > > > > > > > > > > > > > > > > > > > > Software -
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Using ant to build
> TuscanySCA
> > > > Native
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > 1. Required Software to
> build
> > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > > > > Native with
> > > > > > > > > > > > > > > ant:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > > > > > > > >        Ant comes installed
> with
> > > > almost
> > > > > >
> > > > > > > all
> > > > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > > > > > > > >        version 1.6 or
later
> > > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > http://ant.apache.org/
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > > > > > > > >        version 1.0b3 or
> later
> > > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > > > > > > > >        version 1.0b4 or
> later
> > > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > 2. Installation
> Instructions:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set
> > > before
> > > > > > > starting.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > > > > >
> http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable
to
> the
> > > > > > > directory
> > > > > > > > > > > > > > > > > > > > > > > where you
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > > > > > export
> ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your
> path.
> > > > > > > > > > > > > > > > > > > > > > > export
> > > > PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Optional ant tasks, such
as
> > > > antcontrib
> > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib
> So
> > > > place
> > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > antcontrib and cpptasks
jars
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > If you dont have write
> access to
> > >
> > > > > > > > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > > > > - create
> ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Avoid adding optional ant
> tasks
> > > to
> > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> >
> > ...
> >
> > [Message clipped]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [DAS Native] ant build

Posted by Adriano Crestani <ad...@apache.org>.
Hi Brady,

I added this new macro on DAS antscripts/compile-targets.xml, but the
runtime error on das_test keeps. Have you successfully managed how to add
the /Gd option on ant build compiler arguments as I told on my last message
on this thread?

Regards,
Adriano Crestani

On 9/12/07, Brady Johnson <bj...@roguewave.com> wrote:
>
>
> Adriano,
>
> I found a problem with the ant build on Windows. The problem has to do
> with embedding the manifest files in the dll's and executables. I had
> this integrated in the ant build system at one time, but it didn't get
> included in a patch for some reason.
>
> I submit the change to the SDO and SCA code base. I'm a bit wary of
> submitting to DAS, so I'll let you do that. It's a very simple fix in
> one file: antscripts/compile-targets.xml. Just add the
> <cpp-embed-manifest/> macro and make sure you call it from the other
> build macros and it should work.
>
>
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com
>
>
> -----Original Message-----
> From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> Behalf Of Adriano Crestani
> Sent: Friday, September 07, 2007 11:28 PM
> To: tuscany-dev@ws.apache.org
> Subject: Re: [DAS Native] ant build
>
> Hi Brady,
>
> I added the /D_VC80_UPGRADE=0x0600( the /Od argument was already being
> generated ) argument with no successful : (. So I did the reverse, I
> added
> the /Gz argument on the DAS MVS project, that was working, and than it
> got
> the same error as DAS ant build. So now I'm sure the error has something
> to
> do with the /Gz argument, then I tried to add the /Gd argument on ant
> build
> to overwrite the /Gz argument and had no luck(explanation below).
>
> I finally managed to use the compilerarg option on cc element and tried
> to
> add the /Gd argument to the compiler arguments adding this element on cc
> element:
>
> <compilerarg value="/Gd"/>
>
> And it's added to the beginning of arguments list:
> cl /Gd /D_VC80_UPGRADE=0x0600 /EHsc /c /nologo /Zi /Od /GZ /D_DEBUG /MDd
> /GR
> /DWIN32 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS /I${
> tuscany.das.home.dir}\include
> /I..\libiconv-1.9.2-1-lib\include/I..\SDO\deploy\include /I..\libxml2-
> 2.6.13.win32\include /Iruntime\core\include /Iruntime\core\src
> *
> *But this way the /GZ argument overwrites /GD argument, because it's
> declared after the /GD argument. So I tried to set the location
> attribute on
> compilerarg element to define where the /GD argument should be
> generated:
>
> <compilerarg value="/Gd" location="mid"/>
>
> The /Gd argument should be generated after the arguments declaration and
> before the include files on the compiler command line, however it wasn't
> being generated whenever I declared the location attribute :S. Can you
> try
> it on your computer and see if you get the same? Thanks ; )
>
> Adriano Crestani
>
> On 9/7/07, Adriano Crestani <ad...@apache.org> wrote:
> >
> > Hi Brady,
> >
> > I didn't add an ant build for das_test yet, I'm still building it with
> > MVS. Just don't forget to remove the das_test project dependency from
> > das_runtime project when building it with MVS.
> >
> > I will modify these options you suggested probably tomorrow, it's
> holyday
> > this friday on Brazil ;P. But I still don't see how I can add these
> > options in the ant build files : (
> >
> > Regards,
> > Adriano Crestani
> >
> > On 9/7/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > >
> > >
> > > Adriano,
> > >
> > > I'm looking into this. I don't see how to build the das_test with
> ant.
> > > Have you submit the build.xml for das_test yet?
> > >
> > > At first glance, I see a few things to try changing:
> > >         /Od - lets try adding this, it disables optimization
> > >         /D_VC80_UPGRADE=0x0600 - not sure what this does, but lets
> try
> > > adding it...
> > >
> > >
> > > Brady
> > >
> > > -----Original Message-----
> > > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com ]
> On
> > > Behalf Of Adriano Crestani
> > > Sent: Friday, September 07, 2007 9:33 AM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: Re: [DAS Native] ant build
> > >
> > > Hi Brady,
> > >
> > > Yeah, I was comparing these two command lines. Thanks for your help
> with
> > > DAS
> > > ; ).
> > >
> > > Adriano Crestani
> > >
> > > On 9/7/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > >
> > > >
> > > > Adriano,
> > > >
> > > > I agree completely that the ant build should produce the same
> result
> > > as
> > > > the MVS build. This should be quite easy, considering that they
> both
> > > > call the same compiler executable. I'll try to download DAS today
> and
> > > > work on it, it should just be a case of a few command line
> switches.
> > > The
> > > > way to do it is to look at the command line that MVS produces (can
> be
> > > > seen by loading the project and displaying properties) and
> comparing
> > > it
> > > > to the ant command line in the history.xml file. As For the /Gz
> option
> > > > (an msvc 7.1 option), that was replaced by /Ehsc in msvc 8.0.
> > > >
> > > > --------------------
> > > > Brady Johnson
> > > > Lead Software Developer - HydraSCA
> > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com]
> On
> > > > Behalf Of Adriano Crestani
> > > > Sent: Wednesday, September 05, 2007 8:17 PM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: Re: [DAS Native] ant build
> > > >
> > > > Hi Brady,
> > > >
> > > > I compiled both DAS and SDO with "ant -Ddebug=true", than I
> compiled
> > > the
> > > > das_test project also on debug mode. But I get an error during the
> > > > das_test
> > > > execution?
> > > >
> > > > Run-Time Check Failure #2 - Stack around the variable 'sqlType'
> was
> > > > corrupted.
> > > >
> > > > This doesn't happen when I compile the das_test with my old build
> > > (MVS).
> > > > Than I looked on my MVS compiler arguments and on those arguments
> > > > generated
> > > > by the ant for something different that might be causing this
> problem.
> > > > So, I
> > > > realized that the ant build, on SDO and DAS, is compiling with the
> > > > argument
> > > > /Gz, but, both, SDO and DAS MVS projects are configured with the
> > > > argument
> > > > /Gd. In addition, my compiler is outputting a warning about the
> /Gz
> > > > argument:
> > > >
> > > >        [cc] cl : Command line warning D9035 : option 'GZ' has been
> > > > deprecated and will be removed in a future release
> > > >        [cc] cl : Command line warning D9036 : use 'RTC1' instead
> of
> > > 'GZ'
> > > >
> > > > I tried to modify the ant files adding the attribute
> compilerarg='/GD'
> > >
> > > > to
> > > > the cc tag, but it says my compiler does not support this
> attribute :
> > > (.
> > > > After all, I dont know if it has something to do with the runtime
> > > error
> > > > I'm
> > > > getting with das_tests, but I think the ant, bat or MSV project
> build
> > > > should
> > > > all result the same binaries, and it seems not to be happening
> once
> > > > there
> > > > are different compiler arguments.
> > > >
> > > > Can you help me with that Brady? Thanks
> > > >
> > > > Regards,
> > > > Adriano Crestani
> > > >
> > > > On 9/5/07, Adriano Crestani <ad...@apache.org> wrote:
> > > > >
> > > > > Thanks a log Brady, it worked ; )
> > > > >
> > > > > Adriano Crestani
> > > > >
> > > > > On 9/5/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > > >
> > > > > >
> > > > > > Adriano,
> > > > > >
> > > > > > There is for SCA and SDO. Either "ant -Ddebug=true" or set
> > > > > > "platform.debug.compile=true" in platform.properties. Both of
> > > those
> > > > get
> > > > > > passed to the cc task, which should take care of setting the
> > > correct
> > > > > > command line args.
> > > > > >
> > > > > > Brady
> > > > > >
> > > > > > P.S. The arg can be true, yes, or on.
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: adrianocrestani@gmail.com [mailto:
> > > adrianocrestani@gmail.com]
> > > > On
> > > > > > Behalf Of Adriano Crestani
> > > > > > Sent: Wednesday, September 05, 2007 11:23 AM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: Re: [DAS Native] ant build
> > > > > >
> > > > > > Hi Brady,
> > > > > >
> > > > > > Thanks for the suggestion, I looked there and the compiler
> > > arguments
> > > > > > contains the /MD (Multi-threaded DLL) argument that mean
> non-debug
> > >
> > > > mode.
> > > > > > I
> > > > > > think there should be a way to build the library on debug
> mode,
> > > > > > something
> > > > > > like "ant debug", what do you thinnk?
> > > > > >
> > > > > > Regards,
> > > > > > Adriano Crestani
> > > > > >
> > > > > > On 9/4/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > > >
> > > > > > >
> > > > > > > Adriano,
> > > > > > >
> > > > > > > I'll try to look into this tomorrow. In the meantime, there
> is a
> > > > file
> > > > > > > generated in the destination directory (where the object
> files
> > > > and/or
> > > > > > > library is written) by ant called history.xml. If you look
> at
> > > the
> > > > > > > signature attribute of the <processor/> element you can see
> the
> > > > > > compiler
> > > > > > > command line generated by ant. Hopefully this will help out.
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA
> > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: adrianocrestani@gmail.com [mailto:
> > > > adrianocrestani@gmail.com] On
> > > > > > > Behalf Of Adriano Crestani
> > > > > > > Sent: Sunday, September 02, 2007 1:36 PM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: Re: [DAS Native] ant build
> > > > > > >
> > > > > > > Back from vacation, back to work : )
> > > > > > >
> > > > > > > Brady, I thought the error had something to do with the pc I
> was
> > > > using
> > > > > >
> > > > > > > while
> > > > > > > my laptop was getting repaired, but I got it repaired and
> the
> > > > error
> > > > > > was
> > > > > > > still occurring on my laptop. The error seems rationed to
> the
> > > sdo
> > > > ant
> > > > > > > build,
> > > > > > > cause I ignored the DAS ant build and built it like I was
> > > building
> > > > > > > before,
> > > > > > > with the MVS, but got the same error :S. Than I rebuilt the
> SDO,
> > > > but
> > > > > > not
> > > > > > > using the new sdo build, but the old one, the build.bat, and
> > > guess
> > > > > > what,
> > > > > > > there was no more error : ).
> > > > > > >
> > > > > > > It is not exactly an error, when I build the SDO using the
> ant
> > > > build,
> > > > > > my
> > > > > > > DAS
> > > > > > > requires the dll MSVCP80.dll and with the old SDO build it
> does
> > > > not.
> > > > > > > There
> > > > > > > may be some option that is being set on SDO ant build that
> is
> > > not
> > > > on
> > > > > > SDO
> > > > > > > old
> > > > > > > build. I'm not a C++ expert, but I think it has something to
> do
> > > > with
> > > > > > the
> > > > > > > option Multi-threaded Debug DLL (/MDd) or Multi-threaded
> Debug
> > > > (/MTd)
> > > > > > on
> > > > > > > compiler arguments.
> > > > > > >
> > > > > > > Another point, the sdo_test is also requiring this dll when
> > > built
> > > > > > using
> > > > > > > the
> > > > > > > SDO ant build (I built the SDO using ant build and compiled
> the
> > > > > > sdo_test
> > > > > > > on
> > > > > > > MVS, but I removed the sdo_test dependency from sdo_runtime,
> > > > otherwise
> > > > > >
> > > > > > > it
> > > > > > > would get compiled overwriting the SDO ant build binaries on
> > > > deploy
> > > > > > > folder).
> > > > > > >
> > > > > > > Doing another tests right now to check whether it is a
> > > > Multi-threaded
> > > > > > > Debug
> > > > > > > DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
> > > > > > >
> > > > > > > Regards,
> > > > > > > Adriano Crestani
> > > > > > >
> > > > > > > On 8/16/07, Adriano Crestani <adrianocrestani@apache.org >
> > > wrote:
> > > > > > > >
> > > > > > > > Hi Brady,
> > > > > > > >
> > > > > > > > Yes, I was plaining to do that after this weekend. I had
> no
> > > > chance
> > > > > > to
> > > > > > > do
> > > > > > > > that so far, cause I was really busy with college's stuffs
> :(
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Adriano Crestani
> > > > > > > >
> > > > > > > > On 8/16/07, Brady Johnson < bjohnson@roguewave.com >
> wrote:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Adriano,
> > > > > > > > >
> > > > > > > > > You might have seen that both SCA and SDO native now
> have an
> > >
> > > > ant
> > > > > > > build
> > > > > > > > > infrastructure. I briefly looked at doing the same for
> DAS,
> > > > but
> > > > > > > couldn't
> > > > > > > > > get it to compile with "configure, make, make install"
> at
> > > the
> > > > > > time,
> > > > > > > and
> > > > > > > > > never got a chance to come back to it.
> > > > > > > > >
> > > > > > > > > I think it should be very easy to copy the SDO ant stuff
> > > over
> > > > to
> > > > > > > DAS,
> > > > > > > > > what do you think?
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: adrianocrestani@gmail.com
> > > > [mailto: adrianocrestani@gmail.com]
> > > > > > > On
> > > > > > > > > Behalf Of Adriano Crestani
> > > > > > > > > Sent: Monday, July 23, 2007 11:21 PM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > Great idea, soon I will try to apply this idea to Native
> DAS
> > > > and
> > > > > > see
> > > > > > > how
> > > > > > > > > it works. I think the idea could also be easily applied
> to
> > > > Native
> > > > > > > SDO,
> > > > > > > > > as it does not have too much dependencies and code
> > > generation
> > > > as
> > > > > > > Native
> > > > > > > > > SCA does.
> > > > > > > > >
> > > > > > > > > A folder ant-core could be created under tuscany/cpp/
> folder
> > > > to
> > > > > > > place
> > > > > > > > > the ant scripts shared by the projects.
> > > > > > > > >
> > > > > > > > > Also, we could add a build.xml under tuscany/ccp/ that
> > > builds
> > > > all
> > > > > > 3
> > > > > > > > > subprojects at once, if the 3 to implement this ant
> build
> > > > process.
> > > > > > > What
> > > > > > > > > do you think?
> > > > > > > > >
> > > > > > > > > Regards,
> > > > > > > > > Adriano Crestani
> > > > > > > > >
> > > > > > > > > On 7/23/07, Brady Johnson <bjohnson@roguewave.com >
> wrote:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Correction, it should be like this:
> > > > > > > > > >
> > > > > > > > > >   <target name="compile.core">
> > > > > > > > > >     <cpp-compile
> > > > > > > > > >         srcdir="${ core.abs.dir}"
> > > > > > > > > >         objdir="${lib.dir}"
> > > > > > > > > >         infiles="${ core.cpp.files}">
> > > > > > > > > >       <custom-cc-elements>
> > > > > > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > > > > > >       </custom-cc-elements>
> > > > > > > > > >     </cpp-compile>
> > > > > > > > > >   </target>
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Pete,
> > > > > > > > > >
> > > > > > > > > > Good catch. That's an easy fix. I'll submit it with
> the
> > > next
> > > > > > patch
> > > > > > > > > > tomorrow. Basically it involves removing SCA_EXPORTS
> from
> > > > the
> > > > > > > > > > Tuscany-BaseCompiler and adding it to the
> runtime/core/src
> > >
> > > > > > > targets:
> > > > > > > > > >         compile.core
> > > > > > > > > >         compile.extension
> > > > > > > > > >         compile.model
> > > > > > > > > >         compile.util
> > > > > > > > > >
> > > > > > > > > > Like this:
> > > > > > > > > >   <target name="compile.core">
> > > > > > > > > >     <cpp-compile
> > > > > > > > > >         srcdir="${core.abs.dir}"
> > > > > > > > > >         objdir="${lib.dir}"
> > > > > > > > > >         infiles="${core.cpp.files }"/>
> > > > > > > > > >       <custom-cc-element>
> > > > > > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > > > > > >       </custom-cc-element>
> > > > > > > > > >   </target>
> > > > > > > > > >
> > > > > > > > > > Tomorrow I'll have the python, ruby, rest, and maybe
> php
> > > > > > > extensions
> > > > > > > > > > complete.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > I think there is a problem in the extension
> compilations.
> > > > The
> > > > > > > > > > SCA_EXPORTS directive should only be set when
> compiling
> > > the
> > > > > > > > > > runtime/core. When compiling for dlls on windows which
> use
> > > > the
> > > > > > > core
> > > > > > > > > > dll SCA_EXPORTS must not be set. I guess this means we
> > > have
> > > > to
> > > > > > > move
> > > > > > > > > > the setting of this directive from the definition of
> the
> > > > > > > > > > Tuscany-BaseCompiler
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com >
> > > wrote:
> > > > > > > > > > > I've applied the patch. How are you creating the
> > > patches?
> > > > I
> > > > > > had
> > > > > > > > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > > > > > > > >
> > > > > > > > > > > I've included the changes in the patch to the
> > > > > > > tools/TuscanyDriver
> > > > > > > > > > > build. I haven't tested this and I'm not sure if it
> > > works
> > > > with
> > > > > >
> > > > > > > the
> > > > > > > > > > > system.xml etc.
> > > > > > > > > > >
> > > > > > > > > > > Can you do a clean extract as a base for future
> patches?
> > >
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com
> >
> > > > wrote:
> > > > > > > > > > > > I'll give this a go. I should be able to run it on
> Mac
> > > > as
> > > > > > > well.
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > > On 23/07/07, Brady Johnson <
> bjohnson@roguewave.com>
> > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > I updated the jira1438 with update 3, which
> includes
> > > > the
> > > > > > > > > > following:
> > > > > > > > > > > > >
> > > > https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > - added build.xml for the following dirs:
> > > > > > > > > > > > >    runtime/extensions/build.xml
> > > > > > > > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > > > > > > > >    runtime/extensions/sca/build.xml
> > > > > > > > > > > > >    runtime/extensions/ws/build.xml
> > > > > > > > > > > > >
> > > > > > > > > > > > > - changed system.xml to check for necessary
> axis,
> > > php,
> > > > > > > python,
> > > > > > > > > > > > > rest, and ruby env vars. If they're not  set in
> the
> > > > env,
> > > > > > > look
> > > > > > > > > > > > > for them in platform.properties
> > > > > > > > > > > > >
> > > > > > > > > > > > > - changed compile-targets.xml targets
> > > > > > > > > > > > >    <cpp-install-headers/> to
> <cpp-install-files/>
> > > > > > > > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > > > > > > > >
> > > > > > > > > > > > > - added compile-targets.xml target:
> <cpp-symlink/>
> > > > > > > > > > > > >
> > > > > > > > > > > > > - added library versioning and the
> > > > > > > > > > > > > platform.tuscanySCA.library.version
> > > > > > > > > > > > > platform.properties property
> > > > > > > > > > > > >
> > > > > > > > > > > > > Can someone submit this for me.
> > > > > > > > > > > > >
> > > > > > > > > > > > > The only thing left now is the build.xml for
> these
> > > > > > > extensions:
> > > > > > > > > > > > > php, python, rest, ruby
> > > > > > > > > > > > >
> > > > > > > > > > > > > WRT testing on macs, I wont have a mac available
> > > until
> > > > > > next
> > > > > > > > > week.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks
> > > > > > > > > > > > >
> > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > Software
> > > > -
> > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Brady Johnson
> [mailto:bjohnson@roguewave.com ]
> > > > > > > > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I can look into testing it on Mac here. I
> believe we
> > >
> > > > have
> > > > > > > > > > > > > several mac machines for the purpose.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I'll get back to you soon.
> > > > > > > > > > > > >
> > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > Software
> > > > -
> > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Pete Robbins
> [mailto:robbinspg@googlemail.com
> > > ]
> > > > > > > > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > > >
> > > > > > > > > > > > > I've taken out the references to
> > > tuscany_sca_config.h
> > > > and
> > > > > > > > > > > > > patched the automake for now with setting
> > > -DIS_DARWIN
> > > > on
> > > > > > > mac.
> > > > > > > > > > > > > Yet to test it on Mac as I need to kick the kids
> off
> > >
> > > > my
> > > > > > > machine!
> > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 19/07/07, Pete Robbins <
> > > robbinspg@googlemail.com>
> > > > > > wrote:
> > > > > > > > > > > > > > Automake generates a config file with lots of
> > > > standard
> > > > > > > stuff
> > > > > > > > > > > > > > but
> > > > > > > > > >
> > > > > > > > > > > > > > the only  one we need is the IS_DARWIN, which
> is
> > > > used in
> > > > > > > 2
> > > > > > > > > > > > > > places. I'll remove the 2 references to this
> > > header
> > > > and
> > > > > > > change
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > bjohnson@roguewave.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I did the following diff command and got
> quite a
> > >
> > > > lot
> > > > > > of
> > > > > > > > > > > > > > > changes (listed
> > > > > > > > > > > > > > > below):
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > # diff tuscany_sca_config.h.in
> > > > tuscany_sca_config.h
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Are these not needed?
> > > > > > > > > > > > > > >        If not, I can get to work on removing
> all
> > > > > > > references
> > > > > > > > > > > > > > > to
> > > > > > > > > >
> > > > > > > > > > > > > > > the file.
> > > > > > > > > > > > > > >        If so, then we still need to figure
> out
> > > how
> > > > to
> > > > > > > create
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > file.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I just realized, its 23:30, there... Go to
> bed!
> > > ;)
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> Wave
> > > > Software
> > > > > > -
> > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > 0a1
> > > > > > > > > > > > > > > > /* tuscany_sca_config.h.  Generated by
> > > > configure.
> > > > > > */
> > > > > > > > > > > > > > > 4c5
> > > > > > > > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > > > > > > > 8c9
> > > > > > > > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > > > > > > > 11c12
> > > > > > > > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > > > > > > > 14c15
> > > > > > > > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > > > > > > > 17c18
> > > > > > > > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > > > > > > > 20c21
> > > > > > > > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > > > > > > > 23c24
> > > > > > > > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > > > > > > > 26c27
> > > > > > > > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > > > > > > > 29c30
> > > > > > > > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > > > > > > > 33c34
> > > > > > > > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > > > > > > > 36c37
> > > > > > > > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > > > > > > > 39c40
> > > > > > > > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > > > > > > > 42c43
> > > > > > > > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > > > > > > > 45c46
> > > > > > > > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > > > > > > > 48c49
> > > > > > > > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > > > > > > > 51c52
> > > > > > > > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > > > > > > > 55c56
> > > > > > > > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > > > > > > > 59c60
> > > > > > > > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > > > > > > > 62c63
> > > > > > > > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > > > > > > > 65c66
> > > > > > > > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > > > > > > > 68c69
> > > > > > > > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > > > > > > > 71c72
> > > > > > > > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > > > > > > > 74c75
> > > > > > > > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > > > > > > > 77c78
> > > > > > > > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > > > > > > > 80c81
> > > > > > > > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > > > > > > > 84c85
> > > > > > > > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > > > > > > > 87c88
> > > > > > > > > > > > > > > < #undef PACKAGE
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > > > > > > > 90c91
> > > > > > > > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > > > > > > > 93c94
> > > > > > > > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > > > > > > > > 96c97
> > > > > > > > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > > > > > > > > 1.0-incubator-M3 "
> > > > > > > > > > > > > > > 99c100
> > > > > > > > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define PACKAGE_TARNAME
> "tuscany_sca_native"
> > > > > > > > > > > > > > > 102c103
> > > > > > > > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > > > > > > > > 105c106
> > > > > > > > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > > > > > > > 108c109
> > > > > > > > > > > > > > > < #undef VERSION
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > > > > > > > 111c112
> > > > > > > > > > > > > > > < #undef const
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef const */
> > > > > > > > > > > > > > > 116c117
> > > > > > > > > > > > > > > < #undef inline
> > > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > > /* #undef inline */
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > > robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > yeah I figured that... I did exactly the
> same
> > > when
> > > > > > > > > > > > > > > committing changes earlier! I dodn't commit
> the
> > > > > > changes
> > > > > > > > > > > > > > > inthe tools
> > > > > > > > > > folder.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > bjohnson@roguewave.com >
> > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Ok, I wasn't aware that I had changed the
> > > tools.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I simply did a "svn diff . > patch_file"
> from
> > > > the
> > > > > > > tuscany
> > > > > > > > > > > > > > > > root
> > > > > > > > > > > > > dir.
> > > > > > > > > > > > > > > > You can disregard the tools changes. I'll
> look
> > >
> > > > into
> > > > > > > it.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> Wave
> > > > > > Software
> > > > > > > -
> > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > From: Pete Robbins
> > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > > build
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cool! I've applied this change as well.
> The
> > > > update2
> > > > > > > patch
> > > > > > > > > > > > > > > > contained changes to the
> > > > > > > tools/TuscanyDriver/build.xml.
> > > > > > > > > > > > > > > > This
> > > > > > > > > >
> > > > > > > > > > > > > > > > doesn't work so you
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > may want to look at it.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > bjohnson@roguewave.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If that's all we need the
> > > tuscany_sca_config.h
> > > > > > file
> > > > > > > for
> > > > > > > > > > > > > > > > > then, yes this
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > just got a whole lot easier. We can do
> the
> > > > > > following
> > > > > > > on
> > > > > > > > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > > > > > > > >  </condition>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > > > > > > > multithreaded="true"
> > > > > > > > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > > > > > > > >
> > > > > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > > > > > > > >    <defineset if="mac"
> define="IS_DARWIN"/>
> > > > > > > > > > > > > > > > >    <includepath
> path="${sdo.include.dir}"/>
> > > > > > > > > > > > > > > > >    <includepath path="${
> tuscanySCA.root.dir
> > > > }"/>
> > > > > > > <!--
> > > > > > > > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > > > > > > > >    <includepath
> > > > > > path="${tuscanySCA.root.src.dir }"/>
> > > > > > > > > > > > > > > > >    <includepath
> > > > > > > > > > > > > > > > > path="${ tuscanySCA.root.src.dir
> > > }/core/src"/>
> > > > > > > > > > > > > > > > >  </compiler>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> > > Wave
> > > > > > > Software -
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> ant
> > > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > <bj...@roguewave.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I uploaded a patch on top of what you
> > > submit
> > > > to
> > > > > > > svn.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Here is a description of what I
> changed:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > - Changed the name of compilers.xml to
> > > > > > system.xml.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > > > > > > > > platform.properties file that
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > is completely empty.
> > > > > > > > > > > > > > > > > >  That is, all of the platform
> dependent
> > > > items
> > > > > > are
> > > > > > > > > > > > > > > > > > figured out by
> > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > If they are set in
> > > > > > > > > > > > > > > > > >  the platform.properties file then
> they
> > > > override
> > > > > > > the
> > > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > > > > > > determination.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > - Better directory path management has
> > > been
> > > > > > added
> > > > > > > to
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > root build.xml and
> > > > runtime/core/src/build.xml
> > > > > > > files.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > - The install and clean targets in
> > > > > > > runtime/core/src
> > > > > > > > > > > > > > > > > > have
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > been
> > > > > > > > > > > > > > > > > completed.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > With respect to your latest post
> regarding
> > > > > > > > > > > > > "tuscany-sca-config.h ":
> > > > > > > > > > > > > > > > > > I knew this was a problem on clean
> systems
> > >
> > > > and
> > > > > > had
> > > > > > > > > > > > > > > > > > envisioned either
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > running a script or using a slimmed
> down
> > > > > > > > > > > > > > > > > > automake/configure to
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > setup
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > this file and any platform specific
> > > > parameters.
> > > > > > > That's
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > > > > certainly something we'll have to
> address,
> > > > what
> > > > > > do
> > > > > > > you
> > > > > > > > > > think?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The only reason we use this automake
> > > generated
> > > > > > file
> > > > > > > is
> > > > > > > > > > > > > > > > > to set the IS_DARWIN compiler flag for
> > > running
> > > > on
> > > > > > > Mac OS
> > > > > > > > >
> > > > > > > > > > > > > > > > > X. I
> > > > > > > > > >
> > > > > > > > > > > > > > > > > expect we
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > can use
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > different technique in ant to set this
> flag.
> > > > Is
> > > > > > > there a
> > > > > > > > > > > > > "family=mac"
> > > > > > > > > > > > > > > > > or somesuch in ant? The automake simply
> runs
> > > a
> > > > > > > 'uname
> > > > > > > > > -s'
> > > > > > > > > > > > > > > > > command to
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > figure it out.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I think a goal for this shoul be that I
> can
> > > do
> > > > a
> > > > > > > clean
> > > > > > > > > > > > > > > > > extract from svn and type "ant" in the
> top
> > > > level
> > > > > > > > > > > > > > > > > directory
> > > > > > > > > >
> > > > > > > > > > > > > > > > > and it will build with
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > everything defaulted. We need various
> > > pre-reqs
> > > > > > > defined
> > > > > > > > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > > > > > > > + other pre-reqs) but we should try to
> make
> > > > this
> > > > > > as
> > > > > > > > > > > > > > > > > + simple
> > > > > > > > > >
> > > > > > > > > > > > > > > > > + as
> > > > > > > > > > > > > > > > > possible.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA
> Rogue
> > > > Wave
> > > > > > > Software
> > > > > > > > >
> > > > > > > > > > > > > > > > > > -
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > > > > > robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> ant
> > > > build
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > the install dir defaults to sca/deploy
> so
> > > I
> > > > > > think
> > > > > > > we
> > > > > > > > > > > > > > > > > > don't need any properties other than
> > > > overrides.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I'll check in what I have. so youi can
> > > see.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > > > > bjohnson@roguewave.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > That's a good idea. Then the only
> thing
> > > > that
> > > > > > > really
> > > > > > > > > > > > > > > > > > > need to be set
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > in platform.properties file would
> be:
> > > > > > > > > > > > > > > > > > >         tuscanySCA.install.dir
> > > > > > > > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I'll put that together real quick
> and
> > > > upload
> > > > > > it.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> Lead
> > > > > > Software
> > > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave
> Software
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > [mailto: robbinspg@googlemail.com
> > > > > > > > > ]
> > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00
> AM
> > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> preliminary
> > > ant
> > > > > > build
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> > > > > > > robbinspg@googlemail.com
> > > > > > > > > >
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com >
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Thanks for trying out the ant
> build
> > > > > > scripts.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Regarding core.dir, you're
> right,
> > > the
> > > > name
> > > > > > > will
> > > > > > > > > > > > > > > > > > > > > need to
> > > > > > > > > > > > > > > > change.
> > > > > > > > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > As for the "
> tuscanySCA.root.dir" :
> > > > Your
> > > > > > > > > > > > > > > > > > > > > suggestion
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > will work
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > if you only execute ant from the
> > > root
> > > > > > > directory,
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > but not
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > from the runtime/core/src
> directory.
> > > > > > That's
> > > > > > > why
> > > > > > > > > > > > > > > > > > > > > I put it
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > in the platform.properties,
> which is
> > > > > > > accessed by
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > build.xml's.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Its better ant coding style to
> have
> > > > > > anything
> > > > > > > > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > in a properties file, not in an
> ant
> > > > > > > build.xml
> > > > > > > > > > file.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Yes... I realized that would limit
> you
> > > > to
> > > > > > > running
> > > > > > > > > > > > > > > > > > > > ant from
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > top
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > would a better solution be to have
> a
> > > top
> > > > > > level
> > > > > > > (or
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > > > > > > > > >  a) imports platform.properties
> for
> > > any
> > > > > > > overrides
> > > > > > > > > > > > > > > > > > > >  b) sets the properties
> conditional on
> > >
> > > > the
> > > > > > > > > platform.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > > > > > > > >      <condition property="
> lib.ext"
> > > > > > > value='.so' '>
> > > > > > > > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > > >      <condition property="
> lib.ext"
> > > > > > > value='.dll' '>
> > > > > > > > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > > >      <condition property="lib.ext"
> > > > > > > value='.dylib
> > > > > > > > > '>
> > > > > > > > > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > the build.xml files would all import
> > > this
> > > > top
> > > > > > > level
> > > > > > > > > > file:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > As for the platform.properties
> file
> > > > for
> > > > > > > windows:
> > > > > > > > > > > > > > > > > > > > > The property platform can/should
> be
> > > > > > removed,
> > > > > > > its
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > necessary.
> > > > > > > > > > > > > > > > > > > > > If
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > the property
> > > > > > "platform.compiler-definition"
> > > > > > > is
> > > > > > > > > > > > > > > > > > > > > set, then
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > that value will be used for the
> > > > compiler
> > > > > > > > > > > > > > > > > > > > > selection, else
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > it will get set to msvc for
> windows
> > > as
> > > > can
> > > > > > > be
> > > > > > > > > > > > > > > > > > > > > seen
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I think the way this should ship
> is
> > > to
> > > > > > have
> > > > > > > > > > > > > > > > > > > > > several platform.properties
> files
> > > for
> > > > the
> > > > > > > > > > different platform:
> > > > > > > > > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > > > > > > > > >
> platform.properties.windows
> > > > > > > > > > > > > > > > > > > > >        platform.properties.mac
> Which
> > > > will
> > > > > > > each
> > > > > > > > > > > > > > > > > > > > > have values pre
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > platform. Then with either
> configure
> > > > or a
> > > > > > > shell
> > > > > > > > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > file wil be copied to
> > > > platform.properties
> > > > > > > and
> > > > > > > > > > > > > > > > > > > > > the directory properties will be
> set
> > > > > > > > > accordingly.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> Johnson
> > > > Lead
> > > > > > > Software
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave
> > > > Software -
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > > > > [mailto:
> robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007
> 7:08
> > > AM
> > > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> > > preliminary
> > > > ant
> > > > > > > build
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I ran into a couple of issues
> > > tryingt
> > > > o
> > > > > > run
> > > > > > > this
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > > build.
> > > > > > > > > > > > > > > > > > > > > Firstly I got an error with a
> path
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > trcked this
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > down to the fact that the
> property
> > > > > > core.dir
> > > > > > > is
> > > > > > > > > > > > > > > > > > > > > set
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > in the top level build.xml to
> > > > > > > "runtime/core/src"
> > > > > > > > > > > > > > > > > > > > > and in the
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > runtime/core/src/build.xml the
> same
> > > > > > property
> > > > > > > > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > "tuscany/sca/core". It looks to
> me
> > > > like
> > > > > > the
> > > > > > > > > > > > > > > > > > > > > second
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > defintion
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > of core.dir is being ignored.
> I'm
> > > not
> > > > an
> > > > > > ant
> > > > > > > > > > expert ...
> > > > > > > > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > > > > > > > get propagated from higher level
> build
> > > > files?
> > > > > > > > > > > > > > > > > > > > > I got around this by changing
> the
> > > name
> > > > of
> > > > > > > > > > > > > > > > > > > > > core.dir
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > one
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Rather than specifying the paths
> to
> > > > the
> > > > > > > source
> > > > > > > > > > > > > > > > > > > > > code etc in the
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > platform.properties I would
> prefer
> > > to
> > > > set
> > > > > > > these
> > > > > > > > > > > > > > > > > > > > > automatically so
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > in the top level build.xml I
> added:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > <property
> name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > and then based other properties
> from
> > >
> > > > this.
> > > > > > > It
> > > > > > > > > > > > > > > > > > > > > seemed to
> > > > > > > > > > > > > > > work!
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > > > > > > > < robbinspg@googlemail.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > I'd like some info on what I
> need
> > > to
> > > > > > edit
> > > > > > > in
> > > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > One good thing about automake
> is
> > > > that it
> > > > > > > > > > > > > > > > > > > > > > detects
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > your platform/compiler etc
> > > > > > automatically.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > I put together some
> > > documentation
> > > > for
> > > > > > > using
> > > > > > > > > > > > > > > > > > > > > > > ant with
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> > > Johnson
> > > > > > Lead
> > > > > > > > > > > > > > > > > > > > > > > Software Developer -
> HydraSCA
> > > > Rogue
> > > > > > Wave
> > > > > > > > > > > > > > > > > > > > > > > Software -
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Using ant to build
> TuscanySCA
> > > > Native
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > 1. Required Software to
> build
> > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > > > > Native with
> > > > > > > > > > > > > > > ant:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > > > > > > > >        Ant comes installed
> with
> > > > almost
> > > > > >
> > > > > > > all
> > > > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > http://ant.apache.org/
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > > > > > > > >        version 1.0b3 or
> later
> > > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > > > > > > > >        version 1.0b4 or
> later
> > > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > 2. Installation
> Instructions:
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set
> > > before
> > > > > > > starting.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > > > > >
> http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to
> the
> > > > > > > directory
> > > > > > > > > > > > > > > > > > > > > > > where you
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > > > > > export
> ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your
> path.
> > > > > > > > > > > > > > > > > > > > > > > export
> > > > PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Optional ant tasks, such as
> > > > antcontrib
> > > > > > > and
> > > > > > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib
> So
> > > > place
> > > > > > the
> > > > > > > > > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > If you dont have write
> access to
> > >
> > > > > > > > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > > > > - create
> ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > > Avoid adding optional ant
> tasks
> > > to
> > > > > > your
> > > > > > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> >
> > ...
> >
> > [Message clipped]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

RE: [DAS Native] ant build

Posted by Brady Johnson <bj...@roguewave.com>.
Adriano,

I found a problem with the ant build on Windows. The problem has to do
with embedding the manifest files in the dll's and executables. I had
this integrated in the ant build system at one time, but it didn't get
included in a patch for some reason.

I submit the change to the SDO and SCA code base. I'm a bit wary of
submitting to DAS, so I'll let you do that. It's a very simple fix in
one file: antscripts/compile-targets.xml. Just add the
<cpp-embed-manifest/> macro and make sure you call it from the other
build macros and it should work.


--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - brady.johnson@roguewave.com


-----Original Message-----
From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
Behalf Of Adriano Crestani
Sent: Friday, September 07, 2007 11:28 PM
To: tuscany-dev@ws.apache.org
Subject: Re: [DAS Native] ant build

Hi Brady,

I added the /D_VC80_UPGRADE=0x0600( the /Od argument was already being
generated ) argument with no successful : (. So I did the reverse, I
added
the /Gz argument on the DAS MVS project, that was working, and than it
got
the same error as DAS ant build. So now I'm sure the error has something
to
do with the /Gz argument, then I tried to add the /Gd argument on ant
build
to overwrite the /Gz argument and had no luck(explanation below).

I finally managed to use the compilerarg option on cc element and tried
to
add the /Gd argument to the compiler arguments adding this element on cc
element:

<compilerarg value="/Gd"/>

And it's added to the beginning of arguments list:
cl /Gd /D_VC80_UPGRADE=0x0600 /EHsc /c /nologo /Zi /Od /GZ /D_DEBUG /MDd
/GR
/DWIN32 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS /I${
tuscany.das.home.dir}\include
/I..\libiconv-1.9.2-1-lib\include/I..\SDO\deploy\include /I..\libxml2-
2.6.13.win32\include /Iruntime\core\include /Iruntime\core\src
*
*But this way the /GZ argument overwrites /GD argument, because it's
declared after the /GD argument. So I tried to set the location
attribute on
compilerarg element to define where the /GD argument should be
generated:

<compilerarg value="/Gd" location="mid"/>

The /Gd argument should be generated after the arguments declaration and
before the include files on the compiler command line, however it wasn't
being generated whenever I declared the location attribute :S. Can you
try
it on your computer and see if you get the same? Thanks ; )

Adriano Crestani

On 9/7/07, Adriano Crestani <ad...@apache.org> wrote:
>
> Hi Brady,
>
> I didn't add an ant build for das_test yet, I'm still building it with
> MVS. Just don't forget to remove the das_test project dependency from
> das_runtime project when building it with MVS.
>
> I will modify these options you suggested probably tomorrow, it's
holyday
> this friday on Brazil ;P. But I still don't see how I can add these
> options in the ant build files : (
>
> Regards,
> Adriano Crestani
>
> On 9/7/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> >
> >
> > Adriano,
> >
> > I'm looking into this. I don't see how to build the das_test with
ant.
> > Have you submit the build.xml for das_test yet?
> >
> > At first glance, I see a few things to try changing:
> >         /Od - lets try adding this, it disables optimization
> >         /D_VC80_UPGRADE=0x0600 - not sure what this does, but lets
try
> > adding it...
> >
> >
> > Brady
> >
> > -----Original Message-----
> > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com ]
On
> > Behalf Of Adriano Crestani
> > Sent: Friday, September 07, 2007 9:33 AM
> > To: tuscany-dev@ws.apache.org
> > Subject: Re: [DAS Native] ant build
> >
> > Hi Brady,
> >
> > Yeah, I was comparing these two command lines. Thanks for your help
with
> > DAS
> > ; ).
> >
> > Adriano Crestani
> >
> > On 9/7/07, Brady Johnson <bj...@roguewave.com> wrote:
> > >
> > >
> > > Adriano,
> > >
> > > I agree completely that the ant build should produce the same
result
> > as
> > > the MVS build. This should be quite easy, considering that they
both
> > > call the same compiler executable. I'll try to download DAS today
and
> > > work on it, it should just be a case of a few command line
switches.
> > The
> > > way to do it is to look at the command line that MVS produces (can
be
> > > seen by loading the project and displaying properties) and
comparing
> > it
> > > to the ant command line in the history.xml file. As For the /Gz
option
> > > (an msvc 7.1 option), that was replaced by /Ehsc in msvc 8.0.
> > >
> > > --------------------
> > > Brady Johnson
> > > Lead Software Developer - HydraSCA
> > > Rogue Wave Software - brady.johnson@roguewave.com
> > >
> > >
> > > -----Original Message-----
> > > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com]
On
> > > Behalf Of Adriano Crestani
> > > Sent: Wednesday, September 05, 2007 8:17 PM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: Re: [DAS Native] ant build
> > >
> > > Hi Brady,
> > >
> > > I compiled both DAS and SDO with "ant -Ddebug=true", than I
compiled
> > the
> > > das_test project also on debug mode. But I get an error during the
> > > das_test
> > > execution?
> > >
> > > Run-Time Check Failure #2 - Stack around the variable 'sqlType'
was
> > > corrupted.
> > >
> > > This doesn't happen when I compile the das_test with my old build
> > (MVS).
> > > Than I looked on my MVS compiler arguments and on those arguments
> > > generated
> > > by the ant for something different that might be causing this
problem.
> > > So, I
> > > realized that the ant build, on SDO and DAS, is compiling with the
> > > argument
> > > /Gz, but, both, SDO and DAS MVS projects are configured with the
> > > argument
> > > /Gd. In addition, my compiler is outputting a warning about the
/Gz
> > > argument:
> > >
> > >        [cc] cl : Command line warning D9035 : option 'GZ' has been
> > > deprecated and will be removed in a future release
> > >        [cc] cl : Command line warning D9036 : use 'RTC1' instead
of
> > 'GZ'
> > >
> > > I tried to modify the ant files adding the attribute
compilerarg='/GD'
> >
> > > to
> > > the cc tag, but it says my compiler does not support this
attribute :
> > (.
> > > After all, I dont know if it has something to do with the runtime
> > error
> > > I'm
> > > getting with das_tests, but I think the ant, bat or MSV project
build
> > > should
> > > all result the same binaries, and it seems not to be happening
once
> > > there
> > > are different compiler arguments.
> > >
> > > Can you help me with that Brady? Thanks
> > >
> > > Regards,
> > > Adriano Crestani
> > >
> > > On 9/5/07, Adriano Crestani <ad...@apache.org> wrote:
> > > >
> > > > Thanks a log Brady, it worked ; )
> > > >
> > > > Adriano Crestani
> > > >
> > > > On 9/5/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > >
> > > > >
> > > > > Adriano,
> > > > >
> > > > > There is for SCA and SDO. Either "ant -Ddebug=true" or set
> > > > > "platform.debug.compile=true" in platform.properties. Both of
> > those
> > > get
> > > > > passed to the cc task, which should take care of setting the
> > correct
> > > > > command line args.
> > > > >
> > > > > Brady
> > > > >
> > > > > P.S. The arg can be true, yes, or on.
> > > > >
> > > > > -----Original Message-----
> > > > > From: adrianocrestani@gmail.com [mailto:
> > adrianocrestani@gmail.com]
> > > On
> > > > > Behalf Of Adriano Crestani
> > > > > Sent: Wednesday, September 05, 2007 11:23 AM
> > > > > To: tuscany-dev@ws.apache.org
> > > > > Subject: Re: [DAS Native] ant build
> > > > >
> > > > > Hi Brady,
> > > > >
> > > > > Thanks for the suggestion, I looked there and the compiler
> > arguments
> > > > > contains the /MD (Multi-threaded DLL) argument that mean
non-debug
> >
> > > mode.
> > > > > I
> > > > > think there should be a way to build the library on debug
mode,
> > > > > something
> > > > > like "ant debug", what do you thinnk?
> > > > >
> > > > > Regards,
> > > > > Adriano Crestani
> > > > >
> > > > > On 9/4/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > >
> > > > > >
> > > > > > Adriano,
> > > > > >
> > > > > > I'll try to look into this tomorrow. In the meantime, there
is a
> > > file
> > > > > > generated in the destination directory (where the object
files
> > > and/or
> > > > > > library is written) by ant called history.xml. If you look
at
> > the
> > > > > > signature attribute of the <processor/> element you can see
the
> > > > > compiler
> > > > > > command line generated by ant. Hopefully this will help out.
> > > > > >
> > > > > > --------------------
> > > > > > Brady Johnson
> > > > > > Lead Software Developer - HydraSCA
> > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: adrianocrestani@gmail.com [mailto:
> > > adrianocrestani@gmail.com] On
> > > > > > Behalf Of Adriano Crestani
> > > > > > Sent: Sunday, September 02, 2007 1:36 PM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: Re: [DAS Native] ant build
> > > > > >
> > > > > > Back from vacation, back to work : )
> > > > > >
> > > > > > Brady, I thought the error had something to do with the pc I
was
> > > using
> > > > >
> > > > > > while
> > > > > > my laptop was getting repaired, but I got it repaired and
the
> > > error
> > > > > was
> > > > > > still occurring on my laptop. The error seems rationed to
the
> > sdo
> > > ant
> > > > > > build,
> > > > > > cause I ignored the DAS ant build and built it like I was
> > building
> > > > > > before,
> > > > > > with the MVS, but got the same error :S. Than I rebuilt the
SDO,
> > > but
> > > > > not
> > > > > > using the new sdo build, but the old one, the build.bat, and
> > guess
> > > > > what,
> > > > > > there was no more error : ).
> > > > > >
> > > > > > It is not exactly an error, when I build the SDO using the
ant
> > > build,
> > > > > my
> > > > > > DAS
> > > > > > requires the dll MSVCP80.dll and with the old SDO build it
does
> > > not.
> > > > > > There
> > > > > > may be some option that is being set on SDO ant build that
is
> > not
> > > on
> > > > > SDO
> > > > > > old
> > > > > > build. I'm not a C++ expert, but I think it has something to
do
> > > with
> > > > > the
> > > > > > option Multi-threaded Debug DLL (/MDd) or Multi-threaded
Debug
> > > (/MTd)
> > > > > on
> > > > > > compiler arguments.
> > > > > >
> > > > > > Another point, the sdo_test is also requiring this dll when
> > built
> > > > > using
> > > > > > the
> > > > > > SDO ant build (I built the SDO using ant build and compiled
the
> > > > > sdo_test
> > > > > > on
> > > > > > MVS, but I removed the sdo_test dependency from sdo_runtime,
> > > otherwise
> > > > >
> > > > > > it
> > > > > > would get compiled overwriting the SDO ant build binaries on
> > > deploy
> > > > > > folder).
> > > > > >
> > > > > > Doing another tests right now to check whether it is a
> > > Multi-threaded
> > > > > > Debug
> > > > > > DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
> > > > > >
> > > > > > Regards,
> > > > > > Adriano Crestani
> > > > > >
> > > > > > On 8/16/07, Adriano Crestani <adrianocrestani@apache.org >
> > wrote:
> > > > > > >
> > > > > > > Hi Brady,
> > > > > > >
> > > > > > > Yes, I was plaining to do that after this weekend. I had
no
> > > chance
> > > > > to
> > > > > > do
> > > > > > > that so far, cause I was really busy with college's stuffs
:(
> > > > > > >
> > > > > > > Regards,
> > > > > > > Adriano Crestani
> > > > > > >
> > > > > > > On 8/16/07, Brady Johnson < bjohnson@roguewave.com >
wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > > Adriano,
> > > > > > > >
> > > > > > > > You might have seen that both SCA and SDO native now
have an
> >
> > > ant
> > > > > > build
> > > > > > > > infrastructure. I briefly looked at doing the same for
DAS,
> > > but
> > > > > > couldn't
> > > > > > > > get it to compile with "configure, make, make install"
at
> > the
> > > > > time,
> > > > > > and
> > > > > > > > never got a chance to come back to it.
> > > > > > > >
> > > > > > > > I think it should be very easy to copy the SDO ant stuff
> > over
> > > to
> > > > > > DAS,
> > > > > > > > what do you think?
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > > Brady Johnson
> > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: adrianocrestani@gmail.com
> > > [mailto: adrianocrestani@gmail.com]
> > > > > > On
> > > > > > > > Behalf Of Adriano Crestani
> > > > > > > > Sent: Monday, July 23, 2007 11:21 PM
> > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > >
> > > > > > > > Great idea, soon I will try to apply this idea to Native
DAS
> > > and
> > > > > see
> > > > > > how
> > > > > > > > it works. I think the idea could also be easily applied
to
> > > Native
> > > > > > SDO,
> > > > > > > > as it does not have too much dependencies and code
> > generation
> > > as
> > > > > > Native
> > > > > > > > SCA does.
> > > > > > > >
> > > > > > > > A folder ant-core could be created under tuscany/cpp/
folder
> > > to
> > > > > > place
> > > > > > > > the ant scripts shared by the projects.
> > > > > > > >
> > > > > > > > Also, we could add a build.xml under tuscany/ccp/ that
> > builds
> > > all
> > > > > 3
> > > > > > > > subprojects at once, if the 3 to implement this ant
build
> > > process.
> > > > > > What
> > > > > > > > do you think?
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Adriano Crestani
> > > > > > > >
> > > > > > > > On 7/23/07, Brady Johnson <bjohnson@roguewave.com >
wrote:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Correction, it should be like this:
> > > > > > > > >
> > > > > > > > >   <target name="compile.core">
> > > > > > > > >     <cpp-compile
> > > > > > > > >         srcdir="${ core.abs.dir}"
> > > > > > > > >         objdir="${lib.dir}"
> > > > > > > > >         infiles="${ core.cpp.files}">
> > > > > > > > >       <custom-cc-elements>
> > > > > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > > > > >       </custom-cc-elements>
> > > > > > > > >     </cpp-compile>
> > > > > > > > >   </target>
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Pete,
> > > > > > > > >
> > > > > > > > > Good catch. That's an easy fix. I'll submit it with
the
> > next
> > > > > patch
> > > > > > > > > tomorrow. Basically it involves removing SCA_EXPORTS
from
> > > the
> > > > > > > > > Tuscany-BaseCompiler and adding it to the
runtime/core/src
> >
> > > > > > targets:
> > > > > > > > >         compile.core
> > > > > > > > >         compile.extension
> > > > > > > > >         compile.model
> > > > > > > > >         compile.util
> > > > > > > > >
> > > > > > > > > Like this:
> > > > > > > > >   <target name="compile.core">
> > > > > > > > >     <cpp-compile
> > > > > > > > >         srcdir="${core.abs.dir}"
> > > > > > > > >         objdir="${lib.dir}"
> > > > > > > > >         infiles="${core.cpp.files }"/>
> > > > > > > > >       <custom-cc-element>
> > > > > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > > > > >       </custom-cc-element>
> > > > > > > > >   </target>
> > > > > > > > >
> > > > > > > > > Tomorrow I'll have the python, ruby, rest, and maybe
php
> > > > > > extensions
> > > > > > > > > complete.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com ]
> > > > > > > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > I think there is a problem in the extension
compilations.
> > > The
> > > > > > > > > SCA_EXPORTS directive should only be set when
compiling
> > the
> > > > > > > > > runtime/core. When compiling for dlls on windows which
use
> > > the
> > > > > > core
> > > > > > > > > dll SCA_EXPORTS must not be set. I guess this means we
> > have
> > > to
> > > > > > move
> > > > > > > > > the setting of this directive from the definition of
the
> > > > > > > > > Tuscany-BaseCompiler
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > >
> > > > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com >
> > wrote:
> > > > > > > > > > I've applied the patch. How are you creating the
> > patches?
> > > I
> > > > > had
> > > > > > > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > > > > > > >
> > > > > > > > > > I've included the changes in the patch to the
> > > > > > tools/TuscanyDriver
> > > > > > > > > > build. I haven't tested this and I'm not sure if it
> > works
> > > with
> > > > >
> > > > > > the
> > > > > > > > > > system.xml etc.
> > > > > > > > > >
> > > > > > > > > > Can you do a clean extract as a base for future
patches?
> >
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com
>
> > > wrote:
> > > > > > > > > > > I'll give this a go. I should be able to run it on
Mac
> > > as
> > > > > > well.
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > > On 23/07/07, Brady Johnson <
bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > I updated the jira1438 with update 3, which
includes
> > > the
> > > > > > > > > following:
> > > > > > > > > > > >
> > > https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > - added build.xml for the following dirs:
> > > > > > > > > > > >    runtime/extensions/build.xml
> > > > > > > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > > > > > > >    runtime/extensions/sca/build.xml
> > > > > > > > > > > >    runtime/extensions/ws/build.xml
> > > > > > > > > > > >
> > > > > > > > > > > > - changed system.xml to check for necessary
axis,
> > php,
> > > > > > python,
> > > > > > > > > > > > rest, and ruby env vars. If they're not  set in
the
> > > env,
> > > > > > look
> > > > > > > > > > > > for them in platform.properties
> > > > > > > > > > > >
> > > > > > > > > > > > - changed compile-targets.xml targets
> > > > > > > > > > > >    <cpp-install-headers/> to
<cpp-install-files/>
> > > > > > > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > > > > > > >
> > > > > > > > > > > > - added compile-targets.xml target:
<cpp-symlink/>
> > > > > > > > > > > >
> > > > > > > > > > > > - added library versioning and the
> > > > > > > > > > > > platform.tuscanySCA.library.version
> > > > > > > > > > > > platform.properties property
> > > > > > > > > > > >
> > > > > > > > > > > > Can someone submit this for me.
> > > > > > > > > > > >
> > > > > > > > > > > > The only thing left now is the build.xml for
these
> > > > > > extensions:
> > > > > > > > > > > > php, python, rest, ruby
> > > > > > > > > > > >
> > > > > > > > > > > > WRT testing on macs, I wont have a mac available
> > until
> > > > > next
> > > > > > > > week.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks
> > > > > > > > > > > >
> > > > > > > > > > > > --------------------
> > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > Software
> > > -
> > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Brady Johnson
[mailto:bjohnson@roguewave.com ]
> > > > > > > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I can look into testing it on Mac here. I
believe we
> >
> > > have
> > > > > > > > > > > > several mac machines for the purpose.
> > > > > > > > > > > >
> > > > > > > > > > > > I'll get back to you soon.
> > > > > > > > > > > >
> > > > > > > > > > > > --------------------
> > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > Software
> > > -
> > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Pete Robbins
[mailto:robbinspg@googlemail.com
> > ]
> > > > > > > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > > I've taken out the references to
> > tuscany_sca_config.h
> > > and
> > > > > > > > > > > > patched the automake for now with setting
> > -DIS_DARWIN
> > > on
> > > > > > mac.
> > > > > > > > > > > > Yet to test it on Mac as I need to kick the kids
off
> >
> > > my
> > > > > > machine!
> > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On 19/07/07, Pete Robbins <
> > robbinspg@googlemail.com>
> > > > > wrote:
> > > > > > > > > > > > > Automake generates a config file with lots of
> > > standard
> > > > > > stuff
> > > > > > > > > > > > > but
> > > > > > > > >
> > > > > > > > > > > > > the only  one we need is the IS_DARWIN, which
is
> > > used in
> > > > > > 2
> > > > > > > > > > > > > places. I'll remove the 2 references to this
> > header
> > > and
> > > > > > change
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > bjohnson@roguewave.com>
> > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I did the following diff command and got
quite a
> >
> > > lot
> > > > > of
> > > > > > > > > > > > > > changes (listed
> > > > > > > > > > > > > > below):
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > # diff tuscany_sca_config.h.in
> > > tuscany_sca_config.h
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Are these not needed?
> > > > > > > > > > > > > >        If not, I can get to work on removing
all
> > > > > > references
> > > > > > > > > > > > > > to
> > > > > > > > >
> > > > > > > > > > > > > > the file.
> > > > > > > > > > > > > >        If so, then we still need to figure
out
> > how
> > > to
> > > > > > create
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > the
> > > > > > > > > > > > file.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I just realized, its 23:30, there... Go to
bed!
> > ;)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
Wave
> > > Software
> > > > > -
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 0a1
> > > > > > > > > > > > > > > /* tuscany_sca_config.h.  Generated by
> > > configure.
> > > > > */
> > > > > > > > > > > > > > 4c5
> > > > > > > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > > > > > > 8c9
> > > > > > > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > > > > > > 11c12
> > > > > > > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > > > > > > 14c15
> > > > > > > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > > > > > > 17c18
> > > > > > > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > > > > > > 20c21
> > > > > > > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > > > > > > 23c24
> > > > > > > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > > > > > > 26c27
> > > > > > > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > > > > > > 29c30
> > > > > > > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > > > > > > 33c34
> > > > > > > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > > > > > > 36c37
> > > > > > > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > > > > > > 39c40
> > > > > > > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > > > > > > 42c43
> > > > > > > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > > > > > > 45c46
> > > > > > > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > > > > > > 48c49
> > > > > > > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > > > > > > 51c52
> > > > > > > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > > > > > > 55c56
> > > > > > > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > > > > > > 59c60
> > > > > > > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > > > > > > 62c63
> > > > > > > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > > > > > > 65c66
> > > > > > > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > > > > > > 68c69
> > > > > > > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > > > > > > 71c72
> > > > > > > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > > > > > > 74c75
> > > > > > > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > > > > > > 77c78
> > > > > > > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > > > > > > 80c81
> > > > > > > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > > > > > > 84c85
> > > > > > > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > > > > > > 87c88
> > > > > > > > > > > > > > < #undef PACKAGE
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > > > > > > 90c91
> > > > > > > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > > > > > > 93c94
> > > > > > > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > > > > > > > 96c97
> > > > > > > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > > > > > > > 1.0-incubator-M3 "
> > > > > > > > > > > > > > 99c100
> > > > > > > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define PACKAGE_TARNAME
"tuscany_sca_native"
> > > > > > > > > > > > > > 102c103
> > > > > > > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > > > > > > > 105c106
> > > > > > > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > > > > > > 108c109
> > > > > > > > > > > > > > < #undef VERSION
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > > > > > > 111c112
> > > > > > > > > > > > > > < #undef const
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef const */
> > > > > > > > > > > > > > 116c117
> > > > > > > > > > > > > > < #undef inline
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef inline */
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > robbinspg@googlemail.com ]
> > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > yeah I figured that... I did exactly the
same
> > when
> > > > > > > > > > > > > > committing changes earlier! I dodn't commit
the
> > > > > changes
> > > > > > > > > > > > > > inthe tools
> > > > > > > > > folder.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > bjohnson@roguewave.com >
> > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Ok, I wasn't aware that I had changed the
> > tools.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I simply did a "svn diff . > patch_file"
from
> > > the
> > > > > > tuscany
> > > > > > > > > > > > > > > root
> > > > > > > > > > > > dir.
> > > > > > > > > > > > > > > You can disregard the tools changes. I'll
look
> >
> > > into
> > > > > > it.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
Wave
> > > > > Software
> > > > > > -
> > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Pete Robbins
> > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cool! I've applied this change as well.
The
> > > update2
> > > > > > patch
> > > > > > > > > > > > > > > contained changes to the
> > > > > > tools/TuscanyDriver/build.xml.
> > > > > > > > > > > > > > > This
> > > > > > > > >
> > > > > > > > > > > > > > > doesn't work so you
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > may want to look at it.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > bjohnson@roguewave.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If that's all we need the
> > tuscany_sca_config.h
> > > > > file
> > > > > > for
> > > > > > > > > > > > > > > > then, yes this
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > just got a whole lot easier. We can do
the
> > > > > following
> > > > > > on
> > > > > > > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > > > > > > >  </condition>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > > > > > > multithreaded="true"
> > > > > > > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > > > > > > >
> > > > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > > > > > > >    <defineset if="mac"
define="IS_DARWIN"/>
> > > > > > > > > > > > > > > >    <includepath
path="${sdo.include.dir}"/>
> > > > > > > > > > > > > > > >    <includepath path="${
tuscanySCA.root.dir
> > > }"/>
> > > > > > <!--
> > > > > > > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > > > > > > >    <includepath
> > > > > path="${tuscanySCA.root.src.dir }"/>
> > > > > > > > > > > > > > > >    <includepath
> > > > > > > > > > > > > > > > path="${ tuscanySCA.root.src.dir
> > }/core/src"/>
> > > > > > > > > > > > > > > >  </compiler>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> > Wave
> > > > > > Software -
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
ant
> > > build
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > <bj...@roguewave.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I uploaded a patch on top of what you
> > submit
> > > to
> > > > > > svn.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Here is a description of what I
changed:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > - Changed the name of compilers.xml to
> > > > > system.xml.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > > > > > > > platform.properties file that
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > is completely empty.
> > > > > > > > > > > > > > > > >  That is, all of the platform
dependent
> > > items
> > > > > are
> > > > > > > > > > > > > > > > > figured out by
> > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > If they are set in
> > > > > > > > > > > > > > > > >  the platform.properties file then
they
> > > override
> > > > > > the
> > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > > > > > determination.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > - Better directory path management has
> > been
> > > > > added
> > > > > > to
> > > > > > > > > > > > > > > > > the
> > > > > > > > >
> > > > > > > > > > > > > > > > > root build.xml and
> > > runtime/core/src/build.xml
> > > > > > files.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > - The install and clean targets in
> > > > > > runtime/core/src
> > > > > > > > > > > > > > > > > have
> > > > > > > > >
> > > > > > > > > > > > > > > > > been
> > > > > > > > > > > > > > > > completed.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > With respect to your latest post
regarding
> > > > > > > > > > > > "tuscany-sca-config.h ":
> > > > > > > > > > > > > > > > > I knew this was a problem on clean
systems
> >
> > > and
> > > > > had
> > > > > > > > > > > > > > > > > envisioned either
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > running a script or using a slimmed
down
> > > > > > > > > > > > > > > > > automake/configure to
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > setup
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > this file and any platform specific
> > > parameters.
> > > > > > That's
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > > > > certainly something we'll have to
address,
> > > what
> > > > > do
> > > > > > you
> > > > > > > > > think?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > The only reason we use this automake
> > generated
> > > > > file
> > > > > > is
> > > > > > > > > > > > > > > > to set the IS_DARWIN compiler flag for
> > running
> > > on
> > > > > > Mac OS
> > > > > > > >
> > > > > > > > > > > > > > > > X. I
> > > > > > > > >
> > > > > > > > > > > > > > > > expect we
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > can use
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > different technique in ant to set this
flag.
> > > Is
> > > > > > there a
> > > > > > > > > > > > "family=mac"
> > > > > > > > > > > > > > > > or somesuch in ant? The automake simply
runs
> > a
> > > > > > 'uname
> > > > > > > > -s'
> > > > > > > > > > > > > > > > command to
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > figure it out.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I think a goal for this shoul be that I
can
> > do
> > > a
> > > > > > clean
> > > > > > > > > > > > > > > > extract from svn and type "ant" in the
top
> > > level
> > > > > > > > > > > > > > > > directory
> > > > > > > > >
> > > > > > > > > > > > > > > > and it will build with
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > everything defaulted. We need various
> > pre-reqs
> > > > > > defined
> > > > > > > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > > > > > > + other pre-reqs) but we should try to
make
> > > this
> > > > > as
> > > > > > > > > > > > > > > > + simple
> > > > > > > > >
> > > > > > > > > > > > > > > > + as
> > > > > > > > > > > > > > > > possible.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA
Rogue
> > > Wave
> > > > > > Software
> > > > > > > >
> > > > > > > > > > > > > > > > > -
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > > > > robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
ant
> > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > the install dir defaults to sca/deploy
so
> > I
> > > > > think
> > > > > > we
> > > > > > > > > > > > > > > > > don't need any properties other than
> > > overrides.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I'll check in what I have. so youi can
> > see.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > > > bjohnson@roguewave.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > That's a good idea. Then the only
thing
> > > that
> > > > > > really
> > > > > > > > > > > > > > > > > > need to be set
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > in platform.properties file would
be:
> > > > > > > > > > > > > > > > > >         tuscanySCA.install.dir
> > > > > > > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I'll put that together real quick
and
> > > upload
> > > > > it.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
Lead
> > > > > Software
> > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave
Software
> > > > > > > > >
> > > > > > > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > [mailto: robbinspg@googlemail.com
> > > > > > > > ]
> > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00
AM
> > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
preliminary
> > ant
> > > > > build
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> > > > > > robbinspg@googlemail.com
> > > > > > > > >
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com >
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Thanks for trying out the ant
build
> > > > > scripts.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Regarding core.dir, you're
right,
> > the
> > > name
> > > > > > will
> > > > > > > > > > > > > > > > > > > > need to
> > > > > > > > > > > > > > > change.
> > > > > > > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > As for the "
tuscanySCA.root.dir" :
> > > Your
> > > > > > > > > > > > > > > > > > > > suggestion
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > will work
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > if you only execute ant from the
> > root
> > > > > > directory,
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > but not
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > from the runtime/core/src
directory.
> > > > > That's
> > > > > > why
> > > > > > > > > > > > > > > > > > > > I put it
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in the platform.properties,
which is
> > > > > > accessed by
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > build.xml's.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Its better ant coding style to
have
> > > > > anything
> > > > > > > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in a properties file, not in an
ant
> > > > > > build.xml
> > > > > > > > > file.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Yes... I realized that would limit
you
> > > to
> > > > > > running
> > > > > > > > > > > > > > > > > > > ant from
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > top
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > would a better solution be to have
a
> > top
> > > > > level
> > > > > > (or
> > > > > > > >
> > > > > > > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > > > > > > > >  a) imports platform.properties
for
> > any
> > > > > > overrides
> > > > > > > > > > > > > > > > > > >  b) sets the properties
conditional on
> >
> > > the
> > > > > > > > platform.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > > > > > > >      <condition property="
lib.ext"
> > > > > > value='.so' '>
> > > > > > > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > >      <condition property="
lib.ext"
> > > > > > value='.dll' '>
> > > > > > > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > >      <condition property="lib.ext"
> > > > > > value='.dylib
> > > > > > > > '>
> > > > > > > > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > the build.xml files would all import
> > this
> > > top
> > > > > > level
> > > > > > > > > file:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > As for the platform.properties
file
> > > for
> > > > > > windows:
> > > > > > > > > > > > > > > > > > > > The property platform can/should
be
> > > > > removed,
> > > > > > its
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > necessary.
> > > > > > > > > > > > > > > > > > > > If
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > the property
> > > > > "platform.compiler-definition"
> > > > > > is
> > > > > > > > > > > > > > > > > > > > set, then
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > that value will be used for the
> > > compiler
> > > > > > > > > > > > > > > > > > > > selection, else
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > it will get set to msvc for
windows
> > as
> > > can
> > > > > > be
> > > > > > > > > > > > > > > > > > > > seen
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I think the way this should ship
is
> > to
> > > > > have
> > > > > > > > > > > > > > > > > > > > several platform.properties
files
> > for
> > > the
> > > > > > > > > different platform:
> > > > > > > > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > > > > > > > >
platform.properties.windows
> > > > > > > > > > > > > > > > > > > >        platform.properties.mac
Which
> > > will
> > > > > > each
> > > > > > > > > > > > > > > > > > > > have values pre
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > platform. Then with either
configure
> > > or a
> > > > > > shell
> > > > > > > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > file wil be copied to
> > > platform.properties
> > > > > > and
> > > > > > > > > > > > > > > > > > > > the directory properties will be
set
> > > > > > > > accordingly.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -------------------- Brady
Johnson
> > > Lead
> > > > > > Software
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave
> > > Software -
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > > > [mailto:
robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007
7:08
> > AM
> > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> > preliminary
> > > ant
> > > > > > build
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I ran into a couple of issues
> > tryingt
> > > o
> > > > > run
> > > > > > this
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > build.
> > > > > > > > > > > > > > > > > > > > Firstly I got an error with a
path
> > > > > > > > > > > > > > > > > > > >
> > > > > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > I
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > trcked this
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > down to the fact that the
property
> > > > > core.dir
> > > > > > is
> > > > > > > > > > > > > > > > > > > > set
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in the top level build.xml to
> > > > > > "runtime/core/src"
> > > > > > > > > > > > > > > > > > > > and in the
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > runtime/core/src/build.xml the
same
> > > > > property
> > > > > > > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > "tuscany/sca/core". It looks to
me
> > > like
> > > > > the
> > > > > > > > > > > > > > > > > > > > second
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > defintion
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > of core.dir is being ignored.
I'm
> > not
> > > an
> > > > > ant
> > > > > > > > > expert ...
> > > > > > > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > > > > > > get propagated from higher level
build
> > > files?
> > > > > > > > > > > > > > > > > > > > I got around this by changing
the
> > name
> > > of
> > > > > > > > > > > > > > > > > > > > core.dir
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > one
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Rather than specifying the paths
to
> > > the
> > > > > > source
> > > > > > > > > > > > > > > > > > > > code etc in the
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > platform.properties I would
prefer
> > to
> > > set
> > > > > > these
> > > > > > > > > > > > > > > > > > > > automatically so
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in the top level build.xml I
added:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > <property
name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > and then based other properties
from
> >
> > > this.
> > > > > > It
> > > > > > > > > > > > > > > > > > > > seemed to
> > > > > > > > > > > > > > work!
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > > > > > > < robbinspg@googlemail.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > I'd like some info on what I
need
> > to
> > > > > edit
> > > > > > in
> > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > One good thing about automake
is
> > > that it
> > > > > > > > > > > > > > > > > > > > > detects
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > your platform/compiler etc
> > > > > automatically.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I put together some
> > documentation
> > > for
> > > > > > using
> > > > > > > > > > > > > > > > > > > > > > ant with
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> > Johnson
> > > > > Lead
> > > > > > > > > > > > > > > > > > > > > > Software Developer -
HydraSCA
> > > Rogue
> > > > > Wave
> > > > > > > > > > > > > > > > > > > > > > Software -
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Using ant to build
TuscanySCA
> > > Native
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > 1. Required Software to
build
> > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > > > Native with
> > > > > > > > > > > > > > ant:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > > > > > > >        Ant comes installed
with
> > > almost
> > > > >
> > > > > > all
> > > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > http://ant.apache.org/
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > > > > > > >        version 1.0b3 or
later
> > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > > > > > >
> > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > > > > > > >        version 1.0b4 or
later
> > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > 2. Installation
Instructions:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set
> > before
> > > > > > starting.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > > > >
http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to
the
> > > > > > directory
> > > > > > > > > > > > > > > > > > > > > > where you
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > > > > export
ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your
path.
> > > > > > > > > > > > > > > > > > > > > > export
> > > PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Optional ant tasks, such as
> > > antcontrib
> > > > > > and
> > > > > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib
So
> > > place
> > > > > the
> > > > > > > > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > If you dont have write
access to
> >
> > > > > > > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > > > - create
${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Avoid adding optional ant
tasks
> > to
> > > > > your
> > > > > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
>
> ...
>
> [Message clipped]

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [DAS Native] ant build

Posted by Adriano Crestani <ad...@apache.org>.
Hi Brady,

I added the /D_VC80_UPGRADE=0x0600( the /Od argument was already being
generated ) argument with no successful : (. So I did the reverse, I added
the /Gz argument on the DAS MVS project, that was working, and than it got
the same error as DAS ant build. So now I'm sure the error has something to
do with the /Gz argument, then I tried to add the /Gd argument on ant build
to overwrite the /Gz argument and had no luck(explanation below).

I finally managed to use the compilerarg option on cc element and tried to
add the /Gd argument to the compiler arguments adding this element on cc
element:

<compilerarg value="/Gd"/>

And it's added to the beginning of arguments list:
cl /Gd /D_VC80_UPGRADE=0x0600 /EHsc /c /nologo /Zi /Od /GZ /D_DEBUG /MDd /GR
/DWIN32 /D_CRT_SECURE_NO_DEPRECATE /D_CRT_NON_CONFORMING_SWPRINTFS /I${
tuscany.das.home.dir}\include
/I..\libiconv-1.9.2-1-lib\include/I..\SDO\deploy\include /I..\libxml2-
2.6.13.win32\include /Iruntime\core\include /Iruntime\core\src
*
*But this way the /GZ argument overwrites /GD argument, because it's
declared after the /GD argument. So I tried to set the location attribute on
compilerarg element to define where the /GD argument should be generated:

<compilerarg value="/Gd" location="mid"/>

The /Gd argument should be generated after the arguments declaration and
before the include files on the compiler command line, however it wasn't
being generated whenever I declared the location attribute :S. Can you try
it on your computer and see if you get the same? Thanks ; )

Adriano Crestani

On 9/7/07, Adriano Crestani <ad...@apache.org> wrote:
>
> Hi Brady,
>
> I didn't add an ant build for das_test yet, I'm still building it with
> MVS. Just don't forget to remove the das_test project dependency from
> das_runtime project when building it with MVS.
>
> I will modify these options you suggested probably tomorrow, it's holyday
> this friday on Brazil ;P. But I still don't see how I can add these
> options in the ant build files : (
>
> Regards,
> Adriano Crestani
>
> On 9/7/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> >
> >
> > Adriano,
> >
> > I'm looking into this. I don't see how to build the das_test with ant.
> > Have you submit the build.xml for das_test yet?
> >
> > At first glance, I see a few things to try changing:
> >         /Od - lets try adding this, it disables optimization
> >         /D_VC80_UPGRADE=0x0600 - not sure what this does, but lets try
> > adding it...
> >
> >
> > Brady
> >
> > -----Original Message-----
> > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com ] On
> > Behalf Of Adriano Crestani
> > Sent: Friday, September 07, 2007 9:33 AM
> > To: tuscany-dev@ws.apache.org
> > Subject: Re: [DAS Native] ant build
> >
> > Hi Brady,
> >
> > Yeah, I was comparing these two command lines. Thanks for your help with
> > DAS
> > ; ).
> >
> > Adriano Crestani
> >
> > On 9/7/07, Brady Johnson <bj...@roguewave.com> wrote:
> > >
> > >
> > > Adriano,
> > >
> > > I agree completely that the ant build should produce the same result
> > as
> > > the MVS build. This should be quite easy, considering that they both
> > > call the same compiler executable. I'll try to download DAS today and
> > > work on it, it should just be a case of a few command line switches.
> > The
> > > way to do it is to look at the command line that MVS produces (can be
> > > seen by loading the project and displaying properties) and comparing
> > it
> > > to the ant command line in the history.xml file. As For the /Gz option
> > > (an msvc 7.1 option), that was replaced by /Ehsc in msvc 8.0.
> > >
> > > --------------------
> > > Brady Johnson
> > > Lead Software Developer - HydraSCA
> > > Rogue Wave Software - brady.johnson@roguewave.com
> > >
> > >
> > > -----Original Message-----
> > > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> > > Behalf Of Adriano Crestani
> > > Sent: Wednesday, September 05, 2007 8:17 PM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: Re: [DAS Native] ant build
> > >
> > > Hi Brady,
> > >
> > > I compiled both DAS and SDO with "ant -Ddebug=true", than I compiled
> > the
> > > das_test project also on debug mode. But I get an error during the
> > > das_test
> > > execution?
> > >
> > > Run-Time Check Failure #2 - Stack around the variable 'sqlType' was
> > > corrupted.
> > >
> > > This doesn't happen when I compile the das_test with my old build
> > (MVS).
> > > Than I looked on my MVS compiler arguments and on those arguments
> > > generated
> > > by the ant for something different that might be causing this problem.
> > > So, I
> > > realized that the ant build, on SDO and DAS, is compiling with the
> > > argument
> > > /Gz, but, both, SDO and DAS MVS projects are configured with the
> > > argument
> > > /Gd. In addition, my compiler is outputting a warning about the /Gz
> > > argument:
> > >
> > >        [cc] cl : Command line warning D9035 : option 'GZ' has been
> > > deprecated and will be removed in a future release
> > >        [cc] cl : Command line warning D9036 : use 'RTC1' instead of
> > 'GZ'
> > >
> > > I tried to modify the ant files adding the attribute compilerarg='/GD'
> >
> > > to
> > > the cc tag, but it says my compiler does not support this attribute :
> > (.
> > > After all, I dont know if it has something to do with the runtime
> > error
> > > I'm
> > > getting with das_tests, but I think the ant, bat or MSV project build
> > > should
> > > all result the same binaries, and it seems not to be happening once
> > > there
> > > are different compiler arguments.
> > >
> > > Can you help me with that Brady? Thanks
> > >
> > > Regards,
> > > Adriano Crestani
> > >
> > > On 9/5/07, Adriano Crestani <ad...@apache.org> wrote:
> > > >
> > > > Thanks a log Brady, it worked ; )
> > > >
> > > > Adriano Crestani
> > > >
> > > > On 9/5/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > >
> > > > >
> > > > > Adriano,
> > > > >
> > > > > There is for SCA and SDO. Either "ant -Ddebug=true" or set
> > > > > "platform.debug.compile=true" in platform.properties. Both of
> > those
> > > get
> > > > > passed to the cc task, which should take care of setting the
> > correct
> > > > > command line args.
> > > > >
> > > > > Brady
> > > > >
> > > > > P.S. The arg can be true, yes, or on.
> > > > >
> > > > > -----Original Message-----
> > > > > From: adrianocrestani@gmail.com [mailto:
> > adrianocrestani@gmail.com]
> > > On
> > > > > Behalf Of Adriano Crestani
> > > > > Sent: Wednesday, September 05, 2007 11:23 AM
> > > > > To: tuscany-dev@ws.apache.org
> > > > > Subject: Re: [DAS Native] ant build
> > > > >
> > > > > Hi Brady,
> > > > >
> > > > > Thanks for the suggestion, I looked there and the compiler
> > arguments
> > > > > contains the /MD (Multi-threaded DLL) argument that mean non-debug
> >
> > > mode.
> > > > > I
> > > > > think there should be a way to build the library on debug mode,
> > > > > something
> > > > > like "ant debug", what do you thinnk?
> > > > >
> > > > > Regards,
> > > > > Adriano Crestani
> > > > >
> > > > > On 9/4/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > >
> > > > > >
> > > > > > Adriano,
> > > > > >
> > > > > > I'll try to look into this tomorrow. In the meantime, there is a
> > > file
> > > > > > generated in the destination directory (where the object files
> > > and/or
> > > > > > library is written) by ant called history.xml. If you look at
> > the
> > > > > > signature attribute of the <processor/> element you can see the
> > > > > compiler
> > > > > > command line generated by ant. Hopefully this will help out.
> > > > > >
> > > > > > --------------------
> > > > > > Brady Johnson
> > > > > > Lead Software Developer - HydraSCA
> > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: adrianocrestani@gmail.com [mailto:
> > > adrianocrestani@gmail.com] On
> > > > > > Behalf Of Adriano Crestani
> > > > > > Sent: Sunday, September 02, 2007 1:36 PM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: Re: [DAS Native] ant build
> > > > > >
> > > > > > Back from vacation, back to work : )
> > > > > >
> > > > > > Brady, I thought the error had something to do with the pc I was
> > > using
> > > > >
> > > > > > while
> > > > > > my laptop was getting repaired, but I got it repaired and the
> > > error
> > > > > was
> > > > > > still occurring on my laptop. The error seems rationed to the
> > sdo
> > > ant
> > > > > > build,
> > > > > > cause I ignored the DAS ant build and built it like I was
> > building
> > > > > > before,
> > > > > > with the MVS, but got the same error :S. Than I rebuilt the SDO,
> > > but
> > > > > not
> > > > > > using the new sdo build, but the old one, the build.bat, and
> > guess
> > > > > what,
> > > > > > there was no more error : ).
> > > > > >
> > > > > > It is not exactly an error, when I build the SDO using the ant
> > > build,
> > > > > my
> > > > > > DAS
> > > > > > requires the dll MSVCP80.dll and with the old SDO build it does
> > > not.
> > > > > > There
> > > > > > may be some option that is being set on SDO ant build that is
> > not
> > > on
> > > > > SDO
> > > > > > old
> > > > > > build. I'm not a C++ expert, but I think it has something to do
> > > with
> > > > > the
> > > > > > option Multi-threaded Debug DLL (/MDd) or Multi-threaded Debug
> > > (/MTd)
> > > > > on
> > > > > > compiler arguments.
> > > > > >
> > > > > > Another point, the sdo_test is also requiring this dll when
> > built
> > > > > using
> > > > > > the
> > > > > > SDO ant build (I built the SDO using ant build and compiled the
> > > > > sdo_test
> > > > > > on
> > > > > > MVS, but I removed the sdo_test dependency from sdo_runtime,
> > > otherwise
> > > > >
> > > > > > it
> > > > > > would get compiled overwriting the SDO ant build binaries on
> > > deploy
> > > > > > folder).
> > > > > >
> > > > > > Doing another tests right now to check whether it is a
> > > Multi-threaded
> > > > > > Debug
> > > > > > DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
> > > > > >
> > > > > > Regards,
> > > > > > Adriano Crestani
> > > > > >
> > > > > > On 8/16/07, Adriano Crestani <adrianocrestani@apache.org >
> > wrote:
> > > > > > >
> > > > > > > Hi Brady,
> > > > > > >
> > > > > > > Yes, I was plaining to do that after this weekend. I had no
> > > chance
> > > > > to
> > > > > > do
> > > > > > > that so far, cause I was really busy with college's stuffs :(
> > > > > > >
> > > > > > > Regards,
> > > > > > > Adriano Crestani
> > > > > > >
> > > > > > > On 8/16/07, Brady Johnson < bjohnson@roguewave.com > wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > > Adriano,
> > > > > > > >
> > > > > > > > You might have seen that both SCA and SDO native now have an
> >
> > > ant
> > > > > > build
> > > > > > > > infrastructure. I briefly looked at doing the same for DAS,
> > > but
> > > > > > couldn't
> > > > > > > > get it to compile with "configure, make, make install" at
> > the
> > > > > time,
> > > > > > and
> > > > > > > > never got a chance to come back to it.
> > > > > > > >
> > > > > > > > I think it should be very easy to copy the SDO ant stuff
> > over
> > > to
> > > > > > DAS,
> > > > > > > > what do you think?
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > > Brady Johnson
> > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: adrianocrestani@gmail.com
> > > [mailto: adrianocrestani@gmail.com]
> > > > > > On
> > > > > > > > Behalf Of Adriano Crestani
> > > > > > > > Sent: Monday, July 23, 2007 11:21 PM
> > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > >
> > > > > > > > Great idea, soon I will try to apply this idea to Native DAS
> > > and
> > > > > see
> > > > > > how
> > > > > > > > it works. I think the idea could also be easily applied to
> > > Native
> > > > > > SDO,
> > > > > > > > as it does not have too much dependencies and code
> > generation
> > > as
> > > > > > Native
> > > > > > > > SCA does.
> > > > > > > >
> > > > > > > > A folder ant-core could be created under tuscany/cpp/ folder
> > > to
> > > > > > place
> > > > > > > > the ant scripts shared by the projects.
> > > > > > > >
> > > > > > > > Also, we could add a build.xml under tuscany/ccp/ that
> > builds
> > > all
> > > > > 3
> > > > > > > > subprojects at once, if the 3 to implement this ant build
> > > process.
> > > > > > What
> > > > > > > > do you think?
> > > > > > > >
> > > > > > > > Regards,
> > > > > > > > Adriano Crestani
> > > > > > > >
> > > > > > > > On 7/23/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Correction, it should be like this:
> > > > > > > > >
> > > > > > > > >   <target name="compile.core">
> > > > > > > > >     <cpp-compile
> > > > > > > > >         srcdir="${ core.abs.dir}"
> > > > > > > > >         objdir="${lib.dir}"
> > > > > > > > >         infiles="${ core.cpp.files}">
> > > > > > > > >       <custom-cc-elements>
> > > > > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > > > > >       </custom-cc-elements>
> > > > > > > > >     </cpp-compile>
> > > > > > > > >   </target>
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Pete,
> > > > > > > > >
> > > > > > > > > Good catch. That's an easy fix. I'll submit it with the
> > next
> > > > > patch
> > > > > > > > > tomorrow. Basically it involves removing SCA_EXPORTS from
> > > the
> > > > > > > > > Tuscany-BaseCompiler and adding it to the runtime/core/src
> >
> > > > > > targets:
> > > > > > > > >         compile.core
> > > > > > > > >         compile.extension
> > > > > > > > >         compile.model
> > > > > > > > >         compile.util
> > > > > > > > >
> > > > > > > > > Like this:
> > > > > > > > >   <target name="compile.core">
> > > > > > > > >     <cpp-compile
> > > > > > > > >         srcdir="${core.abs.dir}"
> > > > > > > > >         objdir="${lib.dir}"
> > > > > > > > >         infiles="${core.cpp.files }"/>
> > > > > > > > >       <custom-cc-element>
> > > > > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > > > > >       </custom-cc-element>
> > > > > > > > >   </target>
> > > > > > > > >
> > > > > > > > > Tomorrow I'll have the python, ruby, rest, and maybe php
> > > > > > extensions
> > > > > > > > > complete.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com ]
> > > > > > > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > I think there is a problem in the extension compilations.
> > > The
> > > > > > > > > SCA_EXPORTS directive should only be set when compiling
> > the
> > > > > > > > > runtime/core. When compiling for dlls on windows which use
> > > the
> > > > > > core
> > > > > > > > > dll SCA_EXPORTS must not be set. I guess this means we
> > have
> > > to
> > > > > > move
> > > > > > > > > the setting of this directive from the definition of the
> > > > > > > > > Tuscany-BaseCompiler
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > >
> > > > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com >
> > wrote:
> > > > > > > > > > I've applied the patch. How are you creating the
> > patches?
> > > I
> > > > > had
> > > > > > > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > > > > > > >
> > > > > > > > > > I've included the changes in the patch to the
> > > > > > tools/TuscanyDriver
> > > > > > > > > > build. I haven't tested this and I'm not sure if it
> > works
> > > with
> > > > >
> > > > > > the
> > > > > > > > > > system.xml etc.
> > > > > > > > > >
> > > > > > > > > > Can you do a clean extract as a base for future patches?
> >
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com >
> > > wrote:
> > > > > > > > > > > I'll give this a go. I should be able to run it on Mac
> > > as
> > > > > > well.
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > > On 23/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > I updated the jira1438 with update 3, which includes
> > > the
> > > > > > > > > following:
> > > > > > > > > > > >
> > > https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > - added build.xml for the following dirs:
> > > > > > > > > > > >    runtime/extensions/build.xml
> > > > > > > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > > > > > > >    runtime/extensions/sca/build.xml
> > > > > > > > > > > >    runtime/extensions/ws/build.xml
> > > > > > > > > > > >
> > > > > > > > > > > > - changed system.xml to check for necessary axis,
> > php,
> > > > > > python,
> > > > > > > > > > > > rest, and ruby env vars. If they're not  set in the
> > > env,
> > > > > > look
> > > > > > > > > > > > for them in platform.properties
> > > > > > > > > > > >
> > > > > > > > > > > > - changed compile-targets.xml targets
> > > > > > > > > > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > > > > > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > > > > > > >
> > > > > > > > > > > > - added compile-targets.xml target: <cpp-symlink/>
> > > > > > > > > > > >
> > > > > > > > > > > > - added library versioning and the
> > > > > > > > > > > > platform.tuscanySCA.library.version
> > > > > > > > > > > > platform.properties property
> > > > > > > > > > > >
> > > > > > > > > > > > Can someone submit this for me.
> > > > > > > > > > > >
> > > > > > > > > > > > The only thing left now is the build.xml for these
> > > > > > extensions:
> > > > > > > > > > > > php, python, rest, ruby
> > > > > > > > > > > >
> > > > > > > > > > > > WRT testing on macs, I wont have a mac available
> > until
> > > > > next
> > > > > > > > week.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks
> > > > > > > > > > > >
> > > > > > > > > > > > --------------------
> > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > Software
> > > -
> > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I can look into testing it on Mac here. I believe we
> >
> > > have
> > > > > > > > > > > > several mac machines for the purpose.
> > > > > > > > > > > >
> > > > > > > > > > > > I'll get back to you soon.
> > > > > > > > > > > >
> > > > > > > > > > > > --------------------
> > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > Software
> > > -
> > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com
> > ]
> > > > > > > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > > I've taken out the references to
> > tuscany_sca_config.h
> > > and
> > > > > > > > > > > > patched the automake for now with setting
> > -DIS_DARWIN
> > > on
> > > > > > mac.
> > > > > > > > > > > > Yet to test it on Mac as I need to kick the kids off
> >
> > > my
> > > > > > machine!
> > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On 19/07/07, Pete Robbins <
> > robbinspg@googlemail.com>
> > > > > wrote:
> > > > > > > > > > > > > Automake generates a config file with lots of
> > > standard
> > > > > > stuff
> > > > > > > > > > > > > but
> > > > > > > > >
> > > > > > > > > > > > > the only  one we need is the IS_DARWIN, which is
> > > used in
> > > > > > 2
> > > > > > > > > > > > > places. I'll remove the 2 references to this
> > header
> > > and
> > > > > > change
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > bjohnson@roguewave.com>
> > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I did the following diff command and got quite a
> >
> > > lot
> > > > > of
> > > > > > > > > > > > > > changes (listed
> > > > > > > > > > > > > > below):
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > # diff tuscany_sca_config.h.in
> > > tuscany_sca_config.h
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Are these not needed?
> > > > > > > > > > > > > >        If not, I can get to work on removing all
> > > > > > references
> > > > > > > > > > > > > > to
> > > > > > > > >
> > > > > > > > > > > > > > the file.
> > > > > > > > > > > > > >        If so, then we still need to figure out
> > how
> > > to
> > > > > > create
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > the
> > > > > > > > > > > > file.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I just realized, its 23:30, there... Go to bed!
> > ;)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > Software
> > > > > -
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 0a1
> > > > > > > > > > > > > > > /* tuscany_sca_config.h.  Generated by
> > > configure.
> > > > > */
> > > > > > > > > > > > > > 4c5
> > > > > > > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > > > > > > 8c9
> > > > > > > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > > > > > > 11c12
> > > > > > > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > > > > > > 14c15
> > > > > > > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > > > > > > 17c18
> > > > > > > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > > > > > > 20c21
> > > > > > > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > > > > > > 23c24
> > > > > > > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > > > > > > 26c27
> > > > > > > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > > > > > > 29c30
> > > > > > > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > > > > > > 33c34
> > > > > > > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > > > > > > 36c37
> > > > > > > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > > > > > > 39c40
> > > > > > > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > > > > > > 42c43
> > > > > > > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > > > > > > 45c46
> > > > > > > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > > > > > > 48c49
> > > > > > > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > > > > > > 51c52
> > > > > > > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > > > > > > 55c56
> > > > > > > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > > > > > > 59c60
> > > > > > > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > > > > > > 62c63
> > > > > > > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > > > > > > 65c66
> > > > > > > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > > > > > > 68c69
> > > > > > > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > > > > > > 71c72
> > > > > > > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > > > > > > 74c75
> > > > > > > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > > > > > > 77c78
> > > > > > > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > > > > > > 80c81
> > > > > > > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > > > > > > 84c85
> > > > > > > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > > > > > > 87c88
> > > > > > > > > > > > > > < #undef PACKAGE
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > > > > > > 90c91
> > > > > > > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > > > > > > 93c94
> > > > > > > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > > > > > > > 96c97
> > > > > > > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > > > > > > > 1.0-incubator-M3 "
> > > > > > > > > > > > > > 99c100
> > > > > > > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > > > > > > > > > 102c103
> > > > > > > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > > > > > > > 105c106
> > > > > > > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > > > > > > 108c109
> > > > > > > > > > > > > > < #undef VERSION
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > > > > > > 111c112
> > > > > > > > > > > > > > < #undef const
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef const */
> > > > > > > > > > > > > > 116c117
> > > > > > > > > > > > > > < #undef inline
> > > > > > > > > > > > > > ---
> > > > > > > > > > > > > > > /* #undef inline */
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > robbinspg@googlemail.com ]
> > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > yeah I figured that... I did exactly the same
> > when
> > > > > > > > > > > > > > committing changes earlier! I dodn't commit the
> > > > > changes
> > > > > > > > > > > > > > inthe tools
> > > > > > > > > folder.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > bjohnson@roguewave.com >
> > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Ok, I wasn't aware that I had changed the
> > tools.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I simply did a "svn diff . > patch_file" from
> > > the
> > > > > > tuscany
> > > > > > > > > > > > > > > root
> > > > > > > > > > > > dir.
> > > > > > > > > > > > > > > You can disregard the tools changes. I'll look
> >
> > > into
> > > > > > it.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > > > Software
> > > > > > -
> > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Pete Robbins
> > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cool! I've applied this change as well. The
> > > update2
> > > > > > patch
> > > > > > > > > > > > > > > contained changes to the
> > > > > > tools/TuscanyDriver/build.xml.
> > > > > > > > > > > > > > > This
> > > > > > > > >
> > > > > > > > > > > > > > > doesn't work so you
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > may want to look at it.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > bjohnson@roguewave.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If that's all we need the
> > tuscany_sca_config.h
> > > > > file
> > > > > > for
> > > > > > > > > > > > > > > > then, yes this
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > just got a whole lot easier. We can do the
> > > > > following
> > > > > > on
> > > > > > > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > > > > > > >  </condition>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > > > > > > multithreaded="true"
> > > > > > > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > > > > > > >
> > > > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > > > > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > > > > > > > > > >    <includepath path="${ tuscanySCA.root.dir
> > > }"/>
> > > > > > <!--
> > > > > > > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > > > > > > >    <includepath
> > > > > path="${tuscanySCA.root.src.dir }"/>
> > > > > > > > > > > > > > > >    <includepath
> > > > > > > > > > > > > > > > path="${ tuscanySCA.root.src.dir
> > }/core/src"/>
> > > > > > > > > > > > > > > >  </compiler>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> > Wave
> > > > > > Software -
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > > build
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > <bj...@roguewave.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I uploaded a patch on top of what you
> > submit
> > > to
> > > > > > svn.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Here is a description of what I changed:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > - Changed the name of compilers.xml to
> > > > > system.xml.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > > > > > > > platform.properties file that
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > is completely empty.
> > > > > > > > > > > > > > > > >  That is, all of the platform dependent
> > > items
> > > > > are
> > > > > > > > > > > > > > > > > figured out by
> > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > If they are set in
> > > > > > > > > > > > > > > > >  the platform.properties file then they
> > > override
> > > > > > the
> > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > > > > > determination.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > - Better directory path management has
> > been
> > > > > added
> > > > > > to
> > > > > > > > > > > > > > > > > the
> > > > > > > > >
> > > > > > > > > > > > > > > > > root build.xml and
> > > runtime/core/src/build.xml
> > > > > > files.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > - The install and clean targets in
> > > > > > runtime/core/src
> > > > > > > > > > > > > > > > > have
> > > > > > > > >
> > > > > > > > > > > > > > > > > been
> > > > > > > > > > > > > > > > completed.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > With respect to your latest post regarding
> > > > > > > > > > > > "tuscany-sca-config.h ":
> > > > > > > > > > > > > > > > > I knew this was a problem on clean systems
> >
> > > and
> > > > > had
> > > > > > > > > > > > > > > > > envisioned either
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > running a script or using a slimmed down
> > > > > > > > > > > > > > > > > automake/configure to
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > setup
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > this file and any platform specific
> > > parameters.
> > > > > > That's
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > > > > certainly something we'll have to address,
> > > what
> > > > > do
> > > > > > you
> > > > > > > > > think?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > The only reason we use this automake
> > generated
> > > > > file
> > > > > > is
> > > > > > > > > > > > > > > > to set the IS_DARWIN compiler flag for
> > running
> > > on
> > > > > > Mac OS
> > > > > > > >
> > > > > > > > > > > > > > > > X. I
> > > > > > > > >
> > > > > > > > > > > > > > > > expect we
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > can use
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > different technique in ant to set this flag.
> > > Is
> > > > > > there a
> > > > > > > > > > > > "family=mac"
> > > > > > > > > > > > > > > > or somesuch in ant? The automake simply runs
> > a
> > > > > > 'uname
> > > > > > > > -s'
> > > > > > > > > > > > > > > > command to
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > figure it out.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I think a goal for this shoul be that I can
> > do
> > > a
> > > > > > clean
> > > > > > > > > > > > > > > > extract from svn and type "ant" in the top
> > > level
> > > > > > > > > > > > > > > > directory
> > > > > > > > >
> > > > > > > > > > > > > > > > and it will build with
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > everything defaulted. We need various
> > pre-reqs
> > > > > > defined
> > > > > > > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > > > > > > + other pre-reqs) but we should try to make
> > > this
> > > > > as
> > > > > > > > > > > > > > > > + simple
> > > > > > > > >
> > > > > > > > > > > > > > > > + as
> > > > > > > > > > > > > > > > possible.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> > > Wave
> > > > > > Software
> > > > > > > >
> > > > > > > > > > > > > > > > > -
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > > > > robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > the install dir defaults to sca/deploy so
> > I
> > > > > think
> > > > > > we
> > > > > > > > > > > > > > > > > don't need any properties other than
> > > overrides.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I'll check in what I have. so youi can
> > see.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > > > bjohnson@roguewave.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > That's a good idea. Then the only thing
> > > that
> > > > > > really
> > > > > > > > > > > > > > > > > > need to be set
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > in platform.properties file would be:
> > > > > > > > > > > > > > > > > >         tuscanySCA.install.dir
> > > > > > > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I'll put that together real quick and
> > > upload
> > > > > it.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > > Software
> > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software
> > > > > > > > >
> > > > > > > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > [mailto: robbinspg@googlemail.com
> > > > > > > > ]
> > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> > ant
> > > > > build
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> > > > > > robbinspg@googlemail.com
> > > > > > > > >
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com >
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Thanks for trying out the ant build
> > > > > scripts.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Regarding core.dir, you're right,
> > the
> > > name
> > > > > > will
> > > > > > > > > > > > > > > > > > > > need to
> > > > > > > > > > > > > > > change.
> > > > > > > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > As for the " tuscanySCA.root.dir" :
> > > Your
> > > > > > > > > > > > > > > > > > > > suggestion
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > will work
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > if you only execute ant from the
> > root
> > > > > > directory,
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > but not
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > from the runtime/core/src directory.
> > > > > That's
> > > > > > why
> > > > > > > > > > > > > > > > > > > > I put it
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in the platform.properties, which is
> > > > > > accessed by
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > build.xml's.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Its better ant coding style to have
> > > > > anything
> > > > > > > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in a properties file, not in an ant
> > > > > > build.xml
> > > > > > > > > file.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Yes... I realized that would limit you
> > > to
> > > > > > running
> > > > > > > > > > > > > > > > > > > ant from
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > top
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > would a better solution be to have a
> > top
> > > > > level
> > > > > > (or
> > > > > > > >
> > > > > > > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > > > > > > > >  a) imports platform.properties for
> > any
> > > > > > overrides
> > > > > > > > > > > > > > > > > > >  b) sets the properties conditional on
> >
> > > the
> > > > > > > > platform.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > > > > > > >      <condition property=" lib.ext"
> > > > > > value='.so' '>
> > > > > > > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > >      <condition property=" lib.ext"
> > > > > > value='.dll' '>
> > > > > > > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > >      <condition property="lib.ext"
> > > > > > value='.dylib
> > > > > > > > '>
> > > > > > > > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > the build.xml files would all import
> > this
> > > top
> > > > > > level
> > > > > > > > > file:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > As for the platform.properties file
> > > for
> > > > > > windows:
> > > > > > > > > > > > > > > > > > > > The property platform can/should be
> > > > > removed,
> > > > > > its
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > necessary.
> > > > > > > > > > > > > > > > > > > > If
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > the property
> > > > > "platform.compiler-definition"
> > > > > > is
> > > > > > > > > > > > > > > > > > > > set, then
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > that value will be used for the
> > > compiler
> > > > > > > > > > > > > > > > > > > > selection, else
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > it will get set to msvc for windows
> > as
> > > can
> > > > > > be
> > > > > > > > > > > > > > > > > > > > seen
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I think the way this should ship is
> > to
> > > > > have
> > > > > > > > > > > > > > > > > > > > several platform.properties files
> > for
> > > the
> > > > > > > > > different platform:
> > > > > > > > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > > > > > > > >         platform.properties.windows
> > > > > > > > > > > > > > > > > > > >        platform.properties.mac Which
> > > will
> > > > > > each
> > > > > > > > > > > > > > > > > > > > have values pre
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > platform. Then with either configure
> > > or a
> > > > > > shell
> > > > > > > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > file wil be copied to
> > > platform.properties
> > > > > > and
> > > > > > > > > > > > > > > > > > > > the directory properties will be set
> > > > > > > > accordingly.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> > > Lead
> > > > > > Software
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave
> > > Software -
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08
> > AM
> > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> > preliminary
> > > ant
> > > > > > build
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I ran into a couple of issues
> > tryingt
> > > o
> > > > > run
> > > > > > this
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > build.
> > > > > > > > > > > > > > > > > > > > Firstly I got an error with a path
> > > > > > > > > > > > > > > > > > > >
> > > > > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > > > > > > >
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > I
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > trcked this
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > down to the fact that the property
> > > > > core.dir
> > > > > > is
> > > > > > > > > > > > > > > > > > > > set
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in the top level build.xml to
> > > > > > "runtime/core/src"
> > > > > > > > > > > > > > > > > > > > and in the
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > runtime/core/src/build.xml the same
> > > > > property
> > > > > > > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > "tuscany/sca/core". It looks to me
> > > like
> > > > > the
> > > > > > > > > > > > > > > > > > > > second
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > defintion
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > of core.dir is being ignored. I'm
> > not
> > > an
> > > > > ant
> > > > > > > > > expert ...
> > > > > > > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > > > > > > get propagated from higher level build
> > > files?
> > > > > > > > > > > > > > > > > > > > I got around this by changing the
> > name
> > > of
> > > > > > > > > > > > > > > > > > > > core.dir
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > one
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Rather than specifying the paths to
> > > the
> > > > > > source
> > > > > > > > > > > > > > > > > > > > code etc in the
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > platform.properties I would prefer
> > to
> > > set
> > > > > > these
> > > > > > > > > > > > > > > > > > > > automatically so
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > and then based other properties from
> >
> > > this.
> > > > > > It
> > > > > > > > > > > > > > > > > > > > seemed to
> > > > > > > > > > > > > > work!
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > > > > > > < robbinspg@googlemail.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > I'd like some info on what I need
> > to
> > > > > edit
> > > > > > in
> > > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > One good thing about automake is
> > > that it
> > > > > > > > > > > > > > > > > > > > > detects
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > your platform/compiler etc
> > > > > automatically.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I put together some
> > documentation
> > > for
> > > > > > using
> > > > > > > > > > > > > > > > > > > > > > ant with
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> > Johnson
> > > > > Lead
> > > > > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA
> > > Rogue
> > > > > Wave
> > > > > > > > > > > > > > > > > > > > > > Software -
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Using ant to build TuscanySCA
> > > Native
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > 1. Required Software to build
> > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > > > Native with
> > > > > > > > > > > > > > ant:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > > > > > > >        Ant comes installed with
> > > almost
> > > > >
> > > > > > all
> > > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > http://ant.apache.org/
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > > > > > >
> > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set
> > before
> > > > > > starting.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> > > > > > directory
> > > > > > > > > > > > > > > > > > > > > > where you
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > > > > > > > > > export
> > > PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Optional ant tasks, such as
> > > antcontrib
> > > > > > and
> > > > > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib So
> > > place
> > > > > the
> > > > > > > > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > If you dont have write access to
> >
> > > > > > > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Avoid adding optional ant tasks
> > to
> > > > > your
> > > > > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
>
> ...
>
> [Message clipped]

Re: [DAS Native] ant build

Posted by Adriano Crestani <ad...@apache.org>.
Hi Brady,

I didn't add an ant build for das_test yet, I'm still building it with MVS.
Just don't forget to remove the das_test project dependency from das_runtime
project when building it with MVS.

I will modify these options you suggested probably tomorrow, it's holyday
this friday on Brazil ;P. But I still don't see how I can add these options
in the ant build files : (

Regards,
Adriano Crestani

On 9/7/07, Brady Johnson <bj...@roguewave.com> wrote:
>
>
> Adriano,
>
> I'm looking into this. I don't see how to build the das_test with ant.
> Have you submit the build.xml for das_test yet?
>
> At first glance, I see a few things to try changing:
>         /Od - lets try adding this, it disables optimization
>         /D_VC80_UPGRADE=0x0600 - not sure what this does, but lets try
> adding it...
>
>
> Brady
>
> -----Original Message-----
> From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> Behalf Of Adriano Crestani
> Sent: Friday, September 07, 2007 9:33 AM
> To: tuscany-dev@ws.apache.org
> Subject: Re: [DAS Native] ant build
>
> Hi Brady,
>
> Yeah, I was comparing these two command lines. Thanks for your help with
> DAS
> ; ).
>
> Adriano Crestani
>
> On 9/7/07, Brady Johnson <bj...@roguewave.com> wrote:
> >
> >
> > Adriano,
> >
> > I agree completely that the ant build should produce the same result
> as
> > the MVS build. This should be quite easy, considering that they both
> > call the same compiler executable. I'll try to download DAS today and
> > work on it, it should just be a case of a few command line switches.
> The
> > way to do it is to look at the command line that MVS produces (can be
> > seen by loading the project and displaying properties) and comparing
> it
> > to the ant command line in the history.xml file. As For the /Gz option
> > (an msvc 7.1 option), that was replaced by /Ehsc in msvc 8.0.
> >
> > --------------------
> > Brady Johnson
> > Lead Software Developer - HydraSCA
> > Rogue Wave Software - brady.johnson@roguewave.com
> >
> >
> > -----Original Message-----
> > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> > Behalf Of Adriano Crestani
> > Sent: Wednesday, September 05, 2007 8:17 PM
> > To: tuscany-dev@ws.apache.org
> > Subject: Re: [DAS Native] ant build
> >
> > Hi Brady,
> >
> > I compiled both DAS and SDO with "ant -Ddebug=true", than I compiled
> the
> > das_test project also on debug mode. But I get an error during the
> > das_test
> > execution?
> >
> > Run-Time Check Failure #2 - Stack around the variable 'sqlType' was
> > corrupted.
> >
> > This doesn't happen when I compile the das_test with my old build
> (MVS).
> > Than I looked on my MVS compiler arguments and on those arguments
> > generated
> > by the ant for something different that might be causing this problem.
> > So, I
> > realized that the ant build, on SDO and DAS, is compiling with the
> > argument
> > /Gz, but, both, SDO and DAS MVS projects are configured with the
> > argument
> > /Gd. In addition, my compiler is outputting a warning about the /Gz
> > argument:
> >
> >        [cc] cl : Command line warning D9035 : option 'GZ' has been
> > deprecated and will be removed in a future release
> >        [cc] cl : Command line warning D9036 : use 'RTC1' instead of
> 'GZ'
> >
> > I tried to modify the ant files adding the attribute compilerarg='/GD'
> > to
> > the cc tag, but it says my compiler does not support this attribute :
> (.
> > After all, I dont know if it has something to do with the runtime
> error
> > I'm
> > getting with das_tests, but I think the ant, bat or MSV project build
> > should
> > all result the same binaries, and it seems not to be happening once
> > there
> > are different compiler arguments.
> >
> > Can you help me with that Brady? Thanks
> >
> > Regards,
> > Adriano Crestani
> >
> > On 9/5/07, Adriano Crestani <ad...@apache.org> wrote:
> > >
> > > Thanks a log Brady, it worked ; )
> > >
> > > Adriano Crestani
> > >
> > > On 9/5/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > >
> > > >
> > > > Adriano,
> > > >
> > > > There is for SCA and SDO. Either "ant -Ddebug=true" or set
> > > > "platform.debug.compile=true" in platform.properties. Both of
> those
> > get
> > > > passed to the cc task, which should take care of setting the
> correct
> > > > command line args.
> > > >
> > > > Brady
> > > >
> > > > P.S. The arg can be true, yes, or on.
> > > >
> > > > -----Original Message-----
> > > > From: adrianocrestani@gmail.com [mailto:
> adrianocrestani@gmail.com]
> > On
> > > > Behalf Of Adriano Crestani
> > > > Sent: Wednesday, September 05, 2007 11:23 AM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: Re: [DAS Native] ant build
> > > >
> > > > Hi Brady,
> > > >
> > > > Thanks for the suggestion, I looked there and the compiler
> arguments
> > > > contains the /MD (Multi-threaded DLL) argument that mean non-debug
> > mode.
> > > > I
> > > > think there should be a way to build the library on debug mode,
> > > > something
> > > > like "ant debug", what do you thinnk?
> > > >
> > > > Regards,
> > > > Adriano Crestani
> > > >
> > > > On 9/4/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > >
> > > > >
> > > > > Adriano,
> > > > >
> > > > > I'll try to look into this tomorrow. In the meantime, there is a
> > file
> > > > > generated in the destination directory (where the object files
> > and/or
> > > > > library is written) by ant called history.xml. If you look at
> the
> > > > > signature attribute of the <processor/> element you can see the
> > > > compiler
> > > > > command line generated by ant. Hopefully this will help out.
> > > > >
> > > > > --------------------
> > > > > Brady Johnson
> > > > > Lead Software Developer - HydraSCA
> > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > >
> > > > > -----Original Message-----
> > > > > From: adrianocrestani@gmail.com [mailto:
> > adrianocrestani@gmail.com] On
> > > > > Behalf Of Adriano Crestani
> > > > > Sent: Sunday, September 02, 2007 1:36 PM
> > > > > To: tuscany-dev@ws.apache.org
> > > > > Subject: Re: [DAS Native] ant build
> > > > >
> > > > > Back from vacation, back to work : )
> > > > >
> > > > > Brady, I thought the error had something to do with the pc I was
> > using
> > > >
> > > > > while
> > > > > my laptop was getting repaired, but I got it repaired and the
> > error
> > > > was
> > > > > still occurring on my laptop. The error seems rationed to the
> sdo
> > ant
> > > > > build,
> > > > > cause I ignored the DAS ant build and built it like I was
> building
> > > > > before,
> > > > > with the MVS, but got the same error :S. Than I rebuilt the SDO,
> > but
> > > > not
> > > > > using the new sdo build, but the old one, the build.bat, and
> guess
> > > > what,
> > > > > there was no more error : ).
> > > > >
> > > > > It is not exactly an error, when I build the SDO using the ant
> > build,
> > > > my
> > > > > DAS
> > > > > requires the dll MSVCP80.dll and with the old SDO build it does
> > not.
> > > > > There
> > > > > may be some option that is being set on SDO ant build that is
> not
> > on
> > > > SDO
> > > > > old
> > > > > build. I'm not a C++ expert, but I think it has something to do
> > with
> > > > the
> > > > > option Multi-threaded Debug DLL (/MDd) or Multi-threaded Debug
> > (/MTd)
> > > > on
> > > > > compiler arguments.
> > > > >
> > > > > Another point, the sdo_test is also requiring this dll when
> built
> > > > using
> > > > > the
> > > > > SDO ant build (I built the SDO using ant build and compiled the
> > > > sdo_test
> > > > > on
> > > > > MVS, but I removed the sdo_test dependency from sdo_runtime,
> > otherwise
> > > >
> > > > > it
> > > > > would get compiled overwriting the SDO ant build binaries on
> > deploy
> > > > > folder).
> > > > >
> > > > > Doing another tests right now to check whether it is a
> > Multi-threaded
> > > > > Debug
> > > > > DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
> > > > >
> > > > > Regards,
> > > > > Adriano Crestani
> > > > >
> > > > > On 8/16/07, Adriano Crestani <adrianocrestani@apache.org >
> wrote:
> > > > > >
> > > > > > Hi Brady,
> > > > > >
> > > > > > Yes, I was plaining to do that after this weekend. I had no
> > chance
> > > > to
> > > > > do
> > > > > > that so far, cause I was really busy with college's stuffs :(
> > > > > >
> > > > > > Regards,
> > > > > > Adriano Crestani
> > > > > >
> > > > > > On 8/16/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > > > > > >
> > > > > > >
> > > > > > > Adriano,
> > > > > > >
> > > > > > > You might have seen that both SCA and SDO native now have an
> > ant
> > > > > build
> > > > > > > infrastructure. I briefly looked at doing the same for DAS,
> > but
> > > > > couldn't
> > > > > > > get it to compile with "configure, make, make install" at
> the
> > > > time,
> > > > > and
> > > > > > > never got a chance to come back to it.
> > > > > > >
> > > > > > > I think it should be very easy to copy the SDO ant stuff
> over
> > to
> > > > > DAS,
> > > > > > > what do you think?
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA
> > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: adrianocrestani@gmail.com
> > [mailto:adrianocrestani@gmail.com]
> > > > > On
> > > > > > > Behalf Of Adriano Crestani
> > > > > > > Sent: Monday, July 23, 2007 11:21 PM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > >
> > > > > > > Great idea, soon I will try to apply this idea to Native DAS
> > and
> > > > see
> > > > > how
> > > > > > > it works. I think the idea could also be easily applied to
> > Native
> > > > > SDO,
> > > > > > > as it does not have too much dependencies and code
> generation
> > as
> > > > > Native
> > > > > > > SCA does.
> > > > > > >
> > > > > > > A folder ant-core could be created under tuscany/cpp/ folder
> > to
> > > > > place
> > > > > > > the ant scripts shared by the projects.
> > > > > > >
> > > > > > > Also, we could add a build.xml under tuscany/ccp/ that
> builds
> > all
> > > > 3
> > > > > > > subprojects at once, if the 3 to implement this ant build
> > process.
> > > > > What
> > > > > > > do you think?
> > > > > > >
> > > > > > > Regards,
> > > > > > > Adriano Crestani
> > > > > > >
> > > > > > > On 7/23/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > > Correction, it should be like this:
> > > > > > > >
> > > > > > > >   <target name="compile.core">
> > > > > > > >     <cpp-compile
> > > > > > > >         srcdir="${ core.abs.dir}"
> > > > > > > >         objdir="${lib.dir}"
> > > > > > > >         infiles="${ core.cpp.files}">
> > > > > > > >       <custom-cc-elements>
> > > > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > > > >       </custom-cc-elements>
> > > > > > > >     </cpp-compile>
> > > > > > > >   </target>
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > > Brady Johnson
> > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > >
> > > > > > > >
> > > > > > > > Pete,
> > > > > > > >
> > > > > > > > Good catch. That's an easy fix. I'll submit it with the
> next
> > > > patch
> > > > > > > > tomorrow. Basically it involves removing SCA_EXPORTS from
> > the
> > > > > > > > Tuscany-BaseCompiler and adding it to the runtime/core/src
> > > > > targets:
> > > > > > > >         compile.core
> > > > > > > >         compile.extension
> > > > > > > >         compile.model
> > > > > > > >         compile.util
> > > > > > > >
> > > > > > > > Like this:
> > > > > > > >   <target name="compile.core">
> > > > > > > >     <cpp-compile
> > > > > > > >         srcdir="${core.abs.dir}"
> > > > > > > >         objdir="${lib.dir}"
> > > > > > > >         infiles="${core.cpp.files }"/>
> > > > > > > >       <custom-cc-element>
> > > > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > > > >       </custom-cc-element>
> > > > > > > >   </target>
> > > > > > > >
> > > > > > > > Tomorrow I'll have the python, ruby, rest, and maybe php
> > > > > extensions
> > > > > > > > complete.
> > > > > > > >
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > > Brady Johnson
> > > > > > > > Lead Software Developer - HydraSCA
> > > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com]
> > > > > > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > >
> > > > > > > > I think there is a problem in the extension compilations.
> > The
> > > > > > > > SCA_EXPORTS directive should only be set when compiling
> the
> > > > > > > > runtime/core. When compiling for dlls on windows which use
> > the
> > > > > core
> > > > > > > > dll SCA_EXPORTS must not be set. I guess this means we
> have
> > to
> > > > > move
> > > > > > > > the setting of this directive from the definition of the
> > > > > > > > Tuscany-BaseCompiler
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com>
> wrote:
> > > > > > > > > I've applied the patch. How are you creating the
> patches?
> > I
> > > > had
> > > > > > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > > > > > >
> > > > > > > > > I've included the changes in the patch to the
> > > > > tools/TuscanyDriver
> > > > > > > > > build. I haven't tested this and I'm not sure if it
> works
> > with
> > > >
> > > > > the
> > > > > > > > > system.xml etc.
> > > > > > > > >
> > > > > > > > > Can you do a clean extract as a base for future patches?
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > >
> > > > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com >
> > wrote:
> > > > > > > > > > I'll give this a go. I should be able to run it on Mac
> > as
> > > > > well.
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > > On 23/07/07, Brady Johnson < bjohnson@roguewave.com>
> > wrote:
> > > > > > > > > > >
> > > > > > > > > > > I updated the jira1438 with update 3, which includes
> > the
> > > > > > > > following:
> > > > > > > > > > >
> > https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > - added build.xml for the following dirs:
> > > > > > > > > > >    runtime/extensions/build.xml
> > > > > > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > > > > > >    runtime/extensions/sca/build.xml
> > > > > > > > > > >    runtime/extensions/ws/build.xml
> > > > > > > > > > >
> > > > > > > > > > > - changed system.xml to check for necessary axis,
> php,
> > > > > python,
> > > > > > > > > > > rest, and ruby env vars. If they're not  set in the
> > env,
> > > > > look
> > > > > > > > > > > for them in platform.properties
> > > > > > > > > > >
> > > > > > > > > > > - changed compile-targets.xml targets
> > > > > > > > > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > > > > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > > > > > >
> > > > > > > > > > > - added compile-targets.xml target: <cpp-symlink/>
> > > > > > > > > > >
> > > > > > > > > > > - added library versioning and the
> > > > > > > > > > > platform.tuscanySCA.library.version
> > > > > > > > > > > platform.properties property
> > > > > > > > > > >
> > > > > > > > > > > Can someone submit this for me.
> > > > > > > > > > >
> > > > > > > > > > > The only thing left now is the build.xml for these
> > > > > extensions:
> > > > > > > > > > > php, python, rest, ruby
> > > > > > > > > > >
> > > > > > > > > > > WRT testing on macs, I wont have a mac available
> until
> > > > next
> > > > > > > week.
> > > > > > > > > > >
> > > > > > > > > > > Thanks
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> Software
> > -
> > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I can look into testing it on Mac here. I believe we
> > have
> > > > > > > > > > > several mac machines for the purpose.
> > > > > > > > > > >
> > > > > > > > > > > I'll get back to you soon.
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> Software
> > -
> > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com
> ]
> > > > > > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > > I've taken out the references to
> tuscany_sca_config.h
> > and
> > > > > > > > > > > patched the automake for now with setting
> -DIS_DARWIN
> > on
> > > > > mac.
> > > > > > > > > > > Yet to test it on Mac as I need to kick the kids off
> > my
> > > > > machine!
> > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On 19/07/07, Pete Robbins <
> robbinspg@googlemail.com>
> > > > wrote:
> > > > > > > > > > > > Automake generates a config file with lots of
> > standard
> > > > > stuff
> > > > > > > > > > > > but
> > > > > > > >
> > > > > > > > > > > > the only  one we need is the IS_DARWIN, which is
> > used in
> > > > > 2
> > > > > > > > > > > > places. I'll remove the 2 references to this
> header
> > and
> > > > > change
> > > > > > >
> > > > > > >
> > > > > > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > > On 18/07/07, Brady Johnson <
> bjohnson@roguewave.com>
> > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > I did the following diff command and got quite a
> > lot
> > > > of
> > > > > > > > > > > > > changes (listed
> > > > > > > > > > > > > below):
> > > > > > > > > > > > >
> > > > > > > > > > > > > # diff tuscany_sca_config.h.in
> > tuscany_sca_config.h
> > > > > > > > > > > > >
> > > > > > > > > > > > > Are these not needed?
> > > > > > > > > > > > >        If not, I can get to work on removing all
> > > > > references
> > > > > > > > > > > > > to
> > > > > > > >
> > > > > > > > > > > > > the file.
> > > > > > > > > > > > >        If so, then we still need to figure out
> how
> > to
> > > > > create
> > > > > > >
> > > > > > >
> > > > > > > > > > > > > the
> > > > > > > > > > > file.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I just realized, its 23:30, there... Go to bed!
> ;)
> > > > > > > > > > > > >
> > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > Software
> > > > -
> > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > 0a1
> > > > > > > > > > > > > > /* tuscany_sca_config.h.  Generated by
> > configure.
> > > > */
> > > > > > > > > > > > > 4c5
> > > > > > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > > > > > 8c9
> > > > > > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > > > > > 11c12
> > > > > > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > > > > > 14c15
> > > > > > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > > > > > 17c18
> > > > > > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > > > > > 20c21
> > > > > > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > > > > > 23c24
> > > > > > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > > > > > 26c27
> > > > > > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > > > > > 29c30
> > > > > > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > > > > > 33c34
> > > > > > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > > > > > 36c37
> > > > > > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > > > > > 39c40
> > > > > > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > > > > > 42c43
> > > > > > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > > > > > 45c46
> > > > > > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > > > > > 48c49
> > > > > > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > > > > > 51c52
> > > > > > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > > > > > 55c56
> > > > > > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > > > > > 59c60
> > > > > > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > > > > > 62c63
> > > > > > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > > > > > 65c66
> > > > > > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > > > > > 68c69
> > > > > > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > > > > > 71c72
> > > > > > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > > > > > 74c75
> > > > > > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > > > > > 77c78
> > > > > > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > > > > > 80c81
> > > > > > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > > > > > 84c85
> > > > > > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > > > > > 87c88
> > > > > > > > > > > > > < #undef PACKAGE
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > > > > > 90c91
> > > > > > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > > > > > 93c94
> > > > > > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > > > > > > 96c97
> > > > > > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > > > > > > 1.0-incubator-M3"
> > > > > > > > > > > > > 99c100
> > > > > > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > > > > > > > > 102c103
> > > > > > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > > > > > > 105c106
> > > > > > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > > > > > 108c109
> > > > > > > > > > > > > < #undef VERSION
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > > > > > 111c112
> > > > > > > > > > > > > < #undef const
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > /* #undef const */
> > > > > > > > > > > > > 116c117
> > > > > > > > > > > > > < #undef inline
> > > > > > > > > > > > > ---
> > > > > > > > > > > > > > /* #undef inline */
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Pete Robbins [mailto:
> > robbinspg@googlemail.com ]
> > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > > >
> > > > > > > > > > > > > yeah I figured that... I did exactly the same
> when
> > > > > > > > > > > > > committing changes earlier! I dodn't commit the
> > > > changes
> > > > > > > > > > > > > inthe tools
> > > > > > > > folder.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > bjohnson@roguewave.com>
> > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Ok, I wasn't aware that I had changed the
> tools.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I simply did a "svn diff . > patch_file" from
> > the
> > > > > tuscany
> > > > > > > > > > > > > > root
> > > > > > > > > > > dir.
> > > > > > > > > > > > > > You can disregard the tools changes. I'll look
> > into
> > > > > it.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > > Software
> > > > > -
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Pete Robbins
> > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cool! I've applied this change as well. The
> > update2
> > > > > patch
> > > > > > > > > > > > > > contained changes to the
> > > > > tools/TuscanyDriver/build.xml.
> > > > > > > > > > > > > > This
> > > > > > > >
> > > > > > > > > > > > > > doesn't work so you
> > > > > > > > > > > > >
> > > > > > > > > > > > > > may want to look at it.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > bjohnson@roguewave.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If that's all we need the
> tuscany_sca_config.h
> > > > file
> > > > > for
> > > > > > > > > > > > > > > then, yes this
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > just got a whole lot easier. We can do the
> > > > following
> > > > > on
> > > > > > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > > > > > >  </condition>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > > > > > multithreaded="true"
> > > > > > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > > > > > >
> > > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > > > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > > > > > > > > >    <includepath path="${ tuscanySCA.root.dir
> > }"/>
> > > > > <!--
> > > > > > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > > > > > >    <includepath
> > > > path="${tuscanySCA.root.src.dir }"/>
> > > > > > > > > > > > > > >    <includepath
> > > > > > > > > > > > > > > path="${tuscanySCA.root.src.dir}/core/src"/>
> > > > > > > > > > > > > > >  </compiler>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> Wave
> > > > > Software -
> > > > > > >
> > > > > > >
> > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Pete Robbins
> > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > <bj...@roguewave.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I uploaded a patch on top of what you
> submit
> > to
> > > > > svn.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Here is a description of what I changed:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > - Changed the name of compilers.xml to
> > > > system.xml.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > > > > > > platform.properties file that
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > is completely empty.
> > > > > > > > > > > > > > > >  That is, all of the platform dependent
> > items
> > > > are
> > > > > > > > > > > > > > > > figured out by
> > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > If they are set in
> > > > > > > > > > > > > > > >  the platform.properties file then they
> > override
> > > > > the
> > > > > > > > > > > > > > > > ant
> > > > > > > > > > > > > > > determination.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > - Better directory path management has
> been
> > > > added
> > > > > to
> > > > > > > > > > > > > > > > the
> > > > > > > >
> > > > > > > > > > > > > > > > root build.xml and
> > runtime/core/src/build.xml
> > > > > files.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > - The install and clean targets in
> > > > > runtime/core/src
> > > > > > > > > > > > > > > > have
> > > > > > > >
> > > > > > > > > > > > > > > > been
> > > > > > > > > > > > > > > completed.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > With respect to your latest post regarding
> > > > > > > > > > > "tuscany-sca-config.h ":
> > > > > > > > > > > > > > > > I knew this was a problem on clean systems
> > and
> > > > had
> > > > > > > > > > > > > > > > envisioned either
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > running a script or using a slimmed down
> > > > > > > > > > > > > > > > automake/configure to
> > > > > > > > > > >
> > > > > > > > > > > > > > > > setup
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > this file and any platform specific
> > parameters.
> > > > > That's
> > > > > > >
> > > > > > >
> > > > > > > > > > > > > > > > certainly something we'll have to address,
> > what
> > > > do
> > > > > you
> > > > > > > > think?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > The only reason we use this automake
> generated
> > > > file
> > > > > is
> > > > > > > > > > > > > > > to set the IS_DARWIN compiler flag for
> running
> > on
> > > > > Mac OS
> > > > > > >
> > > > > > > > > > > > > > > X. I
> > > > > > > >
> > > > > > > > > > > > > > > expect we
> > > > > > > > > > >
> > > > > > > > > > > > > > > can use
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > a
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > different technique in ant to set this flag.
> > Is
> > > > > there a
> > > > > > > > > > > "family=mac"
> > > > > > > > > > > > > > > or somesuch in ant? The automake simply runs
> a
> > > > > 'uname
> > > > > > > -s'
> > > > > > > > > > > > > > > command to
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > figure it out.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I think a goal for this shoul be that I can
> do
> > a
> > > > > clean
> > > > > > > > > > > > > > > extract from svn and type "ant" in the top
> > level
> > > > > > > > > > > > > > > directory
> > > > > > > >
> > > > > > > > > > > > > > > and it will build with
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > everything defaulted. We need various
> pre-reqs
> > > > > defined
> > > > > > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > > > > > + other pre-reqs) but we should try to make
> > this
> > > > as
> > > > > > > > > > > > > > > + simple
> > > > > > > >
> > > > > > > > > > > > > > > + as
> > > > > > > > > > > > > > > possible.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> > Wave
> > > > > Software
> > > > > > >
> > > > > > > > > > > > > > > > -
> > > > > > > >
> > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > > > robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > build
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > the install dir defaults to sca/deploy so
> I
> > > > think
> > > > > we
> > > > > > > > > > > > > > > > don't need any properties other than
> > overrides.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I'll check in what I have. so youi can
> see.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > > bjohnson@roguewave.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > That's a good idea. Then the only thing
> > that
> > > > > really
> > > > > > > > > > > > > > > > > need to be set
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > in platform.properties file would be:
> > > > > > > > > > > > > > > > >         tuscanySCA.install.dir
> > > > > > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I'll put that together real quick and
> > upload
> > > > it.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > Software
> > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software
> > > > > > > >
> > > > > > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > [mailto:robbinspg@googlemail.com
> > > > > > > ]
> > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> ant
> > > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> > > > > robbinspg@googlemail.com
> > > > > > > >
> > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com >
> > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Thanks for trying out the ant build
> > > > scripts.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Regarding core.dir, you're right,
> the
> > name
> > > > > will
> > > > > > > > > > > > > > > > > > > need to
> > > > > > > > > > > > > > change.
> > > > > > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > As for the " tuscanySCA.root.dir" :
> > Your
> > > > > > > > > > > > > > > > > > > suggestion
> > > > > > > >
> > > > > > > > > > > > > > > > > > > will work
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > if you only execute ant from the
> root
> > > > > directory,
> > > > > > >
> > > > > > > > > > > > > > > > > > > but not
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > from the runtime/core/src directory.
> > > > That's
> > > > > why
> > > > > > > > > > > > > > > > > > > I put it
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > in the platform.properties, which is
> > > > > accessed by
> > > > > > >
> > > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > > build.xml's.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Its better ant coding style to have
> > > > anything
> > > > > > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > in a properties file, not in an ant
> > > > > build.xml
> > > > > > > > file.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Yes... I realized that would limit you
> > to
> > > > > running
> > > > > > > > > > > > > > > > > > ant from
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > top
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > would a better solution be to have a
> top
> > > > level
> > > > > (or
> > > > > > >
> > > > > > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > > > > > > >  a) imports platform.properties for
> any
> > > > > overrides
> > > > > > > > > > > > > > > > > >  b) sets the properties conditional on
> > the
> > > > > > > platform.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > > > > > >      <condition property=" lib.ext"
> > > > > value='.so' '>
> > > > > > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > >      <condition property="lib.ext"
> > > > > value='.dll' '>
> > > > > > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > >      <condition property="lib.ext"
> > > > > value='.dylib
> > > > > > > '>
> > > > > > > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > the build.xml files would all import
> this
> > top
> > > > > level
> > > > > > > > file:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > As for the platform.properties file
> > for
> > > > > windows:
> > > > > > > > > > > > > > > > > > > The property platform can/should be
> > > > removed,
> > > > > its
> > > > > > >
> > > > > > >
> > > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > necessary.
> > > > > > > > > > > > > > > > > > > If
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > the property
> > > > "platform.compiler-definition"
> > > > > is
> > > > > > > > > > > > > > > > > > > set, then
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > that value will be used for the
> > compiler
> > > > > > > > > > > > > > > > > > > selection, else
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > it will get set to msvc for windows
> as
> > can
> > > > > be
> > > > > > > > > > > > > > > > > > > seen
> > > > > > > >
> > > > > > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I think the way this should ship is
> to
> > > > have
> > > > > > > > > > > > > > > > > > > several platform.properties files
> for
> > the
> > > > > > > > different platform:
> > > > > > > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > > > > > > >         platform.properties.windows
> > > > > > > > > > > > > > > > > > >        platform.properties.mac Which
> > will
> > > > > each
> > > > > > > > > > > > > > > > > > > have values pre
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > platform. Then with either configure
> > or a
> > > > > shell
> > > > > > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > file wil be copied to
> > platform.properties
> > > > > and
> > > > > > > > > > > > > > > > > > > the directory properties will be set
> > > > > > > accordingly.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> > Lead
> > > > > Software
> > > > > > >
> > > > > > >
> > > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave
> > Software -
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08
> AM
> > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> preliminary
> > ant
> > > > > build
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I ran into a couple of issues
> tryingt
> > o
> > > > run
> > > > > this
> > > > > > >
> > > > > > >
> > > > > > > > > > > > > > > > > > > ant
> > > > > > > > > > > build.
> > > > > > > > > > > > > > > > > > > Firstly I got an error with a path
> > > > > > > > > > > > > > > > > > >
> > > > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > > > > > >
> > > > > > >
> > > > > > > > > > > > > > > > > > > I
> > > > > > > >
> > > > > > > > > > > > > > > > > > > trcked this
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > down to the fact that the property
> > > > core.dir
> > > > > is
> > > > > > > > > > > > > > > > > > > set
> > > > > > > >
> > > > > > > > > > > > > > > > > > > in the top level build.xml to
> > > > > "runtime/core/src"
> > > > > > > > > > > > > > > > > > > and in the
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > runtime/core/src/build.xml the same
> > > > property
> > > > > > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > "tuscany/sca/core". It looks to me
> > like
> > > > the
> > > > > > > > > > > > > > > > > > > second
> > > > > > > >
> > > > > > > > > > > > > > > > > > > defintion
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > of core.dir is being ignored. I'm
> not
> > an
> > > > ant
> > > > > > > > expert ...
> > > > > > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > > > > > get propagated from higher level build
> > files?
> > > > > > > > > > > > > > > > > > > I got around this by changing the
> name
> > of
> > > > > > > > > > > > > > > > > > > core.dir
> > > > > > > >
> > > > > > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > one
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Rather than specifying the paths to
> > the
> > > > > source
> > > > > > > > > > > > > > > > > > > code etc in the
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > platform.properties I would prefer
> to
> > set
> > > > > these
> > > > > > > > > > > > > > > > > > > automatically so
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > and then based other properties from
> > this.
> > > > > It
> > > > > > > > > > > > > > > > > > > seemed to
> > > > > > > > > > > > > work!
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > > > > > < robbinspg@googlemail.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > I'd like some info on what I need
> to
> > > > edit
> > > > > in
> > > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > One good thing about automake is
> > that it
> > > > > > > > > > > > > > > > > > > > detects
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > your platform/compiler etc
> > > > automatically.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I put together some
> documentation
> > for
> > > > > using
> > > > > > > > > > > > > > > > > > > > > ant with
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> Johnson
> > > > Lead
> > > > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA
> > Rogue
> > > > Wave
> > > > > > > > > > > > > > > > > > > > > Software -
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Using ant to build TuscanySCA
> > Native
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > 1. Required Software to build
> > > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > > Native with
> > > > > > > > > > > > > ant:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > > > > > >        Ant comes installed with
> > almost
> > > >
> > > > > all
> > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > > > > > > >        Download:
> > > > http://ant.apache.org/
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > > > > >
> > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > > > > > >
> > > > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set
> before
> > > > > starting.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> > > > > directory
> > > > > > > > > > > > > > > > > > > > > where you
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > > > > > > > > export
> > PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Optional ant tasks, such as
> > antcontrib
> > > > > and
> > > > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib So
> > place
> > > > the
> > > > > > > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Avoid adding optional ant tasks
> to
> > > > your
> > > > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Windows
> > > > > > > > > > > > > > > > > > > > > -------
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set
> before
> > > > > starting.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> > > > > directory
> > > > > > > > > > > > > > > > > > > > > where you
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > > > set ANT_HOME=c:\ant
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Add %ANT_HOME%\bin to your path.
> > > > > > > > > > > > > > > > > > > > > set PATH=%PATH%;%ANT_HOME%\bin
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Optional ant tasks, such as
> > antcontrib
> > > > > and
> > > > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > installed in %ANT_HOME%\lib So
> > place
> > > > the
> > > > > > > > > > > > > > > > > > > > > antcontrib and cpptasks
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > jars there.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > > > > > %ANT_HOME%\lib, do the
> > > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > > - create ${ user.home}\.ant\lib
> > > > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Avoid adding optional ant tasks
> to
> > > > your
> > > > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com
> ]
> > > > > > > > > > > > > > > > > > > > > Sent: Tuesday, July 17, 2007
> 1:24
> > AM
> > > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> > preliminary
> > > > > ant
> > > > > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Thanks Brady. I'll take a look
> at
> > > > this.
> > > > > We
> > > > > > > > > > > > > > > > > > > > > will need
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > doc
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > as to
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > what the dependencies are
> > (cpptasks
> > > > etc)
> > > > > and
> > > > > > >
> > > > > > > > > > > > > > > > > > > > > any configuration
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > that is
> > > > > > > > > > > > > > > > > > > needed.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > On 16/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > For anyone interested, I
> > uploaded
> > > > > another
> > > > > > > > > > > > > > > > > > > > > > patch for this
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > JIRA that
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > makes it work better for
> > windows.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > tuscanySCAnative_ant_update1.tar.gz
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> > Johnson
> > > > > Lead
> > > > > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA
> > Rogue
> > > > > Wave
> > > > > > > > > > > > > > > > > > > > > > Software
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > -
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > > > <mailto:
> > > > brady.johnson@roguewave.com>
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > > > From: Brady Johnson
> > > > > > > > > > > > > > > > > > > > > > [mailto:
> bjohnson@roguewave.com]
> > > > > > > > > > > > > > > > > > > > > > Sent: Monday, July 16, 2007
> > 10:46 AM
> > > > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > > > Subject: [SCA Native]
> > preliminary
> > > > ant
> > > > > > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > This may be the second time
> you
> > > > > receive
> > > > > > > > > > > > > > > > > > > > > > this
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > email, the first time
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > I sent it with an attachment,
> > which
> > > > I
> > > > > > > > > > > > > > > > > > > > > > later realized that this
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > dist list
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > may reject. So here it is
> again,
> > w/o
> > > > > the
> > > > > > > > > > > > > > > > > > > > > > attachment. I
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > created
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > a JIRA and put the attachment
> > there:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > https://issues.apache.org/jira/browse/TUSC
> > > > > > > > > > > > > > > > > > > > > > AN
> > > > > > > > > > > > > > > > > > > > > > Y-1438
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > According to a previous thread
> > > > titled
> > > > > > > > > > > > > > > > > > > > > > "[SCA Native] next
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > release content
> > > > > > > > > > > > > > > > > > > > > > [was: Tuscany roadmap]" (I
> didnt
> > > > want
> > > > > to
> > > > > > > > > > > > > > > > > > > > > > add
> > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > another
> > > > > > > > > > > > > > "was"
> > > > > > > > > > > > > > > > > > > > > > redirection
> > > > > > > > > > > > > > > > > > > > > > ;) ), I have prepared ant
> build
> > > > > scripts
> > > > > > > > > > > > > > > > > > > > > > for
> > > > > > > > > > > > > > > > > cpp/sca/runtime/core.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > The tar.gz file attached to
> the
> > jira
> > > > > > > > > > > > > > > > > > > > > > should just
> > > > > > > > > > > > > > "overlay"
> > > > > > > > > > > > > > > > > > > > > > onto the tuscany SCA cpp
> source
> > code
> > > >
> > > > > > > > > > > > > > > > > > > > > > directory
> > > > > > > > > > > > > > structure.
> > > > > > > > > > > > > > > > > > > > > > It
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > consists of the following
> files:
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > <tuscanySca Native Src dir>/
> > > > > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > > > > >      |---- build.xml
> > > > > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > > > > >      |---- antscripts/
> > > > > > > > > > > > > > > > > > > > > >      |         |
> > > > > > > > > > > > > > > > > > > > > >      |         |----
> > compilers.xml
> > > > > > > > > > > > > > > > > > > > > >      |         |----
> > > > > compile-targets.xml
> > > > > > > > > > > > > > > > > > > > > >      |         |----
> > > > > platform.properties
> > > > > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > > > > >      |----
> > > > runtime/core/src/build.xml
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > In order to use it, you will
> > need to
> > > >
> > > > > > > > > > > > > > > > > > > > > > modify the platform.properties
> > file.
> > > > > This
> > > > > > > > > > > > > > > > > > > > > > will later be taken
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > care of
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > by either configure, or maybe
> > just
> > > > an
> > > > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > script.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Currently it compiles and
> links
> > > > > > > > > > > > > > > > > > > > > > runtime/core/src/tuscany/sca
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > {core, extension, model, util}
> > and
> > > > > creates
> > > > > > >
> > > > > > > > > > > > > > > > libtuscany_sca.so.
> > > > > > > > > > > > > > > > > > > > > > The install target installs
> the
> > lib
> > > > > and
> > > > > > > > > > > > > > > > > > > > > > the headers from
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > those
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > src directories to the install
> > > > > directory
> > > > > > > > > > > > > > > > > > > > > > specified
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > > platform.properties .
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > Give it a spin and let me know
> > what
> > > > > you
> > > > > > > > > > > > > > > > > > > > > > think. It shouldnt
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > take much to finish it for the
> > rest
> > > > of
> > > > > > > > > > > > > > > > > > > > > > tuscany
> > > > > > > > > > > cpp.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > If it works out, we can then
> > discuss
> > > > > how
> > > > > > > > > > > > > > > > > > > > > > to configure
> > platform.properties.
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> > Johnson
> > > > > Lead
> > > > > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA
> > Rogue
> > > > > Wave
> > > > > > > > > > > > > > > > > > > > > > Software
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > -
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > > > <mailto:
> > brady.johnson@roguewave.com
> > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > ------------------------------------------
> > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > > > > > >
> > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > > > > > > For additional commands,
> e-mail:
> > > > > > > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > --------------------------------------------
> > > > > > >
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > >
> > >
> > > ...
> > >
> > > [Message clipped]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>

Re: [DAS Native] ant build

Posted by Adriano Crestani <ad...@apache.org>.
Hi Brady,

Yeah, I was comparing these two command lines. Thanks for your help with DAS
; ).

Adriano Crestani

On 9/7/07, Brady Johnson <bj...@roguewave.com> wrote:
>
>
> Adriano,
>
> I agree completely that the ant build should produce the same result as
> the MVS build. This should be quite easy, considering that they both
> call the same compiler executable. I'll try to download DAS today and
> work on it, it should just be a case of a few command line switches. The
> way to do it is to look at the command line that MVS produces (can be
> seen by loading the project and displaying properties) and comparing it
> to the ant command line in the history.xml file. As For the /Gz option
> (an msvc 7.1 option), that was replaced by /Ehsc in msvc 8.0.
>
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com
>
>
> -----Original Message-----
> From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> Behalf Of Adriano Crestani
> Sent: Wednesday, September 05, 2007 8:17 PM
> To: tuscany-dev@ws.apache.org
> Subject: Re: [DAS Native] ant build
>
> Hi Brady,
>
> I compiled both DAS and SDO with "ant -Ddebug=true", than I compiled the
> das_test project also on debug mode. But I get an error during the
> das_test
> execution?
>
> Run-Time Check Failure #2 - Stack around the variable 'sqlType' was
> corrupted.
>
> This doesn't happen when I compile the das_test with my old build (MVS).
> Than I looked on my MVS compiler arguments and on those arguments
> generated
> by the ant for something different that might be causing this problem.
> So, I
> realized that the ant build, on SDO and DAS, is compiling with the
> argument
> /Gz, but, both, SDO and DAS MVS projects are configured with the
> argument
> /Gd. In addition, my compiler is outputting a warning about the /Gz
> argument:
>
>        [cc] cl : Command line warning D9035 : option 'GZ' has been
> deprecated and will be removed in a future release
>        [cc] cl : Command line warning D9036 : use 'RTC1' instead of 'GZ'
>
> I tried to modify the ant files adding the attribute compilerarg='/GD'
> to
> the cc tag, but it says my compiler does not support this attribute : (.
> After all, I dont know if it has something to do with the runtime error
> I'm
> getting with das_tests, but I think the ant, bat or MSV project build
> should
> all result the same binaries, and it seems not to be happening once
> there
> are different compiler arguments.
>
> Can you help me with that Brady? Thanks
>
> Regards,
> Adriano Crestani
>
> On 9/5/07, Adriano Crestani <ad...@apache.org> wrote:
> >
> > Thanks a log Brady, it worked ; )
> >
> > Adriano Crestani
> >
> > On 9/5/07, Brady Johnson <bj...@roguewave.com> wrote:
> > >
> > >
> > > Adriano,
> > >
> > > There is for SCA and SDO. Either "ant -Ddebug=true" or set
> > > "platform.debug.compile=true" in platform.properties. Both of those
> get
> > > passed to the cc task, which should take care of setting the correct
> > > command line args.
> > >
> > > Brady
> > >
> > > P.S. The arg can be true, yes, or on.
> > >
> > > -----Original Message-----
> > > From: adrianocrestani@gmail.com [mailto: adrianocrestani@gmail.com]
> On
> > > Behalf Of Adriano Crestani
> > > Sent: Wednesday, September 05, 2007 11:23 AM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: Re: [DAS Native] ant build
> > >
> > > Hi Brady,
> > >
> > > Thanks for the suggestion, I looked there and the compiler arguments
> > > contains the /MD (Multi-threaded DLL) argument that mean non-debug
> mode.
> > > I
> > > think there should be a way to build the library on debug mode,
> > > something
> > > like "ant debug", what do you thinnk?
> > >
> > > Regards,
> > > Adriano Crestani
> > >
> > > On 9/4/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > >
> > > >
> > > > Adriano,
> > > >
> > > > I'll try to look into this tomorrow. In the meantime, there is a
> file
> > > > generated in the destination directory (where the object files
> and/or
> > > > library is written) by ant called history.xml. If you look at the
> > > > signature attribute of the <processor/> element you can see the
> > > compiler
> > > > command line generated by ant. Hopefully this will help out.
> > > >
> > > > --------------------
> > > > Brady Johnson
> > > > Lead Software Developer - HydraSCA
> > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > >
> > > > -----Original Message-----
> > > > From: adrianocrestani@gmail.com [mailto:
> adrianocrestani@gmail.com] On
> > > > Behalf Of Adriano Crestani
> > > > Sent: Sunday, September 02, 2007 1:36 PM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: Re: [DAS Native] ant build
> > > >
> > > > Back from vacation, back to work : )
> > > >
> > > > Brady, I thought the error had something to do with the pc I was
> using
> > >
> > > > while
> > > > my laptop was getting repaired, but I got it repaired and the
> error
> > > was
> > > > still occurring on my laptop. The error seems rationed to the sdo
> ant
> > > > build,
> > > > cause I ignored the DAS ant build and built it like I was building
> > > > before,
> > > > with the MVS, but got the same error :S. Than I rebuilt the SDO,
> but
> > > not
> > > > using the new sdo build, but the old one, the build.bat, and guess
> > > what,
> > > > there was no more error : ).
> > > >
> > > > It is not exactly an error, when I build the SDO using the ant
> build,
> > > my
> > > > DAS
> > > > requires the dll MSVCP80.dll and with the old SDO build it does
> not.
> > > > There
> > > > may be some option that is being set on SDO ant build that is not
> on
> > > SDO
> > > > old
> > > > build. I'm not a C++ expert, but I think it has something to do
> with
> > > the
> > > > option Multi-threaded Debug DLL (/MDd) or Multi-threaded Debug
> (/MTd)
> > > on
> > > > compiler arguments.
> > > >
> > > > Another point, the sdo_test is also requiring this dll when built
> > > using
> > > > the
> > > > SDO ant build (I built the SDO using ant build and compiled the
> > > sdo_test
> > > > on
> > > > MVS, but I removed the sdo_test dependency from sdo_runtime,
> otherwise
> > >
> > > > it
> > > > would get compiled overwriting the SDO ant build binaries on
> deploy
> > > > folder).
> > > >
> > > > Doing another tests right now to check whether it is a
> Multi-threaded
> > > > Debug
> > > > DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
> > > >
> > > > Regards,
> > > > Adriano Crestani
> > > >
> > > > On 8/16/07, Adriano Crestani <adrianocrestani@apache.org > wrote:
> > > > >
> > > > > Hi Brady,
> > > > >
> > > > > Yes, I was plaining to do that after this weekend. I had no
> chance
> > > to
> > > > do
> > > > > that so far, cause I was really busy with college's stuffs :(
> > > > >
> > > > > Regards,
> > > > > Adriano Crestani
> > > > >
> > > > > On 8/16/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > > > > >
> > > > > >
> > > > > > Adriano,
> > > > > >
> > > > > > You might have seen that both SCA and SDO native now have an
> ant
> > > > build
> > > > > > infrastructure. I briefly looked at doing the same for DAS,
> but
> > > > couldn't
> > > > > > get it to compile with "configure, make, make install" at the
> > > time,
> > > > and
> > > > > > never got a chance to come back to it.
> > > > > >
> > > > > > I think it should be very easy to copy the SDO ant stuff over
> to
> > > > DAS,
> > > > > > what do you think?
> > > > > >
> > > > > > --------------------
> > > > > > Brady Johnson
> > > > > > Lead Software Developer - HydraSCA
> > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: adrianocrestani@gmail.com
> [mailto:adrianocrestani@gmail.com]
> > > > On
> > > > > > Behalf Of Adriano Crestani
> > > > > > Sent: Monday, July 23, 2007 11:21 PM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > >
> > > > > > Great idea, soon I will try to apply this idea to Native DAS
> and
> > > see
> > > > how
> > > > > > it works. I think the idea could also be easily applied to
> Native
> > > > SDO,
> > > > > > as it does not have too much dependencies and code generation
> as
> > > > Native
> > > > > > SCA does.
> > > > > >
> > > > > > A folder ant-core could be created under tuscany/cpp/ folder
> to
> > > > place
> > > > > > the ant scripts shared by the projects.
> > > > > >
> > > > > > Also, we could add a build.xml under tuscany/ccp/ that builds
> all
> > > 3
> > > > > > subprojects at once, if the 3 to implement this ant build
> process.
> > > > What
> > > > > > do you think?
> > > > > >
> > > > > > Regards,
> > > > > > Adriano Crestani
> > > > > >
> > > > > > On 7/23/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > > > > > >
> > > > > > >
> > > > > > > Correction, it should be like this:
> > > > > > >
> > > > > > >   <target name="compile.core">
> > > > > > >     <cpp-compile
> > > > > > >         srcdir="${ core.abs.dir}"
> > > > > > >         objdir="${lib.dir}"
> > > > > > >         infiles="${ core.cpp.files}">
> > > > > > >       <custom-cc-elements>
> > > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > > >       </custom-cc-elements>
> > > > > > >     </cpp-compile>
> > > > > > >   </target>
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA
> > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > >
> > > > > > >
> > > > > > > Pete,
> > > > > > >
> > > > > > > Good catch. That's an easy fix. I'll submit it with the next
> > > patch
> > > > > > > tomorrow. Basically it involves removing SCA_EXPORTS from
> the
> > > > > > > Tuscany-BaseCompiler and adding it to the runtime/core/src
> > > > targets:
> > > > > > >         compile.core
> > > > > > >         compile.extension
> > > > > > >         compile.model
> > > > > > >         compile.util
> > > > > > >
> > > > > > > Like this:
> > > > > > >   <target name="compile.core">
> > > > > > >     <cpp-compile
> > > > > > >         srcdir="${core.abs.dir}"
> > > > > > >         objdir="${lib.dir}"
> > > > > > >         infiles="${core.cpp.files }"/>
> > > > > > >       <custom-cc-element>
> > > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > > >       </custom-cc-element>
> > > > > > >   </target>
> > > > > > >
> > > > > > > Tomorrow I'll have the python, ruby, rest, and maybe php
> > > > extensions
> > > > > > > complete.
> > > > > > >
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA
> > > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com]
> > > > > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > >
> > > > > > > I think there is a problem in the extension compilations.
> The
> > > > > > > SCA_EXPORTS directive should only be set when compiling the
> > > > > > > runtime/core. When compiling for dlls on windows which use
> the
> > > > core
> > > > > > > dll SCA_EXPORTS must not be set. I guess this means we have
> to
> > > > move
> > > > > > > the setting of this directive from the definition of the
> > > > > > > Tuscany-BaseCompiler
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com> wrote:
> > > > > > > > I've applied the patch. How are you creating the patches?
> I
> > > had
> > > > > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > > > > >
> > > > > > > > I've included the changes in the patch to the
> > > > tools/TuscanyDriver
> > > > > > > > build. I haven't tested this and I'm not sure if it works
> with
> > >
> > > > the
> > > > > > > > system.xml etc.
> > > > > > > >
> > > > > > > > Can you do a clean extract as a base for future patches?
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com >
> wrote:
> > > > > > > > > I'll give this a go. I should be able to run it on Mac
> as
> > > > well.
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > >
> > > > > > > > > On 23/07/07, Brady Johnson < bjohnson@roguewave.com>
> wrote:
> > > > > > > > > >
> > > > > > > > > > I updated the jira1438 with update 3, which includes
> the
> > > > > > > following:
> > > > > > > > > >
> https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > - added build.xml for the following dirs:
> > > > > > > > > >    runtime/extensions/build.xml
> > > > > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > > > > >    runtime/extensions/sca/build.xml
> > > > > > > > > >    runtime/extensions/ws/build.xml
> > > > > > > > > >
> > > > > > > > > > - changed system.xml to check for necessary axis, php,
> > > > python,
> > > > > > > > > > rest, and ruby env vars. If they're not  set in the
> env,
> > > > look
> > > > > > > > > > for them in platform.properties
> > > > > > > > > >
> > > > > > > > > > - changed compile-targets.xml targets
> > > > > > > > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > > > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > > > > >
> > > > > > > > > > - added compile-targets.xml target: <cpp-symlink/>
> > > > > > > > > >
> > > > > > > > > > - added library versioning and the
> > > > > > > > > > platform.tuscanySCA.library.version
> > > > > > > > > > platform.properties property
> > > > > > > > > >
> > > > > > > > > > Can someone submit this for me.
> > > > > > > > > >
> > > > > > > > > > The only thing left now is the build.xml for these
> > > > extensions:
> > > > > > > > > > php, python, rest, ruby
> > > > > > > > > >
> > > > > > > > > > WRT testing on macs, I wont have a mac available until
> > > next
> > > > > > week.
> > > > > > > > > >
> > > > > > > > > > Thanks
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software
> -
> > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I can look into testing it on Mac here. I believe we
> have
> > > > > > > > > > several mac machines for the purpose.
> > > > > > > > > >
> > > > > > > > > > I'll get back to you soon.
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software
> -
> > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > I've taken out the references to tuscany_sca_config.h
> and
> > > > > > > > > > patched the automake for now with setting -DIS_DARWIN
> on
> > > > mac.
> > > > > > > > > > Yet to test it on Mac as I need to kick the kids off
> my
> > > > machine!
> > > > > >
> > > > > > > > > >
> > > > > > > > > > On 19/07/07, Pete Robbins < robbinspg@googlemail.com>
> > > wrote:
> > > > > > > > > > > Automake generates a config file with lots of
> standard
> > > > stuff
> > > > > > > > > > > but
> > > > > > >
> > > > > > > > > > > the only  one we need is the IS_DARWIN, which is
> used in
> > > > 2
> > > > > > > > > > > places. I'll remove the 2 references to this header
> and
> > > > change
> > > > > >
> > > > > >
> > > > > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > I did the following diff command and got quite a
> lot
> > > of
> > > > > > > > > > > > changes (listed
> > > > > > > > > > > > below):
> > > > > > > > > > > >
> > > > > > > > > > > > # diff tuscany_sca_config.h.in
> tuscany_sca_config.h
> > > > > > > > > > > >
> > > > > > > > > > > > Are these not needed?
> > > > > > > > > > > >        If not, I can get to work on removing all
> > > > references
> > > > > > > > > > > > to
> > > > > > >
> > > > > > > > > > > > the file.
> > > > > > > > > > > >        If so, then we still need to figure out how
> to
> > > > create
> > > > > >
> > > > > >
> > > > > > > > > > > > the
> > > > > > > > > > file.
> > > > > > > > > > > >
> > > > > > > > > > > > I just realized, its 23:30, there... Go to bed! ;)
> > > > > > > > > > > >
> > > > > > > > > > > > --------------------
> > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> Software
> > > -
> > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > 0a1
> > > > > > > > > > > > > /* tuscany_sca_config.h.  Generated by
> configure.
> > > */
> > > > > > > > > > > > 4c5
> > > > > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > > > > ---
> > > > > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > > > > 8c9
> > > > > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > > > > 11c12
> > > > > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > > > > 14c15
> > > > > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > > > > ---
> > > > > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > > > > 17c18
> > > > > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > > > > 20c21
> > > > > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > > > > 23c24
> > > > > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > > > > 26c27
> > > > > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > > > > 29c30
> > > > > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > > > > 33c34
> > > > > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > > > > ---
> > > > > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > > > > 36c37
> > > > > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > > > > 39c40
> > > > > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > > > > 42c43
> > > > > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > > > > 45c46
> > > > > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > > > > 48c49
> > > > > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > > > > 51c52
> > > > > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > > > > 55c56
> > > > > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > > > > 59c60
> > > > > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > > > > 62c63
> > > > > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > > > > 65c66
> > > > > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > > > > 68c69
> > > > > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > > > > 71c72
> > > > > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > > > > 74c75
> > > > > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > > > > 77c78
> > > > > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > > > > 80c81
> > > > > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > > > > ---
> > > > > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > > > > 84c85
> > > > > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > > > > 87c88
> > > > > > > > > > > > < #undef PACKAGE
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > > > > 90c91
> > > > > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > > > > 93c94
> > > > > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > > > > > 96c97
> > > > > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > > > > > 1.0-incubator-M3"
> > > > > > > > > > > > 99c100
> > > > > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > > > > > > > 102c103
> > > > > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > > > > > 105c106
> > > > > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > > > > 108c109
> > > > > > > > > > > > < #undef VERSION
> > > > > > > > > > > > ---
> > > > > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > > > > 111c112
> > > > > > > > > > > > < #undef const
> > > > > > > > > > > > ---
> > > > > > > > > > > > > /* #undef const */
> > > > > > > > > > > > 116c117
> > > > > > > > > > > > < #undef inline
> > > > > > > > > > > > ---
> > > > > > > > > > > > > /* #undef inline */
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Pete Robbins [mailto:
> robbinspg@googlemail.com ]
> > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > > yeah I figured that... I did exactly the same when
> > > > > > > > > > > > committing changes earlier! I dodn't commit the
> > > changes
> > > > > > > > > > > > inthe tools
> > > > > > > folder.
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > > On 18/07/07, Brady Johnson <
> bjohnson@roguewave.com>
> > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Ok, I wasn't aware that I had changed the tools.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I simply did a "svn diff . > patch_file" from
> the
> > > > tuscany
> > > > > > > > > > > > > root
> > > > > > > > > > dir.
> > > > > > > > > > > > > You can disregard the tools changes. I'll look
> into
> > > > it.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks
> > > > > > > > > > > > >
> > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > Software
> > > > -
> > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Pete Robbins
> [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cool! I've applied this change as well. The
> update2
> > > > patch
> > > > > > > > > > > > > contained changes to the
> > > > tools/TuscanyDriver/build.xml.
> > > > > > > > > > > > > This
> > > > > > >
> > > > > > > > > > > > > doesn't work so you
> > > > > > > > > > > >
> > > > > > > > > > > > > may want to look at it.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> bjohnson@roguewave.com>
> > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If that's all we need the tuscany_sca_config.h
> > > file
> > > > for
> > > > > > > > > > > > > > then, yes this
> > > > > > > > > > > > >
> > > > > > > > > > > > > > just got a whole lot easier. We can do the
> > > following
> > > > on
> > > > > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > > > > >  </condition>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > > > > multithreaded="true"
> > > > > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > > > > >
> > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > > > > > > > >    <includepath path="${ tuscanySCA.root.dir
> }"/>
> > > > <!--
> > > > > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > > > > >    <includepath
> > > path="${tuscanySCA.root.src.dir }"/>
> > > > > > > > > > > > > >    <includepath
> > > > > > > > > > > > > > path="${tuscanySCA.root.src.dir}/core/src"/>
> > > > > > > > > > > > > >  </compiler>
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > > Software -
> > > > > >
> > > > > >
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Pete Robbins
> > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > <bj...@roguewave.com>
> > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I uploaded a patch on top of what you submit
> to
> > > > svn.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Here is a description of what I changed:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > - Changed the name of compilers.xml to
> > > system.xml.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > > > > > platform.properties file that
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > is completely empty.
> > > > > > > > > > > > > > >  That is, all of the platform dependent
> items
> > > are
> > > > > > > > > > > > > > > figured out by
> > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > If they are set in
> > > > > > > > > > > > > > >  the platform.properties file then they
> override
> > > > the
> > > > > > > > > > > > > > > ant
> > > > > > > > > > > > > > determination.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > - Better directory path management has been
> > > added
> > > > to
> > > > > > > > > > > > > > > the
> > > > > > >
> > > > > > > > > > > > > > > root build.xml and
> runtime/core/src/build.xml
> > > > files.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > - The install and clean targets in
> > > > runtime/core/src
> > > > > > > > > > > > > > > have
> > > > > > >
> > > > > > > > > > > > > > > been
> > > > > > > > > > > > > > completed.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > With respect to your latest post regarding
> > > > > > > > > > "tuscany-sca-config.h ":
> > > > > > > > > > > > > > > I knew this was a problem on clean systems
> and
> > > had
> > > > > > > > > > > > > > > envisioned either
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > running a script or using a slimmed down
> > > > > > > > > > > > > > > automake/configure to
> > > > > > > > > >
> > > > > > > > > > > > > > > setup
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > this file and any platform specific
> parameters.
> > > > That's
> > > > > >
> > > > > >
> > > > > > > > > > > > > > > certainly something we'll have to address,
> what
> > > do
> > > > you
> > > > > > > think?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The only reason we use this automake generated
> > > file
> > > > is
> > > > > > > > > > > > > > to set the IS_DARWIN compiler flag for running
> on
> > > > Mac OS
> > > > > >
> > > > > > > > > > > > > > X. I
> > > > > > >
> > > > > > > > > > > > > > expect we
> > > > > > > > > >
> > > > > > > > > > > > > > can use
> > > > > > > > > > > >
> > > > > > > > > > > > > > a
> > > > > > > > > > > > >
> > > > > > > > > > > > > > different technique in ant to set this flag.
> Is
> > > > there a
> > > > > > > > > > "family=mac"
> > > > > > > > > > > > > > or somesuch in ant? The automake simply runs a
> > > > 'uname
> > > > > > -s'
> > > > > > > > > > > > > > command to
> > > > > > > > > > > >
> > > > > > > > > > > > > > figure it out.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I think a goal for this shoul be that I can do
> a
> > > > clean
> > > > > > > > > > > > > > extract from svn and type "ant" in the top
> level
> > > > > > > > > > > > > > directory
> > > > > > >
> > > > > > > > > > > > > > and it will build with
> > > > > > > > > > > >
> > > > > > > > > > > > > > everything defaulted. We need various pre-reqs
> > > > defined
> > > > > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > > > > + other pre-reqs) but we should try to make
> this
> > > as
> > > > > > > > > > > > > > + simple
> > > > > > >
> > > > > > > > > > > > > > + as
> > > > > > > > > > > > > > possible.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
> Wave
> > > > Software
> > > > > >
> > > > > > > > > > > > > > > -
> > > > > > >
> > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > > robbinspg@googlemail.com]
> > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > the install dir defaults to sca/deploy so I
> > > think
> > > > we
> > > > > > > > > > > > > > > don't need any properties other than
> overrides.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I'll check in what I have. so youi can see.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > > bjohnson@roguewave.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > That's a good idea. Then the only thing
> that
> > > > really
> > > > > > > > > > > > > > > > need to be set
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > in platform.properties file would be:
> > > > > > > > > > > > > > > >         tuscanySCA.install.dir
> > > > > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I'll put that together real quick and
> upload
> > > it.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > Software
> > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software
> > > > > > >
> > > > > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > From: Pete Robbins
> > > > [mailto:robbinspg@googlemail.com
> > > > > > ]
> > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > > build
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> > > > robbinspg@googlemail.com
> > > > > > >
> > > > > > > wrote:
> > > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > < bjohnson@roguewave.com >
> > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Thanks for trying out the ant build
> > > scripts.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Regarding core.dir, you're right, the
> name
> > > > will
> > > > > > > > > > > > > > > > > > need to
> > > > > > > > > > > > > change.
> > > > > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > As for the " tuscanySCA.root.dir" :
> Your
> > > > > > > > > > > > > > > > > > suggestion
> > > > > > >
> > > > > > > > > > > > > > > > > > will work
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > if you only execute ant from the root
> > > > directory,
> > > > > >
> > > > > > > > > > > > > > > > > > but not
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > from the runtime/core/src directory.
> > > That's
> > > > why
> > > > > > > > > > > > > > > > > > I put it
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > in the platform.properties, which is
> > > > accessed by
> > > > > >
> > > > > > > > > > > > > > > > > > all
> > > > > > > > > > > > build.xml's.
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Its better ant coding style to have
> > > anything
> > > > > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > in a properties file, not in an ant
> > > > build.xml
> > > > > > > file.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Yes... I realized that would limit you
> to
> > > > running
> > > > > > > > > > > > > > > > > ant from
> > > > > > > > > >
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > top
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > would a better solution be to have a top
> > > level
> > > > (or
> > > > > >
> > > > > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > > > > > >  a) imports platform.properties for any
> > > > overrides
> > > > > > > > > > > > > > > > >  b) sets the properties conditional on
> the
> > > > > > platform.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > > > > >      <condition property=" lib.ext"
> > > > value='.so' '>
> > > > > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > >      <condition property="lib.ext"
> > > > value='.dll' '>
> > > > > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > >      <condition property="lib.ext"
> > > > value='.dylib
> > > > > > '>
> > > > > > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > the build.xml files would all import this
> top
> > > > level
> > > > > > > file:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > As for the platform.properties file
> for
> > > > windows:
> > > > > > > > > > > > > > > > > > The property platform can/should be
> > > removed,
> > > > its
> > > > > >
> > > > > >
> > > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > necessary.
> > > > > > > > > > > > > > > > > > If
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > the property
> > > "platform.compiler-definition"
> > > > is
> > > > > > > > > > > > > > > > > > set, then
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > that value will be used for the
> compiler
> > > > > > > > > > > > > > > > > > selection, else
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > it will get set to msvc for windows as
> can
> > > > be
> > > > > > > > > > > > > > > > > > seen
> > > > > > >
> > > > > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I think the way this should ship is to
> > > have
> > > > > > > > > > > > > > > > > > several platform.properties files for
> the
> > > > > > > different platform:
> > > > > > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > > > > > >         platform.properties.windows
> > > > > > > > > > > > > > > > > >        platform.properties.mac Which
> will
> > > > each
> > > > > > > > > > > > > > > > > > have values pre
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > platform. Then with either configure
> or a
> > > > shell
> > > > > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > file wil be copied to
> platform.properties
> > > > and
> > > > > > > > > > > > > > > > > > the directory properties will be set
> > > > > > accordingly.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> Lead
> > > > Software
> > > > > >
> > > > > >
> > > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave
> Software -
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08 AM
> > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> ant
> > > > build
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I ran into a couple of issues tryingt
> o
> > > run
> > > > this
> > > > > >
> > > > > >
> > > > > > > > > > > > > > > > > > ant
> > > > > > > > > > build.
> > > > > > > > > > > > > > > > > > Firstly I got an error with a path
> > > > > > > > > > > > > > > > > >
> > > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > > > > >
> > > > > >
> > > > > > > > > > > > > > > > > > I
> > > > > > >
> > > > > > > > > > > > > > > > > > trcked this
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > down to the fact that the property
> > > core.dir
> > > > is
> > > > > > > > > > > > > > > > > > set
> > > > > > >
> > > > > > > > > > > > > > > > > > in the top level build.xml to
> > > > "runtime/core/src"
> > > > > > > > > > > > > > > > > > and in the
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > runtime/core/src/build.xml the same
> > > property
> > > > > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > "tuscany/sca/core". It looks to me
> like
> > > the
> > > > > > > > > > > > > > > > > > second
> > > > > > >
> > > > > > > > > > > > > > > > > > defintion
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > of core.dir is being ignored. I'm not
> an
> > > ant
> > > > > > > expert ...
> > > > > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > > > > get propagated from higher level build
> files?
> > > > > > > > > > > > > > > > > > I got around this by changing the name
> of
> > > > > > > > > > > > > > > > > > core.dir
> > > > > > >
> > > > > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > one
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Rather than specifying the paths to
> the
> > > > source
> > > > > > > > > > > > > > > > > > code etc in the
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > platform.properties I would prefer to
> set
> > > > these
> > > > > > > > > > > > > > > > > > automatically so
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > and then based other properties from
> this.
> > > > It
> > > > > > > > > > > > > > > > > > seemed to
> > > > > > > > > > > > work!
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > > > > < robbinspg@googlemail.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > I'd like some info on what I need to
> > > edit
> > > > in
> > > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > One good thing about automake is
> that it
> > > > > > > > > > > > > > > > > > > detects
> > > > > > >
> > > > > > > > > > > > > > > > > > > your platform/compiler etc
> > > automatically.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I put together some documentation
> for
> > > > using
> > > > > > > > > > > > > > > > > > > > ant with
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> > > Lead
> > > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA
> Rogue
> > > Wave
> > > > > > > > > > > > > > > > > > > > Software -
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Using ant to build TuscanySCA
> Native
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > 1. Required Software to build
> > > TuscanySCA
> > > > > > > > > > > > > > > > > > > > Native with
> > > > > > > > > > > > ant:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > > > > >        Ant comes installed with
> almost
> > >
> > > > all
> > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > > > > > >        Download:
> > > http://ant.apache.org/
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > > > >
> http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > > > > >
> > > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> > > > starting.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> > > > directory
> > > > > > > > > > > > > > > > > > > > where you
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > > > > > > > export
> PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Optional ant tasks, such as
> antcontrib
> > > > and
> > > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib So
> place
> > > the
> > > > > > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to
> > > your
> > > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Windows
> > > > > > > > > > > > > > > > > > > > -------
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> > > > starting.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> > > > directory
> > > > > > > > > > > > > > > > > > > > where you
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > > set ANT_HOME=c:\ant
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Add %ANT_HOME%\bin to your path.
> > > > > > > > > > > > > > > > > > > > set PATH=%PATH%;%ANT_HOME%\bin
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Optional ant tasks, such as
> antcontrib
> > > > and
> > > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > installed in %ANT_HOME%\lib So
> place
> > > the
> > > > > > > > > > > > > > > > > > > > antcontrib and cpptasks
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > jars there.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > > > > %ANT_HOME%\lib, do the
> > > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > > - create ${ user.home}\.ant\lib
> > > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to
> > > your
> > > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > > > Sent: Tuesday, July 17, 2007 1:24
> AM
> > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
> preliminary
> > > > ant
> > > > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Thanks Brady. I'll take a look at
> > > this.
> > > > We
> > > > > > > > > > > > > > > > > > > > will need
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > doc
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > as to
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > what the dependencies are
> (cpptasks
> > > etc)
> > > > and
> > > > > >
> > > > > > > > > > > > > > > > > > > > any configuration
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > that is
> > > > > > > > > > > > > > > > > > needed.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On 16/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > For anyone interested, I
> uploaded
> > > > another
> > > > > > > > > > > > > > > > > > > > > patch for this
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > JIRA that
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > makes it work better for
> windows.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > tuscanySCAnative_ant_update1.tar.gz
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> Johnson
> > > > Lead
> > > > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA
> Rogue
> > > > Wave
> > > > > > > > > > > > > > > > > > > > > Software
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > -
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > > <mailto:
> > > brady.johnson@roguewave.com>
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > > From: Brady Johnson
> > > > > > > > > > > > > > > > > > > > > [mailto: bjohnson@roguewave.com]
> > > > > > > > > > > > > > > > > > > > > Sent: Monday, July 16, 2007
> 10:46 AM
> > > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > > Subject: [SCA Native]
> preliminary
> > > ant
> > > > > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > This may be the second time you
> > > > receive
> > > > > > > > > > > > > > > > > > > > > this
> > > > > > >
> > > > > > > > > > > > > > > > > > > > > email, the first time
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > I sent it with an attachment,
> which
> > > I
> > > > > > > > > > > > > > > > > > > > > later realized that this
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > dist list
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > may reject. So here it is again,
> w/o
> > > > the
> > > > > > > > > > > > > > > > > > > > > attachment. I
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > created
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > a JIRA and put the attachment
> there:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > https://issues.apache.org/jira/browse/TUSC
> > > > > > > > > > > > > > > > > > > > > AN
> > > > > > > > > > > > > > > > > > > > > Y-1438
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > According to a previous thread
> > > titled
> > > > > > > > > > > > > > > > > > > > > "[SCA Native] next
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > release content
> > > > > > > > > > > > > > > > > > > > > [was: Tuscany roadmap]" (I didnt
> > > want
> > > > to
> > > > > > > > > > > > > > > > > > > > > add
> > > > > > >
> > > > > > > > > > > > > > > > > > > > > another
> > > > > > > > > > > > > "was"
> > > > > > > > > > > > > > > > > > > > > redirection
> > > > > > > > > > > > > > > > > > > > > ;) ), I have prepared ant build
> > > > scripts
> > > > > > > > > > > > > > > > > > > > > for
> > > > > > > > > > > > > > > > cpp/sca/runtime/core.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > The tar.gz file attached to the
> jira
> > > > > > > > > > > > > > > > > > > > > should just
> > > > > > > > > > > > > "overlay"
> > > > > > > > > > > > > > > > > > > > > onto the tuscany SCA cpp source
> code
> > >
> > > > > > > > > > > > > > > > > > > > > directory
> > > > > > > > > > > > > structure.
> > > > > > > > > > > > > > > > > > > > > It
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > consists of the following files:
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > <tuscanySca Native Src dir>/
> > > > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > > > >      |---- build.xml
> > > > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > > > >      |---- antscripts/
> > > > > > > > > > > > > > > > > > > > >      |         |
> > > > > > > > > > > > > > > > > > > > >      |         |----
> compilers.xml
> > > > > > > > > > > > > > > > > > > > >      |         |----
> > > > compile-targets.xml
> > > > > > > > > > > > > > > > > > > > >      |         |----
> > > > platform.properties
> > > > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > > > >      |----
> > > runtime/core/src/build.xml
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > In order to use it, you will
> need to
> > >
> > > > > > > > > > > > > > > > > > > > > modify the platform.properties
> file.
> > > > This
> > > > > > > > > > > > > > > > > > > > > will later be taken
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > care of
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > by either configure, or maybe
> just
> > > an
> > > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > script.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Currently it compiles and links
> > > > > > > > > > > > > > > > > > > > > runtime/core/src/tuscany/sca
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > {core, extension, model, util}
> and
> > > > creates
> > > > > >
> > > > > > > > > > > > > > > libtuscany_sca.so.
> > > > > > > > > > > > > > > > > > > > > The install target installs the
> lib
> > > > and
> > > > > > > > > > > > > > > > > > > > > the headers from
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > those
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > src directories to the install
> > > > directory
> > > > > > > > > > > > > > > > > > > > > specified
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > > platform.properties .
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Give it a spin and let me know
> what
> > > > you
> > > > > > > > > > > > > > > > > > > > > think. It shouldnt
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > take much to finish it for the
> rest
> > > of
> > > > > > > > > > > > > > > > > > > > > tuscany
> > > > > > > > > > cpp.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > If it works out, we can then
> discuss
> > > > how
> > > > > > > > > > > > > > > > > > > > > to configure
> platform.properties.
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > -------------------- Brady
> Johnson
> > > > Lead
> > > > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA
> Rogue
> > > > Wave
> > > > > > > > > > > > > > > > > > > > > Software
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > -
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > > <mailto:
> brady.johnson@roguewave.com
> > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > ------------------------------------------
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > > > > >
> > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > --------------------------------------------
> > > > > >
> > > > > > > > > > > > > > > > > > > > --
> > > > > >
> >
> > ...
> >
> > [Message clipped]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

RE: [DAS Native] ant build

Posted by Brady Johnson <bj...@roguewave.com>.
Adriano,

I agree completely that the ant build should produce the same result as
the MVS build. This should be quite easy, considering that they both
call the same compiler executable. I'll try to download DAS today and
work on it, it should just be a case of a few command line switches. The
way to do it is to look at the command line that MVS produces (can be
seen by loading the project and displaying properties) and comparing it
to the ant command line in the history.xml file. As For the /Gz option
(an msvc 7.1 option), that was replaced by /Ehsc in msvc 8.0.

--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - brady.johnson@roguewave.com


-----Original Message-----
From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
Behalf Of Adriano Crestani
Sent: Wednesday, September 05, 2007 8:17 PM
To: tuscany-dev@ws.apache.org
Subject: Re: [DAS Native] ant build

Hi Brady,

I compiled both DAS and SDO with "ant -Ddebug=true", than I compiled the
das_test project also on debug mode. But I get an error during the
das_test
execution?

Run-Time Check Failure #2 - Stack around the variable 'sqlType' was
corrupted.

This doesn't happen when I compile the das_test with my old build (MVS).
Than I looked on my MVS compiler arguments and on those arguments
generated
by the ant for something different that might be causing this problem.
So, I
realized that the ant build, on SDO and DAS, is compiling with the
argument
/Gz, but, both, SDO and DAS MVS projects are configured with the
argument
/Gd. In addition, my compiler is outputting a warning about the /Gz
argument:

       [cc] cl : Command line warning D9035 : option 'GZ' has been
deprecated and will be removed in a future release
       [cc] cl : Command line warning D9036 : use 'RTC1' instead of 'GZ'

I tried to modify the ant files adding the attribute compilerarg='/GD'
to
the cc tag, but it says my compiler does not support this attribute : (.
After all, I dont know if it has something to do with the runtime error
I'm
getting with das_tests, but I think the ant, bat or MSV project build
should
all result the same binaries, and it seems not to be happening once
there
are different compiler arguments.

Can you help me with that Brady? Thanks

Regards,
Adriano Crestani

On 9/5/07, Adriano Crestani <ad...@apache.org> wrote:
>
> Thanks a log Brady, it worked ; )
>
> Adriano Crestani
>
> On 9/5/07, Brady Johnson <bj...@roguewave.com> wrote:
> >
> >
> > Adriano,
> >
> > There is for SCA and SDO. Either "ant -Ddebug=true" or set
> > "platform.debug.compile=true" in platform.properties. Both of those
get
> > passed to the cc task, which should take care of setting the correct
> > command line args.
> >
> > Brady
> >
> > P.S. The arg can be true, yes, or on.
> >
> > -----Original Message-----
> > From: adrianocrestani@gmail.com [mailto: adrianocrestani@gmail.com]
On
> > Behalf Of Adriano Crestani
> > Sent: Wednesday, September 05, 2007 11:23 AM
> > To: tuscany-dev@ws.apache.org
> > Subject: Re: [DAS Native] ant build
> >
> > Hi Brady,
> >
> > Thanks for the suggestion, I looked there and the compiler arguments
> > contains the /MD (Multi-threaded DLL) argument that mean non-debug
mode.
> > I
> > think there should be a way to build the library on debug mode,
> > something
> > like "ant debug", what do you thinnk?
> >
> > Regards,
> > Adriano Crestani
> >
> > On 9/4/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > >
> > >
> > > Adriano,
> > >
> > > I'll try to look into this tomorrow. In the meantime, there is a
file
> > > generated in the destination directory (where the object files
and/or
> > > library is written) by ant called history.xml. If you look at the
> > > signature attribute of the <processor/> element you can see the
> > compiler
> > > command line generated by ant. Hopefully this will help out.
> > >
> > > --------------------
> > > Brady Johnson
> > > Lead Software Developer - HydraSCA
> > > Rogue Wave Software - brady.johnson@roguewave.com
> > >
> > > -----Original Message-----
> > > From: adrianocrestani@gmail.com [mailto:
adrianocrestani@gmail.com] On
> > > Behalf Of Adriano Crestani
> > > Sent: Sunday, September 02, 2007 1:36 PM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: Re: [DAS Native] ant build
> > >
> > > Back from vacation, back to work : )
> > >
> > > Brady, I thought the error had something to do with the pc I was
using
> >
> > > while
> > > my laptop was getting repaired, but I got it repaired and the
error
> > was
> > > still occurring on my laptop. The error seems rationed to the sdo
ant
> > > build,
> > > cause I ignored the DAS ant build and built it like I was building
> > > before,
> > > with the MVS, but got the same error :S. Than I rebuilt the SDO,
but
> > not
> > > using the new sdo build, but the old one, the build.bat, and guess
> > what,
> > > there was no more error : ).
> > >
> > > It is not exactly an error, when I build the SDO using the ant
build,
> > my
> > > DAS
> > > requires the dll MSVCP80.dll and with the old SDO build it does
not.
> > > There
> > > may be some option that is being set on SDO ant build that is not
on
> > SDO
> > > old
> > > build. I'm not a C++ expert, but I think it has something to do
with
> > the
> > > option Multi-threaded Debug DLL (/MDd) or Multi-threaded Debug
(/MTd)
> > on
> > > compiler arguments.
> > >
> > > Another point, the sdo_test is also requiring this dll when built
> > using
> > > the
> > > SDO ant build (I built the SDO using ant build and compiled the
> > sdo_test
> > > on
> > > MVS, but I removed the sdo_test dependency from sdo_runtime,
otherwise
> >
> > > it
> > > would get compiled overwriting the SDO ant build binaries on
deploy
> > > folder).
> > >
> > > Doing another tests right now to check whether it is a
Multi-threaded
> > > Debug
> > > DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
> > >
> > > Regards,
> > > Adriano Crestani
> > >
> > > On 8/16/07, Adriano Crestani <adrianocrestani@apache.org > wrote:
> > > >
> > > > Hi Brady,
> > > >
> > > > Yes, I was plaining to do that after this weekend. I had no
chance
> > to
> > > do
> > > > that so far, cause I was really busy with college's stuffs :(
> > > >
> > > > Regards,
> > > > Adriano Crestani
> > > >
> > > > On 8/16/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > > > >
> > > > >
> > > > > Adriano,
> > > > >
> > > > > You might have seen that both SCA and SDO native now have an
ant
> > > build
> > > > > infrastructure. I briefly looked at doing the same for DAS,
but
> > > couldn't
> > > > > get it to compile with "configure, make, make install" at the
> > time,
> > > and
> > > > > never got a chance to come back to it.
> > > > >
> > > > > I think it should be very easy to copy the SDO ant stuff over
to
> > > DAS,
> > > > > what do you think?
> > > > >
> > > > > --------------------
> > > > > Brady Johnson
> > > > > Lead Software Developer - HydraSCA
> > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: adrianocrestani@gmail.com
[mailto:adrianocrestani@gmail.com]
> > > On
> > > > > Behalf Of Adriano Crestani
> > > > > Sent: Monday, July 23, 2007 11:21 PM
> > > > > To: tuscany-dev@ws.apache.org
> > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > >
> > > > > Great idea, soon I will try to apply this idea to Native DAS
and
> > see
> > > how
> > > > > it works. I think the idea could also be easily applied to
Native
> > > SDO,
> > > > > as it does not have too much dependencies and code generation
as
> > > Native
> > > > > SCA does.
> > > > >
> > > > > A folder ant-core could be created under tuscany/cpp/ folder
to
> > > place
> > > > > the ant scripts shared by the projects.
> > > > >
> > > > > Also, we could add a build.xml under tuscany/ccp/ that builds
all
> > 3
> > > > > subprojects at once, if the 3 to implement this ant build
process.
> > > What
> > > > > do you think?
> > > > >
> > > > > Regards,
> > > > > Adriano Crestani
> > > > >
> > > > > On 7/23/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > > > > >
> > > > > >
> > > > > > Correction, it should be like this:
> > > > > >
> > > > > >   <target name="compile.core">
> > > > > >     <cpp-compile
> > > > > >         srcdir="${ core.abs.dir}"
> > > > > >         objdir="${lib.dir}"
> > > > > >         infiles="${ core.cpp.files}">
> > > > > >       <custom-cc-elements>
> > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > >       </custom-cc-elements>
> > > > > >     </cpp-compile>
> > > > > >   </target>
> > > > > >
> > > > > > --------------------
> > > > > > Brady Johnson
> > > > > > Lead Software Developer - HydraSCA
> > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > >
> > > > > >
> > > > > > Pete,
> > > > > >
> > > > > > Good catch. That's an easy fix. I'll submit it with the next
> > patch
> > > > > > tomorrow. Basically it involves removing SCA_EXPORTS from
the
> > > > > > Tuscany-BaseCompiler and adding it to the runtime/core/src
> > > targets:
> > > > > >         compile.core
> > > > > >         compile.extension
> > > > > >         compile.model
> > > > > >         compile.util
> > > > > >
> > > > > > Like this:
> > > > > >   <target name="compile.core">
> > > > > >     <cpp-compile
> > > > > >         srcdir="${core.abs.dir}"
> > > > > >         objdir="${lib.dir}"
> > > > > >         infiles="${core.cpp.files }"/>
> > > > > >       <custom-cc-element>
> > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > >       </custom-cc-element>
> > > > > >   </target>
> > > > > >
> > > > > > Tomorrow I'll have the python, ruby, rest, and maybe php
> > > extensions
> > > > > > complete.
> > > > > >
> > > > > >
> > > > > > --------------------
> > > > > > Brady Johnson
> > > > > > Lead Software Developer - HydraSCA
> > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com]
> > > > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > >
> > > > > > I think there is a problem in the extension compilations.
The
> > > > > > SCA_EXPORTS directive should only be set when compiling the
> > > > > > runtime/core. When compiling for dlls on windows which use
the
> > > core
> > > > > > dll SCA_EXPORTS must not be set. I guess this means we have
to
> > > move
> > > > > > the setting of this directive from the definition of the
> > > > > > Tuscany-BaseCompiler
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com> wrote:
> > > > > > > I've applied the patch. How are you creating the patches?
I
> > had
> > > > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > > > >
> > > > > > > I've included the changes in the patch to the
> > > tools/TuscanyDriver
> > > > > > > build. I haven't tested this and I'm not sure if it works
with
> >
> > > the
> > > > > > > system.xml etc.
> > > > > > >
> > > > > > > Can you do a clean extract as a base for future patches?
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com >
wrote:
> > > > > > > > I'll give this a go. I should be able to run it on Mac
as
> > > well.
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > > On 23/07/07, Brady Johnson < bjohnson@roguewave.com>
wrote:
> > > > > > > > >
> > > > > > > > > I updated the jira1438 with update 3, which includes
the
> > > > > > following:
> > > > > > > > >
https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > - added build.xml for the following dirs:
> > > > > > > > >    runtime/extensions/build.xml
> > > > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > > > >    runtime/extensions/sca/build.xml
> > > > > > > > >    runtime/extensions/ws/build.xml
> > > > > > > > >
> > > > > > > > > - changed system.xml to check for necessary axis, php,
> > > python,
> > > > > > > > > rest, and ruby env vars. If they're not  set in the
env,
> > > look
> > > > > > > > > for them in platform.properties
> > > > > > > > >
> > > > > > > > > - changed compile-targets.xml targets
> > > > > > > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > > > >
> > > > > > > > > - added compile-targets.xml target: <cpp-symlink/>
> > > > > > > > >
> > > > > > > > > - added library versioning and the
> > > > > > > > > platform.tuscanySCA.library.version
> > > > > > > > > platform.properties property
> > > > > > > > >
> > > > > > > > > Can someone submit this for me.
> > > > > > > > >
> > > > > > > > > The only thing left now is the build.xml for these
> > > extensions:
> > > > > > > > > php, python, rest, ruby
> > > > > > > > >
> > > > > > > > > WRT testing on macs, I wont have a mac available until
> > next
> > > > > week.
> > > > > > > > >
> > > > > > > > > Thanks
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software
-
> > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I can look into testing it on Mac here. I believe we
have
> > > > > > > > > several mac machines for the purpose.
> > > > > > > > >
> > > > > > > > > I'll get back to you soon.
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software
-
> > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > I've taken out the references to tuscany_sca_config.h
and
> > > > > > > > > patched the automake for now with setting -DIS_DARWIN
on
> > > mac.
> > > > > > > > > Yet to test it on Mac as I need to kick the kids off
my
> > > machine!
> > > > >
> > > > > > > > >
> > > > > > > > > On 19/07/07, Pete Robbins < robbinspg@googlemail.com>
> > wrote:
> > > > > > > > > > Automake generates a config file with lots of
standard
> > > stuff
> > > > > > > > > > but
> > > > > >
> > > > > > > > > > the only  one we need is the IS_DARWIN, which is
used in
> > > 2
> > > > > > > > > > places. I'll remove the 2 references to this header
and
> > > change
> > > > >
> > > > >
> > > > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > I did the following diff command and got quite a
lot
> > of
> > > > > > > > > > > changes (listed
> > > > > > > > > > > below):
> > > > > > > > > > >
> > > > > > > > > > > # diff tuscany_sca_config.h.in
tuscany_sca_config.h
> > > > > > > > > > >
> > > > > > > > > > > Are these not needed?
> > > > > > > > > > >        If not, I can get to work on removing all
> > > references
> > > > > > > > > > > to
> > > > > >
> > > > > > > > > > > the file.
> > > > > > > > > > >        If so, then we still need to figure out how
to
> > > create
> > > > >
> > > > >
> > > > > > > > > > > the
> > > > > > > > > file.
> > > > > > > > > > >
> > > > > > > > > > > I just realized, its 23:30, there... Go to bed! ;)
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
Software
> > -
> > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 0a1
> > > > > > > > > > > > /* tuscany_sca_config.h.  Generated by
configure.
> > */
> > > > > > > > > > > 4c5
> > > > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > > > 8c9
> > > > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > > > 11c12
> > > > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > > > 14c15
> > > > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > > > 17c18
> > > > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > > > 20c21
> > > > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > > > 23c24
> > > > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > > > 26c27
> > > > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > > > 29c30
> > > > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > > > 33c34
> > > > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > > > 36c37
> > > > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > > > 39c40
> > > > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > > > 42c43
> > > > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > > > 45c46
> > > > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > > > 48c49
> > > > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > > > 51c52
> > > > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > > > 55c56
> > > > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > > > 59c60
> > > > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > > > 62c63
> > > > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > > > 65c66
> > > > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > > > 68c69
> > > > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > > > 71c72
> > > > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > > > 74c75
> > > > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > > > 77c78
> > > > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > > > 80c81
> > > > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > > > 84c85
> > > > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > > > ---
> > > > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > > > 87c88
> > > > > > > > > > > < #undef PACKAGE
> > > > > > > > > > > ---
> > > > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > > > 90c91
> > > > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > > > ---
> > > > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > > > 93c94
> > > > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > > > ---
> > > > > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > > > > 96c97
> > > > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > > > ---
> > > > > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > > > > 1.0-incubator-M3"
> > > > > > > > > > > 99c100
> > > > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > > > ---
> > > > > > > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > > > > > > 102c103
> > > > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > > > ---
> > > > > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > > > > 105c106
> > > > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > > > ---
> > > > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > > > 108c109
> > > > > > > > > > > < #undef VERSION
> > > > > > > > > > > ---
> > > > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > > > 111c112
> > > > > > > > > > > < #undef const
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef const */
> > > > > > > > > > > 116c117
> > > > > > > > > > > < #undef inline
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef inline */
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Pete Robbins [mailto:
robbinspg@googlemail.com ]
> > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > > yeah I figured that... I did exactly the same when
> > > > > > > > > > > committing changes earlier! I dodn't commit the
> > changes
> > > > > > > > > > > inthe tools
> > > > > > folder.
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > > On 18/07/07, Brady Johnson <
bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Ok, I wasn't aware that I had changed the tools.
> > > > > > > > > > > >
> > > > > > > > > > > > I simply did a "svn diff . > patch_file" from
the
> > > tuscany
> > > > > > > > > > > > root
> > > > > > > > > dir.
> > > > > > > > > > > > You can disregard the tools changes. I'll look
into
> > > it.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks
> > > > > > > > > > > >
> > > > > > > > > > > > --------------------
> > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > Software
> > > -
> > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Pete Robbins
[mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > > Cool! I've applied this change as well. The
update2
> > > patch
> > > > > > > > > > > > contained changes to the
> > > tools/TuscanyDriver/build.xml.
> > > > > > > > > > > > This
> > > > > >
> > > > > > > > > > > > doesn't work so you
> > > > > > > > > > >
> > > > > > > > > > > > may want to look at it.
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > > On 18/07/07, Brady Johnson <
bjohnson@roguewave.com>
> > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > If that's all we need the tuscany_sca_config.h
> > file
> > > for
> > > > > > > > > > > > > then, yes this
> > > > > > > > > > > >
> > > > > > > > > > > > > just got a whole lot easier. We can do the
> > following
> > > on
> > > > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > > > >
> > > > > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > > > >  </condition>
> > > > > > > > > > > > >
> > > > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > > > multithreaded="true"
> > > > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > > > >
> > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > > > > > > >    <includepath path="${ tuscanySCA.root.dir
}"/>
> > > <!--
> > > > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > > > >    <includepath
> > path="${tuscanySCA.root.src.dir }"/>
> > > > > > > > > > > > >    <includepath
> > > > > > > > > > > > > path="${tuscanySCA.root.src.dir}/core/src"/>
> > > > > > > > > > > > >  </compiler>
> > > > > > > > > > > > >
> > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > Software -
> > > > >
> > > > >
> > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Pete Robbins
> > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
build
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > <bj...@roguewave.com>
> > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I uploaded a patch on top of what you submit
to
> > > svn.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Here is a description of what I changed:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - Changed the name of compilers.xml to
> > system.xml.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > > > > platform.properties file that
> > > > > > > > > > > >
> > > > > > > > > > > > > > is completely empty.
> > > > > > > > > > > > > >  That is, all of the platform dependent
items
> > are
> > > > > > > > > > > > > > figured out by
> > > > > > > > > > > > ant.
> > > > > > > > > > > > > > If they are set in
> > > > > > > > > > > > > >  the platform.properties file then they
override
> > > the
> > > > > > > > > > > > > > ant
> > > > > > > > > > > > > determination.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - Better directory path management has been
> > added
> > > to
> > > > > > > > > > > > > > the
> > > > > >
> > > > > > > > > > > > > > root build.xml and
runtime/core/src/build.xml
> > > files.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - The install and clean targets in
> > > runtime/core/src
> > > > > > > > > > > > > > have
> > > > > >
> > > > > > > > > > > > > > been
> > > > > > > > > > > > > completed.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > With respect to your latest post regarding
> > > > > > > > > "tuscany-sca-config.h ":
> > > > > > > > > > > > > > I knew this was a problem on clean systems
and
> > had
> > > > > > > > > > > > > > envisioned either
> > > > > > > > > > > >
> > > > > > > > > > > > > > running a script or using a slimmed down
> > > > > > > > > > > > > > automake/configure to
> > > > > > > > >
> > > > > > > > > > > > > > setup
> > > > > > > > > > > >
> > > > > > > > > > > > > > this file and any platform specific
parameters.
> > > That's
> > > > >
> > > > >
> > > > > > > > > > > > > > certainly something we'll have to address,
what
> > do
> > > you
> > > > > > think?
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > The only reason we use this automake generated
> > file
> > > is
> > > > > > > > > > > > > to set the IS_DARWIN compiler flag for running
on
> > > Mac OS
> > > > >
> > > > > > > > > > > > > X. I
> > > > > >
> > > > > > > > > > > > > expect we
> > > > > > > > >
> > > > > > > > > > > > > can use
> > > > > > > > > > >
> > > > > > > > > > > > > a
> > > > > > > > > > > >
> > > > > > > > > > > > > different technique in ant to set this flag.
Is
> > > there a
> > > > > > > > > "family=mac"
> > > > > > > > > > > > > or somesuch in ant? The automake simply runs a
> > > 'uname
> > > > > -s'
> > > > > > > > > > > > > command to
> > > > > > > > > > >
> > > > > > > > > > > > > figure it out.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I think a goal for this shoul be that I can do
a
> > > clean
> > > > > > > > > > > > > extract from svn and type "ant" in the top
level
> > > > > > > > > > > > > directory
> > > > > >
> > > > > > > > > > > > > and it will build with
> > > > > > > > > > >
> > > > > > > > > > > > > everything defaulted. We need various pre-reqs
> > > defined
> > > > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > > > + other pre-reqs) but we should try to make
this
> > as
> > > > > > > > > > > > > + simple
> > > > > >
> > > > > > > > > > > > > + as
> > > > > > > > > > > > > possible.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue
Wave
> > > Software
> > > > >
> > > > > > > > > > > > > > -
> > > > > >
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > robbinspg@googlemail.com]
> > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > the install dir defaults to sca/deploy so I
> > think
> > > we
> > > > > > > > > > > > > > don't need any properties other than
overrides.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I'll check in what I have. so youi can see.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > bjohnson@roguewave.com>
> > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > That's a good idea. Then the only thing
that
> > > really
> > > > > > > > > > > > > > > need to be set
> > > > > > > > > > > >
> > > > > > > > > > > > > > > in platform.properties file would be:
> > > > > > > > > > > > > > >         tuscanySCA.install.dir
> > > > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I'll put that together real quick and
upload
> > it.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > Software
> > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software
> > > > > >
> > > > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Pete Robbins
> > > [mailto:robbinspg@googlemail.com
> > > > > ]
> > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> > > robbinspg@googlemail.com
> > > > > >
> > > > > > wrote:
> > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > > > < bjohnson@roguewave.com >
> > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks for trying out the ant build
> > scripts.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Regarding core.dir, you're right, the
name
> > > will
> > > > > > > > > > > > > > > > > need to
> > > > > > > > > > > > change.
> > > > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > As for the " tuscanySCA.root.dir" :
Your
> > > > > > > > > > > > > > > > > suggestion
> > > > > >
> > > > > > > > > > > > > > > > > will work
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > if you only execute ant from the root
> > > directory,
> > > > >
> > > > > > > > > > > > > > > > > but not
> > > > > > > > >
> > > > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > from the runtime/core/src directory.
> > That's
> > > why
> > > > > > > > > > > > > > > > > I put it
> > > > > > > > >
> > > > > > > > > > > > > > > > > in the platform.properties, which is
> > > accessed by
> > > > >
> > > > > > > > > > > > > > > > > all
> > > > > > > > > > > build.xml's.
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Its better ant coding style to have
> > anything
> > > > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > in a properties file, not in an ant
> > > build.xml
> > > > > > file.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Yes... I realized that would limit you
to
> > > running
> > > > > > > > > > > > > > > > ant from
> > > > > > > > >
> > > > > > > > > > > > > > > > the
> > > > > > > > > > >
> > > > > > > > > > > > > > > > top
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > would a better solution be to have a top
> > level
> > > (or
> > > > >
> > > > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > > > > >  a) imports platform.properties for any
> > > overrides
> > > > > > > > > > > > > > > >  b) sets the properties conditional on
the
> > > > > platform.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > > > >      <condition property=" lib.ext"
> > > value='.so' '>
> > > > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > >      <condition property="lib.ext"
> > > value='.dll' '>
> > > > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > >      <condition property="lib.ext"
> > > value='.dylib
> > > > > '>
> > > > > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > the build.xml files would all import this
top
> > > level
> > > > > > file:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > As for the platform.properties file
for
> > > windows:
> > > > > > > > > > > > > > > > > The property platform can/should be
> > removed,
> > > its
> > > > >
> > > > >
> > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > necessary.
> > > > > > > > > > > > > > > > > If
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > the property
> > "platform.compiler-definition"
> > > is
> > > > > > > > > > > > > > > > > set, then
> > > > > > > > >
> > > > > > > > > > > > > > > > > that value will be used for the
compiler
> > > > > > > > > > > > > > > > > selection, else
> > > > > > > > >
> > > > > > > > > > > > > > > > > it will get set to msvc for windows as
can
> > > be
> > > > > > > > > > > > > > > > > seen
> > > > > >
> > > > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I think the way this should ship is to
> > have
> > > > > > > > > > > > > > > > > several platform.properties files for
the
> > > > > > different platform:
> > > > > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > > > > >         platform.properties.windows
> > > > > > > > > > > > > > > > >        platform.properties.mac Which
will
> > > each
> > > > > > > > > > > > > > > > > have values pre
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > platform. Then with either configure
or a
> > > shell
> > > > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > file wil be copied to
platform.properties
> > > and
> > > > > > > > > > > > > > > > > the directory properties will be set
> > > > > accordingly.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -------------------- Brady Johnson
Lead
> > > Software
> > > > >
> > > > >
> > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave
Software -
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08 AM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
ant
> > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I ran into a couple of issues tryingt
o
> > run
> > > this
> > > > >
> > > > >
> > > > > > > > > > > > > > > > > ant
> > > > > > > > > build.
> > > > > > > > > > > > > > > > > Firstly I got an error with a path
> > > > > > > > > > > > > > > > >
> > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > > > >
> > > > >
> > > > > > > > > > > > > > > > > I
> > > > > >
> > > > > > > > > > > > > > > > > trcked this
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > down to the fact that the property
> > core.dir
> > > is
> > > > > > > > > > > > > > > > > set
> > > > > >
> > > > > > > > > > > > > > > > > in the top level build.xml to
> > > "runtime/core/src"
> > > > > > > > > > > > > > > > > and in the
> > > > > > > > >
> > > > > > > > > > > > > > > > > runtime/core/src/build.xml the same
> > property
> > > > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > "tuscany/sca/core". It looks to me
like
> > the
> > > > > > > > > > > > > > > > > second
> > > > > >
> > > > > > > > > > > > > > > > > defintion
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > of core.dir is being ignored. I'm not
an
> > ant
> > > > > > expert ...
> > > > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > > > get propagated from higher level build
files?
> > > > > > > > > > > > > > > > > I got around this by changing the name
of
> > > > > > > > > > > > > > > > > core.dir
> > > > > >
> > > > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > one
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Rather than specifying the paths to
the
> > > source
> > > > > > > > > > > > > > > > > code etc in the
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > platform.properties I would prefer to
set
> > > these
> > > > > > > > > > > > > > > > > automatically so
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > and then based other properties from
this.
> > > It
> > > > > > > > > > > > > > > > > seemed to
> > > > > > > > > > > work!
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > > > < robbinspg@googlemail.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > I'd like some info on what I need to
> > edit
> > > in
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > One good thing about automake is
that it
> > > > > > > > > > > > > > > > > > detects
> > > > > >
> > > > > > > > > > > > > > > > > > your platform/compiler etc
> > automatically.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I put together some documentation
for
> > > using
> > > > > > > > > > > > > > > > > > > ant with
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> > Lead
> > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA
Rogue
> > Wave
> > > > > > > > > > > > > > > > > > > Software -
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Using ant to build TuscanySCA
Native
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > 1. Required Software to build
> > TuscanySCA
> > > > > > > > > > > > > > > > > > > Native with
> > > > > > > > > > > ant:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > > > >        Ant comes installed with
almost
> >
> > > all
> > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > > > > >        Download:
> > http://ant.apache.org/
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > > >
http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > > > > > > >        Download:
> > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > > > >
> > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> > > starting.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> > > directory
> > > > > > > > > > > > > > > > > > > where you
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > > > > > > export
PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Optional ant tasks, such as
antcontrib
> > > and
> > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib So
place
> > the
> > > > > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to
> > your
> > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Windows
> > > > > > > > > > > > > > > > > > > -------
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> > > starting.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> > > directory
> > > > > > > > > > > > > > > > > > > where you
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > set ANT_HOME=c:\ant
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Add %ANT_HOME%\bin to your path.
> > > > > > > > > > > > > > > > > > > set PATH=%PATH%;%ANT_HOME%\bin
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Optional ant tasks, such as
antcontrib
> > > and
> > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > installed in %ANT_HOME%\lib So
place
> > the
> > > > > > > > > > > > > > > > > > > antcontrib and cpptasks
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > jars there.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > > > %ANT_HOME%\lib, do the
> > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > - create ${ user.home}\.ant\lib
> > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to
> > your
> > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > > Sent: Tuesday, July 17, 2007 1:24
AM
> > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native]
preliminary
> > > ant
> > > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Thanks Brady. I'll take a look at
> > this.
> > > We
> > > > > > > > > > > > > > > > > > > will need
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > doc
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > as to
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > what the dependencies are
(cpptasks
> > etc)
> > > and
> > > > >
> > > > > > > > > > > > > > > > > > > any configuration
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > that is
> > > > > > > > > > > > > > > > > needed.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On 16/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > For anyone interested, I
uploaded
> > > another
> > > > > > > > > > > > > > > > > > > > patch for this
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > JIRA that
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > makes it work better for
windows.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > tuscanySCAnative_ant_update1.tar.gz
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -------------------- Brady
Johnson
> > > Lead
> > > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA
Rogue
> > > Wave
> > > > > > > > > > > > > > > > > > > > Software
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > <mailto:
> > brady.johnson@roguewave.com>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > From: Brady Johnson
> > > > > > > > > > > > > > > > > > > > [mailto: bjohnson@roguewave.com]
> > > > > > > > > > > > > > > > > > > > Sent: Monday, July 16, 2007
10:46 AM
> > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > Subject: [SCA Native]
preliminary
> > ant
> > > > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > This may be the second time you
> > > receive
> > > > > > > > > > > > > > > > > > > > this
> > > > > >
> > > > > > > > > > > > > > > > > > > > email, the first time
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I sent it with an attachment,
which
> > I
> > > > > > > > > > > > > > > > > > > > later realized that this
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > dist list
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > may reject. So here it is again,
w/o
> > > the
> > > > > > > > > > > > > > > > > > > > attachment. I
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > created
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > a JIRA and put the attachment
there:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > https://issues.apache.org/jira/browse/TUSC
> > > > > > > > > > > > > > > > > > > > AN
> > > > > > > > > > > > > > > > > > > > Y-1438
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > According to a previous thread
> > titled
> > > > > > > > > > > > > > > > > > > > "[SCA Native] next
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > release content
> > > > > > > > > > > > > > > > > > > > [was: Tuscany roadmap]" (I didnt
> > want
> > > to
> > > > > > > > > > > > > > > > > > > > add
> > > > > >
> > > > > > > > > > > > > > > > > > > > another
> > > > > > > > > > > > "was"
> > > > > > > > > > > > > > > > > > > > redirection
> > > > > > > > > > > > > > > > > > > > ;) ), I have prepared ant build
> > > scripts
> > > > > > > > > > > > > > > > > > > > for
> > > > > > > > > > > > > > > cpp/sca/runtime/core.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > The tar.gz file attached to the
jira
> > > > > > > > > > > > > > > > > > > > should just
> > > > > > > > > > > > "overlay"
> > > > > > > > > > > > > > > > > > > > onto the tuscany SCA cpp source
code
> >
> > > > > > > > > > > > > > > > > > > > directory
> > > > > > > > > > > > structure.
> > > > > > > > > > > > > > > > > > > > It
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > consists of the following files:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > <tuscanySca Native Src dir>/
> > > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > > >      |---- build.xml
> > > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > > >      |---- antscripts/
> > > > > > > > > > > > > > > > > > > >      |         |
> > > > > > > > > > > > > > > > > > > >      |         |----
compilers.xml
> > > > > > > > > > > > > > > > > > > >      |         |----
> > > compile-targets.xml
> > > > > > > > > > > > > > > > > > > >      |         |----
> > > platform.properties
> > > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > > >      |----
> > runtime/core/src/build.xml
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > In order to use it, you will
need to
> >
> > > > > > > > > > > > > > > > > > > > modify the platform.properties
file.
> > > This
> > > > > > > > > > > > > > > > > > > > will later be taken
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > care of
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > by either configure, or maybe
just
> > an
> > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > script.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Currently it compiles and links
> > > > > > > > > > > > > > > > > > > > runtime/core/src/tuscany/sca
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > {core, extension, model, util}
and
> > > creates
> > > > >
> > > > > > > > > > > > > > libtuscany_sca.so.
> > > > > > > > > > > > > > > > > > > > The install target installs the
lib
> > > and
> > > > > > > > > > > > > > > > > > > > the headers from
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > those
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > src directories to the install
> > > directory
> > > > > > > > > > > > > > > > > > > > specified
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > platform.properties .
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Give it a spin and let me know
what
> > > you
> > > > > > > > > > > > > > > > > > > > think. It shouldnt
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > take much to finish it for the
rest
> > of
> > > > > > > > > > > > > > > > > > > > tuscany
> > > > > > > > > cpp.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > If it works out, we can then
discuss
> > > how
> > > > > > > > > > > > > > > > > > > > to configure
platform.properties.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -------------------- Brady
Johnson
> > > Lead
> > > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA
Rogue
> > > Wave
> > > > > > > > > > > > > > > > > > > > Software
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > <mailto:
brady.johnson@roguewave.com
> > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > ------------------------------------------
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > > > >
> > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > --------------------------------------------
> > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > >
>
> ...
>
> [Message clipped]

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [DAS Native] ant build

Posted by Adriano Crestani <ad...@apache.org>.
Hi Brady,

I compiled both DAS and SDO with "ant -Ddebug=true", than I compiled the
das_test project also on debug mode. But I get an error during the das_test
execution?

Run-Time Check Failure #2 - Stack around the variable 'sqlType' was
corrupted.

This doesn't happen when I compile the das_test with my old build (MVS).
Than I looked on my MVS compiler arguments and on those arguments generated
by the ant for something different that might be causing this problem. So, I
realized that the ant build, on SDO and DAS, is compiling with the argument
/Gz, but, both, SDO and DAS MVS projects are configured with the argument
/Gd. In addition, my compiler is outputting a warning about the /Gz
argument:

       [cc] cl : Command line warning D9035 : option 'GZ' has been
deprecated and will be removed in a future release
       [cc] cl : Command line warning D9036 : use 'RTC1' instead of 'GZ'

I tried to modify the ant files adding the attribute compilerarg='/GD' to
the cc tag, but it says my compiler does not support this attribute : (.
After all, I dont know if it has something to do with the runtime error I'm
getting with das_tests, but I think the ant, bat or MSV project build should
all result the same binaries, and it seems not to be happening once there
are different compiler arguments.

Can you help me with that Brady? Thanks

Regards,
Adriano Crestani

On 9/5/07, Adriano Crestani <ad...@apache.org> wrote:
>
> Thanks a log Brady, it worked ; )
>
> Adriano Crestani
>
> On 9/5/07, Brady Johnson <bj...@roguewave.com> wrote:
> >
> >
> > Adriano,
> >
> > There is for SCA and SDO. Either "ant -Ddebug=true" or set
> > "platform.debug.compile=true" in platform.properties. Both of those get
> > passed to the cc task, which should take care of setting the correct
> > command line args.
> >
> > Brady
> >
> > P.S. The arg can be true, yes, or on.
> >
> > -----Original Message-----
> > From: adrianocrestani@gmail.com [mailto: adrianocrestani@gmail.com] On
> > Behalf Of Adriano Crestani
> > Sent: Wednesday, September 05, 2007 11:23 AM
> > To: tuscany-dev@ws.apache.org
> > Subject: Re: [DAS Native] ant build
> >
> > Hi Brady,
> >
> > Thanks for the suggestion, I looked there and the compiler arguments
> > contains the /MD (Multi-threaded DLL) argument that mean non-debug mode.
> > I
> > think there should be a way to build the library on debug mode,
> > something
> > like "ant debug", what do you thinnk?
> >
> > Regards,
> > Adriano Crestani
> >
> > On 9/4/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > >
> > >
> > > Adriano,
> > >
> > > I'll try to look into this tomorrow. In the meantime, there is a file
> > > generated in the destination directory (where the object files and/or
> > > library is written) by ant called history.xml. If you look at the
> > > signature attribute of the <processor/> element you can see the
> > compiler
> > > command line generated by ant. Hopefully this will help out.
> > >
> > > --------------------
> > > Brady Johnson
> > > Lead Software Developer - HydraSCA
> > > Rogue Wave Software - brady.johnson@roguewave.com
> > >
> > > -----Original Message-----
> > > From: adrianocrestani@gmail.com [mailto: adrianocrestani@gmail.com] On
> > > Behalf Of Adriano Crestani
> > > Sent: Sunday, September 02, 2007 1:36 PM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: Re: [DAS Native] ant build
> > >
> > > Back from vacation, back to work : )
> > >
> > > Brady, I thought the error had something to do with the pc I was using
> >
> > > while
> > > my laptop was getting repaired, but I got it repaired and the error
> > was
> > > still occurring on my laptop. The error seems rationed to the sdo ant
> > > build,
> > > cause I ignored the DAS ant build and built it like I was building
> > > before,
> > > with the MVS, but got the same error :S. Than I rebuilt the SDO, but
> > not
> > > using the new sdo build, but the old one, the build.bat, and guess
> > what,
> > > there was no more error : ).
> > >
> > > It is not exactly an error, when I build the SDO using the ant build,
> > my
> > > DAS
> > > requires the dll MSVCP80.dll and with the old SDO build it does not.
> > > There
> > > may be some option that is being set on SDO ant build that is not on
> > SDO
> > > old
> > > build. I'm not a C++ expert, but I think it has something to do with
> > the
> > > option Multi-threaded Debug DLL (/MDd) or Multi-threaded Debug (/MTd)
> > on
> > > compiler arguments.
> > >
> > > Another point, the sdo_test is also requiring this dll when built
> > using
> > > the
> > > SDO ant build (I built the SDO using ant build and compiled the
> > sdo_test
> > > on
> > > MVS, but I removed the sdo_test dependency from sdo_runtime, otherwise
> >
> > > it
> > > would get compiled overwriting the SDO ant build binaries on deploy
> > > folder).
> > >
> > > Doing another tests right now to check whether it is a Multi-threaded
> > > Debug
> > > DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
> > >
> > > Regards,
> > > Adriano Crestani
> > >
> > > On 8/16/07, Adriano Crestani <adrianocrestani@apache.org > wrote:
> > > >
> > > > Hi Brady,
> > > >
> > > > Yes, I was plaining to do that after this weekend. I had no chance
> > to
> > > do
> > > > that so far, cause I was really busy with college's stuffs :(
> > > >
> > > > Regards,
> > > > Adriano Crestani
> > > >
> > > > On 8/16/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > > > >
> > > > >
> > > > > Adriano,
> > > > >
> > > > > You might have seen that both SCA and SDO native now have an ant
> > > build
> > > > > infrastructure. I briefly looked at doing the same for DAS, but
> > > couldn't
> > > > > get it to compile with "configure, make, make install" at the
> > time,
> > > and
> > > > > never got a chance to come back to it.
> > > > >
> > > > > I think it should be very easy to copy the SDO ant stuff over to
> > > DAS,
> > > > > what do you think?
> > > > >
> > > > > --------------------
> > > > > Brady Johnson
> > > > > Lead Software Developer - HydraSCA
> > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com]
> > > On
> > > > > Behalf Of Adriano Crestani
> > > > > Sent: Monday, July 23, 2007 11:21 PM
> > > > > To: tuscany-dev@ws.apache.org
> > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > >
> > > > > Great idea, soon I will try to apply this idea to Native DAS and
> > see
> > > how
> > > > > it works. I think the idea could also be easily applied to Native
> > > SDO,
> > > > > as it does not have too much dependencies and code generation as
> > > Native
> > > > > SCA does.
> > > > >
> > > > > A folder ant-core could be created under tuscany/cpp/ folder to
> > > place
> > > > > the ant scripts shared by the projects.
> > > > >
> > > > > Also, we could add a build.xml under tuscany/ccp/ that builds all
> > 3
> > > > > subprojects at once, if the 3 to implement this ant build process.
> > > What
> > > > > do you think?
> > > > >
> > > > > Regards,
> > > > > Adriano Crestani
> > > > >
> > > > > On 7/23/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > > > > >
> > > > > >
> > > > > > Correction, it should be like this:
> > > > > >
> > > > > >   <target name="compile.core">
> > > > > >     <cpp-compile
> > > > > >         srcdir="${ core.abs.dir}"
> > > > > >         objdir="${lib.dir}"
> > > > > >         infiles="${ core.cpp.files}">
> > > > > >       <custom-cc-elements>
> > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > >       </custom-cc-elements>
> > > > > >     </cpp-compile>
> > > > > >   </target>
> > > > > >
> > > > > > --------------------
> > > > > > Brady Johnson
> > > > > > Lead Software Developer - HydraSCA
> > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > >
> > > > > >
> > > > > > Pete,
> > > > > >
> > > > > > Good catch. That's an easy fix. I'll submit it with the next
> > patch
> > > > > > tomorrow. Basically it involves removing SCA_EXPORTS from the
> > > > > > Tuscany-BaseCompiler and adding it to the runtime/core/src
> > > targets:
> > > > > >         compile.core
> > > > > >         compile.extension
> > > > > >         compile.model
> > > > > >         compile.util
> > > > > >
> > > > > > Like this:
> > > > > >   <target name="compile.core">
> > > > > >     <cpp-compile
> > > > > >         srcdir="${core.abs.dir}"
> > > > > >         objdir="${lib.dir}"
> > > > > >         infiles="${core.cpp.files }"/>
> > > > > >       <custom-cc-element>
> > > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > > >       </custom-cc-element>
> > > > > >   </target>
> > > > > >
> > > > > > Tomorrow I'll have the python, ruby, rest, and maybe php
> > > extensions
> > > > > > complete.
> > > > > >
> > > > > >
> > > > > > --------------------
> > > > > > Brady Johnson
> > > > > > Lead Software Developer - HydraSCA
> > > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com]
> > > > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > >
> > > > > > I think there is a problem in the extension compilations. The
> > > > > > SCA_EXPORTS directive should only be set when compiling the
> > > > > > runtime/core. When compiling for dlls on windows which use the
> > > core
> > > > > > dll SCA_EXPORTS must not be set. I guess this means we have to
> > > move
> > > > > > the setting of this directive from the definition of the
> > > > > > Tuscany-BaseCompiler
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com> wrote:
> > > > > > > I've applied the patch. How are you creating the patches? I
> > had
> > > > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > > > >
> > > > > > > I've included the changes in the patch to the
> > > tools/TuscanyDriver
> > > > > > > build. I haven't tested this and I'm not sure if it works with
> >
> > > the
> > > > > > > system.xml etc.
> > > > > > >
> > > > > > > Can you do a clean extract as a base for future patches?
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com > wrote:
> > > > > > > > I'll give this a go. I should be able to run it on Mac as
> > > well.
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > > On 23/07/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > > > > >
> > > > > > > > > I updated the jira1438 with update 3, which includes the
> > > > > > following:
> > > > > > > > >         https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > - added build.xml for the following dirs:
> > > > > > > > >    runtime/extensions/build.xml
> > > > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > > > >    runtime/extensions/sca/build.xml
> > > > > > > > >    runtime/extensions/ws/build.xml
> > > > > > > > >
> > > > > > > > > - changed system.xml to check for necessary axis, php,
> > > python,
> > > > > > > > > rest, and ruby env vars. If they're not  set in the env,
> > > look
> > > > > > > > > for them in platform.properties
> > > > > > > > >
> > > > > > > > > - changed compile-targets.xml targets
> > > > > > > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > > > >
> > > > > > > > > - added compile-targets.xml target: <cpp-symlink/>
> > > > > > > > >
> > > > > > > > > - added library versioning and the
> > > > > > > > > platform.tuscanySCA.library.version
> > > > > > > > > platform.properties property
> > > > > > > > >
> > > > > > > > > Can someone submit this for me.
> > > > > > > > >
> > > > > > > > > The only thing left now is the build.xml for these
> > > extensions:
> > > > > > > > > php, python, rest, ruby
> > > > > > > > >
> > > > > > > > > WRT testing on macs, I wont have a mac available until
> > next
> > > > > week.
> > > > > > > > >
> > > > > > > > > Thanks
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I can look into testing it on Mac here. I believe we have
> > > > > > > > > several mac machines for the purpose.
> > > > > > > > >
> > > > > > > > > I'll get back to you soon.
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > I've taken out the references to tuscany_sca_config.h and
> > > > > > > > > patched the automake for now with setting -DIS_DARWIN on
> > > mac.
> > > > > > > > > Yet to test it on Mac as I need to kick the kids off my
> > > machine!
> > > > >
> > > > > > > > >
> > > > > > > > > On 19/07/07, Pete Robbins < robbinspg@googlemail.com>
> > wrote:
> > > > > > > > > > Automake generates a config file with lots of standard
> > > stuff
> > > > > > > > > > but
> > > > > >
> > > > > > > > > > the only  one we need is the IS_DARWIN, which is used in
> > > 2
> > > > > > > > > > places. I'll remove the 2 references to this header and
> > > change
> > > > >
> > > > >
> > > > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > I did the following diff command and got quite a lot
> > of
> > > > > > > > > > > changes (listed
> > > > > > > > > > > below):
> > > > > > > > > > >
> > > > > > > > > > > # diff tuscany_sca_config.h.in tuscany_sca_config.h
> > > > > > > > > > >
> > > > > > > > > > > Are these not needed?
> > > > > > > > > > >        If not, I can get to work on removing all
> > > references
> > > > > > > > > > > to
> > > > > >
> > > > > > > > > > > the file.
> > > > > > > > > > >        If so, then we still need to figure out how to
> > > create
> > > > >
> > > > >
> > > > > > > > > > > the
> > > > > > > > > file.
> > > > > > > > > > >
> > > > > > > > > > > I just realized, its 23:30, there... Go to bed! ;)
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software
> > -
> > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > 0a1
> > > > > > > > > > > > /* tuscany_sca_config.h.  Generated by configure.
> > */
> > > > > > > > > > > 4c5
> > > > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > > > 8c9
> > > > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > > > 11c12
> > > > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > > > 14c15
> > > > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > > > 17c18
> > > > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > > > 20c21
> > > > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > > > 23c24
> > > > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > > > 26c27
> > > > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > > > 29c30
> > > > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > > > 33c34
> > > > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > > > 36c37
> > > > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > > > 39c40
> > > > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > > > 42c43
> > > > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > > > 45c46
> > > > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > > > 48c49
> > > > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > > > 51c52
> > > > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > > > 55c56
> > > > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > > > 59c60
> > > > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > > > 62c63
> > > > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > > > 65c66
> > > > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > > > 68c69
> > > > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > > > 71c72
> > > > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > > > 74c75
> > > > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > > > 77c78
> > > > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > > > ---
> > > > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > > > 80c81
> > > > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > > > 84c85
> > > > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > > > ---
> > > > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > > > 87c88
> > > > > > > > > > > < #undef PACKAGE
> > > > > > > > > > > ---
> > > > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > > > 90c91
> > > > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > > > ---
> > > > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > > > 93c94
> > > > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > > > ---
> > > > > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > > > > 96c97
> > > > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > > > ---
> > > > > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > > > > 1.0-incubator-M3"
> > > > > > > > > > > 99c100
> > > > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > > > ---
> > > > > > > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > > > > > > 102c103
> > > > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > > > ---
> > > > > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > > > > 105c106
> > > > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > > > ---
> > > > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > > > 108c109
> > > > > > > > > > > < #undef VERSION
> > > > > > > > > > > ---
> > > > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > > > 111c112
> > > > > > > > > > > < #undef const
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef const */
> > > > > > > > > > > 116c117
> > > > > > > > > > > < #undef inline
> > > > > > > > > > > ---
> > > > > > > > > > > > /* #undef inline */
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > > yeah I figured that... I did exactly the same when
> > > > > > > > > > > committing changes earlier! I dodn't commit the
> > changes
> > > > > > > > > > > inthe tools
> > > > > > folder.
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Ok, I wasn't aware that I had changed the tools.
> > > > > > > > > > > >
> > > > > > > > > > > > I simply did a "svn diff . > patch_file" from the
> > > tuscany
> > > > > > > > > > > > root
> > > > > > > > > dir.
> > > > > > > > > > > > You can disregard the tools changes. I'll look into
> > > it.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks
> > > > > > > > > > > >
> > > > > > > > > > > > --------------------
> > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > Software
> > > -
> > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > > Cool! I've applied this change as well. The update2
> > > patch
> > > > > > > > > > > > contained changes to the
> > > tools/TuscanyDriver/build.xml.
> > > > > > > > > > > > This
> > > > > >
> > > > > > > > > > > > doesn't work so you
> > > > > > > > > > >
> > > > > > > > > > > > may want to look at it.
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > If that's all we need the tuscany_sca_config.h
> > file
> > > for
> > > > > > > > > > > > > then, yes this
> > > > > > > > > > > >
> > > > > > > > > > > > > just got a whole lot easier. We can do the
> > following
> > > on
> > > > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > > > >
> > > > > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > > > >  </condition>
> > > > > > > > > > > > >
> > > > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > > > multithreaded="true"
> > > > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > > > >
> > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > > > > > > >    <includepath path="${ tuscanySCA.root.dir }"/>
> > > <!--
> > > > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > > > >    <includepath
> > path="${tuscanySCA.root.src.dir }"/>
> > > > > > > > > > > > >    <includepath
> > > > > > > > > > > > > path="${tuscanySCA.root.src.dir}/core/src"/>
> > > > > > > > > > > > >  </compiler>
> > > > > > > > > > > > >
> > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > Software -
> > > > >
> > > > >
> > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Pete Robbins
> > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > <bj...@roguewave.com>
> > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I uploaded a patch on top of what you submit to
> > > svn.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Here is a description of what I changed:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - Changed the name of compilers.xml to
> > system.xml.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > > > > platform.properties file that
> > > > > > > > > > > >
> > > > > > > > > > > > > > is completely empty.
> > > > > > > > > > > > > >  That is, all of the platform dependent items
> > are
> > > > > > > > > > > > > > figured out by
> > > > > > > > > > > > ant.
> > > > > > > > > > > > > > If they are set in
> > > > > > > > > > > > > >  the platform.properties file then they override
> > > the
> > > > > > > > > > > > > > ant
> > > > > > > > > > > > > determination.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - Better directory path management has been
> > added
> > > to
> > > > > > > > > > > > > > the
> > > > > >
> > > > > > > > > > > > > > root build.xml and  runtime/core/src/build.xml
> > > files.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > - The install and clean targets in
> > > runtime/core/src
> > > > > > > > > > > > > > have
> > > > > >
> > > > > > > > > > > > > > been
> > > > > > > > > > > > > completed.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > With respect to your latest post regarding
> > > > > > > > > "tuscany-sca-config.h ":
> > > > > > > > > > > > > > I knew this was a problem on clean systems and
> > had
> > > > > > > > > > > > > > envisioned either
> > > > > > > > > > > >
> > > > > > > > > > > > > > running a script or using a slimmed down
> > > > > > > > > > > > > > automake/configure to
> > > > > > > > >
> > > > > > > > > > > > > > setup
> > > > > > > > > > > >
> > > > > > > > > > > > > > this file and any platform specific parameters.
> > > That's
> > > > >
> > > > >
> > > > > > > > > > > > > > certainly something we'll have to address, what
> > do
> > > you
> > > > > > think?
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > The only reason we use this automake generated
> > file
> > > is
> > > > > > > > > > > > > to set the IS_DARWIN compiler flag for running on
> > > Mac OS
> > > > >
> > > > > > > > > > > > > X. I
> > > > > >
> > > > > > > > > > > > > expect we
> > > > > > > > >
> > > > > > > > > > > > > can use
> > > > > > > > > > >
> > > > > > > > > > > > > a
> > > > > > > > > > > >
> > > > > > > > > > > > > different technique in ant to set this flag. Is
> > > there a
> > > > > > > > > "family=mac"
> > > > > > > > > > > > > or somesuch in ant? The automake simply runs a
> > > 'uname
> > > > > -s'
> > > > > > > > > > > > > command to
> > > > > > > > > > >
> > > > > > > > > > > > > figure it out.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I think a goal for this shoul be that I can do a
> > > clean
> > > > > > > > > > > > > extract from svn and type "ant" in the top level
> > > > > > > > > > > > > directory
> > > > > >
> > > > > > > > > > > > > and it will build with
> > > > > > > > > > >
> > > > > > > > > > > > > everything defaulted. We need various pre-reqs
> > > defined
> > > > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > > > + other pre-reqs) but we should try to make this
> > as
> > > > > > > > > > > > > + simple
> > > > > >
> > > > > > > > > > > > > + as
> > > > > > > > > > > > > possible.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > Software
> > > > >
> > > > > > > > > > > > > > -
> > > > > >
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Pete Robbins [mailto:
> > > robbinspg@googlemail.com]
> > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > the install dir defaults to sca/deploy so I
> > think
> > > we
> > > > > > > > > > > > > > don't need any properties other than overrides.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I'll check in what I have. so youi can see.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > > bjohnson@roguewave.com>
> > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > That's a good idea. Then the only thing that
> > > really
> > > > > > > > > > > > > > > need to be set
> > > > > > > > > > > >
> > > > > > > > > > > > > > > in platform.properties file would be:
> > > > > > > > > > > > > > >         tuscanySCA.install.dir
> > > > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I'll put that together real quick and upload
> > it.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > Software
> > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software
> > > > > >
> > > > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Pete Robbins
> > > [mailto:robbinspg@googlemail.com
> > > > > ]
> > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> > > robbinspg@googlemail.com
> > > > > >
> > > > > > wrote:
> > > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > > > < bjohnson@roguewave.com >
> > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks for trying out the ant build
> > scripts.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Regarding core.dir, you're right, the name
> > > will
> > > > > > > > > > > > > > > > > need to
> > > > > > > > > > > > change.
> > > > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > As for the " tuscanySCA.root.dir" : Your
> > > > > > > > > > > > > > > > > suggestion
> > > > > >
> > > > > > > > > > > > > > > > > will work
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > if you only execute ant from the root
> > > directory,
> > > > >
> > > > > > > > > > > > > > > > > but not
> > > > > > > > >
> > > > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > from the runtime/core/src directory.
> > That's
> > > why
> > > > > > > > > > > > > > > > > I put it
> > > > > > > > >
> > > > > > > > > > > > > > > > > in the platform.properties, which is
> > > accessed by
> > > > >
> > > > > > > > > > > > > > > > > all
> > > > > > > > > > > build.xml's.
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Its better ant coding style to have
> > anything
> > > > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > in a properties file, not in an ant
> > > build.xml
> > > > > > file.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Yes... I realized that would limit you to
> > > running
> > > > > > > > > > > > > > > > ant from
> > > > > > > > >
> > > > > > > > > > > > > > > > the
> > > > > > > > > > >
> > > > > > > > > > > > > > > > top
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > would a better solution be to have a top
> > level
> > > (or
> > > > >
> > > > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > > > > >  a) imports platform.properties for any
> > > overrides
> > > > > > > > > > > > > > > >  b) sets the properties conditional on the
> > > > > platform.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > > > >      <condition property=" lib.ext"
> > > value='.so' '>
> > > > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > >      <condition property="lib.ext"
> > > value='.dll' '>
> > > > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > >      <condition property="lib.ext"
> > > value='.dylib
> > > > > '>
> > > > > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > the build.xml files would all import this top
> > > level
> > > > > > file:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > As for the platform.properties file for
> > > windows:
> > > > > > > > > > > > > > > > > The property platform can/should be
> > removed,
> > > its
> > > > >
> > > > >
> > > > > > > > > > > > > > > > > not
> > > > > > > > > > > > necessary.
> > > > > > > > > > > > > > > > > If
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > the property
> > "platform.compiler-definition"
> > > is
> > > > > > > > > > > > > > > > > set, then
> > > > > > > > >
> > > > > > > > > > > > > > > > > that value will be used for the compiler
> > > > > > > > > > > > > > > > > selection, else
> > > > > > > > >
> > > > > > > > > > > > > > > > > it will get set to msvc for windows as can
> > > be
> > > > > > > > > > > > > > > > > seen
> > > > > >
> > > > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I think the way this should ship is to
> > have
> > > > > > > > > > > > > > > > > several platform.properties files for the
> > > > > > different platform:
> > > > > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > > > > >         platform.properties.windows
> > > > > > > > > > > > > > > > >        platform.properties.mac Which will
> > > each
> > > > > > > > > > > > > > > > > have values pre
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > platform. Then with either configure or a
> > > shell
> > > > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > file wil be copied to platform.properties
> > > and
> > > > > > > > > > > > > > > > > the directory properties will be set
> > > > > accordingly.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > Software
> > > > >
> > > > >
> > > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software -
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08 AM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I ran into a couple of issues tryingt o
> > run
> > > this
> > > > >
> > > > >
> > > > > > > > > > > > > > > > > ant
> > > > > > > > > build.
> > > > > > > > > > > > > > > > > Firstly I got an error with a path
> > > > > > > > > > > > > > > > >
> > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > > > >
> > > > >
> > > > > > > > > > > > > > > > > I
> > > > > >
> > > > > > > > > > > > > > > > > trcked this
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > down to the fact that the property
> > core.dir
> > > is
> > > > > > > > > > > > > > > > > set
> > > > > >
> > > > > > > > > > > > > > > > > in the top level build.xml to
> > > "runtime/core/src"
> > > > > > > > > > > > > > > > > and in the
> > > > > > > > >
> > > > > > > > > > > > > > > > > runtime/core/src/build.xml the same
> > property
> > > > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > "tuscany/sca/core". It looks to me like
> > the
> > > > > > > > > > > > > > > > > second
> > > > > >
> > > > > > > > > > > > > > > > > defintion
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > of core.dir is being ignored. I'm not an
> > ant
> > > > > > expert ...
> > > > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > > > get propagated from higher level build files?
> > > > > > > > > > > > > > > > > I got around this by changing the name of
> > > > > > > > > > > > > > > > > core.dir
> > > > > >
> > > > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > one
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Rather than specifying the paths to the
> > > source
> > > > > > > > > > > > > > > > > code etc in the
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > platform.properties I would prefer to set
> > > these
> > > > > > > > > > > > > > > > > automatically so
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > and then based other properties from this.
> > > It
> > > > > > > > > > > > > > > > > seemed to
> > > > > > > > > > > work!
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > > > < robbinspg@googlemail.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > I'd like some info on what I need to
> > edit
> > > in
> > > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > One good thing about automake is that it
> > > > > > > > > > > > > > > > > > detects
> > > > > >
> > > > > > > > > > > > > > > > > > your platform/compiler etc
> > automatically.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I put together some documentation for
> > > using
> > > > > > > > > > > > > > > > > > > ant with
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> > Lead
> > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
> > Wave
> > > > > > > > > > > > > > > > > > > Software -
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Using ant to build TuscanySCA Native
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > 1. Required Software to build
> > TuscanySCA
> > > > > > > > > > > > > > > > > > > Native with
> > > > > > > > > > > ant:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > > > >        Ant comes installed with almost
> >
> > > all
> > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > > > > >        Download:
> > http://ant.apache.org/
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > > > > > > >        Download:
> > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > > > >
> > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> > > starting.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> > > directory
> > > > > > > > > > > > > > > > > > > where you
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > > > > > > export PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib
> > > and
> > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib So place
> > the
> > > > > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to
> > your
> > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Windows
> > > > > > > > > > > > > > > > > > > -------
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> > > starting.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> > > directory
> > > > > > > > > > > > > > > > > > > where you
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > > set ANT_HOME=c:\ant
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Add %ANT_HOME%\bin to your path.
> > > > > > > > > > > > > > > > > > > set PATH=%PATH%;%ANT_HOME%\bin
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib
> > > and
> > > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > installed in %ANT_HOME%\lib So place
> > the
> > > > > > > > > > > > > > > > > > > antcontrib and cpptasks
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > jars there.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > > > %ANT_HOME%\lib, do the
> > > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > > - create ${ user.home}\.ant\lib
> > > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to
> > your
> > > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > > > Sent: Tuesday, July 17, 2007 1:24 AM
> > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> > > ant
> > > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Thanks Brady. I'll take a look at
> > this.
> > > We
> > > > > > > > > > > > > > > > > > > will need
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > doc
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > as to
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > what the dependencies are (cpptasks
> > etc)
> > > and
> > > > >
> > > > > > > > > > > > > > > > > > > any configuration
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > that is
> > > > > > > > > > > > > > > > > needed.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On 16/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > For anyone interested, I uploaded
> > > another
> > > > > > > > > > > > > > > > > > > > patch for this
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > JIRA that
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > makes it work better for windows.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > tuscanySCAnative_ant_update1.tar.gz
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> > > Lead
> > > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
> > > Wave
> > > > > > > > > > > > > > > > > > > > Software
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > <mailto:
> > brady.johnson@roguewave.com>
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > > From: Brady Johnson
> > > > > > > > > > > > > > > > > > > > [mailto: bjohnson@roguewave.com]
> > > > > > > > > > > > > > > > > > > > Sent: Monday, July 16, 2007 10:46 AM
> > > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > > Subject: [SCA Native] preliminary
> > ant
> > > > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > This may be the second time you
> > > receive
> > > > > > > > > > > > > > > > > > > > this
> > > > > >
> > > > > > > > > > > > > > > > > > > > email, the first time
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I sent it with an attachment, which
> > I
> > > > > > > > > > > > > > > > > > > > later realized that this
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > dist list
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > may reject. So here it is again, w/o
> > > the
> > > > > > > > > > > > > > > > > > > > attachment. I
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > created
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > a JIRA and put the attachment there:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > https://issues.apache.org/jira/browse/TUSC
> > > > > > > > > > > > > > > > > > > > AN
> > > > > > > > > > > > > > > > > > > > Y-1438
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > According to a previous thread
> > titled
> > > > > > > > > > > > > > > > > > > > "[SCA Native] next
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > release content
> > > > > > > > > > > > > > > > > > > > [was: Tuscany roadmap]" (I didnt
> > want
> > > to
> > > > > > > > > > > > > > > > > > > > add
> > > > > >
> > > > > > > > > > > > > > > > > > > > another
> > > > > > > > > > > > "was"
> > > > > > > > > > > > > > > > > > > > redirection
> > > > > > > > > > > > > > > > > > > > ;) ), I have prepared ant build
> > > scripts
> > > > > > > > > > > > > > > > > > > > for
> > > > > > > > > > > > > > > cpp/sca/runtime/core.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > The tar.gz file attached to the jira
> > > > > > > > > > > > > > > > > > > > should just
> > > > > > > > > > > > "overlay"
> > > > > > > > > > > > > > > > > > > > onto the tuscany SCA cpp source code
> >
> > > > > > > > > > > > > > > > > > > > directory
> > > > > > > > > > > > structure.
> > > > > > > > > > > > > > > > > > > > It
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > consists of the following files:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > <tuscanySca Native Src dir>/
> > > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > > >      |---- build.xml
> > > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > > >      |---- antscripts/
> > > > > > > > > > > > > > > > > > > >      |         |
> > > > > > > > > > > > > > > > > > > >      |         |---- compilers.xml
> > > > > > > > > > > > > > > > > > > >      |         |----
> > > compile-targets.xml
> > > > > > > > > > > > > > > > > > > >      |         |----
> > > platform.properties
> > > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > > >      |----
> > runtime/core/src/build.xml
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > In order to use it, you will need to
> >
> > > > > > > > > > > > > > > > > > > > modify the platform.properties file.
> > > This
> > > > > > > > > > > > > > > > > > > > will later be taken
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > care of
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > by either configure, or maybe just
> > an
> > > > > > > > > > > > > > > > > > > > install
> > > > > > > > > script.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Currently it compiles and links
> > > > > > > > > > > > > > > > > > > > runtime/core/src/tuscany/sca
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > {core, extension, model, util} and
> > > creates
> > > > >
> > > > > > > > > > > > > > libtuscany_sca.so.
> > > > > > > > > > > > > > > > > > > > The install target installs the lib
> > > and
> > > > > > > > > > > > > > > > > > > > the headers from
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > those
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > src directories to the install
> > > directory
> > > > > > > > > > > > > > > > > > > > specified
> > > > > > > > >
> > > > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > > platform.properties .
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Give it a spin and let me know what
> > > you
> > > > > > > > > > > > > > > > > > > > think. It shouldnt
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > take much to finish it for the rest
> > of
> > > > > > > > > > > > > > > > > > > > tuscany
> > > > > > > > > cpp.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > If it works out, we can then discuss
> > > how
> > > > > > > > > > > > > > > > > > > > to configure platform.properties.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> > > Lead
> > > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
> > > Wave
> > > > > > > > > > > > > > > > > > > > Software
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > > <mailto: brady.johnson@roguewave.com
> > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > ------------------------------------------
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > > > >
> > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > --------------------------------------------
> > > > >
> > > > > > > > > > > > > > > > > > > --
> > > > >
>
> ...
>
> [Message clipped]

Re: [DAS Native] ant build

Posted by Adriano Crestani <ad...@apache.org>.
Thanks a log Brady, it worked ; )

Adriano Crestani

On 9/5/07, Brady Johnson <bj...@roguewave.com> wrote:
>
>
> Adriano,
>
> There is for SCA and SDO. Either "ant -Ddebug=true" or set
> "platform.debug.compile=true" in platform.properties. Both of those get
> passed to the cc task, which should take care of setting the correct
> command line args.
>
> Brady
>
> P.S. The arg can be true, yes, or on.
>
> -----Original Message-----
> From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> Behalf Of Adriano Crestani
> Sent: Wednesday, September 05, 2007 11:23 AM
> To: tuscany-dev@ws.apache.org
> Subject: Re: [DAS Native] ant build
>
> Hi Brady,
>
> Thanks for the suggestion, I looked there and the compiler arguments
> contains the /MD (Multi-threaded DLL) argument that mean non-debug mode.
> I
> think there should be a way to build the library on debug mode,
> something
> like "ant debug", what do you thinnk?
>
> Regards,
> Adriano Crestani
>
> On 9/4/07, Brady Johnson <bj...@roguewave.com> wrote:
> >
> >
> > Adriano,
> >
> > I'll try to look into this tomorrow. In the meantime, there is a file
> > generated in the destination directory (where the object files and/or
> > library is written) by ant called history.xml. If you look at the
> > signature attribute of the <processor/> element you can see the
> compiler
> > command line generated by ant. Hopefully this will help out.
> >
> > --------------------
> > Brady Johnson
> > Lead Software Developer - HydraSCA
> > Rogue Wave Software - brady.johnson@roguewave.com
> >
> > -----Original Message-----
> > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> > Behalf Of Adriano Crestani
> > Sent: Sunday, September 02, 2007 1:36 PM
> > To: tuscany-dev@ws.apache.org
> > Subject: Re: [DAS Native] ant build
> >
> > Back from vacation, back to work : )
> >
> > Brady, I thought the error had something to do with the pc I was using
> > while
> > my laptop was getting repaired, but I got it repaired and the error
> was
> > still occurring on my laptop. The error seems rationed to the sdo ant
> > build,
> > cause I ignored the DAS ant build and built it like I was building
> > before,
> > with the MVS, but got the same error :S. Than I rebuilt the SDO, but
> not
> > using the new sdo build, but the old one, the build.bat, and guess
> what,
> > there was no more error : ).
> >
> > It is not exactly an error, when I build the SDO using the ant build,
> my
> > DAS
> > requires the dll MSVCP80.dll and with the old SDO build it does not.
> > There
> > may be some option that is being set on SDO ant build that is not on
> SDO
> > old
> > build. I'm not a C++ expert, but I think it has something to do with
> the
> > option Multi-threaded Debug DLL (/MDd) or Multi-threaded Debug (/MTd)
> on
> > compiler arguments.
> >
> > Another point, the sdo_test is also requiring this dll when built
> using
> > the
> > SDO ant build (I built the SDO using ant build and compiled the
> sdo_test
> > on
> > MVS, but I removed the sdo_test dependency from sdo_runtime, otherwise
> > it
> > would get compiled overwriting the SDO ant build binaries on deploy
> > folder).
> >
> > Doing another tests right now to check whether it is a Multi-threaded
> > Debug
> > DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
> >
> > Regards,
> > Adriano Crestani
> >
> > On 8/16/07, Adriano Crestani <ad...@apache.org> wrote:
> > >
> > > Hi Brady,
> > >
> > > Yes, I was plaining to do that after this weekend. I had no chance
> to
> > do
> > > that so far, cause I was really busy with college's stuffs :(
> > >
> > > Regards,
> > > Adriano Crestani
> > >
> > > On 8/16/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > >
> > > >
> > > > Adriano,
> > > >
> > > > You might have seen that both SCA and SDO native now have an ant
> > build
> > > > infrastructure. I briefly looked at doing the same for DAS, but
> > couldn't
> > > > get it to compile with "configure, make, make install" at the
> time,
> > and
> > > > never got a chance to come back to it.
> > > >
> > > > I think it should be very easy to copy the SDO ant stuff over to
> > DAS,
> > > > what do you think?
> > > >
> > > > --------------------
> > > > Brady Johnson
> > > > Lead Software Developer - HydraSCA
> > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com]
> > On
> > > > Behalf Of Adriano Crestani
> > > > Sent: Monday, July 23, 2007 11:21 PM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: Re: [SCA Native] preliminary ant build
> > > >
> > > > Great idea, soon I will try to apply this idea to Native DAS and
> see
> > how
> > > > it works. I think the idea could also be easily applied to Native
> > SDO,
> > > > as it does not have too much dependencies and code generation as
> > Native
> > > > SCA does.
> > > >
> > > > A folder ant-core could be created under tuscany/cpp/ folder to
> > place
> > > > the ant scripts shared by the projects.
> > > >
> > > > Also, we could add a build.xml under tuscany/ccp/ that builds all
> 3
> > > > subprojects at once, if the 3 to implement this ant build process.
> > What
> > > > do you think?
> > > >
> > > > Regards,
> > > > Adriano Crestani
> > > >
> > > > On 7/23/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > >
> > > > >
> > > > > Correction, it should be like this:
> > > > >
> > > > >   <target name="compile.core">
> > > > >     <cpp-compile
> > > > >         srcdir="${core.abs.dir}"
> > > > >         objdir="${lib.dir}"
> > > > >         infiles="${ core.cpp.files}">
> > > > >       <custom-cc-elements>
> > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > >       </custom-cc-elements>
> > > > >     </cpp-compile>
> > > > >   </target>
> > > > >
> > > > > --------------------
> > > > > Brady Johnson
> > > > > Lead Software Developer - HydraSCA
> > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com]
> > > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > > To: tuscany-dev@ws.apache.org
> > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > >
> > > > >
> > > > > Pete,
> > > > >
> > > > > Good catch. That's an easy fix. I'll submit it with the next
> patch
> > > > > tomorrow. Basically it involves removing SCA_EXPORTS from the
> > > > > Tuscany-BaseCompiler and adding it to the runtime/core/src
> > targets:
> > > > >         compile.core
> > > > >         compile.extension
> > > > >         compile.model
> > > > >         compile.util
> > > > >
> > > > > Like this:
> > > > >   <target name="compile.core">
> > > > >     <cpp-compile
> > > > >         srcdir="${core.abs.dir}"
> > > > >         objdir="${lib.dir}"
> > > > >         infiles="${core.cpp.files }"/>
> > > > >       <custom-cc-element>
> > > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > > >       </custom-cc-element>
> > > > >   </target>
> > > > >
> > > > > Tomorrow I'll have the python, ruby, rest, and maybe php
> > extensions
> > > > > complete.
> > > > >
> > > > >
> > > > > --------------------
> > > > > Brady Johnson
> > > > > Lead Software Developer - HydraSCA
> > > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > > To: tuscany-dev@ws.apache.org
> > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > >
> > > > > I think there is a problem in the extension compilations. The
> > > > > SCA_EXPORTS directive should only be set when compiling the
> > > > > runtime/core. When compiling for dlls on windows which use the
> > core
> > > > > dll SCA_EXPORTS must not be set. I guess this means we have to
> > move
> > > > > the setting of this directive from the definition of the
> > > > > Tuscany-BaseCompiler
> > > > >
> > > > > Cheers,
> > > > >
> > > > > On 23/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > > > > I've applied the patch. How are you creating the patches? I
> had
> > > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > > >
> > > > > > I've included the changes in the patch to the
> > tools/TuscanyDriver
> > > > > > build. I haven't tested this and I'm not sure if it works with
> > the
> > > > > > system.xml etc.
> > > > > >
> > > > > > Can you do a clean extract as a base for future patches?
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com> wrote:
> > > > > > > I'll give this a go. I should be able to run it on Mac as
> > well.
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > On 23/07/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > > > >
> > > > > > > > I updated the jira1438 with update 3, which includes the
> > > > > following:
> > > > > > > >         https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > > >
> > > > > > > >
> > > > > > > > - added build.xml for the following dirs:
> > > > > > > >    runtime/extensions/build.xml
> > > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > > >    runtime/extensions/sca/build.xml
> > > > > > > >    runtime/extensions/ws/build.xml
> > > > > > > >
> > > > > > > > - changed system.xml to check for necessary axis, php,
> > python,
> > > > > > > > rest, and ruby env vars. If they're not  set in the env,
> > look
> > > > > > > > for them in platform.properties
> > > > > > > >
> > > > > > > > - changed compile-targets.xml targets
> > > > > > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > > >
> > > > > > > > - added compile-targets.xml target: <cpp-symlink/>
> > > > > > > >
> > > > > > > > - added library versioning and the
> > > > > > > > platform.tuscanySCA.library.version
> > > > > > > > platform.properties property
> > > > > > > >
> > > > > > > > Can someone submit this for me.
> > > > > > > >
> > > > > > > > The only thing left now is the build.xml for these
> > extensions:
> > > > > > > > php, python, rest, ruby
> > > > > > > >
> > > > > > > > WRT testing on macs, I wont have a mac available until
> next
> > > > week.
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > > Brady Johnson
> > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > > brady.johnson@roguewave.com
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > > >
> > > > > > > >
> > > > > > > > I can look into testing it on Mac here. I believe we have
> > > > > > > > several mac machines for the purpose.
> > > > > > > >
> > > > > > > > I'll get back to you soon.
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > > Brady Johnson
> > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > > brady.johnson@roguewave.com
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > >
> > > > > > > > I've taken out the references to tuscany_sca_config.h and
> > > > > > > > patched the automake for now with setting -DIS_DARWIN on
> > mac.
> > > > > > > > Yet to test it on Mac as I need to kick the kids off my
> > machine!
> > > >
> > > > > > > >
> > > > > > > > On 19/07/07, Pete Robbins <ro...@googlemail.com>
> wrote:
> > > > > > > > > Automake generates a config file with lots of standard
> > stuff
> > > > > > > > > but
> > > > >
> > > > > > > > > the only  one we need is the IS_DARWIN, which is used in
> > 2
> > > > > > > > > places. I'll remove the 2 references to this header and
> > change
> > > >
> > > >
> > > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > >
> > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > wrote:
> > > > > > > > > >
> > > > > > > > > > I did the following diff command and got quite a lot
> of
> > > > > > > > > > changes (listed
> > > > > > > > > > below):
> > > > > > > > > >
> > > > > > > > > > # diff tuscany_sca_config.h.in tuscany_sca_config.h
> > > > > > > > > >
> > > > > > > > > > Are these not needed?
> > > > > > > > > >        If not, I can get to work on removing all
> > references
> > > > > > > > > > to
> > > > >
> > > > > > > > > > the file.
> > > > > > > > > >        If so, then we still need to figure out how to
> > create
> > > >
> > > >
> > > > > > > > > > the
> > > > > > > > file.
> > > > > > > > > >
> > > > > > > > > > I just realized, its 23:30, there... Go to bed! ;)
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software
> -
> > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > 0a1
> > > > > > > > > > > /* tuscany_sca_config.h.  Generated by configure.
> */
> > > > > > > > > > 4c5
> > > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > > ---
> > > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > > 8c9
> > > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > > 11c12
> > > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > > 14c15
> > > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > > ---
> > > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > > 17c18
> > > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > > 20c21
> > > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > > 23c24
> > > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > > 26c27
> > > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > > ---
> > > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > > 29c30
> > > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > > 33c34
> > > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > > ---
> > > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > > 36c37
> > > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > > 39c40
> > > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > > 42c43
> > > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > > 45c46
> > > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > > 48c49
> > > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > > 51c52
> > > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > > 55c56
> > > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > > ---
> > > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > > 59c60
> > > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > > ---
> > > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > > 62c63
> > > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > > 65c66
> > > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > > 68c69
> > > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > > 71c72
> > > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > > 74c75
> > > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > > 77c78
> > > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > > ---
> > > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > > 80c81
> > > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > > ---
> > > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > > 84c85
> > > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > > ---
> > > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > > 87c88
> > > > > > > > > > < #undef PACKAGE
> > > > > > > > > > ---
> > > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > > 90c91
> > > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > > ---
> > > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > > 93c94
> > > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > > ---
> > > > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > > > 96c97
> > > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > > ---
> > > > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > > > 1.0-incubator-M3"
> > > > > > > > > > 99c100
> > > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > > ---
> > > > > > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > > > > > 102c103
> > > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > > ---
> > > > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > > > 105c106
> > > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > > ---
> > > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > > 108c109
> > > > > > > > > > < #undef VERSION
> > > > > > > > > > ---
> > > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > > 111c112
> > > > > > > > > > < #undef const
> > > > > > > > > > ---
> > > > > > > > > > > /* #undef const */
> > > > > > > > > > 116c117
> > > > > > > > > > < #undef inline
> > > > > > > > > > ---
> > > > > > > > > > > /* #undef inline */
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > yeah I figured that... I did exactly the same when
> > > > > > > > > > committing changes earlier! I dodn't commit the
> changes
> > > > > > > > > > inthe tools
> > > > > folder.
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > wrote:
> > > > > > > > > > >
> > > > > > > > > > > Ok, I wasn't aware that I had changed the tools.
> > > > > > > > > > >
> > > > > > > > > > > I simply did a "svn diff . > patch_file" from the
> > tuscany
> > > > > > > > > > > root
> > > > > > > > dir.
> > > > > > > > > > > You can disregard the tools changes. I'll look into
> > it.
> > > > > > > > > > >
> > > > > > > > > > > Thanks
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> Software
> > -
> > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > > Cool! I've applied this change as well. The update2
> > patch
> > > > > > > > > > > contained changes to the
> > tools/TuscanyDriver/build.xml.
> > > > > > > > > > > This
> > > > >
> > > > > > > > > > > doesn't work so you
> > > > > > > > > >
> > > > > > > > > > > may want to look at it.
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > If that's all we need the tuscany_sca_config.h
> file
> > for
> > > > > > > > > > > > then, yes this
> > > > > > > > > > >
> > > > > > > > > > > > just got a whole lot easier. We can do the
> following
> > on
> > > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > > >
> > > > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > > >  </condition>
> > > > > > > > > > > >
> > > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > > multithreaded="true"
> > > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > > >
> > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > > > > > >    <includepath path="${ tuscanySCA.root.dir}"/>
> > <!--
> > > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > > >    <includepath
> path="${tuscanySCA.root.src.dir}"/>
> > > > > > > > > > > >    <includepath
> > > > > > > > > > > > path="${tuscanySCA.root.src.dir}/core/src"/>
> > > > > > > > > > > >  </compiler>
> > > > > > > > > > > >
> > > > > > > > > > > > --------------------
> > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > Software -
> > > >
> > > >
> > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Pete Robbins
> [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > > On 18/07/07, Brady Johnson
> <bj...@roguewave.com>
> > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > I uploaded a patch on top of what you submit to
> > svn.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Here is a description of what I changed:
> > > > > > > > > > > > >
> > > > > > > > > > > > > - Changed the name of compilers.xml to
> system.xml.
> > > > > > > > > > > > >
> > > > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > > > platform.properties file that
> > > > > > > > > > >
> > > > > > > > > > > > > is completely empty.
> > > > > > > > > > > > >  That is, all of the platform dependent items
> are
> > > > > > > > > > > > > figured out by
> > > > > > > > > > > ant.
> > > > > > > > > > > > > If they are set in
> > > > > > > > > > > > >  the platform.properties file then they override
> > the
> > > > > > > > > > > > > ant
> > > > > > > > > > > > determination.
> > > > > > > > > > > > >
> > > > > > > > > > > > > - Better directory path management has been
> added
> > to
> > > > > > > > > > > > > the
> > > > >
> > > > > > > > > > > > > root build.xml and  runtime/core/src/build.xml
> > files.
> > > > > > > > > > > > >
> > > > > > > > > > > > > - The install and clean targets in
> > runtime/core/src
> > > > > > > > > > > > > have
> > > > >
> > > > > > > > > > > > > been
> > > > > > > > > > > > completed.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > With respect to your latest post regarding
> > > > > > > > "tuscany-sca-config.h":
> > > > > > > > > > > > > I knew this was a problem on clean systems and
> had
> > > > > > > > > > > > > envisioned either
> > > > > > > > > > >
> > > > > > > > > > > > > running a script or using a slimmed down
> > > > > > > > > > > > > automake/configure to
> > > > > > > >
> > > > > > > > > > > > > setup
> > > > > > > > > > >
> > > > > > > > > > > > > this file and any platform specific parameters.
> > That's
> > > >
> > > >
> > > > > > > > > > > > > certainly something we'll have to address, what
> do
> > you
> > > > > think?
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > The only reason we use this automake generated
> file
> > is
> > > > > > > > > > > > to set the IS_DARWIN compiler flag for running on
> > Mac OS
> > > >
> > > > > > > > > > > > X. I
> > > > >
> > > > > > > > > > > > expect we
> > > > > > > >
> > > > > > > > > > > > can use
> > > > > > > > > >
> > > > > > > > > > > > a
> > > > > > > > > > >
> > > > > > > > > > > > different technique in ant to set this flag. Is
> > there a
> > > > > > > > "family=mac"
> > > > > > > > > > > > or somesuch in ant? The automake simply runs a
> > 'uname
> > > > -s'
> > > > > > > > > > > > command to
> > > > > > > > > >
> > > > > > > > > > > > figure it out.
> > > > > > > > > > > >
> > > > > > > > > > > > I think a goal for this shoul be that I can do a
> > clean
> > > > > > > > > > > > extract from svn and type "ant" in the top level
> > > > > > > > > > > > directory
> > > > >
> > > > > > > > > > > > and it will build with
> > > > > > > > > >
> > > > > > > > > > > > everything defaulted. We need various pre-reqs
> > defined
> > > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > > + other pre-reqs) but we should try to make this
> as
> > > > > > > > > > > > + simple
> > > > >
> > > > > > > > > > > > + as
> > > > > > > > > > > > possible.
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --------------------
> > > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > Software
> > > >
> > > > > > > > > > > > > -
> > > > >
> > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Pete Robbins [mailto:
> > robbinspg@googlemail.com]
> > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > > >
> > > > > > > > > > > > > the install dir defaults to sca/deploy so I
> think
> > we
> > > > > > > > > > > > > don't need any properties other than overrides.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I'll check in what I have. so youi can see.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 18/07/07, Brady Johnson <
> > bjohnson@roguewave.com>
> > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > That's a good idea. Then the only thing that
> > really
> > > > > > > > > > > > > > need to be set
> > > > > > > > > > >
> > > > > > > > > > > > > > in platform.properties file would be:
> > > > > > > > > > > > > >        tuscanySCA.install.dir
> > > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I'll put that together real quick and upload
> it.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> Software
> > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software
> > > > >
> > > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Pete Robbins
> > [mailto:robbinspg@googlemail.com
> > > > ]
> > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> > robbinspg@googlemail.com
> > > > >
> > > > > wrote:
> > > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Thanks for trying out the ant build
> scripts.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Regarding core.dir, you're right, the name
> > will
> > > > > > > > > > > > > > > > need to
> > > > > > > > > > > change.
> > > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > As for the " tuscanySCA.root.dir" : Your
> > > > > > > > > > > > > > > > suggestion
> > > > >
> > > > > > > > > > > > > > > > will work
> > > > > > > > > >
> > > > > > > > > > > > > > > > if you only execute ant from the root
> > directory,
> > > >
> > > > > > > > > > > > > > > > but not
> > > > > > > >
> > > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > from the runtime/core/src directory.
> That's
> > why
> > > > > > > > > > > > > > > > I put it
> > > > > > > >
> > > > > > > > > > > > > > > > in the platform.properties, which is
> > accessed by
> > > >
> > > > > > > > > > > > > > > > all
> > > > > > > > > > build.xml's.
> > > > > > > > > > >
> > > > > > > > > > > > > > > > Its better ant coding style to have
> anything
> > > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > in a properties file, not in an ant
> > build.xml
> > > > > file.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Yes... I realized that would limit you to
> > running
> > > > > > > > > > > > > > > ant from
> > > > > > > >
> > > > > > > > > > > > > > > the
> > > > > > > > > >
> > > > > > > > > > > > > > > top
> > > > > > > > > > > >
> > > > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > would a better solution be to have a top
> level
> > (or
> > > >
> > > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > > > >  a) imports platform.properties for any
> > overrides
> > > > > > > > > > > > > > >  b) sets the properties conditional on the
> > > > platform.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > > >      <condition property=" lib.ext"
> > value='.so' '>
> > > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > >      <condition property="lib.ext"
> > value='.dll' '>
> > > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > >      <condition property="lib.ext"
> > value='.dylib
> > > > '>
> > > > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > the build.xml files would all import this top
> > level
> > > > > file:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > As for the platform.properties file for
> > windows:
> > > > > > > > > > > > > > > > The property platform can/should be
> removed,
> > its
> > > >
> > > >
> > > > > > > > > > > > > > > > not
> > > > > > > > > > > necessary.
> > > > > > > > > > > > > > > > If
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > the property
> "platform.compiler-definition"
> > is
> > > > > > > > > > > > > > > > set, then
> > > > > > > >
> > > > > > > > > > > > > > > > that value will be used for the compiler
> > > > > > > > > > > > > > > > selection, else
> > > > > > > >
> > > > > > > > > > > > > > > > it will get set to msvc for windows as can
> > be
> > > > > > > > > > > > > > > > seen
> > > > >
> > > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I think the way this should ship is to
> have
> > > > > > > > > > > > > > > > several platform.properties files for the
> > > > > different platform:
> > > > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > > > >        platform.properties.windows
> > > > > > > > > > > > > > > >        platform.properties.mac Which will
> > each
> > > > > > > > > > > > > > > > have values pre
> > > > > > > > > > >
> > > > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > platform. Then with either configure or a
> > shell
> > > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > file wil be copied to platform.properties
> > and
> > > > > > > > > > > > > > > > the directory properties will be set
> > > > accordingly.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > Software
> > > >
> > > >
> > > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software -
> > > > > > > >
> > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08 AM
> > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > build
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I ran into a couple of issues tryingt o
> run
> > this
> > > >
> > > >
> > > > > > > > > > > > > > > > ant
> > > > > > > > build.
> > > > > > > > > > > > > > > > Firstly I got an error with a path
> > > > > > > > > > > > > > > >
> > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > > >
> > > >
> > > > > > > > > > > > > > > > I
> > > > >
> > > > > > > > > > > > > > > > trcked this
> > > > > > > > > > >
> > > > > > > > > > > > > > > > down to the fact that the property
> core.dir
> > is
> > > > > > > > > > > > > > > > set
> > > > >
> > > > > > > > > > > > > > > > in the top level build.xml to
> > "runtime/core/src"
> > > > > > > > > > > > > > > > and in the
> > > > > > > >
> > > > > > > > > > > > > > > > runtime/core/src/build.xml the same
> property
> > > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > "tuscany/sca/core". It looks to me like
> the
> > > > > > > > > > > > > > > > second
> > > > >
> > > > > > > > > > > > > > > > defintion
> > > > > > > > > >
> > > > > > > > > > > > > > > > of core.dir is being ignored. I'm not an
> ant
> > > > > expert ...
> > > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > > get propagated from higher level build files?
> > > > > > > > > > > > > > > > I got around this by changing the name of
> > > > > > > > > > > > > > > > core.dir
> > > > >
> > > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > one
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Rather than specifying the paths to the
> > source
> > > > > > > > > > > > > > > > code etc in the
> > > > > > > > > > >
> > > > > > > > > > > > > > > > platform.properties I would prefer to set
> > these
> > > > > > > > > > > > > > > > automatically so
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > and then based other properties from this.
> > It
> > > > > > > > > > > > > > > > seemed to
> > > > > > > > > > work!
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > > <ro...@googlemail.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > > > > I'd like some info on what I need to
> edit
> > in
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > One good thing about automake is that it
> > > > > > > > > > > > > > > > > detects
> > > > >
> > > > > > > > > > > > > > > > > your platform/compiler etc
> automatically.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I put together some documentation for
> > using
> > > > > > > > > > > > > > > > > > ant with
> > > > > > > >
> > > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> Lead
> > > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
> Wave
> > > > > > > > > > > > > > > > > > Software -
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Using ant to build TuscanySCA Native
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > 1. Required Software to build
> TuscanySCA
> > > > > > > > > > > > > > > > > > Native with
> > > > > > > > > > ant:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > > >        Ant comes installed with almost
> > all
> > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > > > >        Download:
> http://ant.apache.org/
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > > > > > >        Download:
> > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > > >
> > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> > starting.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> > directory
> > > > > > > > > > > > > > > > > > where you
> > > > > > > >
> > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > > > > > export PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib
> > and
> > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > >
> > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib So place
> the
> > > > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to
> your
> > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Windows
> > > > > > > > > > > > > > > > > > -------
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> > starting.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> > directory
> > > > > > > > > > > > > > > > > > where you
> > > > > > > >
> > > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > > set ANT_HOME=c:\ant
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Add %ANT_HOME%\bin to your path.
> > > > > > > > > > > > > > > > > > set PATH=%PATH%;%ANT_HOME%\bin
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib
> > and
> > > > > > > > > > > > > > > > > > cpptasks,
> > > > > > > >
> > > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > installed in %ANT_HOME%\lib So place
> the
> > > > > > > > > > > > > > > > > > antcontrib and cpptasks
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > jars there.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > > %ANT_HOME%\lib, do the
> > > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > > - create ${ user.home}\.ant\lib
> > > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to
> your
> > > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > > > Sent: Tuesday, July 17, 2007 1:24 AM
> > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> > ant
> > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Thanks Brady. I'll take a look at
> this.
> > We
> > > > > > > > > > > > > > > > > > will need
> > > > > > > >
> > > > > > > > > > > > > > > > > > doc
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > as to
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > what the dependencies are (cpptasks
> etc)
> > and
> > > >
> > > > > > > > > > > > > > > > > > any configuration
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > that is
> > > > > > > > > > > > > > > > needed.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On 16/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > For anyone interested, I uploaded
> > another
> > > > > > > > > > > > > > > > > > > patch for this
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > JIRA that
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > makes it work better for windows.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > tuscanySCAnative_ant_update1.tar.gz
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> > Lead
> > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
> > Wave
> > > > > > > > > > > > > > > > > > > Software
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > <mailto:
> brady.johnson@roguewave.com>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > > From: Brady Johnson
> > > > > > > > > > > > > > > > > > > [mailto:bjohnson@roguewave.com]
> > > > > > > > > > > > > > > > > > > Sent: Monday, July 16, 2007 10:46 AM
> > > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > > Subject: [SCA Native] preliminary
> ant
> > > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > This may be the second time you
> > receive
> > > > > > > > > > > > > > > > > > > this
> > > > >
> > > > > > > > > > > > > > > > > > > email, the first time
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I sent it with an attachment, which
> I
> > > > > > > > > > > > > > > > > > > later realized that this
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > dist list
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > may reject. So here it is again, w/o
> > the
> > > > > > > > > > > > > > > > > > > attachment. I
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > created
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > a JIRA and put the attachment there:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > https://issues.apache.org/jira/browse/TUSC
> > > > > > > > > > > > > > > > > > > AN
> > > > > > > > > > > > > > > > > > > Y-1438
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > According to a previous thread
> titled
> > > > > > > > > > > > > > > > > > > "[SCA Native] next
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > release content
> > > > > > > > > > > > > > > > > > > [was: Tuscany roadmap]" (I didnt
> want
> > to
> > > > > > > > > > > > > > > > > > > add
> > > > >
> > > > > > > > > > > > > > > > > > > another
> > > > > > > > > > > "was"
> > > > > > > > > > > > > > > > > > > redirection
> > > > > > > > > > > > > > > > > > > ;) ), I have prepared ant build
> > scripts
> > > > > > > > > > > > > > > > > > > for
> > > > > > > > > > > > > > cpp/sca/runtime/core.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > The tar.gz file attached to the jira
> > > > > > > > > > > > > > > > > > > should just
> > > > > > > > > > > "overlay"
> > > > > > > > > > > > > > > > > > > onto the tuscany SCA cpp source code
> > > > > > > > > > > > > > > > > > > directory
> > > > > > > > > > > structure.
> > > > > > > > > > > > > > > > > > > It
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > consists of the following files:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > <tuscanySca Native Src dir>/
> > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > >      |---- build.xml
> > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > >      |---- antscripts/
> > > > > > > > > > > > > > > > > > >      |         |
> > > > > > > > > > > > > > > > > > >      |         |---- compilers.xml
> > > > > > > > > > > > > > > > > > >      |         |----
> > compile-targets.xml
> > > > > > > > > > > > > > > > > > >      |         |----
> > platform.properties
> > > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > > >      |----
> runtime/core/src/build.xml
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > In order to use it, you will need to
> > > > > > > > > > > > > > > > > > > modify the platform.properties file.
> > This
> > > > > > > > > > > > > > > > > > > will later be taken
> > > > > > > >
> > > > > > > > > > > > > > > > > > > care of
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > by either configure, or maybe just
> an
> > > > > > > > > > > > > > > > > > > install
> > > > > > > > script.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Currently it compiles and links
> > > > > > > > > > > > > > > > > > > runtime/core/src/tuscany/sca
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > {core, extension, model, util} and
> > creates
> > > >
> > > > > > > > > > > > > libtuscany_sca.so.
> > > > > > > > > > > > > > > > > > > The install target installs the lib
> > and
> > > > > > > > > > > > > > > > > > > the headers from
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > those
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > src directories to the install
> > directory
> > > > > > > > > > > > > > > > > > > specified
> > > > > > > >
> > > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Give it a spin and let me know what
> > you
> > > > > > > > > > > > > > > > > > > think. It shouldnt
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > take much to finish it for the rest
> of
> > > > > > > > > > > > > > > > > > > tuscany
> > > > > > > > cpp.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > If it works out, we can then discuss
> > how
> > > > > > > > > > > > > > > > > > > to configure platform.properties.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> > Lead
> > > > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
> > Wave
> > > > > > > > > > > > > > > > > > > Software
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > > <ma...@roguewave.com>
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > ------------------------------------------
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > > >
> tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > --------------------------------------------
> > > >
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > --------------------------------------------
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > ------------------------------------------------
> > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > ------------------------------------------------
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > ----------------------------------------------------
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > ----------------------------------------------------
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Pete
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > ------------------------------------------------------
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ------
> > > > > > > > > > > > > ----
> > > > > > > > > > > > > --
> > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > ------------------------------------------------------
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ------
> > > > > > > > > > > > > ----
> > > > > > > > > > > > > --
> > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Pete
> > > > > > > > > > > >
> > > > > > > > > > > >
> > --------------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > --------------------------------------------------------
> > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Pete
> > > > > > > > > > >
> > > > > > > > > > >
> > ----------------------------------------------------------
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > ----------------------------------------------------------
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Pete
> > > > > > > > > >
> > > > > > > > > >
> > ------------------------------------------------------------
> > > >
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > ------------------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Pete
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Pete
> > > > > > > >
> > > > > > > >
> > ----------------------------------------------------------------
> > > >
> > > > > > > > --
> > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail:
> > tuscany-dev-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > ----------------------------------------------------------------
> > > > > > > > --
> > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail:
> > tuscany-dev-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > ----------------------------------------------------------------
> > > > > > > > --
> > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail:
> > tuscany-dev-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Pete
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Pete
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Pete
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > > >
> > > > >
> > > > >
> > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > >
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

RE: [DAS Native] ant build

Posted by Brady Johnson <bj...@roguewave.com>.
Adriano,

There is for SCA and SDO. Either "ant -Ddebug=true" or set
"platform.debug.compile=true" in platform.properties. Both of those get
passed to the cc task, which should take care of setting the correct
command line args.

Brady

P.S. The arg can be true, yes, or on.

-----Original Message-----
From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
Behalf Of Adriano Crestani
Sent: Wednesday, September 05, 2007 11:23 AM
To: tuscany-dev@ws.apache.org
Subject: Re: [DAS Native] ant build

Hi Brady,

Thanks for the suggestion, I looked there and the compiler arguments
contains the /MD (Multi-threaded DLL) argument that mean non-debug mode.
I
think there should be a way to build the library on debug mode,
something
like "ant debug", what do you thinnk?

Regards,
Adriano Crestani

On 9/4/07, Brady Johnson <bj...@roguewave.com> wrote:
>
>
> Adriano,
>
> I'll try to look into this tomorrow. In the meantime, there is a file
> generated in the destination directory (where the object files and/or
> library is written) by ant called history.xml. If you look at the
> signature attribute of the <processor/> element you can see the
compiler
> command line generated by ant. Hopefully this will help out.
>
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com
>
> -----Original Message-----
> From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> Behalf Of Adriano Crestani
> Sent: Sunday, September 02, 2007 1:36 PM
> To: tuscany-dev@ws.apache.org
> Subject: Re: [DAS Native] ant build
>
> Back from vacation, back to work : )
>
> Brady, I thought the error had something to do with the pc I was using
> while
> my laptop was getting repaired, but I got it repaired and the error
was
> still occurring on my laptop. The error seems rationed to the sdo ant
> build,
> cause I ignored the DAS ant build and built it like I was building
> before,
> with the MVS, but got the same error :S. Than I rebuilt the SDO, but
not
> using the new sdo build, but the old one, the build.bat, and guess
what,
> there was no more error : ).
>
> It is not exactly an error, when I build the SDO using the ant build,
my
> DAS
> requires the dll MSVCP80.dll and with the old SDO build it does not.
> There
> may be some option that is being set on SDO ant build that is not on
SDO
> old
> build. I'm not a C++ expert, but I think it has something to do with
the
> option Multi-threaded Debug DLL (/MDd) or Multi-threaded Debug (/MTd)
on
> compiler arguments.
>
> Another point, the sdo_test is also requiring this dll when built
using
> the
> SDO ant build (I built the SDO using ant build and compiled the
sdo_test
> on
> MVS, but I removed the sdo_test dependency from sdo_runtime, otherwise
> it
> would get compiled overwriting the SDO ant build binaries on deploy
> folder).
>
> Doing another tests right now to check whether it is a Multi-threaded
> Debug
> DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
>
> Regards,
> Adriano Crestani
>
> On 8/16/07, Adriano Crestani <ad...@apache.org> wrote:
> >
> > Hi Brady,
> >
> > Yes, I was plaining to do that after this weekend. I had no chance
to
> do
> > that so far, cause I was really busy with college's stuffs :(
> >
> > Regards,
> > Adriano Crestani
> >
> > On 8/16/07, Brady Johnson <bj...@roguewave.com> wrote:
> > >
> > >
> > > Adriano,
> > >
> > > You might have seen that both SCA and SDO native now have an ant
> build
> > > infrastructure. I briefly looked at doing the same for DAS, but
> couldn't
> > > get it to compile with "configure, make, make install" at the
time,
> and
> > > never got a chance to come back to it.
> > >
> > > I think it should be very easy to copy the SDO ant stuff over to
> DAS,
> > > what do you think?
> > >
> > > --------------------
> > > Brady Johnson
> > > Lead Software Developer - HydraSCA
> > > Rogue Wave Software - brady.johnson@roguewave.com
> > >
> > >
> > > -----Original Message-----
> > > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com]
> On
> > > Behalf Of Adriano Crestani
> > > Sent: Monday, July 23, 2007 11:21 PM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: Re: [SCA Native] preliminary ant build
> > >
> > > Great idea, soon I will try to apply this idea to Native DAS and
see
> how
> > > it works. I think the idea could also be easily applied to Native
> SDO,
> > > as it does not have too much dependencies and code generation as
> Native
> > > SCA does.
> > >
> > > A folder ant-core could be created under tuscany/cpp/ folder to
> place
> > > the ant scripts shared by the projects.
> > >
> > > Also, we could add a build.xml under tuscany/ccp/ that builds all
3
> > > subprojects at once, if the 3 to implement this ant build process.
> What
> > > do you think?
> > >
> > > Regards,
> > > Adriano Crestani
> > >
> > > On 7/23/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > >
> > > >
> > > > Correction, it should be like this:
> > > >
> > > >   <target name="compile.core">
> > > >     <cpp-compile
> > > >         srcdir="${core.abs.dir}"
> > > >         objdir="${lib.dir}"
> > > >         infiles="${ core.cpp.files}">
> > > >       <custom-cc-elements>
> > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > >       </custom-cc-elements>
> > > >     </cpp-compile>
> > > >   </target>
> > > >
> > > > --------------------
> > > > Brady Johnson
> > > > Lead Software Developer - HydraSCA
> > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Brady Johnson [mailto:bjohnson@roguewave.com]
> > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: RE: [SCA Native] preliminary ant build
> > > >
> > > >
> > > > Pete,
> > > >
> > > > Good catch. That's an easy fix. I'll submit it with the next
patch
> > > > tomorrow. Basically it involves removing SCA_EXPORTS from the
> > > > Tuscany-BaseCompiler and adding it to the runtime/core/src
> targets:
> > > >         compile.core
> > > >         compile.extension
> > > >         compile.model
> > > >         compile.util
> > > >
> > > > Like this:
> > > >   <target name="compile.core">
> > > >     <cpp-compile
> > > >         srcdir="${core.abs.dir}"
> > > >         objdir="${lib.dir}"
> > > >         infiles="${core.cpp.files }"/>
> > > >       <custom-cc-element>
> > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > >       </custom-cc-element>
> > > >   </target>
> > > >
> > > > Tomorrow I'll have the python, ruby, rest, and maybe php
> extensions
> > > > complete.
> > > >
> > > >
> > > > --------------------
> > > > Brady Johnson
> > > > Lead Software Developer - HydraSCA
> > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: Re: [SCA Native] preliminary ant build
> > > >
> > > > I think there is a problem in the extension compilations. The
> > > > SCA_EXPORTS directive should only be set when compiling the
> > > > runtime/core. When compiling for dlls on windows which use the
> core
> > > > dll SCA_EXPORTS must not be set. I guess this means we have to
> move
> > > > the setting of this directive from the definition of the
> > > > Tuscany-BaseCompiler
> > > >
> > > > Cheers,
> > > >
> > > > On 23/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > > > I've applied the patch. How are you creating the patches? I
had
> > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > >
> > > > > I've included the changes in the patch to the
> tools/TuscanyDriver
> > > > > build. I haven't tested this and I'm not sure if it works with
> the
> > > > > system.xml etc.
> > > > >
> > > > > Can you do a clean extract as a base for future patches?
> > > > >
> > > > > Cheers,
> > > > >
> > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com> wrote:
> > > > > > I'll give this a go. I should be able to run it on Mac as
> well.
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > On 23/07/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > > >
> > > > > > > I updated the jira1438 with update 3, which includes the
> > > > following:
> > > > > > >         https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > >
> > > > > > >
> > > > > > > - added build.xml for the following dirs:
> > > > > > >    runtime/extensions/build.xml
> > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > >    runtime/extensions/sca/build.xml
> > > > > > >    runtime/extensions/ws/build.xml
> > > > > > >
> > > > > > > - changed system.xml to check for necessary axis, php,
> python,
> > > > > > > rest, and ruby env vars. If they're not  set in the env,
> look
> > > > > > > for them in platform.properties
> > > > > > >
> > > > > > > - changed compile-targets.xml targets
> > > > > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > >
> > > > > > > - added compile-targets.xml target: <cpp-symlink/>
> > > > > > >
> > > > > > > - added library versioning and the
> > > > > > > platform.tuscanySCA.library.version
> > > > > > > platform.properties property
> > > > > > >
> > > > > > > Can someone submit this for me.
> > > > > > >
> > > > > > > The only thing left now is the build.xml for these
> extensions:
> > > > > > > php, python, rest, ruby
> > > > > > >
> > > > > > > WRT testing on macs, I wont have a mac available until
next
> > > week.
> > > > > > >
> > > > > > > Thanks
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > brady.johnson@roguewave.com
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > >
> > > > > > >
> > > > > > > I can look into testing it on Mac here. I believe we have
> > > > > > > several mac machines for the purpose.
> > > > > > >
> > > > > > > I'll get back to you soon.
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > brady.johnson@roguewave.com
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > >
> > > > > > > I've taken out the references to tuscany_sca_config.h and
> > > > > > > patched the automake for now with setting -DIS_DARWIN on
> mac.
> > > > > > > Yet to test it on Mac as I need to kick the kids off my
> machine!
> > >
> > > > > > >
> > > > > > > On 19/07/07, Pete Robbins <ro...@googlemail.com>
wrote:
> > > > > > > > Automake generates a config file with lots of standard
> stuff
> > > > > > > > but
> > > >
> > > > > > > > the only  one we need is the IS_DARWIN, which is used in
> 2
> > > > > > > > places. I'll remove the 2 references to this header and
> change
> > >
> > >
> > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> wrote:
> > > > > > > > >
> > > > > > > > > I did the following diff command and got quite a lot
of
> > > > > > > > > changes (listed
> > > > > > > > > below):
> > > > > > > > >
> > > > > > > > > # diff tuscany_sca_config.h.in tuscany_sca_config.h
> > > > > > > > >
> > > > > > > > > Are these not needed?
> > > > > > > > >        If not, I can get to work on removing all
> references
> > > > > > > > > to
> > > >
> > > > > > > > > the file.
> > > > > > > > >        If so, then we still need to figure out how to
> create
> > >
> > >
> > > > > > > > > the
> > > > > > > file.
> > > > > > > > >
> > > > > > > > > I just realized, its 23:30, there... Go to bed! ;)
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software
-
> > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 0a1
> > > > > > > > > > /* tuscany_sca_config.h.  Generated by configure.
*/
> > > > > > > > > 4c5
> > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > ---
> > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > 8c9
> > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > 11c12
> > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > 14c15
> > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > 17c18
> > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > 20c21
> > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > 23c24
> > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > 26c27
> > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > 29c30
> > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > 33c34
> > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > 36c37
> > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > 39c40
> > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > 42c43
> > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > 45c46
> > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > 48c49
> > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > 51c52
> > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > 55c56
> > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > 59c60
> > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > 62c63
> > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > 65c66
> > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > 68c69
> > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > 71c72
> > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > 74c75
> > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > 77c78
> > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > ---
> > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > 80c81
> > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > ---
> > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > 84c85
> > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > ---
> > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > 87c88
> > > > > > > > > < #undef PACKAGE
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > 90c91
> > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > 93c94
> > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > > 96c97
> > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > > 1.0-incubator-M3"
> > > > > > > > > 99c100
> > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > > > > 102c103
> > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > > 105c106
> > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > ---
> > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > 108c109
> > > > > > > > > < #undef VERSION
> > > > > > > > > ---
> > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > 111c112
> > > > > > > > > < #undef const
> > > > > > > > > ---
> > > > > > > > > > /* #undef const */
> > > > > > > > > 116c117
> > > > > > > > > < #undef inline
> > > > > > > > > ---
> > > > > > > > > > /* #undef inline */
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > yeah I figured that... I did exactly the same when
> > > > > > > > > committing changes earlier! I dodn't commit the
changes
> > > > > > > > > inthe tools
> > > > folder.
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > >
> > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> wrote:
> > > > > > > > > >
> > > > > > > > > > Ok, I wasn't aware that I had changed the tools.
> > > > > > > > > >
> > > > > > > > > > I simply did a "svn diff . > patch_file" from the
> tuscany
> > > > > > > > > > root
> > > > > > > dir.
> > > > > > > > > > You can disregard the tools changes. I'll look into
> it.
> > > > > > > > > >
> > > > > > > > > > Thanks
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
Software
> -
> > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > Cool! I've applied this change as well. The update2
> patch
> > > > > > > > > > contained changes to the
> tools/TuscanyDriver/build.xml.
> > > > > > > > > > This
> > > >
> > > > > > > > > > doesn't work so you
> > > > > > > > >
> > > > > > > > > > may want to look at it.
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > If that's all we need the tuscany_sca_config.h
file
> for
> > > > > > > > > > > then, yes this
> > > > > > > > > >
> > > > > > > > > > > just got a whole lot easier. We can do the
following
> on
> > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > >
> > > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > >  </condition>
> > > > > > > > > > >
> > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > multithreaded="true"
> > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > >
> define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > > > > >    <includepath path="${ tuscanySCA.root.dir}"/>
> <!--
> > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > >    <includepath
path="${tuscanySCA.root.src.dir}"/>
> > > > > > > > > > >    <includepath
> > > > > > > > > > > path="${tuscanySCA.root.src.dir}/core/src"/>
> > > > > > > > > > >  </compiler>
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> Software -
> > >
> > >
> > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Pete Robbins
[mailto:robbinspg@googlemail.com]
> > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > > On 18/07/07, Brady Johnson
<bj...@roguewave.com>
> > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > I uploaded a patch on top of what you submit to
> svn.
> > > > > > > > > > > >
> > > > > > > > > > > > Here is a description of what I changed:
> > > > > > > > > > > >
> > > > > > > > > > > > - Changed the name of compilers.xml to
system.xml.
> > > > > > > > > > > >
> > > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > > platform.properties file that
> > > > > > > > > >
> > > > > > > > > > > > is completely empty.
> > > > > > > > > > > >  That is, all of the platform dependent items
are
> > > > > > > > > > > > figured out by
> > > > > > > > > > ant.
> > > > > > > > > > > > If they are set in
> > > > > > > > > > > >  the platform.properties file then they override
> the
> > > > > > > > > > > > ant
> > > > > > > > > > > determination.
> > > > > > > > > > > >
> > > > > > > > > > > > - Better directory path management has been
added
> to
> > > > > > > > > > > > the
> > > >
> > > > > > > > > > > > root build.xml and  runtime/core/src/build.xml
> files.
> > > > > > > > > > > >
> > > > > > > > > > > > - The install and clean targets in
> runtime/core/src
> > > > > > > > > > > > have
> > > >
> > > > > > > > > > > > been
> > > > > > > > > > > completed.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > With respect to your latest post regarding
> > > > > > > "tuscany-sca-config.h":
> > > > > > > > > > > > I knew this was a problem on clean systems and
had
> > > > > > > > > > > > envisioned either
> > > > > > > > > >
> > > > > > > > > > > > running a script or using a slimmed down
> > > > > > > > > > > > automake/configure to
> > > > > > >
> > > > > > > > > > > > setup
> > > > > > > > > >
> > > > > > > > > > > > this file and any platform specific parameters.
> That's
> > >
> > >
> > > > > > > > > > > > certainly something we'll have to address, what
do
> you
> > > > think?
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > The only reason we use this automake generated
file
> is
> > > > > > > > > > > to set the IS_DARWIN compiler flag for running on
> Mac OS
> > >
> > > > > > > > > > > X. I
> > > >
> > > > > > > > > > > expect we
> > > > > > >
> > > > > > > > > > > can use
> > > > > > > > >
> > > > > > > > > > > a
> > > > > > > > > >
> > > > > > > > > > > different technique in ant to set this flag. Is
> there a
> > > > > > > "family=mac"
> > > > > > > > > > > or somesuch in ant? The automake simply runs a
> 'uname
> > > -s'
> > > > > > > > > > > command to
> > > > > > > > >
> > > > > > > > > > > figure it out.
> > > > > > > > > > >
> > > > > > > > > > > I think a goal for this shoul be that I can do a
> clean
> > > > > > > > > > > extract from svn and type "ant" in the top level
> > > > > > > > > > > directory
> > > >
> > > > > > > > > > > and it will build with
> > > > > > > > >
> > > > > > > > > > > everything defaulted. We need various pre-reqs
> defined
> > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > + other pre-reqs) but we should try to make this
as
> > > > > > > > > > > + simple
> > > >
> > > > > > > > > > > + as
> > > > > > > > > > > possible.
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --------------------
> > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> Software
> > >
> > > > > > > > > > > > -
> > > >
> > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Pete Robbins [mailto:
> robbinspg@googlemail.com]
> > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > > the install dir defaults to sca/deploy so I
think
> we
> > > > > > > > > > > > don't need any properties other than overrides.
> > > > > > > > > > > >
> > > > > > > > > > > > I'll check in what I have. so youi can see.
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > > On 18/07/07, Brady Johnson <
> bjohnson@roguewave.com>
> > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Pete,
> > > > > > > > > > > > >
> > > > > > > > > > > > > That's a good idea. Then the only thing that
> really
> > > > > > > > > > > > > need to be set
> > > > > > > > > >
> > > > > > > > > > > > > in platform.properties file would be:
> > > > > > > > > > > > >        tuscanySCA.install.dir
> > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > >
> > > > > > > > > > > > > I'll put that together real quick and upload
it.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks
> > > > > > > > > > > > >
> > > > > > > > > > > > > -------------------- Brady Johnson Lead
Software
> > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software
> > > >
> > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Pete Robbins
> [mailto:robbinspg@googlemail.com
> > > ]
> > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
build
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> robbinspg@googlemail.com
> > > >
> > > > wrote:
> > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks for trying out the ant build
scripts.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Regarding core.dir, you're right, the name
> will
> > > > > > > > > > > > > > > need to
> > > > > > > > > > change.
> > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > As for the " tuscanySCA.root.dir" : Your
> > > > > > > > > > > > > > > suggestion
> > > >
> > > > > > > > > > > > > > > will work
> > > > > > > > >
> > > > > > > > > > > > > > > if you only execute ant from the root
> directory,
> > >
> > > > > > > > > > > > > > > but not
> > > > > > >
> > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > from the runtime/core/src directory.
That's
> why
> > > > > > > > > > > > > > > I put it
> > > > > > >
> > > > > > > > > > > > > > > in the platform.properties, which is
> accessed by
> > >
> > > > > > > > > > > > > > > all
> > > > > > > > > build.xml's.
> > > > > > > > > >
> > > > > > > > > > > > > > > Its better ant coding style to have
anything
> > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > in a properties file, not in an ant
> build.xml
> > > > file.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Yes... I realized that would limit you to
> running
> > > > > > > > > > > > > > ant from
> > > > > > >
> > > > > > > > > > > > > > the
> > > > > > > > >
> > > > > > > > > > > > > > top
> > > > > > > > > > >
> > > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > > >
> > > > > > > > > > > > > > would a better solution be to have a top
level
> (or
> > >
> > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > > >  a) imports platform.properties for any
> overrides
> > > > > > > > > > > > > >  b) sets the properties conditional on the
> > > platform.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > >      <condition property=" lib.ext"
> value='.so' '>
> > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > >      <condition property="lib.ext"
> value='.dll' '>
> > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > >      <condition property="lib.ext"
> value='.dylib
> > > '>
> > > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > the build.xml files would all import this top
> level
> > > > file:
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > As for the platform.properties file for
> windows:
> > > > > > > > > > > > > > > The property platform can/should be
removed,
> its
> > >
> > >
> > > > > > > > > > > > > > > not
> > > > > > > > > > necessary.
> > > > > > > > > > > > > > > If
> > > > > > > > > > > >
> > > > > > > > > > > > > > > the property
"platform.compiler-definition"
> is
> > > > > > > > > > > > > > > set, then
> > > > > > >
> > > > > > > > > > > > > > > that value will be used for the compiler
> > > > > > > > > > > > > > > selection, else
> > > > > > >
> > > > > > > > > > > > > > > it will get set to msvc for windows as can
> be
> > > > > > > > > > > > > > > seen
> > > >
> > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I think the way this should ship is to
have
> > > > > > > > > > > > > > > several platform.properties files for the
> > > > different platform:
> > > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > > >        platform.properties.windows
> > > > > > > > > > > > > > >        platform.properties.mac Which will
> each
> > > > > > > > > > > > > > > have values pre
> > > > > > > > > >
> > > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > > >
> > > > > > > > > > > > > > > platform. Then with either configure or a
> shell
> > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > file wil be copied to platform.properties
> and
> > > > > > > > > > > > > > > the directory properties will be set
> > > accordingly.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> Software
> > >
> > >
> > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software -
> > > > > > >
> > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08 AM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I ran into a couple of issues tryingt o
run
> this
> > >
> > >
> > > > > > > > > > > > > > > ant
> > > > > > > build.
> > > > > > > > > > > > > > > Firstly I got an error with a path
> > > > > > > > > > > > > > >
> xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > >
> > >
> > > > > > > > > > > > > > > I
> > > >
> > > > > > > > > > > > > > > trcked this
> > > > > > > > > >
> > > > > > > > > > > > > > > down to the fact that the property
core.dir
> is
> > > > > > > > > > > > > > > set
> > > >
> > > > > > > > > > > > > > > in the top level build.xml to
> "runtime/core/src"
> > > > > > > > > > > > > > > and in the
> > > > > > >
> > > > > > > > > > > > > > > runtime/core/src/build.xml the same
property
> > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > "tuscany/sca/core". It looks to me like
the
> > > > > > > > > > > > > > > second
> > > >
> > > > > > > > > > > > > > > defintion
> > > > > > > > >
> > > > > > > > > > > > > > > of core.dir is being ignored. I'm not an
ant
> > > > expert ...
> > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > get propagated from higher level build files?
> > > > > > > > > > > > > > > I got around this by changing the name of
> > > > > > > > > > > > > > > core.dir
> > > >
> > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > >
> > > > > > > > > > > > > > > one
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Rather than specifying the paths to the
> source
> > > > > > > > > > > > > > > code etc in the
> > > > > > > > > >
> > > > > > > > > > > > > > > platform.properties I would prefer to set
> these
> > > > > > > > > > > > > > > automatically so
> > > > > > > > > > >
> > > > > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > and then based other properties from this.
> It
> > > > > > > > > > > > > > > seemed to
> > > > > > > > > work!
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > <ro...@googlemail.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > > > I'd like some info on what I need to
edit
> in
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > One good thing about automake is that it
> > > > > > > > > > > > > > > > detects
> > > >
> > > > > > > > > > > > > > > > your platform/compiler etc
automatically.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I put together some documentation for
> using
> > > > > > > > > > > > > > > > > ant with
> > > > > > >
> > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -------------------- Brady Johnson
Lead
> > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
Wave
> > > > > > > > > > > > > > > > > Software -
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Using ant to build TuscanySCA Native
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 1. Required Software to build
TuscanySCA
> > > > > > > > > > > > > > > > > Native with
> > > > > > > > > ant:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > >        Ant comes installed with almost
> all
> > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > > >        Download:
http://ant.apache.org/
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > > > > >        Download:
> > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > >
> http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> starting.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> directory
> > > > > > > > > > > > > > > > > where you
> > > > > > >
> > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > > > > export PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib
> and
> > > > > > > > > > > > > > > > > cpptasks,
> > > > > > >
> > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib So place
the
> > > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to
your
> > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Windows
> > > > > > > > > > > > > > > > > -------
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> starting.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> directory
> > > > > > > > > > > > > > > > > where you
> > > > > > >
> > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > set ANT_HOME=c:\ant
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Add %ANT_HOME%\bin to your path.
> > > > > > > > > > > > > > > > > set PATH=%PATH%;%ANT_HOME%\bin
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib
> and
> > > > > > > > > > > > > > > > > cpptasks,
> > > > > > >
> > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > installed in %ANT_HOME%\lib So place
the
> > > > > > > > > > > > > > > > > antcontrib and cpptasks
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > jars there.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > %ANT_HOME%\lib, do the
> > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > - create ${ user.home}\.ant\lib
> > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to
your
> > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > > Sent: Tuesday, July 17, 2007 1:24 AM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> ant
> > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks Brady. I'll take a look at
this.
> We
> > > > > > > > > > > > > > > > > will need
> > > > > > >
> > > > > > > > > > > > > > > > > doc
> > > > > > > > >
> > > > > > > > > > > > > > > > > as to
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > what the dependencies are (cpptasks
etc)
> and
> > >
> > > > > > > > > > > > > > > > > any configuration
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > that is
> > > > > > > > > > > > > > > needed.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 16/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > For anyone interested, I uploaded
> another
> > > > > > > > > > > > > > > > > > patch for this
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > JIRA that
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > makes it work better for windows.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> tuscanySCAnative_ant_update1.tar.gz
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> Lead
> > > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
> Wave
> > > > > > > > > > > > > > > > > > Software
> > > > > > > > >
> > > > > > > > > > > > > > > > > > -
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > <mailto:
brady.johnson@roguewave.com>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > From: Brady Johnson
> > > > > > > > > > > > > > > > > > [mailto:bjohnson@roguewave.com]
> > > > > > > > > > > > > > > > > > Sent: Monday, July 16, 2007 10:46 AM
> > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > Subject: [SCA Native] preliminary
ant
> > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > This may be the second time you
> receive
> > > > > > > > > > > > > > > > > > this
> > > >
> > > > > > > > > > > > > > > > > > email, the first time
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I sent it with an attachment, which
I
> > > > > > > > > > > > > > > > > > later realized that this
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > dist list
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > may reject. So here it is again, w/o
> the
> > > > > > > > > > > > > > > > > > attachment. I
> > > > > > > > >
> > > > > > > > > > > > > > > > > > created
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > a JIRA and put the attachment there:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> https://issues.apache.org/jira/browse/TUSC
> > > > > > > > > > > > > > > > > > AN
> > > > > > > > > > > > > > > > > > Y-1438
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > According to a previous thread
titled
> > > > > > > > > > > > > > > > > > "[SCA Native] next
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > release content
> > > > > > > > > > > > > > > > > > [was: Tuscany roadmap]" (I didnt
want
> to
> > > > > > > > > > > > > > > > > > add
> > > >
> > > > > > > > > > > > > > > > > > another
> > > > > > > > > > "was"
> > > > > > > > > > > > > > > > > > redirection
> > > > > > > > > > > > > > > > > > ;) ), I have prepared ant build
> scripts
> > > > > > > > > > > > > > > > > > for
> > > > > > > > > > > > > cpp/sca/runtime/core.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > The tar.gz file attached to the jira
> > > > > > > > > > > > > > > > > > should just
> > > > > > > > > > "overlay"
> > > > > > > > > > > > > > > > > > onto the tuscany SCA cpp source code
> > > > > > > > > > > > > > > > > > directory
> > > > > > > > > > structure.
> > > > > > > > > > > > > > > > > > It
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > consists of the following files:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > <tuscanySca Native Src dir>/
> > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > >      |---- build.xml
> > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > >      |---- antscripts/
> > > > > > > > > > > > > > > > > >      |         |
> > > > > > > > > > > > > > > > > >      |         |---- compilers.xml
> > > > > > > > > > > > > > > > > >      |         |----
> compile-targets.xml
> > > > > > > > > > > > > > > > > >      |         |----
> platform.properties
> > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > >      |----
runtime/core/src/build.xml
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > In order to use it, you will need to
> > > > > > > > > > > > > > > > > > modify the platform.properties file.
> This
> > > > > > > > > > > > > > > > > > will later be taken
> > > > > > >
> > > > > > > > > > > > > > > > > > care of
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > by either configure, or maybe just
an
> > > > > > > > > > > > > > > > > > install
> > > > > > > script.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Currently it compiles and links
> > > > > > > > > > > > > > > > > > runtime/core/src/tuscany/sca
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > {core, extension, model, util} and
> creates
> > >
> > > > > > > > > > > > libtuscany_sca.so.
> > > > > > > > > > > > > > > > > > The install target installs the lib
> and
> > > > > > > > > > > > > > > > > > the headers from
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > those
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > src directories to the install
> directory
> > > > > > > > > > > > > > > > > > specified
> > > > > > >
> > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Give it a spin and let me know what
> you
> > > > > > > > > > > > > > > > > > think. It shouldnt
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > take much to finish it for the rest
of
> > > > > > > > > > > > > > > > > > tuscany
> > > > > > > cpp.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If it works out, we can then discuss
> how
> > > > > > > > > > > > > > > > > > to configure platform.properties.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> Lead
> > > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
> Wave
> > > > > > > > > > > > > > > > > > Software
> > > > > > > > >
> > > > > > > > > > > > > > > > > > -
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > <ma...@roguewave.com>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> ------------------------------------------
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > >
tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> --------------------------------------------
> > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> --------------------------------------------
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> ------------------------------------------------
> > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> ------------------------------------------------
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Pete
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> ----------------------------------------------------
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ------
> > > > > > > > > > > > > ----
> > > > > > > > > > > > > --
> > > > > > > > > > > > > --
> > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> ----------------------------------------------------
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ------
> > > > > > > > > > > > > ----
> > > > > > > > > > > > > --
> > > > > > > > > > > > > --
> > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Pete
> > > > > > > > > > > >
> > > > > > > > > > > >
> ------------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > --
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> ------------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > --
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Pete
> > > > > > > > > > >
> > > > > > > > > > >
> --------------------------------------------------------
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > ----
> > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> --------------------------------------------------------
> > >
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > ----
> > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Pete
> > > > > > > > > >
> > > > > > > > > >
> ----------------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> ----------------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Pete
> > > > > > > > >
> > > > > > > > >
> ------------------------------------------------------------
> > >
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> ------------------------------------------------------------
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Pete
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Pete
> > > > > > >
> > > > > > >
> ----------------------------------------------------------------
> > >
> > > > > > > --
> > > > > > > --- To unsubscribe, e-mail:
> > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > For additional commands, e-mail:
> tuscany-dev-help@ws.apache.org
> > > > > > >
> > > > > > >
> > > > > > >
> ----------------------------------------------------------------
> > > > > > > --
> > > > > > > --- To unsubscribe, e-mail:
> > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > For additional commands, e-mail:
> tuscany-dev-help@ws.apache.org
> > > > > > >
> > > > > > >
> > > > > > >
> ----------------------------------------------------------------
> > > > > > > --
> > > > > > > --- To unsubscribe, e-mail:
> > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > For additional commands, e-mail:
> tuscany-dev-help@ws.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Pete
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Pete
> > > > >
> > > >
> > > >
> > > > --
> > > > Pete
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > >
> > > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [DAS Native] ant build

Posted by Adriano Crestani <ad...@apache.org>.
Hi Brady,

Thanks for the suggestion, I looked there and the compiler arguments
contains the /MD (Multi-threaded DLL) argument that mean non-debug mode. I
think there should be a way to build the library on debug mode, something
like "ant debug", what do you thinnk?

Regards,
Adriano Crestani

On 9/4/07, Brady Johnson <bj...@roguewave.com> wrote:
>
>
> Adriano,
>
> I'll try to look into this tomorrow. In the meantime, there is a file
> generated in the destination directory (where the object files and/or
> library is written) by ant called history.xml. If you look at the
> signature attribute of the <processor/> element you can see the compiler
> command line generated by ant. Hopefully this will help out.
>
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com
>
> -----Original Message-----
> From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> Behalf Of Adriano Crestani
> Sent: Sunday, September 02, 2007 1:36 PM
> To: tuscany-dev@ws.apache.org
> Subject: Re: [DAS Native] ant build
>
> Back from vacation, back to work : )
>
> Brady, I thought the error had something to do with the pc I was using
> while
> my laptop was getting repaired, but I got it repaired and the error was
> still occurring on my laptop. The error seems rationed to the sdo ant
> build,
> cause I ignored the DAS ant build and built it like I was building
> before,
> with the MVS, but got the same error :S. Than I rebuilt the SDO, but not
> using the new sdo build, but the old one, the build.bat, and guess what,
> there was no more error : ).
>
> It is not exactly an error, when I build the SDO using the ant build, my
> DAS
> requires the dll MSVCP80.dll and with the old SDO build it does not.
> There
> may be some option that is being set on SDO ant build that is not on SDO
> old
> build. I'm not a C++ expert, but I think it has something to do with the
> option Multi-threaded Debug DLL (/MDd) or Multi-threaded Debug (/MTd) on
> compiler arguments.
>
> Another point, the sdo_test is also requiring this dll when built using
> the
> SDO ant build (I built the SDO using ant build and compiled the sdo_test
> on
> MVS, but I removed the sdo_test dependency from sdo_runtime, otherwise
> it
> would get compiled overwriting the SDO ant build binaries on deploy
> folder).
>
> Doing another tests right now to check whether it is a Multi-threaded
> Debug
> DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
>
> Regards,
> Adriano Crestani
>
> On 8/16/07, Adriano Crestani <ad...@apache.org> wrote:
> >
> > Hi Brady,
> >
> > Yes, I was plaining to do that after this weekend. I had no chance to
> do
> > that so far, cause I was really busy with college's stuffs :(
> >
> > Regards,
> > Adriano Crestani
> >
> > On 8/16/07, Brady Johnson <bj...@roguewave.com> wrote:
> > >
> > >
> > > Adriano,
> > >
> > > You might have seen that both SCA and SDO native now have an ant
> build
> > > infrastructure. I briefly looked at doing the same for DAS, but
> couldn't
> > > get it to compile with "configure, make, make install" at the time,
> and
> > > never got a chance to come back to it.
> > >
> > > I think it should be very easy to copy the SDO ant stuff over to
> DAS,
> > > what do you think?
> > >
> > > --------------------
> > > Brady Johnson
> > > Lead Software Developer - HydraSCA
> > > Rogue Wave Software - brady.johnson@roguewave.com
> > >
> > >
> > > -----Original Message-----
> > > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com]
> On
> > > Behalf Of Adriano Crestani
> > > Sent: Monday, July 23, 2007 11:21 PM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: Re: [SCA Native] preliminary ant build
> > >
> > > Great idea, soon I will try to apply this idea to Native DAS and see
> how
> > > it works. I think the idea could also be easily applied to Native
> SDO,
> > > as it does not have too much dependencies and code generation as
> Native
> > > SCA does.
> > >
> > > A folder ant-core could be created under tuscany/cpp/ folder to
> place
> > > the ant scripts shared by the projects.
> > >
> > > Also, we could add a build.xml under tuscany/ccp/ that builds all 3
> > > subprojects at once, if the 3 to implement this ant build process.
> What
> > > do you think?
> > >
> > > Regards,
> > > Adriano Crestani
> > >
> > > On 7/23/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > >
> > > >
> > > > Correction, it should be like this:
> > > >
> > > >   <target name="compile.core">
> > > >     <cpp-compile
> > > >         srcdir="${core.abs.dir}"
> > > >         objdir="${lib.dir}"
> > > >         infiles="${ core.cpp.files}">
> > > >       <custom-cc-elements>
> > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > >       </custom-cc-elements>
> > > >     </cpp-compile>
> > > >   </target>
> > > >
> > > > --------------------
> > > > Brady Johnson
> > > > Lead Software Developer - HydraSCA
> > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Brady Johnson [mailto:bjohnson@roguewave.com]
> > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: RE: [SCA Native] preliminary ant build
> > > >
> > > >
> > > > Pete,
> > > >
> > > > Good catch. That's an easy fix. I'll submit it with the next patch
> > > > tomorrow. Basically it involves removing SCA_EXPORTS from the
> > > > Tuscany-BaseCompiler and adding it to the runtime/core/src
> targets:
> > > >         compile.core
> > > >         compile.extension
> > > >         compile.model
> > > >         compile.util
> > > >
> > > > Like this:
> > > >   <target name="compile.core">
> > > >     <cpp-compile
> > > >         srcdir="${core.abs.dir}"
> > > >         objdir="${lib.dir}"
> > > >         infiles="${core.cpp.files }"/>
> > > >       <custom-cc-element>
> > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > >       </custom-cc-element>
> > > >   </target>
> > > >
> > > > Tomorrow I'll have the python, ruby, rest, and maybe php
> extensions
> > > > complete.
> > > >
> > > >
> > > > --------------------
> > > > Brady Johnson
> > > > Lead Software Developer - HydraSCA
> > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: Re: [SCA Native] preliminary ant build
> > > >
> > > > I think there is a problem in the extension compilations. The
> > > > SCA_EXPORTS directive should only be set when compiling the
> > > > runtime/core. When compiling for dlls on windows which use the
> core
> > > > dll SCA_EXPORTS must not be set. I guess this means we have to
> move
> > > > the setting of this directive from the definition of the
> > > > Tuscany-BaseCompiler
> > > >
> > > > Cheers,
> > > >
> > > > On 23/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > > > I've applied the patch. How are you creating the patches? I had
> > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > >
> > > > > I've included the changes in the patch to the
> tools/TuscanyDriver
> > > > > build. I haven't tested this and I'm not sure if it works with
> the
> > > > > system.xml etc.
> > > > >
> > > > > Can you do a clean extract as a base for future patches?
> > > > >
> > > > > Cheers,
> > > > >
> > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com> wrote:
> > > > > > I'll give this a go. I should be able to run it on Mac as
> well.
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > On 23/07/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > > >
> > > > > > > I updated the jira1438 with update 3, which includes the
> > > > following:
> > > > > > >         https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > >
> > > > > > >
> > > > > > > - added build.xml for the following dirs:
> > > > > > >    runtime/extensions/build.xml
> > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > >    runtime/extensions/sca/build.xml
> > > > > > >    runtime/extensions/ws/build.xml
> > > > > > >
> > > > > > > - changed system.xml to check for necessary axis, php,
> python,
> > > > > > > rest, and ruby env vars. If they're not  set in the env,
> look
> > > > > > > for them in platform.properties
> > > > > > >
> > > > > > > - changed compile-targets.xml targets
> > > > > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > >
> > > > > > > - added compile-targets.xml target: <cpp-symlink/>
> > > > > > >
> > > > > > > - added library versioning and the
> > > > > > > platform.tuscanySCA.library.version
> > > > > > > platform.properties property
> > > > > > >
> > > > > > > Can someone submit this for me.
> > > > > > >
> > > > > > > The only thing left now is the build.xml for these
> extensions:
> > > > > > > php, python, rest, ruby
> > > > > > >
> > > > > > > WRT testing on macs, I wont have a mac available until next
> > > week.
> > > > > > >
> > > > > > > Thanks
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > brady.johnson@roguewave.com
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > >
> > > > > > >
> > > > > > > I can look into testing it on Mac here. I believe we have
> > > > > > > several mac machines for the purpose.
> > > > > > >
> > > > > > > I'll get back to you soon.
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > brady.johnson@roguewave.com
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > >
> > > > > > > I've taken out the references to tuscany_sca_config.h and
> > > > > > > patched the automake for now with setting -DIS_DARWIN on
> mac.
> > > > > > > Yet to test it on Mac as I need to kick the kids off my
> machine!
> > >
> > > > > > >
> > > > > > > On 19/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > > > > > > Automake generates a config file with lots of standard
> stuff
> > > > > > > > but
> > > >
> > > > > > > > the only  one we need is the IS_DARWIN, which is used in
> 2
> > > > > > > > places. I'll remove the 2 references to this header and
> change
> > >
> > >
> > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> wrote:
> > > > > > > > >
> > > > > > > > > I did the following diff command and got quite a lot of
> > > > > > > > > changes (listed
> > > > > > > > > below):
> > > > > > > > >
> > > > > > > > > # diff tuscany_sca_config.h.in tuscany_sca_config.h
> > > > > > > > >
> > > > > > > > > Are these not needed?
> > > > > > > > >        If not, I can get to work on removing all
> references
> > > > > > > > > to
> > > >
> > > > > > > > > the file.
> > > > > > > > >        If so, then we still need to figure out how to
> create
> > >
> > >
> > > > > > > > > the
> > > > > > > file.
> > > > > > > > >
> > > > > > > > > I just realized, its 23:30, there... Go to bed! ;)
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 0a1
> > > > > > > > > > /* tuscany_sca_config.h.  Generated by configure.  */
> > > > > > > > > 4c5
> > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > ---
> > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > 8c9
> > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > 11c12
> > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > 14c15
> > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > 17c18
> > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > 20c21
> > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > 23c24
> > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > 26c27
> > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > 29c30
> > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > 33c34
> > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > 36c37
> > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > 39c40
> > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > 42c43
> > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > 45c46
> > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > 48c49
> > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > 51c52
> > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > 55c56
> > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > 59c60
> > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > 62c63
> > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > 65c66
> > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > 68c69
> > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > 71c72
> > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > 74c75
> > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > 77c78
> > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > ---
> > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > 80c81
> > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > ---
> > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > 84c85
> > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > ---
> > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > 87c88
> > > > > > > > > < #undef PACKAGE
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > 90c91
> > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > 93c94
> > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > > 96c97
> > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > > 1.0-incubator-M3"
> > > > > > > > > 99c100
> > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > > > > 102c103
> > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > > 105c106
> > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > ---
> > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > 108c109
> > > > > > > > > < #undef VERSION
> > > > > > > > > ---
> > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > 111c112
> > > > > > > > > < #undef const
> > > > > > > > > ---
> > > > > > > > > > /* #undef const */
> > > > > > > > > 116c117
> > > > > > > > > < #undef inline
> > > > > > > > > ---
> > > > > > > > > > /* #undef inline */
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > yeah I figured that... I did exactly the same when
> > > > > > > > > committing changes earlier! I dodn't commit the changes
> > > > > > > > > inthe tools
> > > > folder.
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > >
> > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> wrote:
> > > > > > > > > >
> > > > > > > > > > Ok, I wasn't aware that I had changed the tools.
> > > > > > > > > >
> > > > > > > > > > I simply did a "svn diff . > patch_file" from the
> tuscany
> > > > > > > > > > root
> > > > > > > dir.
> > > > > > > > > > You can disregard the tools changes. I'll look into
> it.
> > > > > > > > > >
> > > > > > > > > > Thanks
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software
> -
> > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > Cool! I've applied this change as well. The update2
> patch
> > > > > > > > > > contained changes to the
> tools/TuscanyDriver/build.xml.
> > > > > > > > > > This
> > > >
> > > > > > > > > > doesn't work so you
> > > > > > > > >
> > > > > > > > > > may want to look at it.
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > If that's all we need the tuscany_sca_config.h file
> for
> > > > > > > > > > > then, yes this
> > > > > > > > > >
> > > > > > > > > > > just got a whole lot easier. We can do the following
> on
> > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > >
> > > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > >  </condition>
> > > > > > > > > > >
> > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > multithreaded="true"
> > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > >
> define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > > > > >    <includepath path="${ tuscanySCA.root.dir}"/>
> <!--
> > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > >    <includepath path="${tuscanySCA.root.src.dir}"/>
> > > > > > > > > > >    <includepath
> > > > > > > > > > > path="${tuscanySCA.root.src.dir}/core/src"/>
> > > > > > > > > > >  </compiler>
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> Software -
> > >
> > >
> > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com>
> > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > I uploaded a patch on top of what you submit to
> svn.
> > > > > > > > > > > >
> > > > > > > > > > > > Here is a description of what I changed:
> > > > > > > > > > > >
> > > > > > > > > > > > - Changed the name of compilers.xml to system.xml.
> > > > > > > > > > > >
> > > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > > platform.properties file that
> > > > > > > > > >
> > > > > > > > > > > > is completely empty.
> > > > > > > > > > > >  That is, all of the platform dependent items are
> > > > > > > > > > > > figured out by
> > > > > > > > > > ant.
> > > > > > > > > > > > If they are set in
> > > > > > > > > > > >  the platform.properties file then they override
> the
> > > > > > > > > > > > ant
> > > > > > > > > > > determination.
> > > > > > > > > > > >
> > > > > > > > > > > > - Better directory path management has been added
> to
> > > > > > > > > > > > the
> > > >
> > > > > > > > > > > > root build.xml and  runtime/core/src/build.xml
> files.
> > > > > > > > > > > >
> > > > > > > > > > > > - The install and clean targets in
> runtime/core/src
> > > > > > > > > > > > have
> > > >
> > > > > > > > > > > > been
> > > > > > > > > > > completed.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > With respect to your latest post regarding
> > > > > > > "tuscany-sca-config.h":
> > > > > > > > > > > > I knew this was a problem on clean systems and had
> > > > > > > > > > > > envisioned either
> > > > > > > > > >
> > > > > > > > > > > > running a script or using a slimmed down
> > > > > > > > > > > > automake/configure to
> > > > > > >
> > > > > > > > > > > > setup
> > > > > > > > > >
> > > > > > > > > > > > this file and any platform specific parameters.
> That's
> > >
> > >
> > > > > > > > > > > > certainly something we'll have to address, what do
> you
> > > > think?
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > The only reason we use this automake generated file
> is
> > > > > > > > > > > to set the IS_DARWIN compiler flag for running on
> Mac OS
> > >
> > > > > > > > > > > X. I
> > > >
> > > > > > > > > > > expect we
> > > > > > >
> > > > > > > > > > > can use
> > > > > > > > >
> > > > > > > > > > > a
> > > > > > > > > >
> > > > > > > > > > > different technique in ant to set this flag. Is
> there a
> > > > > > > "family=mac"
> > > > > > > > > > > or somesuch in ant? The automake simply runs a
> 'uname
> > > -s'
> > > > > > > > > > > command to
> > > > > > > > >
> > > > > > > > > > > figure it out.
> > > > > > > > > > >
> > > > > > > > > > > I think a goal for this shoul be that I can do a
> clean
> > > > > > > > > > > extract from svn and type "ant" in the top level
> > > > > > > > > > > directory
> > > >
> > > > > > > > > > > and it will build with
> > > > > > > > >
> > > > > > > > > > > everything defaulted. We need various pre-reqs
> defined
> > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > + other pre-reqs) but we should try to make this as
> > > > > > > > > > > + simple
> > > >
> > > > > > > > > > > + as
> > > > > > > > > > > possible.
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --------------------
> > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> Software
> > >
> > > > > > > > > > > > -
> > > >
> > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Pete Robbins [mailto:
> robbinspg@googlemail.com]
> > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > > the install dir defaults to sca/deploy so I think
> we
> > > > > > > > > > > > don't need any properties other than overrides.
> > > > > > > > > > > >
> > > > > > > > > > > > I'll check in what I have. so youi can see.
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > > On 18/07/07, Brady Johnson <
> bjohnson@roguewave.com>
> > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Pete,
> > > > > > > > > > > > >
> > > > > > > > > > > > > That's a good idea. Then the only thing that
> really
> > > > > > > > > > > > > need to be set
> > > > > > > > > >
> > > > > > > > > > > > > in platform.properties file would be:
> > > > > > > > > > > > >        tuscanySCA.install.dir
> > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > >
> > > > > > > > > > > > > I'll put that together real quick and upload it.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks
> > > > > > > > > > > > >
> > > > > > > > > > > > > -------------------- Brady Johnson Lead Software
> > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software
> > > >
> > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Pete Robbins
> [mailto:robbinspg@googlemail.com
> > > ]
> > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> robbinspg@googlemail.com
> > > >
> > > > wrote:
> > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks for trying out the ant build scripts.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Regarding core.dir, you're right, the name
> will
> > > > > > > > > > > > > > > need to
> > > > > > > > > > change.
> > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > As for the " tuscanySCA.root.dir" : Your
> > > > > > > > > > > > > > > suggestion
> > > >
> > > > > > > > > > > > > > > will work
> > > > > > > > >
> > > > > > > > > > > > > > > if you only execute ant from the root
> directory,
> > >
> > > > > > > > > > > > > > > but not
> > > > > > >
> > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > from the runtime/core/src directory. That's
> why
> > > > > > > > > > > > > > > I put it
> > > > > > >
> > > > > > > > > > > > > > > in the platform.properties, which is
> accessed by
> > >
> > > > > > > > > > > > > > > all
> > > > > > > > > build.xml's.
> > > > > > > > > >
> > > > > > > > > > > > > > > Its better ant coding style to have anything
> > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > in a properties file, not in an ant
> build.xml
> > > > file.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Yes... I realized that would limit you to
> running
> > > > > > > > > > > > > > ant from
> > > > > > >
> > > > > > > > > > > > > > the
> > > > > > > > >
> > > > > > > > > > > > > > top
> > > > > > > > > > >
> > > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > > >
> > > > > > > > > > > > > > would a better solution be to have a top level
> (or
> > >
> > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > > >  a) imports platform.properties for any
> overrides
> > > > > > > > > > > > > >  b) sets the properties conditional on the
> > > platform.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > >      <condition property=" lib.ext"
> value='.so' '>
> > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > >      <condition property="lib.ext"
> value='.dll' '>
> > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > >      <condition property="lib.ext"
> value='.dylib
> > > '>
> > > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > the build.xml files would all import this top
> level
> > > > file:
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > As for the platform.properties file for
> windows:
> > > > > > > > > > > > > > > The property platform can/should be removed,
> its
> > >
> > >
> > > > > > > > > > > > > > > not
> > > > > > > > > > necessary.
> > > > > > > > > > > > > > > If
> > > > > > > > > > > >
> > > > > > > > > > > > > > > the property "platform.compiler-definition"
> is
> > > > > > > > > > > > > > > set, then
> > > > > > >
> > > > > > > > > > > > > > > that value will be used for the compiler
> > > > > > > > > > > > > > > selection, else
> > > > > > >
> > > > > > > > > > > > > > > it will get set to msvc for windows as can
> be
> > > > > > > > > > > > > > > seen
> > > >
> > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I think the way this should ship is to have
> > > > > > > > > > > > > > > several platform.properties files for the
> > > > different platform:
> > > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > > >        platform.properties.windows
> > > > > > > > > > > > > > >        platform.properties.mac Which will
> each
> > > > > > > > > > > > > > > have values pre
> > > > > > > > > >
> > > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > > >
> > > > > > > > > > > > > > > platform. Then with either configure or a
> shell
> > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > file wil be copied to platform.properties
> and
> > > > > > > > > > > > > > > the directory properties will be set
> > > accordingly.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> Software
> > >
> > >
> > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software -
> > > > > > >
> > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08 AM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I ran into a couple of issues tryingt o run
> this
> > >
> > >
> > > > > > > > > > > > > > > ant
> > > > > > > build.
> > > > > > > > > > > > > > > Firstly I got an error with a path
> > > > > > > > > > > > > > >
> xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > >
> > >
> > > > > > > > > > > > > > > I
> > > >
> > > > > > > > > > > > > > > trcked this
> > > > > > > > > >
> > > > > > > > > > > > > > > down to the fact that the property core.dir
> is
> > > > > > > > > > > > > > > set
> > > >
> > > > > > > > > > > > > > > in the top level build.xml to
> "runtime/core/src"
> > > > > > > > > > > > > > > and in the
> > > > > > >
> > > > > > > > > > > > > > > runtime/core/src/build.xml the same property
> > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > "tuscany/sca/core". It looks to me like the
> > > > > > > > > > > > > > > second
> > > >
> > > > > > > > > > > > > > > defintion
> > > > > > > > >
> > > > > > > > > > > > > > > of core.dir is being ignored. I'm not an ant
> > > > expert ...
> > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > get propagated from higher level build files?
> > > > > > > > > > > > > > > I got around this by changing the name of
> > > > > > > > > > > > > > > core.dir
> > > >
> > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > >
> > > > > > > > > > > > > > > one
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Rather than specifying the paths to the
> source
> > > > > > > > > > > > > > > code etc in the
> > > > > > > > > >
> > > > > > > > > > > > > > > platform.properties I would prefer to set
> these
> > > > > > > > > > > > > > > automatically so
> > > > > > > > > > >
> > > > > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > and then based other properties from this.
> It
> > > > > > > > > > > > > > > seemed to
> > > > > > > > > work!
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > <ro...@googlemail.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > > > I'd like some info on what I need to edit
> in
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > One good thing about automake is that it
> > > > > > > > > > > > > > > > detects
> > > >
> > > > > > > > > > > > > > > > your platform/compiler etc automatically.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I put together some documentation for
> using
> > > > > > > > > > > > > > > > > ant with
> > > > > > >
> > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave
> > > > > > > > > > > > > > > > > Software -
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Using ant to build TuscanySCA Native
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 1. Required Software to build TuscanySCA
> > > > > > > > > > > > > > > > > Native with
> > > > > > > > > ant:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > >        Ant comes installed with almost
> all
> > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > > >        Download: http://ant.apache.org/
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > > > > >        Download:
> > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > >
> http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> starting.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> directory
> > > > > > > > > > > > > > > > > where you
> > > > > > >
> > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > > > > export PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib
> and
> > > > > > > > > > > > > > > > > cpptasks,
> > > > > > >
> > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib So place the
> > > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to your
> > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Windows
> > > > > > > > > > > > > > > > > -------
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> starting.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
> directory
> > > > > > > > > > > > > > > > > where you
> > > > > > >
> > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > set ANT_HOME=c:\ant
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Add %ANT_HOME%\bin to your path.
> > > > > > > > > > > > > > > > > set PATH=%PATH%;%ANT_HOME%\bin
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib
> and
> > > > > > > > > > > > > > > > > cpptasks,
> > > > > > >
> > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > installed in %ANT_HOME%\lib So place the
> > > > > > > > > > > > > > > > > antcontrib and cpptasks
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > jars there.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > %ANT_HOME%\lib, do the
> > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > - create ${ user.home}\.ant\lib
> > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to your
> > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > > Sent: Tuesday, July 17, 2007 1:24 AM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
> ant
> > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks Brady. I'll take a look at this.
> We
> > > > > > > > > > > > > > > > > will need
> > > > > > >
> > > > > > > > > > > > > > > > > doc
> > > > > > > > >
> > > > > > > > > > > > > > > > > as to
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > what the dependencies are (cpptasks etc)
> and
> > >
> > > > > > > > > > > > > > > > > any configuration
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > that is
> > > > > > > > > > > > > > > needed.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 16/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > For anyone interested, I uploaded
> another
> > > > > > > > > > > > > > > > > > patch for this
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > JIRA that
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > makes it work better for windows.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> tuscanySCAnative_ant_update1.tar.gz
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> Lead
> > > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
> Wave
> > > > > > > > > > > > > > > > > > Software
> > > > > > > > >
> > > > > > > > > > > > > > > > > > -
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > <mailto: brady.johnson@roguewave.com>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > From: Brady Johnson
> > > > > > > > > > > > > > > > > > [mailto:bjohnson@roguewave.com]
> > > > > > > > > > > > > > > > > > Sent: Monday, July 16, 2007 10:46 AM
> > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > Subject: [SCA Native] preliminary ant
> > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > This may be the second time you
> receive
> > > > > > > > > > > > > > > > > > this
> > > >
> > > > > > > > > > > > > > > > > > email, the first time
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I sent it with an attachment, which I
> > > > > > > > > > > > > > > > > > later realized that this
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > dist list
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > may reject. So here it is again, w/o
> the
> > > > > > > > > > > > > > > > > > attachment. I
> > > > > > > > >
> > > > > > > > > > > > > > > > > > created
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > a JIRA and put the attachment there:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> https://issues.apache.org/jira/browse/TUSC
> > > > > > > > > > > > > > > > > > AN
> > > > > > > > > > > > > > > > > > Y-1438
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > According to a previous thread titled
> > > > > > > > > > > > > > > > > > "[SCA Native] next
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > release content
> > > > > > > > > > > > > > > > > > [was: Tuscany roadmap]" (I didnt want
> to
> > > > > > > > > > > > > > > > > > add
> > > >
> > > > > > > > > > > > > > > > > > another
> > > > > > > > > > "was"
> > > > > > > > > > > > > > > > > > redirection
> > > > > > > > > > > > > > > > > > ;) ), I have prepared ant build
> scripts
> > > > > > > > > > > > > > > > > > for
> > > > > > > > > > > > > cpp/sca/runtime/core.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > The tar.gz file attached to the jira
> > > > > > > > > > > > > > > > > > should just
> > > > > > > > > > "overlay"
> > > > > > > > > > > > > > > > > > onto the tuscany SCA cpp source code
> > > > > > > > > > > > > > > > > > directory
> > > > > > > > > > structure.
> > > > > > > > > > > > > > > > > > It
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > consists of the following files:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > <tuscanySca Native Src dir>/
> > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > >      |---- build.xml
> > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > >      |---- antscripts/
> > > > > > > > > > > > > > > > > >      |         |
> > > > > > > > > > > > > > > > > >      |         |---- compilers.xml
> > > > > > > > > > > > > > > > > >      |         |----
> compile-targets.xml
> > > > > > > > > > > > > > > > > >      |         |----
> platform.properties
> > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > >      |---- runtime/core/src/build.xml
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > In order to use it, you will need to
> > > > > > > > > > > > > > > > > > modify the platform.properties file.
> This
> > > > > > > > > > > > > > > > > > will later be taken
> > > > > > >
> > > > > > > > > > > > > > > > > > care of
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > by either configure, or maybe just an
> > > > > > > > > > > > > > > > > > install
> > > > > > > script.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Currently it compiles and links
> > > > > > > > > > > > > > > > > > runtime/core/src/tuscany/sca
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > {core, extension, model, util} and
> creates
> > >
> > > > > > > > > > > > libtuscany_sca.so.
> > > > > > > > > > > > > > > > > > The install target installs the lib
> and
> > > > > > > > > > > > > > > > > > the headers from
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > those
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > src directories to the install
> directory
> > > > > > > > > > > > > > > > > > specified
> > > > > > >
> > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Give it a spin and let me know what
> you
> > > > > > > > > > > > > > > > > > think. It shouldnt
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > take much to finish it for the rest of
> > > > > > > > > > > > > > > > > > tuscany
> > > > > > > cpp.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If it works out, we can then discuss
> how
> > > > > > > > > > > > > > > > > > to configure platform.properties.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -------------------- Brady Johnson
> Lead
> > > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
> Wave
> > > > > > > > > > > > > > > > > > Software
> > > > > > > > >
> > > > > > > > > > > > > > > > > > -
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > <ma...@roguewave.com>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> ------------------------------------------
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> --------------------------------------------
> > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> --------------------------------------------
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> ------------------------------------------------
> > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> ------------------------------------------------
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Pete
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> ----------------------------------------------------
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ------
> > > > > > > > > > > > > ----
> > > > > > > > > > > > > --
> > > > > > > > > > > > > --
> > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> ----------------------------------------------------
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ------
> > > > > > > > > > > > > ----
> > > > > > > > > > > > > --
> > > > > > > > > > > > > --
> > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Pete
> > > > > > > > > > > >
> > > > > > > > > > > >
> ------------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > --
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> ------------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > --
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Pete
> > > > > > > > > > >
> > > > > > > > > > >
> --------------------------------------------------------
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > ----
> > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> --------------------------------------------------------
> > >
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > ----
> > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Pete
> > > > > > > > > >
> > > > > > > > > >
> ----------------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> ----------------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Pete
> > > > > > > > >
> > > > > > > > >
> ------------------------------------------------------------
> > >
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> ------------------------------------------------------------
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Pete
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Pete
> > > > > > >
> > > > > > >
> ----------------------------------------------------------------
> > >
> > > > > > > --
> > > > > > > --- To unsubscribe, e-mail:
> > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > For additional commands, e-mail:
> tuscany-dev-help@ws.apache.org
> > > > > > >
> > > > > > >
> > > > > > >
> ----------------------------------------------------------------
> > > > > > > --
> > > > > > > --- To unsubscribe, e-mail:
> > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > For additional commands, e-mail:
> tuscany-dev-help@ws.apache.org
> > > > > > >
> > > > > > >
> > > > > > >
> ----------------------------------------------------------------
> > > > > > > --
> > > > > > > --- To unsubscribe, e-mail:
> > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > For additional commands, e-mail:
> tuscany-dev-help@ws.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Pete
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Pete
> > > > >
> > > >
> > > >
> > > > --
> > > > Pete
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > >
> > > >
> > >
> > >
> ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>

Re: [DAS Native] ant build

Posted by Adriano Crestani <ad...@apache.org>.
Ops, not Multi-threaded Debug DLL (/MDd) or Multi-threaded Debug (/MTd), but
Multi-threaded Debug DLL (/MDd) or Multi-threaded DLL (/MD).

I got the sdo_test running with SDO ant build binaries only if I compile the
sdo_test project on release mode, that is compiled using /MD argument, so
probably the SDO ant build is also compiling the sdo runtime with /MD
argument. It is ok, but shouldn't there be an option to compile it also for
debug? What do you think?

Regards,
Adriano Crestani

On 9/2/07, Adriano Crestani <ad...@apache.org> wrote:
>
> Back from vacation, back to work : )
>
> Brady, I thought the error had something to do with the pc I was using
> while my laptop was getting repaired, but I got it repaired and the error
> was still occurring on my laptop. The error seems rationed to the sdo ant
> build, cause I ignored the DAS ant build and built it like I was building
> before, with the MVS, but got the same error :S. Than I rebuilt the SDO,
> but not using the new sdo build, but the old one, the build.bat, and guess
> what, there was no more error : ).
>
> It is not exactly an error, when I build the SDO using the ant build, my
> DAS requires the dll MSVCP80.dll and with the old SDO build it does not.
> There may be some option that is being set on SDO ant build that is not on
> SDO old build. I'm not a C++ expert, but I think it has something to do with
> the option Multi-threaded Debug DLL (/MDd) or Multi-threaded Debug (/MTd) on
> compiler arguments.
>
> Another point, the sdo_test is also requiring this dll when built using
> the SDO ant build (I built the SDO using ant build and compiled the sdo_test
> on MVS, but I removed the sdo_test dependency from sdo_runtime, otherwise it
> would get compiled overwriting the SDO ant build binaries on deploy folder).
>
> Doing another tests right now to check whether it is a Multi-threaded
> Debug DLL (/MDd) or Multi-threaded Debug (/MTd) problem.
>
> Regards,
> Adriano Crestani
>
> On 8/16/07, Adriano Crestani <ad...@apache.org> wrote:
> >
> > Hi Brady,
> >
> > Yes, I was plaining to do that after this weekend. I had no chance to do
> > that so far, cause I was really busy with college's stuffs :(
> >
> > Regards,
> > Adriano Crestani
> >
> > On 8/16/07, Brady Johnson <bj...@roguewave.com> wrote:
> > >
> > >
> > > Adriano,
> > >
> > > You might have seen that both SCA and SDO native now have an ant build
> > > infrastructure. I briefly looked at doing the same for DAS, but
> > > couldn't
> > > get it to compile with "configure, make, make install" at the time,
> > > and
> > > never got a chance to come back to it.
> > >
> > > I think it should be very easy to copy the SDO ant stuff over to DAS,
> > > what do you think?
> > >
> > > --------------------
> > > Brady Johnson
> > > Lead Software Developer - HydraSCA
> > > Rogue Wave Software - brady.johnson@roguewave.com
> > >
> > >
> > > -----Original Message-----
> > > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> > > Behalf Of Adriano Crestani
> > > Sent: Monday, July 23, 2007 11:21 PM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: Re: [SCA Native] preliminary ant build
> > >
> > > Great idea, soon I will try to apply this idea to Native DAS and see
> > > how
> > > it works. I think the idea could also be easily applied to Native SDO,
> > > as it does not have too much dependencies and code generation as
> > > Native
> > > SCA does.
> > >
> > > A folder ant-core could be created under tuscany/cpp/ folder to place
> > > the ant scripts shared by the projects.
> > >
> > > Also, we could add a build.xml under tuscany/ccp/ that builds all 3
> > > subprojects at once, if the 3 to implement this ant build process.
> > > What
> > > do you think?
> > >
> > > Regards,
> > > Adriano Crestani
> > >
> > > On 7/23/07, Brady Johnson <bjohnson@roguewave.com > wrote:
> > > >
> > > >
> > > > Correction, it should be like this:
> > > >
> > > >   <target name="compile.core">
> > > >     <cpp-compile
> > > >         srcdir="${core.abs.dir}"
> > > >         objdir="${lib.dir}"
> > > >         infiles="${ core.cpp.files}">
> > > >       <custom-cc-elements>
> > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > >       </custom-cc-elements>
> > > >     </cpp-compile>
> > > >   </target>
> > > >
> > > > --------------------
> > > > Brady Johnson
> > > > Lead Software Developer - HydraSCA
> > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > Sent: Monday, July 23, 2007 5:05 PM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: RE: [SCA Native] preliminary ant build
> > > >
> > > >
> > > > Pete,
> > > >
> > > > Good catch. That's an easy fix. I'll submit it with the next patch
> > > > tomorrow. Basically it involves removing SCA_EXPORTS from the
> > > > Tuscany-BaseCompiler and adding it to the runtime/core/src targets:
> > > >         compile.core
> > > >         compile.extension
> > > >         compile.model
> > > >         compile.util
> > > >
> > > > Like this:
> > > >   <target name="compile.core">
> > > >     <cpp-compile
> > > >         srcdir="${core.abs.dir}"
> > > >         objdir="${lib.dir}"
> > > >         infiles="${core.cpp.files }"/>
> > > >       <custom-cc-element>
> > > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > > >       </custom-cc-element>
> > > >   </target>
> > > >
> > > > Tomorrow I'll have the python, ruby, rest, and maybe php extensions
> > > > complete.
> > > >
> > > >
> > > > --------------------
> > > > Brady Johnson
> > > > Lead Software Developer - HydraSCA
> > > > Rogue Wave Software - brady.johnson@roguewave.com
> > > >
> > > >
> > > > -----Original Message-----
> > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > Sent: Monday, July 23, 2007 2:41 PM
> > > > To: tuscany-dev@ws.apache.org
> > > > Subject: Re: [SCA Native] preliminary ant build
> > > >
> > > > I think there is a problem in the extension compilations. The
> > > > SCA_EXPORTS directive should only be set when compiling the
> > > > runtime/core. When compiling for dlls on windows which use the core
> > > > dll SCA_EXPORTS must not be set. I guess this means we have to move
> > > > the setting of this directive from the definition of the
> > > > Tuscany-BaseCompiler
> > > >
> > > > Cheers,
> > > >
> > > > On 23/07/07, Pete Robbins <robbinspg@googlemail.com > wrote:
> > > > > I've applied the patch. How are you creating the patches? I had
> > > > > trouble applying it on Windows using ToirtoiseSVN.
> > > > >
> > > > > I've included the changes in the patch to the tools/TuscanyDriver
> > > > > build. I haven't tested this and I'm not sure if it works with the
> > >
> > > > > system.xml etc.
> > > > >
> > > > > Can you do a clean extract as a base for future patches?
> > > > >
> > > > > Cheers,
> > > > >
> > > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com> wrote:
> > > > > > I'll give this a go. I should be able to run it on Mac as well.
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > On 23/07/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > > >
> > > > > > > I updated the jira1438 with update 3, which includes the
> > > > following:
> > > > > > >         https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > > >
> > > > > > >
> > > > > > > - added build.xml for the following dirs:
> > > > > > >    runtime/extensions/build.xml
> > > > > > >    runtime/extensions/cpp/build.xml
> > > > > > >    runtime/extensions/sca/build.xml
> > > > > > >    runtime/extensions/ws/build.xml
> > > > > > >
> > > > > > > - changed system.xml to check for necessary axis, php, python,
> > > > > > > rest, and ruby env vars. If they're not  set in the env, look
> > > > > > > for them in platform.properties
> > > > > > >
> > > > > > > - changed compile-targets.xml targets
> > > > > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > > >
> > > > > > > - added compile-targets.xml target: <cpp-symlink/>
> > > > > > >
> > > > > > > - added library versioning and the
> > > > > > > platform.tuscanySCA.library.version
> > > > > > > platform.properties property
> > > > > > >
> > > > > > > Can someone submit this for me.
> > > > > > >
> > > > > > > The only thing left now is the build.xml for these extensions:
> > >
> > > > > > > php, python, rest, ruby
> > > > > > >
> > > > > > > WRT testing on macs, I wont have a mac available until next
> > > week.
> > > > > > >
> > > > > > > Thanks
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > brady.johnson@roguewave.com
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Brady Johnson [mailto: bjohnson@roguewave.com ]
> > > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > > >
> > > > > > >
> > > > > > > I can look into testing it on Mac here. I believe we have
> > > > > > > several mac machines for the purpose.
> > > > > > >
> > > > > > > I'll get back to you soon.
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > brady.johnson@roguewave.com
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com ]
> > > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > >
> > > > > > > I've taken out the references to tuscany_sca_config.h and
> > > > > > > patched the automake for now with setting -DIS_DARWIN on mac.
> > > > > > > Yet to test it on Mac as I need to kick the kids off my
> > > machine!
> > > > > > >
> > > > > > > On 19/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > > > > > > Automake generates a config file with lots of standard stuff
> > >
> > > > > > > > but
> > > >
> > > > > > > > the only  one we need is the IS_DARWIN, which is used in  2
> > > > > > > > places. I'll remove the 2 references to this header and
> > > change
> > >
> > > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > > > > >
> > > > > > > > > I did the following diff command and got quite a lot of
> > > > > > > > > changes (listed
> > > > > > > > > below):
> > > > > > > > >
> > > > > > > > > # diff tuscany_sca_config.h.in tuscany_sca_config.h
> > > > > > > > >
> > > > > > > > > Are these not needed?
> > > > > > > > >        If not, I can get to work on removing all
> > > references
> > > > > > > > > to
> > > >
> > > > > > > > > the file.
> > > > > > > > >        If so, then we still need to figure out how to
> > > create
> > >
> > > > > > > > > the
> > > > > > > file.
> > > > > > > > >
> > > > > > > > > I just realized, its 23:30, there... Go to bed! ;)
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > 0a1
> > > > > > > > > > /* tuscany_sca_config.h.  Generated by configure.  */
> > > > > > > > > 4c5
> > > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > > ---
> > > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > > 8c9
> > > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > > 11c12
> > > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > > 14c15
> > > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > > 17c18
> > > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > > 20c21
> > > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > > 23c24
> > > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > > 26c27
> > > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > > 29c30
> > > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > > 33c34
> > > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > > 36c37
> > > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > > 39c40
> > > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > > 42c43
> > > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > > 45c46
> > > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > > 48c49
> > > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > > 51c52
> > > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > > 55c56
> > > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > > 59c60
> > > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > > ---
> > > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > > 62c63
> > > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > > 65c66
> > > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > > 68c69
> > > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > > 71c72
> > > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > > 74c75
> > > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > > ---
> > > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > > 77c78
> > > > > > > > > < #undef HAVE__BOOL
> > > > > > > > > ---
> > > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > > 80c81
> > > > > > > > > < #undef IS_DARWIN
> > > > > > > > > ---
> > > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > > 84c85
> > > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > > ---
> > > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > > 87c88
> > > > > > > > > < #undef PACKAGE
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > > 90c91
> > > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > > 93c94
> > > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > > 96c97
> > > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > > 1.0-incubator-M3"
> > > > > > > > > 99c100
> > > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > > > > 102c103
> > > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > > ---
> > > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > > 105c106
> > > > > > > > > < #undef STDC_HEADERS
> > > > > > > > > ---
> > > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > > 108c109
> > > > > > > > > < #undef VERSION
> > > > > > > > > ---
> > > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > > 111c112
> > > > > > > > > < #undef const
> > > > > > > > > ---
> > > > > > > > > > /* #undef const */
> > > > > > > > > 116c117
> > > > > > > > > < #undef inline
> > > > > > > > > ---
> > > > > > > > > > /* #undef inline */
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com ]
> > > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > yeah I figured that... I did exactly the same when
> > > > > > > > > committing changes earlier! I dodn't commit the changes
> > > > > > > > > inthe tools
> > > > folder.
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > >
> > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > >
> > > > > > > > > > Ok, I wasn't aware that I had changed the tools.
> > > > > > > > > >
> > > > > > > > > > I simply did a "svn diff . > patch_file" from the
> > > tuscany
> > > > > > > > > > root
> > > > > > > dir.
> > > > > > > > > > You can disregard the tools changes. I'll look into it.
> > > > > > > > > >
> > > > > > > > > > Thanks
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > >
> > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > Cool! I've applied this change as well. The update2
> > > patch
> > > > > > > > > > contained changes to the tools/TuscanyDriver/build.xml.
> > > > > > > > > > This
> > > >
> > > > > > > > > > doesn't work so you
> > > > > > > > >
> > > > > > > > > > may want to look at it.
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > If that's all we need the tuscany_sca_config.h file
> > > for
> > > > > > > > > > > then, yes this
> > > > > > > > > >
> > > > > > > > > > > just got a whole lot easier. We can do the following
> > > on
> > > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > > >
> > > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > > >    <os family="mac"/>
> > > > > > > > > > >  </condition>
> > > > > > > > > > >
> > > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > > multithreaded="true"
> > > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > > > > >    <includepath path="${ tuscanySCA.root.dir}"/> <!--
> > > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > > >    <includepath path="${tuscanySCA.root.src.dir}"/>
> > > > > > > > > > >    <includepath
> > > > > > > > > > > path="${tuscanySCA.root.src.dir}/core/src"/>
> > > > > > > > > > >  </compiler>
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software
> > > -
> > >
> > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com>
> > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > I uploaded a patch on top of what you submit to svn.
> > >
> > > > > > > > > > > >
> > > > > > > > > > > > Here is a description of what I changed:
> > > > > > > > > > > >
> > > > > > > > > > > > - Changed the name of compilers.xml to system.xml.
> > > > > > > > > > > >
> > > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > > platform.properties file that
> > > > > > > > > >
> > > > > > > > > > > > is completely empty.
> > > > > > > > > > > >  That is, all of the platform dependent items are
> > > > > > > > > > > > figured out by
> > > > > > > > > > ant.
> > > > > > > > > > > > If they are set in
> > > > > > > > > > > >  the platform.properties file then they override the
> > > > > > > > > > > > ant
> > > > > > > > > > > determination.
> > > > > > > > > > > >
> > > > > > > > > > > > - Better directory path management has been added to
> > > > > > > > > > > > the
> > > >
> > > > > > > > > > > > root build.xml and  runtime/core/src/build.xml
> > > files.
> > > > > > > > > > > >
> > > > > > > > > > > > - The install and clean targets in runtime/core/src
> > > > > > > > > > > > have
> > > >
> > > > > > > > > > > > been
> > > > > > > > > > > completed.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > With respect to your latest post regarding
> > > > > > > "tuscany-sca-config.h":
> > > > > > > > > > > > I knew this was a problem on clean systems and had
> > > > > > > > > > > > envisioned either
> > > > > > > > > >
> > > > > > > > > > > > running a script or using a slimmed down
> > > > > > > > > > > > automake/configure to
> > > > > > >
> > > > > > > > > > > > setup
> > > > > > > > > >
> > > > > > > > > > > > this file and any platform specific parameters.
> > > That's
> > >
> > > > > > > > > > > > certainly something we'll have to address, what do
> > > you
> > > > think?
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > The only reason we use this automake generated file is
> > > > > > > > > > > to set the IS_DARWIN compiler flag for running on Mac
> > > OS
> > >
> > > > > > > > > > > X. I
> > > >
> > > > > > > > > > > expect we
> > > > > > >
> > > > > > > > > > > can use
> > > > > > > > >
> > > > > > > > > > > a
> > > > > > > > > >
> > > > > > > > > > > different technique in ant to set this flag. Is there
> > > a
> > > > > > > "family=mac"
> > > > > > > > > > > or somesuch in ant? The automake simply runs a 'uname
> > > -s'
> > > > > > > > > > > command to
> > > > > > > > >
> > > > > > > > > > > figure it out.
> > > > > > > > > > >
> > > > > > > > > > > I think a goal for this shoul be that I can do a clean
> > >
> > > > > > > > > > > extract from svn and type "ant" in the top level
> > > > > > > > > > > directory
> > > >
> > > > > > > > > > > and it will build with
> > > > > > > > >
> > > > > > > > > > > everything defaulted. We need various pre-reqs defined
> > > > > > > > > > > (SDO loccation,
> > > > > > > > > > > + other pre-reqs) but we should try to make this as
> > > > > > > > > > > + simple
> > > >
> > > > > > > > > > > + as
> > > > > > > > > > > possible.
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --------------------
> > > > > > > > > > > > Brady Johnson
> > > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
> > > Software
> > >
> > > > > > > > > > > > -
> > > >
> > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com
> > > ]
> > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > > the install dir defaults to sca/deploy so I think we
> > >
> > > > > > > > > > > > don't need any properties other than overrides.
> > > > > > > > > > > >
> > > > > > > > > > > > I'll check in what I have. so youi can see.
> > > > > > > > > > > >
> > > > > > > > > > > > Cheers,
> > > > > > > > > > > >
> > > > > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Pete,
> > > > > > > > > > > > >
> > > > > > > > > > > > > That's a good idea. Then the only thing that
> > > really
> > > > > > > > > > > > > need to be set
> > > > > > > > > >
> > > > > > > > > > > > > in platform.properties file would be:
> > > > > > > > > > > > >        tuscanySCA.install.dir
> > > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > > >
> > > > > > > > > > > > > I'll put that together real quick and upload it.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks
> > > > > > > > > > > > >
> > > > > > > > > > > > > -------------------- Brady Johnson Lead Software
> > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software
> > > >
> > > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com
> > > ]
> > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 18/07/07, Pete Robbins <
> > > robbinspg@googlemail.com>
> > > > wrote:
> > > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks for trying out the ant build scripts.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Regarding core.dir, you're right, the name
> > > will
> > > > > > > > > > > > > > > need to
> > > > > > > > > > change.
> > > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > As for the " tuscanySCA.root.dir" : Your
> > > > > > > > > > > > > > > suggestion
> > > >
> > > > > > > > > > > > > > > will work
> > > > > > > > >
> > > > > > > > > > > > > > > if you only execute ant from the root
> > > directory,
> > >
> > > > > > > > > > > > > > > but not
> > > > > > >
> > > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > from the runtime/core/src directory. That's
> > > why
> > > > > > > > > > > > > > > I put it
> > > > > > >
> > > > > > > > > > > > > > > in the platform.properties, which is accessed
> > > by
> > >
> > > > > > > > > > > > > > > all
> > > > > > > > > build.xml's.
> > > > > > > > > >
> > > > > > > > > > > > > > > Its better ant coding style to have anything
> > > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > in a properties file, not in an ant build.xml
> > > > file.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Yes... I realized that would limit you to
> > > running
> > > > > > > > > > > > > > ant from
> > > > > > >
> > > > > > > > > > > > > > the
> > > > > > > > >
> > > > > > > > > > > > > > top
> > > > > > > > > > >
> > > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > > >
> > > > > > > > > > > > > > would a better solution be to have a top level
> > > (or
> > >
> > > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > > >  a) imports platform.properties for any
> > > overrides
> > > > > > > > > > > > > >  b) sets the properties conditional on the
> > > platform.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > e.g.
> > > > > > > > > > > > > >      <condition property=" lib.ext" value='.so'
> > > '>
> > > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > >      <condition property="lib.ext" value='.dll'
> > > '>
> > > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > >      <condition property="lib.ext" value='.dylib
> > > '>
> > > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > the build.xml files would all import this top
> > > level
> > > > file:
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > As for the platform.properties file for
> > > windows:
> > > > > > > > > > > > > > > The property platform can/should be removed,
> > > its
> > >
> > > > > > > > > > > > > > > not
> > > > > > > > > > necessary.
> > > > > > > > > > > > > > > If
> > > > > > > > > > > >
> > > > > > > > > > > > > > > the property "platform.compiler-definition" is
> > > > > > > > > > > > > > > set, then
> > > > > > >
> > > > > > > > > > > > > > > that value will be used for the compiler
> > > > > > > > > > > > > > > selection, else
> > > > > > >
> > > > > > > > > > > > > > > it will get set to msvc for windows as can be
> > > > > > > > > > > > > > > seen
> > > >
> > > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I think the way this should ship is to have
> > > > > > > > > > > > > > > several platform.properties files for the
> > > > different platform:
> > > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > > >        platform.properties.windows
> > > > > > > > > > > > > > >        platform.properties.mac Which will each
> > > > > > > > > > > > > > > have values pre
> > > > > > > > > >
> > > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > > >
> > > > > > > > > > > > > > > platform. Then with either configure or a
> > > shell
> > > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > file wil be copied to platform.properties and
> > > > > > > > > > > > > > > the directory properties will be set
> > > accordingly.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > Software
> > >
> > > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software -
> > > > > > >
> > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > [mailto: robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08 AM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > > build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I ran into a couple of issues tryingt o run
> > > this
> > >
> > > > > > > > > > > > > > > ant
> > > > > > > build.
> > > > > > > > > > > > > > > Firstly I got an error with a path
> > > > > > > > > > > > > > >
> > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> > >
> > > > > > > > > > > > > > > I
> > > >
> > > > > > > > > > > > > > > trcked this
> > > > > > > > > >
> > > > > > > > > > > > > > > down to the fact that the property core.dir is
> > > > > > > > > > > > > > > set
> > > >
> > > > > > > > > > > > > > > in the top level build.xml to
> > > "runtime/core/src"
> > > > > > > > > > > > > > > and in the
> > > > > > >
> > > > > > > > > > > > > > > runtime/core/src/build.xml the same property
> > > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > "tuscany/sca/core". It looks to me like the
> > > > > > > > > > > > > > > second
> > > >
> > > > > > > > > > > > > > > defintion
> > > > > > > > >
> > > > > > > > > > > > > > > of core.dir is being ignored. I'm not an ant
> > > > expert ...
> > > > > > > > > > > > > > > do properties
> > > > > > > > > > > > > get propagated from higher level build files?
> > > > > > > > > > > > > > > I got around this by changing the name of
> > > > > > > > > > > > > > > core.dir
> > > >
> > > > > > > > > > > > > > > to src.dir in
> > > > > > > > > > >
> > > > > > > > > > > > > > > one
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Rather than specifying the paths to the source
> > >
> > > > > > > > > > > > > > > code etc in the
> > > > > > > > > >
> > > > > > > > > > > > > > > platform.properties I would prefer to set
> > > these
> > > > > > > > > > > > > > > automatically so
> > > > > > > > > > >
> > > > > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > and then based other properties from this. It
> > > > > > > > > > > > > > > seemed to
> > > > > > > > > work!
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > > <ro...@googlemail.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > > > I'd like some info on what I need to edit in
> > >
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > One good thing about automake is that it
> > > > > > > > > > > > > > > > detects
> > > >
> > > > > > > > > > > > > > > > your platform/compiler etc automatically.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I put together some documentation for
> > > using
> > > > > > > > > > > > > > > > > ant with
> > > > > > >
> > > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave
> > > > > > > > > > > > > > > > > Software -
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Using ant to build TuscanySCA Native
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 1. Required Software to build TuscanySCA
> > > > > > > > > > > > > > > > > Native with
> > > > > > > > > ant:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > > >        Ant comes installed with almost all
> > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > distributions
> > > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > > >        Download: http://ant.apache.org/
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > > > > >        Download:
> > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/cc.html
> > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> > > starting.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the directory
> > > > > > > > > > > > > > > > > where you
> > > > > > >
> > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > > > > export PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib and
> > > > > > > > > > > > > > > > > cpptasks,
> > > > > > >
> > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > installed in $ANT_HOME/lib So place the
> > > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to your
> > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Windows
> > > > > > > > > > > > > > > > > -------
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
> > > starting.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Set the ANT_HOME variable to the directory
> > >
> > > > > > > > > > > > > > > > > where you
> > > > > > >
> > > > > > > > > > > > > > > > > install
> > > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > > set ANT_HOME=c:\ant
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Add %ANT_HOME%\bin to your path.
> > > > > > > > > > > > > > > > > set PATH=%PATH%;%ANT_HOME%\bin
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib and
> > >
> > > > > > > > > > > > > > > > > cpptasks,
> > > > > > >
> > > > > > > > > > > > > > > > > should be
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > installed in %ANT_HOME%\lib So place the
> > > > > > > > > > > > > > > > > antcontrib and cpptasks
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > jars there.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > > %ANT_HOME%\lib, do the
> > > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > > - create ${ user.home}\.ant\lib
> > > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Avoid adding optional ant tasks to your
> > > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com ]
> > > > > > > > > > > > > > > > > Sent: Tuesday, July 17, 2007 1:24 AM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks Brady. I'll take a look at this. We
> > >
> > > > > > > > > > > > > > > > > will need
> > > > > > >
> > > > > > > > > > > > > > > > > doc
> > > > > > > > >
> > > > > > > > > > > > > > > > > as to
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > what the dependencies are (cpptasks etc)
> > > and
> > >
> > > > > > > > > > > > > > > > > any configuration
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > that is
> > > > > > > > > > > > > > > needed.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On 16/07/07, Brady Johnson
> > > > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > For anyone interested, I uploaded
> > > another
> > > > > > > > > > > > > > > > > > patch for this
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > JIRA that
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > makes it work better for windows.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > >        tuscanySCAnative_ant_update1.tar.gz
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave
> > >
> > > > > > > > > > > > > > > > > > Software
> > > > > > > > >
> > > > > > > > > > > > > > > > > > -
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > <mailto: brady.johnson@roguewave.com>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > > From: Brady Johnson
> > > > > > > > > > > > > > > > > > [mailto:bjohnson@roguewave.com ]
> > > > > > > > > > > > > > > > > > Sent: Monday, July 16, 2007 10:46 AM
> > > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > > Subject: [SCA Native] preliminary ant
> > > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > This may be the second time you receive
> > > > > > > > > > > > > > > > > > this
> > > >
> > > > > > > > > > > > > > > > > > email, the first time
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I sent it with an attachment, which I
> > > > > > > > > > > > > > > > > > later realized that this
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > dist list
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > may reject. So here it is again, w/o the
> > > > > > > > > > > > > > > > > > attachment. I
> > > > > > > > >
> > > > > > > > > > > > > > > > > > created
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > a JIRA and put the attachment there:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > https://issues.apache.org/jira/browse/TUSC
> > > > > > > > > > > > > > > > > > AN
> > > > > > > > > > > > > > > > > > Y-1438
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > According to a previous thread titled
> > > > > > > > > > > > > > > > > > "[SCA Native] next
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > release content
> > > > > > > > > > > > > > > > > > [was: Tuscany roadmap]" (I didnt want to
> > >
> > > > > > > > > > > > > > > > > > add
> > > >
> > > > > > > > > > > > > > > > > > another
> > > > > > > > > > "was"
> > > > > > > > > > > > > > > > > > redirection
> > > > > > > > > > > > > > > > > > ;) ), I have prepared ant build scripts
> > > > > > > > > > > > > > > > > > for
> > > > > > > > > > > > > cpp/sca/runtime/core.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > The tar.gz file attached to the jira
> > > > > > > > > > > > > > > > > > should just
> > > > > > > > > > "overlay"
> > > > > > > > > > > > > > > > > > onto the tuscany SCA cpp source code
> > > > > > > > > > > > > > > > > > directory
> > > > > > > > > > structure.
> > > > > > > > > > > > > > > > > > It
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > consists of the following files:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > <tuscanySca Native Src dir>/
> > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > >      |---- build.xml
> > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > >      |---- antscripts/
> > > > > > > > > > > > > > > > > >      |         |
> > > > > > > > > > > > > > > > > >      |         |---- compilers.xml
> > > > > > > > > > > > > > > > > >      |         |---- compile-targets.xml
> > > > > > > > > > > > > > > > > >      |         |---- platform.properties
> > > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > > >      |---- runtime/core/src/build.xml
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > In order to use it, you will need to
> > > > > > > > > > > > > > > > > > modify the platform.properties file.
> > > This
> > > > > > > > > > > > > > > > > > will later be taken
> > > > > > >
> > > > > > > > > > > > > > > > > > care of
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > by either configure, or maybe just an
> > > > > > > > > > > > > > > > > > install
> > > > > > > script.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Currently it compiles and links
> > > > > > > > > > > > > > > > > > runtime/core/src/tuscany/sca
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > {core, extension, model, util} and
> > > creates
> > > > > > > > > > > > libtuscany_sca.so.
> > > > > > > > > > > > > > > > > > The install target installs the lib and
> > > > > > > > > > > > > > > > > > the headers from
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > those
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > src directories to the install directory
> > >
> > > > > > > > > > > > > > > > > > specified
> > > > > > >
> > > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Give it a spin and let me know what you
> > > > > > > > > > > > > > > > > > think. It shouldnt
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > > take much to finish it for the rest of
> > > > > > > > > > > > > > > > > > tuscany
> > > > > > > cpp.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If it works out, we can then discuss how
> > >
> > > > > > > > > > > > > > > > > > to configure platform.properties.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave
> > > > > > > > > > > > > > > > > > Software
> > > > > > > > >
> > > > > > > > > > > > > > > > > > -
> > > > > > > > > >
> > > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > > <mailto: brady.johnson@roguewave.com>
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > ------------------------------------------
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > --------------------------------------------
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > --------------------------------------------
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > ------------------------------------------------
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > ------------------------------------------------
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Pete
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > ----------------------------------------------------
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ------
> > > > > > > > > > > > > ----
> > > > > > > > > > > > > --
> > > > > > > > > > > > > --
> > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > ----------------------------------------------------
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ------
> > > > > > > > > > > > > ----
> > > > > > > > > > > > > --
> > > > > > > > > > > > > --
> > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Pete
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > ------------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > --
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > ------------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > --
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Pete
> > > > > > > > > > >
> > > > > > > > > > >
> > > --------------------------------------------------------
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > ----
> > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > --------------------------------------------------------
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > ----
> > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Pete
> > > > > > > > > >
> > > > > > > > > >
> > > ----------------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > ----------------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Pete
> > > > > > > > >
> > > > > > > > >
> > > ------------------------------------------------------------
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > <tu...@ws.apache.org>
> >
> > ...
>
> [Message clipped]

RE: [DAS Native] ant build

Posted by Brady Johnson <bj...@roguewave.com>.
Adriano,

I'll try to look into this tomorrow. In the meantime, there is a file
generated in the destination directory (where the object files and/or
library is written) by ant called history.xml. If you look at the
signature attribute of the <processor/> element you can see the compiler
command line generated by ant. Hopefully this will help out.

--------------------
Brady Johnson
Lead Software Developer - HydraSCA
Rogue Wave Software - brady.johnson@roguewave.com

-----Original Message-----
From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
Behalf Of Adriano Crestani
Sent: Sunday, September 02, 2007 1:36 PM
To: tuscany-dev@ws.apache.org
Subject: Re: [DAS Native] ant build

Back from vacation, back to work : )

Brady, I thought the error had something to do with the pc I was using
while
my laptop was getting repaired, but I got it repaired and the error was
still occurring on my laptop. The error seems rationed to the sdo ant
build,
cause I ignored the DAS ant build and built it like I was building
before,
with the MVS, but got the same error :S. Than I rebuilt the SDO, but not
using the new sdo build, but the old one, the build.bat, and guess what,
there was no more error : ).

It is not exactly an error, when I build the SDO using the ant build, my
DAS
requires the dll MSVCP80.dll and with the old SDO build it does not.
There
may be some option that is being set on SDO ant build that is not on SDO
old
build. I'm not a C++ expert, but I think it has something to do with the
option Multi-threaded Debug DLL (/MDd) or Multi-threaded Debug (/MTd) on
compiler arguments.

Another point, the sdo_test is also requiring this dll when built using
the
SDO ant build (I built the SDO using ant build and compiled the sdo_test
on
MVS, but I removed the sdo_test dependency from sdo_runtime, otherwise
it
would get compiled overwriting the SDO ant build binaries on deploy
folder).

Doing another tests right now to check whether it is a Multi-threaded
Debug
DLL (/MDd) or Multi-threaded Debug (/MTd) problem.

Regards,
Adriano Crestani

On 8/16/07, Adriano Crestani <ad...@apache.org> wrote:
>
> Hi Brady,
>
> Yes, I was plaining to do that after this weekend. I had no chance to
do
> that so far, cause I was really busy with college's stuffs :(
>
> Regards,
> Adriano Crestani
>
> On 8/16/07, Brady Johnson <bj...@roguewave.com> wrote:
> >
> >
> > Adriano,
> >
> > You might have seen that both SCA and SDO native now have an ant
build
> > infrastructure. I briefly looked at doing the same for DAS, but
couldn't
> > get it to compile with "configure, make, make install" at the time,
and
> > never got a chance to come back to it.
> >
> > I think it should be very easy to copy the SDO ant stuff over to
DAS,
> > what do you think?
> >
> > --------------------
> > Brady Johnson
> > Lead Software Developer - HydraSCA
> > Rogue Wave Software - brady.johnson@roguewave.com
> >
> >
> > -----Original Message-----
> > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com]
On
> > Behalf Of Adriano Crestani
> > Sent: Monday, July 23, 2007 11:21 PM
> > To: tuscany-dev@ws.apache.org
> > Subject: Re: [SCA Native] preliminary ant build
> >
> > Great idea, soon I will try to apply this idea to Native DAS and see
how
> > it works. I think the idea could also be easily applied to Native
SDO,
> > as it does not have too much dependencies and code generation as
Native
> > SCA does.
> >
> > A folder ant-core could be created under tuscany/cpp/ folder to
place
> > the ant scripts shared by the projects.
> >
> > Also, we could add a build.xml under tuscany/ccp/ that builds all 3
> > subprojects at once, if the 3 to implement this ant build process.
What
> > do you think?
> >
> > Regards,
> > Adriano Crestani
> >
> > On 7/23/07, Brady Johnson <bj...@roguewave.com> wrote:
> > >
> > >
> > > Correction, it should be like this:
> > >
> > >   <target name="compile.core">
> > >     <cpp-compile
> > >         srcdir="${core.abs.dir}"
> > >         objdir="${lib.dir}"
> > >         infiles="${ core.cpp.files}">
> > >       <custom-cc-elements>
> > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > >       </custom-cc-elements>
> > >     </cpp-compile>
> > >   </target>
> > >
> > > --------------------
> > > Brady Johnson
> > > Lead Software Developer - HydraSCA
> > > Rogue Wave Software - brady.johnson@roguewave.com
> > >
> > >
> > > -----Original Message-----
> > > From: Brady Johnson [mailto:bjohnson@roguewave.com]
> > > Sent: Monday, July 23, 2007 5:05 PM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: RE: [SCA Native] preliminary ant build
> > >
> > >
> > > Pete,
> > >
> > > Good catch. That's an easy fix. I'll submit it with the next patch
> > > tomorrow. Basically it involves removing SCA_EXPORTS from the
> > > Tuscany-BaseCompiler and adding it to the runtime/core/src
targets:
> > >         compile.core
> > >         compile.extension
> > >         compile.model
> > >         compile.util
> > >
> > > Like this:
> > >   <target name="compile.core">
> > >     <cpp-compile
> > >         srcdir="${core.abs.dir}"
> > >         objdir="${lib.dir}"
> > >         infiles="${core.cpp.files }"/>
> > >       <custom-cc-element>
> > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > >       </custom-cc-element>
> > >   </target>
> > >
> > > Tomorrow I'll have the python, ruby, rest, and maybe php
extensions
> > > complete.
> > >
> > >
> > > --------------------
> > > Brady Johnson
> > > Lead Software Developer - HydraSCA
> > > Rogue Wave Software - brady.johnson@roguewave.com
> > >
> > >
> > > -----Original Message-----
> > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > Sent: Monday, July 23, 2007 2:41 PM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: Re: [SCA Native] preliminary ant build
> > >
> > > I think there is a problem in the extension compilations. The
> > > SCA_EXPORTS directive should only be set when compiling the
> > > runtime/core. When compiling for dlls on windows which use the
core
> > > dll SCA_EXPORTS must not be set. I guess this means we have to
move
> > > the setting of this directive from the definition of the
> > > Tuscany-BaseCompiler
> > >
> > > Cheers,
> > >
> > > On 23/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > > I've applied the patch. How are you creating the patches? I had
> > > > trouble applying it on Windows using ToirtoiseSVN.
> > > >
> > > > I've included the changes in the patch to the
tools/TuscanyDriver
> > > > build. I haven't tested this and I'm not sure if it works with
the
> > > > system.xml etc.
> > > >
> > > > Can you do a clean extract as a base for future patches?
> > > >
> > > > Cheers,
> > > >
> > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com> wrote:
> > > > > I'll give this a go. I should be able to run it on Mac as
well.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > On 23/07/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > >
> > > > > > I updated the jira1438 with update 3, which includes the
> > > following:
> > > > > >         https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > >
> > > > > >
> > > > > > - added build.xml for the following dirs:
> > > > > >    runtime/extensions/build.xml
> > > > > >    runtime/extensions/cpp/build.xml
> > > > > >    runtime/extensions/sca/build.xml
> > > > > >    runtime/extensions/ws/build.xml
> > > > > >
> > > > > > - changed system.xml to check for necessary axis, php,
python,
> > > > > > rest, and ruby env vars. If they're not  set in the env,
look
> > > > > > for them in platform.properties
> > > > > >
> > > > > > - changed compile-targets.xml targets
> > > > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > >
> > > > > > - added compile-targets.xml target: <cpp-symlink/>
> > > > > >
> > > > > > - added library versioning and the
> > > > > > platform.tuscanySCA.library.version
> > > > > > platform.properties property
> > > > > >
> > > > > > Can someone submit this for me.
> > > > > >
> > > > > > The only thing left now is the build.xml for these
extensions:
> > > > > > php, python, rest, ruby
> > > > > >
> > > > > > WRT testing on macs, I wont have a mac available until next
> > week.
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > > --------------------
> > > > > > Brady Johnson
> > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > brady.johnson@roguewave.com
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > >
> > > > > >
> > > > > > I can look into testing it on Mac here. I believe we have
> > > > > > several mac machines for the purpose.
> > > > > >
> > > > > > I'll get back to you soon.
> > > > > >
> > > > > > --------------------
> > > > > > Brady Johnson
> > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > brady.johnson@roguewave.com
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > >
> > > > > > I've taken out the references to tuscany_sca_config.h and
> > > > > > patched the automake for now with setting -DIS_DARWIN on
mac.
> > > > > > Yet to test it on Mac as I need to kick the kids off my
machine!
> >
> > > > > >
> > > > > > On 19/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > > > > > Automake generates a config file with lots of standard
stuff
> > > > > > > but
> > >
> > > > > > > the only  one we need is the IS_DARWIN, which is used in
2
> > > > > > > places. I'll remove the 2 references to this header and
change
> >
> >
> > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
wrote:
> > > > > > > >
> > > > > > > > I did the following diff command and got quite a lot of
> > > > > > > > changes (listed
> > > > > > > > below):
> > > > > > > >
> > > > > > > > # diff tuscany_sca_config.h.in tuscany_sca_config.h
> > > > > > > >
> > > > > > > > Are these not needed?
> > > > > > > >        If not, I can get to work on removing all
references
> > > > > > > > to
> > >
> > > > > > > > the file.
> > > > > > > >        If so, then we still need to figure out how to
create
> >
> >
> > > > > > > > the
> > > > > > file.
> > > > > > > >
> > > > > > > > I just realized, its 23:30, there... Go to bed! ;)
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > > Brady Johnson
> > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > > brady.johnson@roguewave.com
> > > > > > > >
> > > > > > > >
> > > > > > > > 0a1
> > > > > > > > > /* tuscany_sca_config.h.  Generated by configure.  */
> > > > > > > > 4c5
> > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > ---
> > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > 8c9
> > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > 11c12
> > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > 14c15
> > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > ---
> > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > 17c18
> > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > ---
> > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > 20c21
> > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > 23c24
> > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > 26c27
> > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > ---
> > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > 29c30
> > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > ---
> > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > 33c34
> > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > ---
> > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > 36c37
> > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > 39c40
> > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > 42c43
> > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > 45c46
> > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > ---
> > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > 48c49
> > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > 51c52
> > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > 55c56
> > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > ---
> > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > 59c60
> > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > ---
> > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > 62c63
> > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > 65c66
> > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > 68c69
> > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > 71c72
> > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > 74c75
> > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > ---
> > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > 77c78
> > > > > > > > < #undef HAVE__BOOL
> > > > > > > > ---
> > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > 80c81
> > > > > > > > < #undef IS_DARWIN
> > > > > > > > ---
> > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > 84c85
> > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > ---
> > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > 87c88
> > > > > > > > < #undef PACKAGE
> > > > > > > > ---
> > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > 90c91
> > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > ---
> > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > 93c94
> > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > ---
> > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > 96c97
> > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > ---
> > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > 1.0-incubator-M3"
> > > > > > > > 99c100
> > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > ---
> > > > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > > > 102c103
> > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > ---
> > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > 105c106
> > > > > > > > < #undef STDC_HEADERS
> > > > > > > > ---
> > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > 108c109
> > > > > > > > < #undef VERSION
> > > > > > > > ---
> > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > 111c112
> > > > > > > > < #undef const
> > > > > > > > ---
> > > > > > > > > /* #undef const */
> > > > > > > > 116c117
> > > > > > > > < #undef inline
> > > > > > > > ---
> > > > > > > > > /* #undef inline */
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > >
> > > > > > > > yeah I figured that... I did exactly the same when
> > > > > > > > committing changes earlier! I dodn't commit the changes
> > > > > > > > inthe tools
> > > folder.
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
wrote:
> > > > > > > > >
> > > > > > > > > Ok, I wasn't aware that I had changed the tools.
> > > > > > > > >
> > > > > > > > > I simply did a "svn diff . > patch_file" from the
tuscany
> > > > > > > > > root
> > > > > > dir.
> > > > > > > > > You can disregard the tools changes. I'll look into
it.
> > > > > > > > >
> > > > > > > > > Thanks
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software
-
> > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > Cool! I've applied this change as well. The update2
patch
> > > > > > > > > contained changes to the
tools/TuscanyDriver/build.xml.
> > > > > > > > > This
> > >
> > > > > > > > > doesn't work so you
> > > > > > > >
> > > > > > > > > may want to look at it.
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > >
> > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > wrote:
> > > > > > > > > >
> > > > > > > > > > If that's all we need the tuscany_sca_config.h file
for
> > > > > > > > > > then, yes this
> > > > > > > > >
> > > > > > > > > > just got a whole lot easier. We can do the following
on
> > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > >
> > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > >    <os family="mac"/>
> > > > > > > > > >  </condition>
> > > > > > > > > >
> > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > multithreaded="true"
> > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > >    <defineset if="windows"
> > > > > > > > > >
define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > > > >    <includepath path="${ tuscanySCA.root.dir}"/>
<!--
> > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > >    <includepath path="${tuscanySCA.root.src.dir}"/>
> > > > > > > > > >    <includepath
> > > > > > > > > > path="${tuscanySCA.root.src.dir}/core/src"/>
> > > > > > > > > >  </compiler>
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
Software -
> >
> >
> > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com>
> > wrote:
> > > > > > > > > > >
> > > > > > > > > > > I uploaded a patch on top of what you submit to
svn.
> > > > > > > > > > >
> > > > > > > > > > > Here is a description of what I changed:
> > > > > > > > > > >
> > > > > > > > > > > - Changed the name of compilers.xml to system.xml.
> > > > > > > > > > >
> > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > platform.properties file that
> > > > > > > > >
> > > > > > > > > > > is completely empty.
> > > > > > > > > > >  That is, all of the platform dependent items are
> > > > > > > > > > > figured out by
> > > > > > > > > ant.
> > > > > > > > > > > If they are set in
> > > > > > > > > > >  the platform.properties file then they override
the
> > > > > > > > > > > ant
> > > > > > > > > > determination.
> > > > > > > > > > >
> > > > > > > > > > > - Better directory path management has been added
to
> > > > > > > > > > > the
> > >
> > > > > > > > > > > root build.xml and  runtime/core/src/build.xml
files.
> > > > > > > > > > >
> > > > > > > > > > > - The install and clean targets in
runtime/core/src
> > > > > > > > > > > have
> > >
> > > > > > > > > > > been
> > > > > > > > > > completed.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > With respect to your latest post regarding
> > > > > > "tuscany-sca-config.h":
> > > > > > > > > > > I knew this was a problem on clean systems and had
> > > > > > > > > > > envisioned either
> > > > > > > > >
> > > > > > > > > > > running a script or using a slimmed down
> > > > > > > > > > > automake/configure to
> > > > > >
> > > > > > > > > > > setup
> > > > > > > > >
> > > > > > > > > > > this file and any platform specific parameters.
That's
> >
> >
> > > > > > > > > > > certainly something we'll have to address, what do
you
> > > think?
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > The only reason we use this automake generated file
is
> > > > > > > > > > to set the IS_DARWIN compiler flag for running on
Mac OS
> >
> > > > > > > > > > X. I
> > >
> > > > > > > > > > expect we
> > > > > >
> > > > > > > > > > can use
> > > > > > > >
> > > > > > > > > > a
> > > > > > > > >
> > > > > > > > > > different technique in ant to set this flag. Is
there a
> > > > > > "family=mac"
> > > > > > > > > > or somesuch in ant? The automake simply runs a
'uname
> > -s'
> > > > > > > > > > command to
> > > > > > > >
> > > > > > > > > > figure it out.
> > > > > > > > > >
> > > > > > > > > > I think a goal for this shoul be that I can do a
clean
> > > > > > > > > > extract from svn and type "ant" in the top level
> > > > > > > > > > directory
> > >
> > > > > > > > > > and it will build with
> > > > > > > >
> > > > > > > > > > everything defaulted. We need various pre-reqs
defined
> > > > > > > > > > (SDO loccation,
> > > > > > > > > > + other pre-reqs) but we should try to make this as
> > > > > > > > > > + simple
> > >
> > > > > > > > > > + as
> > > > > > > > > > possible.
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave
Software
> >
> > > > > > > > > > > -
> > >
> > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Pete Robbins [mailto:
robbinspg@googlemail.com]
> > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > > the install dir defaults to sca/deploy so I think
we
> > > > > > > > > > > don't need any properties other than overrides.
> > > > > > > > > > >
> > > > > > > > > > > I'll check in what I have. so youi can see.
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > > On 18/07/07, Brady Johnson <
bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Pete,
> > > > > > > > > > > >
> > > > > > > > > > > > That's a good idea. Then the only thing that
really
> > > > > > > > > > > > need to be set
> > > > > > > > >
> > > > > > > > > > > > in platform.properties file would be:
> > > > > > > > > > > >        tuscanySCA.install.dir
> > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > >
> > > > > > > > > > > > I'll put that together real quick and upload it.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks
> > > > > > > > > > > >
> > > > > > > > > > > > -------------------- Brady Johnson Lead Software
> > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software
> > >
> > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Pete Robbins
[mailto:robbinspg@googlemail.com
> > ]
> > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > > On 18/07/07, Pete Robbins <
robbinspg@googlemail.com
> > >
> > > wrote:
> > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks for trying out the ant build scripts.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Regarding core.dir, you're right, the name
will
> > > > > > > > > > > > > > need to
> > > > > > > > > change.
> > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > As for the " tuscanySCA.root.dir" : Your
> > > > > > > > > > > > > > suggestion
> > >
> > > > > > > > > > > > > > will work
> > > > > > > >
> > > > > > > > > > > > > > if you only execute ant from the root
directory,
> >
> > > > > > > > > > > > > > but not
> > > > > >
> > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > >
> > > > > > > > > > > > > > from the runtime/core/src directory. That's
why
> > > > > > > > > > > > > > I put it
> > > > > >
> > > > > > > > > > > > > > in the platform.properties, which is
accessed by
> >
> > > > > > > > > > > > > > all
> > > > > > > > build.xml's.
> > > > > > > > >
> > > > > > > > > > > > > > Its better ant coding style to have anything
> > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > >
> > > > > > > > > > > > > > in a properties file, not in an ant
build.xml
> > > file.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Yes... I realized that would limit you to
running
> > > > > > > > > > > > > ant from
> > > > > >
> > > > > > > > > > > > > the
> > > > > > > >
> > > > > > > > > > > > > top
> > > > > > > > > >
> > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > >
> > > > > > > > > > > > > would a better solution be to have a top level
(or
> >
> > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > >  a) imports platform.properties for any
overrides
> > > > > > > > > > > > >  b) sets the properties conditional on the
> > platform.
> > > > > > > > > > > > >
> > > > > > > > > > > > > e.g.
> > > > > > > > > > > > >      <condition property=" lib.ext"
value='.so' '>
> > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > >      <condition property="lib.ext"
value='.dll' '>
> > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > >      <condition property="lib.ext"
value='.dylib
> > '>
> > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > the build.xml files would all import this top
level
> > > file:
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > > > As for the platform.properties file for
windows:
> > > > > > > > > > > > > > The property platform can/should be removed,
its
> >
> >
> > > > > > > > > > > > > > not
> > > > > > > > > necessary.
> > > > > > > > > > > > > > If
> > > > > > > > > > >
> > > > > > > > > > > > > > the property "platform.compiler-definition"
is
> > > > > > > > > > > > > > set, then
> > > > > >
> > > > > > > > > > > > > > that value will be used for the compiler
> > > > > > > > > > > > > > selection, else
> > > > > >
> > > > > > > > > > > > > > it will get set to msvc for windows as can
be
> > > > > > > > > > > > > > seen
> > >
> > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I think the way this should ship is to have
> > > > > > > > > > > > > > several platform.properties files for the
> > > different platform:
> > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > >        platform.properties.windows
> > > > > > > > > > > > > >        platform.properties.mac Which will
each
> > > > > > > > > > > > > > have values pre
> > > > > > > > >
> > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > >
> > > > > > > > > > > > > > platform. Then with either configure or a
shell
> > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > >
> > > > > > > > > > > > > > file wil be copied to platform.properties
and
> > > > > > > > > > > > > > the directory properties will be set
> > accordingly.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -------------------- Brady Johnson Lead
Software
> >
> >
> > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software -
> > > > > >
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com ]
> > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08 AM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I ran into a couple of issues tryingt o run
this
> >
> >
> > > > > > > > > > > > > > ant
> > > > > > build.
> > > > > > > > > > > > > > Firstly I got an error with a path
> > > > > > > > > > > > > >
xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> >
> >
> > > > > > > > > > > > > > I
> > >
> > > > > > > > > > > > > > trcked this
> > > > > > > > >
> > > > > > > > > > > > > > down to the fact that the property core.dir
is
> > > > > > > > > > > > > > set
> > >
> > > > > > > > > > > > > > in the top level build.xml to
"runtime/core/src"
> > > > > > > > > > > > > > and in the
> > > > > >
> > > > > > > > > > > > > > runtime/core/src/build.xml the same property
> > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > >
> > > > > > > > > > > > > > "tuscany/sca/core". It looks to me like the
> > > > > > > > > > > > > > second
> > >
> > > > > > > > > > > > > > defintion
> > > > > > > >
> > > > > > > > > > > > > > of core.dir is being ignored. I'm not an ant
> > > expert ...
> > > > > > > > > > > > > > do properties
> > > > > > > > > > > > get propagated from higher level build files?
> > > > > > > > > > > > > > I got around this by changing the name of
> > > > > > > > > > > > > > core.dir
> > >
> > > > > > > > > > > > > > to src.dir in
> > > > > > > > > >
> > > > > > > > > > > > > > one
> > > > > > > > > > > >
> > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Rather than specifying the paths to the
source
> > > > > > > > > > > > > > code etc in the
> > > > > > > > >
> > > > > > > > > > > > > > platform.properties I would prefer to set
these
> > > > > > > > > > > > > > automatically so
> > > > > > > > > >
> > > > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > and then based other properties from this.
It
> > > > > > > > > > > > > > seemed to
> > > > > > > > work!
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > <ro...@googlemail.com>
> > > > > > wrote:
> > > > > > > > > > > > > > > I'd like some info on what I need to edit
in
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > One good thing about automake is that it
> > > > > > > > > > > > > > > detects
> > >
> > > > > > > > > > > > > > > your platform/compiler etc automatically.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I put together some documentation for
using
> > > > > > > > > > > > > > > > ant with
> > > > > >
> > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave
> > > > > > > > > > > > > > > > Software -
> > > > > > > >
> > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Using ant to build TuscanySCA Native
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 1. Required Software to build TuscanySCA
> > > > > > > > > > > > > > > > Native with
> > > > > > > > ant:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > >        Ant comes installed with almost
all
> > > > > > > > > > > > > > > > Linux
> > > > > > > > > > distributions
> > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > >        Download: http://ant.apache.org/
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > > > >        Download:
> > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > >
http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
starting.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
directory
> > > > > > > > > > > > > > > > where you
> > > > > >
> > > > > > > > > > > > > > > > install
> > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > > > export PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib
and
> > > > > > > > > > > > > > > > cpptasks,
> > > > > >
> > > > > > > > > > > > > > > > should be
> > > > > > > > > > >
> > > > > > > > > > > > > > > > installed in $ANT_HOME/lib So place the
> > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Avoid adding optional ant tasks to your
> > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Windows
> > > > > > > > > > > > > > > > -------
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before
starting.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Set the ANT_HOME variable to the
directory
> > > > > > > > > > > > > > > > where you
> > > > > >
> > > > > > > > > > > > > > > > install
> > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > set ANT_HOME=c:\ant
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Add %ANT_HOME%\bin to your path.
> > > > > > > > > > > > > > > > set PATH=%PATH%;%ANT_HOME%\bin
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib
and
> > > > > > > > > > > > > > > > cpptasks,
> > > > > >
> > > > > > > > > > > > > > > > should be
> > > > > > > > > > >
> > > > > > > > > > > > > > > > installed in %ANT_HOME%\lib So place the
> > > > > > > > > > > > > > > > antcontrib and cpptasks
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > jars there.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > %ANT_HOME%\lib, do the
> > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > - create ${ user.home}\.ant\lib
> > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Avoid adding optional ant tasks to your
> > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > Sent: Tuesday, July 17, 2007 1:24 AM
> > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary
ant
> > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Thanks Brady. I'll take a look at this.
We
> > > > > > > > > > > > > > > > will need
> > > > > >
> > > > > > > > > > > > > > > > doc
> > > > > > > >
> > > > > > > > > > > > > > > > as to
> > > > > > > > > > >
> > > > > > > > > > > > > > > > what the dependencies are (cpptasks etc)
and
> >
> > > > > > > > > > > > > > > > any configuration
> > > > > > > > > > >
> > > > > > > > > > > > > > > > that is
> > > > > > > > > > > > > > needed.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 16/07/07, Brady Johnson
> > > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > For anyone interested, I uploaded
another
> > > > > > > > > > > > > > > > > patch for this
> > > > > > > > >
> > > > > > > > > > > > > > > > > JIRA that
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > makes it work better for windows.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
tuscanySCAnative_ant_update1.tar.gz
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -------------------- Brady Johnson
Lead
> > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
Wave
> > > > > > > > > > > > > > > > > Software
> > > > > > > >
> > > > > > > > > > > > > > > > > -
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > <mailto: brady.johnson@roguewave.com>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Brady Johnson
> > > > > > > > > > > > > > > > > [mailto:bjohnson@roguewave.com]
> > > > > > > > > > > > > > > > > Sent: Monday, July 16, 2007 10:46 AM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: [SCA Native] preliminary ant
> > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > This may be the second time you
receive
> > > > > > > > > > > > > > > > > this
> > >
> > > > > > > > > > > > > > > > > email, the first time
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I sent it with an attachment, which I
> > > > > > > > > > > > > > > > > later realized that this
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > dist list
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > may reject. So here it is again, w/o
the
> > > > > > > > > > > > > > > > > attachment. I
> > > > > > > >
> > > > > > > > > > > > > > > > > created
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > a JIRA and put the attachment there:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
https://issues.apache.org/jira/browse/TUSC
> > > > > > > > > > > > > > > > > AN
> > > > > > > > > > > > > > > > > Y-1438
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > According to a previous thread titled
> > > > > > > > > > > > > > > > > "[SCA Native] next
> > > > > > > > >
> > > > > > > > > > > > > > > > > release content
> > > > > > > > > > > > > > > > > [was: Tuscany roadmap]" (I didnt want
to
> > > > > > > > > > > > > > > > > add
> > >
> > > > > > > > > > > > > > > > > another
> > > > > > > > > "was"
> > > > > > > > > > > > > > > > > redirection
> > > > > > > > > > > > > > > > > ;) ), I have prepared ant build
scripts
> > > > > > > > > > > > > > > > > for
> > > > > > > > > > > > cpp/sca/runtime/core.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The tar.gz file attached to the jira
> > > > > > > > > > > > > > > > > should just
> > > > > > > > > "overlay"
> > > > > > > > > > > > > > > > > onto the tuscany SCA cpp source code
> > > > > > > > > > > > > > > > > directory
> > > > > > > > > structure.
> > > > > > > > > > > > > > > > > It
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > consists of the following files:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > <tuscanySca Native Src dir>/
> > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > >      |---- build.xml
> > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > >      |---- antscripts/
> > > > > > > > > > > > > > > > >      |         |
> > > > > > > > > > > > > > > > >      |         |---- compilers.xml
> > > > > > > > > > > > > > > > >      |         |----
compile-targets.xml
> > > > > > > > > > > > > > > > >      |         |----
platform.properties
> > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > >      |---- runtime/core/src/build.xml
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > In order to use it, you will need to
> > > > > > > > > > > > > > > > > modify the platform.properties file.
This
> > > > > > > > > > > > > > > > > will later be taken
> > > > > >
> > > > > > > > > > > > > > > > > care of
> > > > > > > > > >
> > > > > > > > > > > > > > > > > by either configure, or maybe just an
> > > > > > > > > > > > > > > > > install
> > > > > > script.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Currently it compiles and links
> > > > > > > > > > > > > > > > > runtime/core/src/tuscany/sca
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > {core, extension, model, util} and
creates
> >
> > > > > > > > > > > libtuscany_sca.so.
> > > > > > > > > > > > > > > > > The install target installs the lib
and
> > > > > > > > > > > > > > > > > the headers from
> > > > > > > > >
> > > > > > > > > > > > > > > > > those
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > src directories to the install
directory
> > > > > > > > > > > > > > > > > specified
> > > > > >
> > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Give it a spin and let me know what
you
> > > > > > > > > > > > > > > > > think. It shouldnt
> > > > > > > > > >
> > > > > > > > > > > > > > > > > take much to finish it for the rest of
> > > > > > > > > > > > > > > > > tuscany
> > > > > > cpp.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If it works out, we can then discuss
how
> > > > > > > > > > > > > > > > > to configure platform.properties.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -------------------- Brady Johnson
Lead
> > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue
Wave
> > > > > > > > > > > > > > > > > Software
> > > > > > > >
> > > > > > > > > > > > > > > > > -
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > <ma...@roguewave.com>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
------------------------------------------
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
--------------------------------------------
> >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
--------------------------------------------
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
------------------------------------------------
> >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
------------------------------------------------
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Pete
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Pete
> > > > > > > > > > > >
> > > > > > > > > > > >
----------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > --
> > > > > > > > > > > > --
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
----------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > --
> > > > > > > > > > > > --
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Pete
> > > > > > > > > > >
> > > > > > > > > > >
------------------------------------------------------
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > ----
> > > > > > > > > > > --
> > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
------------------------------------------------------
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > ----
> > > > > > > > > > > --
> > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Pete
> > > > > > > > > >
> > > > > > > > > >
--------------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > ----
> > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
--------------------------------------------------------
> >
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > ----
> > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Pete
> > > > > > > > >
> > > > > > > > >
----------------------------------------------------------
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
----------------------------------------------------------
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Pete
> > > > > > > >
> > > > > > > >
------------------------------------------------------------
> >
> > > > > > > > --
> > > > > > > > ------
> > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail:
> > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > > >
------------------------------------------------------------
> > > > > > > > --
> > > > > > > > ------
> > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail:
> > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Pete
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Pete
> > > > > >
> > > > > >
----------------------------------------------------------------
> >
> > > > > > --
> > > > > > --- To unsubscribe, e-mail:
> > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > For additional commands, e-mail:
tuscany-dev-help@ws.apache.org
> > > > > >
> > > > > >
> > > > > >
----------------------------------------------------------------
> > > > > > --
> > > > > > --- To unsubscribe, e-mail:
> > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > For additional commands, e-mail:
tuscany-dev-help@ws.apache.org
> > > > > >
> > > > > >
> > > > > >
----------------------------------------------------------------
> > > > > > --
> > > > > > --- To unsubscribe, e-mail:
> > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > For additional commands, e-mail:
tuscany-dev-help@ws.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Pete
> > > > >
> > > >
> > > >
> > > > --
> > > > Pete
> > > >
> > >
> > >
> > > --
> > > Pete
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >
> > >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org


Re: [DAS Native] ant build

Posted by Adriano Crestani <ad...@apache.org>.
Back from vacation, back to work : )

Brady, I thought the error had something to do with the pc I was using while
my laptop was getting repaired, but I got it repaired and the error was
still occurring on my laptop. The error seems rationed to the sdo ant build,
cause I ignored the DAS ant build and built it like I was building before,
with the MVS, but got the same error :S. Than I rebuilt the SDO, but not
using the new sdo build, but the old one, the build.bat, and guess what,
there was no more error : ).

It is not exactly an error, when I build the SDO using the ant build, my DAS
requires the dll MSVCP80.dll and with the old SDO build it does not. There
may be some option that is being set on SDO ant build that is not on SDO old
build. I'm not a C++ expert, but I think it has something to do with the
option Multi-threaded Debug DLL (/MDd) or Multi-threaded Debug (/MTd) on
compiler arguments.

Another point, the sdo_test is also requiring this dll when built using the
SDO ant build (I built the SDO using ant build and compiled the sdo_test on
MVS, but I removed the sdo_test dependency from sdo_runtime, otherwise it
would get compiled overwriting the SDO ant build binaries on deploy folder).

Doing another tests right now to check whether it is a Multi-threaded Debug
DLL (/MDd) or Multi-threaded Debug (/MTd) problem.

Regards,
Adriano Crestani

On 8/16/07, Adriano Crestani <ad...@apache.org> wrote:
>
> Hi Brady,
>
> Yes, I was plaining to do that after this weekend. I had no chance to do
> that so far, cause I was really busy with college's stuffs :(
>
> Regards,
> Adriano Crestani
>
> On 8/16/07, Brady Johnson <bj...@roguewave.com> wrote:
> >
> >
> > Adriano,
> >
> > You might have seen that both SCA and SDO native now have an ant build
> > infrastructure. I briefly looked at doing the same for DAS, but couldn't
> > get it to compile with "configure, make, make install" at the time, and
> > never got a chance to come back to it.
> >
> > I think it should be very easy to copy the SDO ant stuff over to DAS,
> > what do you think?
> >
> > --------------------
> > Brady Johnson
> > Lead Software Developer - HydraSCA
> > Rogue Wave Software - brady.johnson@roguewave.com
> >
> >
> > -----Original Message-----
> > From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> > Behalf Of Adriano Crestani
> > Sent: Monday, July 23, 2007 11:21 PM
> > To: tuscany-dev@ws.apache.org
> > Subject: Re: [SCA Native] preliminary ant build
> >
> > Great idea, soon I will try to apply this idea to Native DAS and see how
> > it works. I think the idea could also be easily applied to Native SDO,
> > as it does not have too much dependencies and code generation as Native
> > SCA does.
> >
> > A folder ant-core could be created under tuscany/cpp/ folder to place
> > the ant scripts shared by the projects.
> >
> > Also, we could add a build.xml under tuscany/ccp/ that builds all 3
> > subprojects at once, if the 3 to implement this ant build process. What
> > do you think?
> >
> > Regards,
> > Adriano Crestani
> >
> > On 7/23/07, Brady Johnson <bj...@roguewave.com> wrote:
> > >
> > >
> > > Correction, it should be like this:
> > >
> > >   <target name="compile.core">
> > >     <cpp-compile
> > >         srcdir="${core.abs.dir}"
> > >         objdir="${lib.dir}"
> > >         infiles="${ core.cpp.files}">
> > >       <custom-cc-elements>
> > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > >       </custom-cc-elements>
> > >     </cpp-compile>
> > >   </target>
> > >
> > > --------------------
> > > Brady Johnson
> > > Lead Software Developer - HydraSCA
> > > Rogue Wave Software - brady.johnson@roguewave.com
> > >
> > >
> > > -----Original Message-----
> > > From: Brady Johnson [mailto:bjohnson@roguewave.com]
> > > Sent: Monday, July 23, 2007 5:05 PM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: RE: [SCA Native] preliminary ant build
> > >
> > >
> > > Pete,
> > >
> > > Good catch. That's an easy fix. I'll submit it with the next patch
> > > tomorrow. Basically it involves removing SCA_EXPORTS from the
> > > Tuscany-BaseCompiler and adding it to the runtime/core/src targets:
> > >         compile.core
> > >         compile.extension
> > >         compile.model
> > >         compile.util
> > >
> > > Like this:
> > >   <target name="compile.core">
> > >     <cpp-compile
> > >         srcdir="${core.abs.dir}"
> > >         objdir="${lib.dir}"
> > >         infiles="${core.cpp.files }"/>
> > >       <custom-cc-element>
> > >         <defineset if="windows" define="SCA_EXPORTS"/>
> > >       </custom-cc-element>
> > >   </target>
> > >
> > > Tomorrow I'll have the python, ruby, rest, and maybe php extensions
> > > complete.
> > >
> > >
> > > --------------------
> > > Brady Johnson
> > > Lead Software Developer - HydraSCA
> > > Rogue Wave Software - brady.johnson@roguewave.com
> > >
> > >
> > > -----Original Message-----
> > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > Sent: Monday, July 23, 2007 2:41 PM
> > > To: tuscany-dev@ws.apache.org
> > > Subject: Re: [SCA Native] preliminary ant build
> > >
> > > I think there is a problem in the extension compilations. The
> > > SCA_EXPORTS directive should only be set when compiling the
> > > runtime/core. When compiling for dlls on windows which use the core
> > > dll SCA_EXPORTS must not be set. I guess this means we have to move
> > > the setting of this directive from the definition of the
> > > Tuscany-BaseCompiler
> > >
> > > Cheers,
> > >
> > > On 23/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > > I've applied the patch. How are you creating the patches? I had
> > > > trouble applying it on Windows using ToirtoiseSVN.
> > > >
> > > > I've included the changes in the patch to the tools/TuscanyDriver
> > > > build. I haven't tested this and I'm not sure if it works with the
> > > > system.xml etc.
> > > >
> > > > Can you do a clean extract as a base for future patches?
> > > >
> > > > Cheers,
> > > >
> > > > On 23/07/07, Pete Robbins < robbinspg@googlemail.com> wrote:
> > > > > I'll give this a go. I should be able to run it on Mac as well.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > On 23/07/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > >
> > > > > > I updated the jira1438 with update 3, which includes the
> > > following:
> > > > > >         https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > > >
> > > > > >
> > > > > > - added build.xml for the following dirs:
> > > > > >    runtime/extensions/build.xml
> > > > > >    runtime/extensions/cpp/build.xml
> > > > > >    runtime/extensions/sca/build.xml
> > > > > >    runtime/extensions/ws/build.xml
> > > > > >
> > > > > > - changed system.xml to check for necessary axis, php, python,
> > > > > > rest, and ruby env vars. If they're not  set in the env, look
> > > > > > for them in platform.properties
> > > > > >
> > > > > > - changed compile-targets.xml targets
> > > > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > > >
> > > > > > - added compile-targets.xml target: <cpp-symlink/>
> > > > > >
> > > > > > - added library versioning and the
> > > > > > platform.tuscanySCA.library.version
> > > > > > platform.properties property
> > > > > >
> > > > > > Can someone submit this for me.
> > > > > >
> > > > > > The only thing left now is the build.xml for these extensions:
> > > > > > php, python, rest, ruby
> > > > > >
> > > > > > WRT testing on macs, I wont have a mac available until next
> > week.
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > > --------------------
> > > > > > Brady Johnson
> > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > brady.johnson@roguewave.com
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com ]
> > > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > > >
> > > > > >
> > > > > > I can look into testing it on Mac here. I believe we have
> > > > > > several mac machines for the purpose.
> > > > > >
> > > > > > I'll get back to you soon.
> > > > > >
> > > > > > --------------------
> > > > > > Brady Johnson
> > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > brady.johnson@roguewave.com
> > > > > >
> > > > > >
> > > > > > -----Original Message-----
> > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > > To: tuscany-dev@ws.apache.org
> > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > >
> > > > > > I've taken out the references to tuscany_sca_config.h and
> > > > > > patched the automake for now with setting -DIS_DARWIN on mac.
> > > > > > Yet to test it on Mac as I need to kick the kids off my machine!
> >
> > > > > >
> > > > > > On 19/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > > > > > Automake generates a config file with lots of standard stuff
> > > > > > > but
> > >
> > > > > > > the only  one we need is the IS_DARWIN, which is used in  2
> > > > > > > places. I'll remove the 2 references to this header and change
> >
> >
> > > > > > > automale to set the IS_DARWIN compile flag.
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > > > >
> > > > > > > > I did the following diff command and got quite a lot of
> > > > > > > > changes (listed
> > > > > > > > below):
> > > > > > > >
> > > > > > > > # diff tuscany_sca_config.h.in tuscany_sca_config.h
> > > > > > > >
> > > > > > > > Are these not needed?
> > > > > > > >        If not, I can get to work on removing all references
> > > > > > > > to
> > >
> > > > > > > > the file.
> > > > > > > >        If so, then we still need to figure out how to create
> >
> >
> > > > > > > > the
> > > > > > file.
> > > > > > > >
> > > > > > > > I just realized, its 23:30, there... Go to bed! ;)
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > > Brady Johnson
> > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > > brady.johnson@roguewave.com
> > > > > > > >
> > > > > > > >
> > > > > > > > 0a1
> > > > > > > > > /* tuscany_sca_config.h.  Generated by configure.  */
> > > > > > > > 4c5
> > > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > > ---
> > > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > > 8c9
> > > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > > 11c12
> > > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > > 14c15
> > > > > > > > < #undef HAVE_DOPRNT
> > > > > > > > ---
> > > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > > 17c18
> > > > > > > > < #undef HAVE_GETCWD
> > > > > > > > ---
> > > > > > > > > #define HAVE_GETCWD 1
> > > > > > > > 20c21
> > > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > > 23c24
> > > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > > 26c27
> > > > > > > > < #undef HAVE_NDIR_H
> > > > > > > > ---
> > > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > > 29c30
> > > > > > > > < #undef HAVE_PUTENV
> > > > > > > > ---
> > > > > > > > > #define HAVE_PUTENV 1
> > > > > > > > 33c34
> > > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > > ---
> > > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > > 36c37
> > > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > > 39c40
> > > > > > > > < #undef HAVE_STDINT_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > > 42c43
> > > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > > 45c46
> > > > > > > > < #undef HAVE_STRDUP
> > > > > > > > ---
> > > > > > > > > #define HAVE_STRDUP 1
> > > > > > > > 48c49
> > > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > > 51c52
> > > > > > > > < #undef HAVE_STRING_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_STRING_H 1
> > > > > > > > 55c56
> > > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > > ---
> > > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > > 59c60
> > > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > > ---
> > > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > > 62c63
> > > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > > 65c66
> > > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > > 68c69
> > > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > > 71c72
> > > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > > ---
> > > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > > 74c75
> > > > > > > > < #undef HAVE_VPRINTF
> > > > > > > > ---
> > > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > > 77c78
> > > > > > > > < #undef HAVE__BOOL
> > > > > > > > ---
> > > > > > > > > #define HAVE__BOOL 1
> > > > > > > > 80c81
> > > > > > > > < #undef IS_DARWIN
> > > > > > > > ---
> > > > > > > > > /* #undef IS_DARWIN */
> > > > > > > > 84c85
> > > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > > ---
> > > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > > 87c88
> > > > > > > > < #undef PACKAGE
> > > > > > > > ---
> > > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > > 90c91
> > > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > > ---
> > > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > > 93c94
> > > > > > > > < #undef PACKAGE_NAME
> > > > > > > > ---
> > > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > > 96c97
> > > > > > > > < #undef PACKAGE_STRING
> > > > > > > > ---
> > > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> > 1.0-incubator-M3"
> > > > > > > > 99c100
> > > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > > ---
> > > > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > > > 102c103
> > > > > > > > < #undef PACKAGE_VERSION
> > > > > > > > ---
> > > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > > 105c106
> > > > > > > > < #undef STDC_HEADERS
> > > > > > > > ---
> > > > > > > > > #define STDC_HEADERS 1
> > > > > > > > 108c109
> > > > > > > > < #undef VERSION
> > > > > > > > ---
> > > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > > 111c112
> > > > > > > > < #undef const
> > > > > > > > ---
> > > > > > > > > /* #undef const */
> > > > > > > > 116c117
> > > > > > > > < #undef inline
> > > > > > > > ---
> > > > > > > > > /* #undef inline */
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com ]
> > > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > >
> > > > > > > > yeah I figured that... I did exactly the same when
> > > > > > > > committing changes earlier! I dodn't commit the changes
> > > > > > > > inthe tools
> > > folder.
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com> wrote:
> > > > > > > > >
> > > > > > > > > Ok, I wasn't aware that I had changed the tools.
> > > > > > > > >
> > > > > > > > > I simply did a "svn diff . > patch_file" from the tuscany
> > > > > > > > > root
> > > > > > dir.
> > > > > > > > > You can disregard the tools changes. I'll look into it.
> > > > > > > > >
> > > > > > > > > Thanks
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > Cool! I've applied this change as well. The update2 patch
> > > > > > > > > contained changes to the tools/TuscanyDriver/build.xml.
> > > > > > > > > This
> > >
> > > > > > > > > doesn't work so you
> > > > > > > >
> > > > > > > > > may want to look at it.
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > >
> > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > wrote:
> > > > > > > > > >
> > > > > > > > > > If that's all we need the tuscany_sca_config.h file for
> > > > > > > > > > then, yes this
> > > > > > > > >
> > > > > > > > > > just got a whole lot easier. We can do the following on
> > > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > > >
> > > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > > >    <os family="mac"/>
> > > > > > > > > >  </condition>
> > > > > > > > > >
> > > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> > multithreaded="true"
> > > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > > >    <defineset if="windows"
> > > > > > > > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > > > >    <includepath path="${ tuscanySCA.root.dir}"/> <!--
> > > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > > >    <includepath path="${tuscanySCA.root.src.dir}"/>
> > > > > > > > > >    <includepath
> > > > > > > > > > path="${tuscanySCA.root.src.dir}/core/src"/>
> > > > > > > > > >  </compiler>
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> >
> >
> > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com>
> > wrote:
> > > > > > > > > > >
> > > > > > > > > > > I uploaded a patch on top of what you submit to svn.
> > > > > > > > > > >
> > > > > > > > > > > Here is a description of what I changed:
> > > > > > > > > > >
> > > > > > > > > > > - Changed the name of compilers.xml to system.xml.
> > > > > > > > > > >
> > > > > > > > > > > - This update has better support for a
> > > > > > > > > > > platform.properties file that
> > > > > > > > >
> > > > > > > > > > > is completely empty.
> > > > > > > > > > >  That is, all of the platform dependent items are
> > > > > > > > > > > figured out by
> > > > > > > > > ant.
> > > > > > > > > > > If they are set in
> > > > > > > > > > >  the platform.properties file then they override the
> > > > > > > > > > > ant
> > > > > > > > > > determination.
> > > > > > > > > > >
> > > > > > > > > > > - Better directory path management has been added to
> > > > > > > > > > > the
> > >
> > > > > > > > > > > root build.xml and  runtime/core/src/build.xml files.
> > > > > > > > > > >
> > > > > > > > > > > - The install and clean targets in runtime/core/src
> > > > > > > > > > > have
> > >
> > > > > > > > > > > been
> > > > > > > > > > completed.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > With respect to your latest post regarding
> > > > > > "tuscany-sca-config.h":
> > > > > > > > > > > I knew this was a problem on clean systems and had
> > > > > > > > > > > envisioned either
> > > > > > > > >
> > > > > > > > > > > running a script or using a slimmed down
> > > > > > > > > > > automake/configure to
> > > > > >
> > > > > > > > > > > setup
> > > > > > > > >
> > > > > > > > > > > this file and any platform specific parameters. That's
> >
> >
> > > > > > > > > > > certainly something we'll have to address, what do you
> > > think?
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > The only reason we use this automake generated file is
> > > > > > > > > > to set the IS_DARWIN compiler flag for running on Mac OS
> >
> > > > > > > > > > X. I
> > >
> > > > > > > > > > expect we
> > > > > >
> > > > > > > > > > can use
> > > > > > > >
> > > > > > > > > > a
> > > > > > > > >
> > > > > > > > > > different technique in ant to set this flag. Is there a
> > > > > > "family=mac"
> > > > > > > > > > or somesuch in ant? The automake simply runs a 'uname
> > -s'
> > > > > > > > > > command to
> > > > > > > >
> > > > > > > > > > figure it out.
> > > > > > > > > >
> > > > > > > > > > I think a goal for this shoul be that I can do a clean
> > > > > > > > > > extract from svn and type "ant" in the top level
> > > > > > > > > > directory
> > >
> > > > > > > > > > and it will build with
> > > > > > > >
> > > > > > > > > > everything defaulted. We need various pre-reqs defined
> > > > > > > > > > (SDO loccation,
> > > > > > > > > > + other pre-reqs) but we should try to make this as
> > > > > > > > > > + simple
> > >
> > > > > > > > > > + as
> > > > > > > > > > possible.
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --------------------
> > > > > > > > > > > Brady Johnson
> > > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software
> >
> > > > > > > > > > > -
> > >
> > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Pete Robbins [mailto: robbinspg@googlemail.com]
> > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > > the install dir defaults to sca/deploy so I think we
> > > > > > > > > > > don't need any properties other than overrides.
> > > > > > > > > > >
> > > > > > > > > > > I'll check in what I have. so youi can see.
> > > > > > > > > > >
> > > > > > > > > > > Cheers,
> > > > > > > > > > >
> > > > > > > > > > > On 18/07/07, Brady Johnson < bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Pete,
> > > > > > > > > > > >
> > > > > > > > > > > > That's a good idea. Then the only thing that really
> > > > > > > > > > > > need to be set
> > > > > > > > >
> > > > > > > > > > > > in platform.properties file would be:
> > > > > > > > > > > >        tuscanySCA.install.dir
> > > > > > > > > > > >        and any possible overides
> > > > > > > > > > > >
> > > > > > > > > > > > I'll put that together real quick and upload it.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks
> > > > > > > > > > > >
> > > > > > > > > > > > -------------------- Brady Johnson Lead Software
> > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software
> > >
> > > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com
> > ]
> > > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > >
> > > > > > > > > > > > On 18/07/07, Pete Robbins < robbinspg@googlemail.com
> > >
> > > wrote:
> > > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > > < bjohnson@roguewave.com>
> > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks for trying out the ant build scripts.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Regarding core.dir, you're right, the name will
> > > > > > > > > > > > > > need to
> > > > > > > > > change.
> > > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > As for the " tuscanySCA.root.dir" : Your
> > > > > > > > > > > > > > suggestion
> > >
> > > > > > > > > > > > > > will work
> > > > > > > >
> > > > > > > > > > > > > > if you only execute ant from the root directory,
> >
> > > > > > > > > > > > > > but not
> > > > > >
> > > > > > > > > > > > > > if you execute ant
> > > > > > > > > > > >
> > > > > > > > > > > > > > from the runtime/core/src directory. That's why
> > > > > > > > > > > > > > I put it
> > > > > >
> > > > > > > > > > > > > > in the platform.properties, which is accessed by
> >
> > > > > > > > > > > > > > all
> > > > > > > > build.xml's.
> > > > > > > > >
> > > > > > > > > > > > > > Its better ant coding style to have anything
> > > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > > >
> > > > > > > > > > > > > > in a properties file, not in an ant build.xml
> > > file.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Yes... I realized that would limit you to running
> > > > > > > > > > > > > ant from
> > > > > >
> > > > > > > > > > > > > the
> > > > > > > >
> > > > > > > > > > > > > top
> > > > > > > > > >
> > > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > > >
> > > > > > > > > > > > > would a better solution be to have a top level (or
> >
> > > > > > > > > > > > > in antscripts
> > > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > > >  a) imports platform.properties for any overrides
> > > > > > > > > > > > >  b) sets the properties conditional on the
> > platform.
> > > > > > > > > > > > >
> > > > > > > > > > > > > e.g.
> > > > > > > > > > > > >      <condition property=" lib.ext" value='.so' '>
> > > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > >      <condition property="lib.ext" value='.dll' '>
> > > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > >      <condition property="lib.ext" value='.dylib
> > '>
> > > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > > >      </condition>
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > the build.xml files would all import this top level
> > > file:
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > > > As for the platform.properties file for windows:
> > > > > > > > > > > > > > The property platform can/should be removed, its
> >
> >
> > > > > > > > > > > > > > not
> > > > > > > > > necessary.
> > > > > > > > > > > > > > If
> > > > > > > > > > >
> > > > > > > > > > > > > > the property "platform.compiler-definition" is
> > > > > > > > > > > > > > set, then
> > > > > >
> > > > > > > > > > > > > > that value will be used for the compiler
> > > > > > > > > > > > > > selection, else
> > > > > >
> > > > > > > > > > > > > > it will get set to msvc for windows as can be
> > > > > > > > > > > > > > seen
> > >
> > > > > > > > > > > > > > on line 18 of
> > > > > > > > > > > compilers.xml.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I think the way this should ship is to have
> > > > > > > > > > > > > > several platform.properties files for the
> > > different platform:
> > > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > > >        platform.properties.windows
> > > > > > > > > > > > > >        platform.properties.mac Which will each
> > > > > > > > > > > > > > have values pre
> > > > > > > > >
> > > > > > > > > > > > > > configured for the corresponding
> > > > > > > > > >
> > > > > > > > > > > > > > platform. Then with either configure or a shell
> > > > > > > > > > > > > > script, the platform
> > > > > > > > > > > >
> > > > > > > > > > > > > > file wil be copied to platform.properties and
> > > > > > > > > > > > > > the directory properties will be set
> > accordingly.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -------------------- Brady Johnson Lead Software
> >
> >
> > > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software -
> > > > > >
> > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com ]
> > > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08 AM
> > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I ran into a couple of issues tryingt o run this
> >
> >
> > > > > > > > > > > > > > ant
> > > > > > build.
> > > > > > > > > > > > > > Firstly I got an error with a path
> > > > > > > > > > > > > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
> >
> >
> > > > > > > > > > > > > > I
> > >
> > > > > > > > > > > > > > trcked this
> > > > > > > > >
> > > > > > > > > > > > > > down to the fact that the property core.dir is
> > > > > > > > > > > > > > set
> > >
> > > > > > > > > > > > > > in the top level build.xml to "runtime/core/src"
> > > > > > > > > > > > > > and in the
> > > > > >
> > > > > > > > > > > > > > runtime/core/src/build.xml the same property
> > > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > > >
> > > > > > > > > > > > > > "tuscany/sca/core". It looks to me like the
> > > > > > > > > > > > > > second
> > >
> > > > > > > > > > > > > > defintion
> > > > > > > >
> > > > > > > > > > > > > > of core.dir is being ignored. I'm not an ant
> > > expert ...
> > > > > > > > > > > > > > do properties
> > > > > > > > > > > > get propagated from higher level build files?
> > > > > > > > > > > > > > I got around this by changing the name of
> > > > > > > > > > > > > > core.dir
> > >
> > > > > > > > > > > > > > to src.dir in
> > > > > > > > > >
> > > > > > > > > > > > > > one
> > > > > > > > > > > >
> > > > > > > > > > > > > > of the files.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Rather than specifying the paths to the source
> > > > > > > > > > > > > > code etc in the
> > > > > > > > >
> > > > > > > > > > > > > > platform.properties I would prefer to set these
> > > > > > > > > > > > > > automatically so
> > > > > > > > > >
> > > > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > and then based other properties from this. It
> > > > > > > > > > > > > > seemed to
> > > > > > > > work!
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > > <ro...@googlemail.com>
> > > > > > wrote:
> > > > > > > > > > > > > > > I'd like some info on what I need to edit in
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > One good thing about automake is that it
> > > > > > > > > > > > > > > detects
> > >
> > > > > > > > > > > > > > > your platform/compiler etc automatically.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I put together some documentation for using
> > > > > > > > > > > > > > > > ant with
> > > > > >
> > > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave
> > > > > > > > > > > > > > > > Software -
> > > > > > > >
> > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Using ant to build TuscanySCA Native
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 1. Required Software to build TuscanySCA
> > > > > > > > > > > > > > > > Native with
> > > > > > > > ant:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > > >        Ant comes installed with almost all
> > > > > > > > > > > > > > > > Linux
> > > > > > > > > > distributions
> > > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > > >        Download: http://ant.apache.org/
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > > > >        Download:
> > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before starting.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Set the ANT_HOME variable to the directory
> > > > > > > > > > > > > > > > where you
> > > > > >
> > > > > > > > > > > > > > > > install
> > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > > > export PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib and
> > > > > > > > > > > > > > > > cpptasks,
> > > > > >
> > > > > > > > > > > > > > > > should be
> > > > > > > > > > >
> > > > > > > > > > > > > > > > installed in $ANT_HOME/lib So place the
> > > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Avoid adding optional ant tasks to your
> > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Windows
> > > > > > > > > > > > > > > > -------
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Make sure JAVA_HOME is set before starting.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Set the ANT_HOME variable to the directory
> > > > > > > > > > > > > > > > where you
> > > > > >
> > > > > > > > > > > > > > > > install
> > > > > > > > > > > > ant.
> > > > > > > > > > > > > > > > set ANT_HOME=c:\ant
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Add %ANT_HOME%\bin to your path.
> > > > > > > > > > > > > > > > set PATH=%PATH%;%ANT_HOME%\bin
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib and
> > > > > > > > > > > > > > > > cpptasks,
> > > > > >
> > > > > > > > > > > > > > > > should be
> > > > > > > > > > >
> > > > > > > > > > > > > > > > installed in %ANT_HOME%\lib So place the
> > > > > > > > > > > > > > > > antcontrib and cpptasks
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > jars there.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > > %ANT_HOME%\lib, do the
> > > > > > > > > > > > following:
> > > > > > > > > > > > > > > > - create ${ user.home}\.ant\lib
> > > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Avoid adding optional ant tasks to your
> > > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > > > Sent: Tuesday, July 17, 2007 1:24 AM
> > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Thanks Brady. I'll take a look at this. We
> > > > > > > > > > > > > > > > will need
> > > > > >
> > > > > > > > > > > > > > > > doc
> > > > > > > >
> > > > > > > > > > > > > > > > as to
> > > > > > > > > > >
> > > > > > > > > > > > > > > > what the dependencies are (cpptasks etc) and
> >
> > > > > > > > > > > > > > > > any configuration
> > > > > > > > > > >
> > > > > > > > > > > > > > > > that is
> > > > > > > > > > > > > > needed.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On 16/07/07, Brady Johnson
> > > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > For anyone interested, I uploaded another
> > > > > > > > > > > > > > > > > patch for this
> > > > > > > > >
> > > > > > > > > > > > > > > > > JIRA that
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > makes it work better for windows.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >        tuscanySCAnative_ant_update1.tar.gz
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave
> > > > > > > > > > > > > > > > > Software
> > > > > > > >
> > > > > > > > > > > > > > > > > -
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > <mailto: brady.johnson@roguewave.com>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > > From: Brady Johnson
> > > > > > > > > > > > > > > > > [mailto:bjohnson@roguewave.com]
> > > > > > > > > > > > > > > > > Sent: Monday, July 16, 2007 10:46 AM
> > > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > > Subject: [SCA Native] preliminary ant
> > > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > This may be the second time you receive
> > > > > > > > > > > > > > > > > this
> > >
> > > > > > > > > > > > > > > > > email, the first time
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I sent it with an attachment, which I
> > > > > > > > > > > > > > > > > later realized that this
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > dist list
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > may reject. So here it is again, w/o the
> > > > > > > > > > > > > > > > > attachment. I
> > > > > > > >
> > > > > > > > > > > > > > > > > created
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > a JIRA and put the attachment there:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > https://issues.apache.org/jira/browse/TUSC
> > > > > > > > > > > > > > > > > AN
> > > > > > > > > > > > > > > > > Y-1438
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > According to a previous thread titled
> > > > > > > > > > > > > > > > > "[SCA Native] next
> > > > > > > > >
> > > > > > > > > > > > > > > > > release content
> > > > > > > > > > > > > > > > > [was: Tuscany roadmap]" (I didnt want to
> > > > > > > > > > > > > > > > > add
> > >
> > > > > > > > > > > > > > > > > another
> > > > > > > > > "was"
> > > > > > > > > > > > > > > > > redirection
> > > > > > > > > > > > > > > > > ;) ), I have prepared ant build scripts
> > > > > > > > > > > > > > > > > for
> > > > > > > > > > > > cpp/sca/runtime/core.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The tar.gz file attached to the jira
> > > > > > > > > > > > > > > > > should just
> > > > > > > > > "overlay"
> > > > > > > > > > > > > > > > > onto the tuscany SCA cpp source code
> > > > > > > > > > > > > > > > > directory
> > > > > > > > > structure.
> > > > > > > > > > > > > > > > > It
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > consists of the following files:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > <tuscanySca Native Src dir>/
> > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > >      |---- build.xml
> > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > >      |---- antscripts/
> > > > > > > > > > > > > > > > >      |         |
> > > > > > > > > > > > > > > > >      |         |---- compilers.xml
> > > > > > > > > > > > > > > > >      |         |---- compile-targets.xml
> > > > > > > > > > > > > > > > >      |         |---- platform.properties
> > > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > > >      |---- runtime/core/src/build.xml
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > In order to use it, you will need to
> > > > > > > > > > > > > > > > > modify the platform.properties file. This
> > > > > > > > > > > > > > > > > will later be taken
> > > > > >
> > > > > > > > > > > > > > > > > care of
> > > > > > > > > >
> > > > > > > > > > > > > > > > > by either configure, or maybe just an
> > > > > > > > > > > > > > > > > install
> > > > > > script.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Currently it compiles and links
> > > > > > > > > > > > > > > > > runtime/core/src/tuscany/sca
> > > > > > > > > > >
> > > > > > > > > > > > > > > > > {core, extension, model, util} and creates
> >
> > > > > > > > > > > libtuscany_sca.so.
> > > > > > > > > > > > > > > > > The install target installs the lib and
> > > > > > > > > > > > > > > > > the headers from
> > > > > > > > >
> > > > > > > > > > > > > > > > > those
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > > src directories to the install directory
> > > > > > > > > > > > > > > > > specified
> > > > > >
> > > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Give it a spin and let me know what you
> > > > > > > > > > > > > > > > > think. It shouldnt
> > > > > > > > > >
> > > > > > > > > > > > > > > > > take much to finish it for the rest of
> > > > > > > > > > > > > > > > > tuscany
> > > > > > cpp.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If it works out, we can then discuss how
> > > > > > > > > > > > > > > > > to configure platform.properties.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave
> > > > > > > > > > > > > > > > > Software
> > > > > > > >
> > > > > > > > > > > > > > > > > -
> > > > > > > > >
> > > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > > <ma...@roguewave.com>
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > ------------------------------------------
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --------------------------------------------
> >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --------------------------------------------
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > ------------------------------------------------
> >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > ------------------------------------------------
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Pete
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Pete
> > > > > > > > > > > >
> > > > > > > > > > > > ----------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > --
> > > > > > > > > > > > --
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ----------------------------------------------------
> > > > > > > > > > > > --
> > > > > > > > > > > > ------
> > > > > > > > > > > > ----
> > > > > > > > > > > > --
> > > > > > > > > > > > --
> > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Pete
> > > > > > > > > > >
> > > > > > > > > > > ------------------------------------------------------
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > ----
> > > > > > > > > > > --
> > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ------------------------------------------------------
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > ----
> > > > > > > > > > > --
> > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Pete
> > > > > > > > > >
> > > > > > > > > > --------------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > ----
> > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --------------------------------------------------------
> >
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > ----
> > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Pete
> > > > > > > > >
> > > > > > > > > ----------------------------------------------------------
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ----------------------------------------------------------
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Pete
> > > > > > > >
> > > > > > > > ------------------------------------------------------------
> >
> > > > > > > > --
> > > > > > > > ------
> > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail:
> > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > > > ------------------------------------------------------------
> > > > > > > > --
> > > > > > > > ------
> > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail:
> > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Pete
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Pete
> > > > > >
> > > > > > ----------------------------------------------------------------
> >
> > > > > > --
> > > > > > --- To unsubscribe, e-mail:
> > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > > > >
> > > > > >
> > > > > > ----------------------------------------------------------------
> > > > > > --
> > > > > > --- To unsubscribe, e-mail:
> > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > > > >
> > > > > >
> > > > > > ----------------------------------------------------------------
> > > > > > --
> > > > > > --- To unsubscribe, e-mail:
> > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Pete
> > > > >
> > > >
> > > >
> > > > --
> > > > Pete
> > > >
> > >
> > >
> > > --
> > > Pete
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>

Re: [DAS Native] ant build

Posted by Adriano Crestani <ad...@apache.org>.
Hi Brady,

Yes, I was plaining to do that after this weekend. I had no chance to do
that so far, cause I was really busy with college's stuffs :(

Regards,
Adriano Crestani

On 8/16/07, Brady Johnson <bj...@roguewave.com> wrote:
>
>
> Adriano,
>
> You might have seen that both SCA and SDO native now have an ant build
> infrastructure. I briefly looked at doing the same for DAS, but couldn't
> get it to compile with "configure, make, make install" at the time, and
> never got a chance to come back to it.
>
> I think it should be very easy to copy the SDO ant stuff over to DAS,
> what do you think?
>
> --------------------
> Brady Johnson
> Lead Software Developer - HydraSCA
> Rogue Wave Software - brady.johnson@roguewave.com
>
>
> -----Original Message-----
> From: adrianocrestani@gmail.com [mailto:adrianocrestani@gmail.com] On
> Behalf Of Adriano Crestani
> Sent: Monday, July 23, 2007 11:21 PM
> To: tuscany-dev@ws.apache.org
> Subject: Re: [SCA Native] preliminary ant build
>
> Great idea, soon I will try to apply this idea to Native DAS and see how
> it works. I think the idea could also be easily applied to Native SDO,
> as it does not have too much dependencies and code generation as Native
> SCA does.
>
> A folder ant-core could be created under tuscany/cpp/ folder to place
> the ant scripts shared by the projects.
>
> Also, we could add a build.xml under tuscany/ccp/ that builds all 3
> subprojects at once, if the 3 to implement this ant build process. What
> do you think?
>
> Regards,
> Adriano Crestani
>
> On 7/23/07, Brady Johnson <bj...@roguewave.com> wrote:
> >
> >
> > Correction, it should be like this:
> >
> >   <target name="compile.core">
> >     <cpp-compile
> >         srcdir="${core.abs.dir}"
> >         objdir="${lib.dir}"
> >         infiles="${core.cpp.files}">
> >       <custom-cc-elements>
> >         <defineset if="windows" define="SCA_EXPORTS"/>
> >       </custom-cc-elements>
> >     </cpp-compile>
> >   </target>
> >
> > --------------------
> > Brady Johnson
> > Lead Software Developer - HydraSCA
> > Rogue Wave Software - brady.johnson@roguewave.com
> >
> >
> > -----Original Message-----
> > From: Brady Johnson [mailto:bjohnson@roguewave.com]
> > Sent: Monday, July 23, 2007 5:05 PM
> > To: tuscany-dev@ws.apache.org
> > Subject: RE: [SCA Native] preliminary ant build
> >
> >
> > Pete,
> >
> > Good catch. That's an easy fix. I'll submit it with the next patch
> > tomorrow. Basically it involves removing SCA_EXPORTS from the
> > Tuscany-BaseCompiler and adding it to the runtime/core/src targets:
> >         compile.core
> >         compile.extension
> >         compile.model
> >         compile.util
> >
> > Like this:
> >   <target name="compile.core">
> >     <cpp-compile
> >         srcdir="${core.abs.dir}"
> >         objdir="${lib.dir}"
> >         infiles="${core.cpp.files}"/>
> >       <custom-cc-element>
> >         <defineset if="windows" define="SCA_EXPORTS"/>
> >       </custom-cc-element>
> >   </target>
> >
> > Tomorrow I'll have the python, ruby, rest, and maybe php extensions
> > complete.
> >
> >
> > --------------------
> > Brady Johnson
> > Lead Software Developer - HydraSCA
> > Rogue Wave Software - brady.johnson@roguewave.com
> >
> >
> > -----Original Message-----
> > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > Sent: Monday, July 23, 2007 2:41 PM
> > To: tuscany-dev@ws.apache.org
> > Subject: Re: [SCA Native] preliminary ant build
> >
> > I think there is a problem in the extension compilations. The
> > SCA_EXPORTS directive should only be set when compiling the
> > runtime/core. When compiling for dlls on windows which use the core
> > dll SCA_EXPORTS must not be set. I guess this means we have to move
> > the setting of this directive from the definition of the
> > Tuscany-BaseCompiler
> >
> > Cheers,
> >
> > On 23/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > I've applied the patch. How are you creating the patches? I had
> > > trouble applying it on Windows using ToirtoiseSVN.
> > >
> > > I've included the changes in the patch to the tools/TuscanyDriver
> > > build. I haven't tested this and I'm not sure if it works with the
> > > system.xml etc.
> > >
> > > Can you do a clean extract as a base for future patches?
> > >
> > > Cheers,
> > >
> > > On 23/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > > I'll give this a go. I should be able to run it on Mac as well.
> > > >
> > > > Cheers,
> > > >
> > > > On 23/07/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > >
> > > > > I updated the jira1438 with update 3, which includes the
> > following:
> > > > >        https://issues.apache.org/jira/browse/TUSCANY-1438
> > > > >
> > > > >
> > > > > - added build.xml for the following dirs:
> > > > >    runtime/extensions/build.xml
> > > > >    runtime/extensions/cpp/build.xml
> > > > >    runtime/extensions/sca/build.xml
> > > > >    runtime/extensions/ws/build.xml
> > > > >
> > > > > - changed system.xml to check for necessary axis, php, python,
> > > > > rest, and ruby env vars. If they're not  set in the env, look
> > > > > for them in platform.properties
> > > > >
> > > > > - changed compile-targets.xml targets
> > > > >    <cpp-install-headers/> to <cpp-install-files/>
> > > > >    <cpp-install-lib/> to <cpp-install-file/>
> > > > >
> > > > > - added compile-targets.xml target: <cpp-symlink/>
> > > > >
> > > > > - added library versioning and the
> > > > > platform.tuscanySCA.library.version
> > > > > platform.properties property
> > > > >
> > > > > Can someone submit this for me.
> > > > >
> > > > > The only thing left now is the build.xml for these extensions:
> > > > > php, python, rest, ruby
> > > > >
> > > > > WRT testing on macs, I wont have a mac available until next
> week.
> > > > >
> > > > > Thanks
> > > > >
> > > > > --------------------
> > > > > Brady Johnson
> > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > brady.johnson@roguewave.com
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Brady Johnson [mailto:bjohnson@roguewave.com]
> > > > > Sent: Thursday, July 19, 2007 8:23 AM
> > > > > To: tuscany-dev@ws.apache.org
> > > > > Subject: RE: [SCA Native] preliminary ant build
> > > > >
> > > > >
> > > > > I can look into testing it on Mac here. I believe we have
> > > > > several mac machines for the purpose.
> > > > >
> > > > > I'll get back to you soon.
> > > > >
> > > > > --------------------
> > > > > Brady Johnson
> > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > brady.johnson@roguewave.com
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > Sent: Thursday, July 19, 2007 2:44 AM
> > > > > To: tuscany-dev@ws.apache.org
> > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > >
> > > > > I've taken out the references to tuscany_sca_config.h and
> > > > > patched the automake for now with setting -DIS_DARWIN on mac.
> > > > > Yet to test it on Mac as I need to kick the kids off my machine!
> > > > >
> > > > > On 19/07/07, Pete Robbins <ro...@googlemail.com> wrote:
> > > > > > Automake generates a config file with lots of standard stuff
> > > > > > but
> >
> > > > > > the only  one we need is the IS_DARWIN, which is used in  2
> > > > > > places. I'll remove the 2 references to this header and change
>
> > > > > > automale to set the IS_DARWIN compile flag.
> > > > > >
> > > > > > Cheers,
> > > > > >
> > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > > > >
> > > > > > > I did the following diff command and got quite a lot of
> > > > > > > changes (listed
> > > > > > > below):
> > > > > > >
> > > > > > > # diff tuscany_sca_config.h.in tuscany_sca_config.h
> > > > > > >
> > > > > > > Are these not needed?
> > > > > > >        If not, I can get to work on removing all references
> > > > > > > to
> >
> > > > > > > the file.
> > > > > > >        If so, then we still need to figure out how to create
>
> > > > > > > the
> > > > > file.
> > > > > > >
> > > > > > > I just realized, its 23:30, there... Go to bed! ;)
> > > > > > >
> > > > > > > --------------------
> > > > > > > Brady Johnson
> > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > brady.johnson@roguewave.com
> > > > > > >
> > > > > > >
> > > > > > > 0a1
> > > > > > > > /* tuscany_sca_config.h.  Generated by configure.  */
> > > > > > > 4c5
> > > > > > > < #undef CLOSEDIR_VOID
> > > > > > > ---
> > > > > > > > /* #undef CLOSEDIR_VOID */
> > > > > > > 8c9
> > > > > > > < #undef HAVE_DIRENT_H
> > > > > > > ---
> > > > > > > > #define HAVE_DIRENT_H 1
> > > > > > > 11c12
> > > > > > > < #undef HAVE_DLFCN_H
> > > > > > > ---
> > > > > > > > #define HAVE_DLFCN_H 1
> > > > > > > 14c15
> > > > > > > < #undef HAVE_DOPRNT
> > > > > > > ---
> > > > > > > > /* #undef HAVE_DOPRNT */
> > > > > > > 17c18
> > > > > > > < #undef HAVE_GETCWD
> > > > > > > ---
> > > > > > > > #define HAVE_GETCWD 1
> > > > > > > 20c21
> > > > > > > < #undef HAVE_INTTYPES_H
> > > > > > > ---
> > > > > > > > #define HAVE_INTTYPES_H 1
> > > > > > > 23c24
> > > > > > > < #undef HAVE_MEMORY_H
> > > > > > > ---
> > > > > > > > #define HAVE_MEMORY_H 1
> > > > > > > 26c27
> > > > > > > < #undef HAVE_NDIR_H
> > > > > > > ---
> > > > > > > > /* #undef HAVE_NDIR_H */
> > > > > > > 29c30
> > > > > > > < #undef HAVE_PUTENV
> > > > > > > ---
> > > > > > > > #define HAVE_PUTENV 1
> > > > > > > 33c34
> > > > > > > < #undef HAVE_STAT_EMPTY_STRING_BUG
> > > > > > > ---
> > > > > > > > /* #undef HAVE_STAT_EMPTY_STRING_BUG */
> > > > > > > 36c37
> > > > > > > < #undef HAVE_STDBOOL_H
> > > > > > > ---
> > > > > > > > #define HAVE_STDBOOL_H 1
> > > > > > > 39c40
> > > > > > > < #undef HAVE_STDINT_H
> > > > > > > ---
> > > > > > > > #define HAVE_STDINT_H 1
> > > > > > > 42c43
> > > > > > > < #undef HAVE_STDLIB_H
> > > > > > > ---
> > > > > > > > #define HAVE_STDLIB_H 1
> > > > > > > 45c46
> > > > > > > < #undef HAVE_STRDUP
> > > > > > > ---
> > > > > > > > #define HAVE_STRDUP 1
> > > > > > > 48c49
> > > > > > > < #undef HAVE_STRINGS_H
> > > > > > > ---
> > > > > > > > #define HAVE_STRINGS_H 1
> > > > > > > 51c52
> > > > > > > < #undef HAVE_STRING_H
> > > > > > > ---
> > > > > > > > #define HAVE_STRING_H 1
> > > > > > > 55c56
> > > > > > > < #undef HAVE_SYS_DIR_H
> > > > > > > ---
> > > > > > > > /* #undef HAVE_SYS_DIR_H */
> > > > > > > 59c60
> > > > > > > < #undef HAVE_SYS_NDIR_H
> > > > > > > ---
> > > > > > > > /* #undef HAVE_SYS_NDIR_H */
> > > > > > > 62c63
> > > > > > > < #undef HAVE_SYS_STAT_H
> > > > > > > ---
> > > > > > > > #define HAVE_SYS_STAT_H 1
> > > > > > > 65c66
> > > > > > > < #undef HAVE_SYS_TIME_H
> > > > > > > ---
> > > > > > > > #define HAVE_SYS_TIME_H 1
> > > > > > > 68c69
> > > > > > > < #undef HAVE_SYS_TYPES_H
> > > > > > > ---
> > > > > > > > #define HAVE_SYS_TYPES_H 1
> > > > > > > 71c72
> > > > > > > < #undef HAVE_UNISTD_H
> > > > > > > ---
> > > > > > > > #define HAVE_UNISTD_H 1
> > > > > > > 74c75
> > > > > > > < #undef HAVE_VPRINTF
> > > > > > > ---
> > > > > > > > #define HAVE_VPRINTF 1
> > > > > > > 77c78
> > > > > > > < #undef HAVE__BOOL
> > > > > > > ---
> > > > > > > > #define HAVE__BOOL 1
> > > > > > > 80c81
> > > > > > > < #undef IS_DARWIN
> > > > > > > ---
> > > > > > > > /* #undef IS_DARWIN */
> > > > > > > 84c85
> > > > > > > < #undef LSTAT_FOLLOWS_SLASHED_SYMLINK
> > > > > > > ---
> > > > > > > > #define LSTAT_FOLLOWS_SLASHED_SYMLINK 1
> > > > > > > 87c88
> > > > > > > < #undef PACKAGE
> > > > > > > ---
> > > > > > > > #define PACKAGE "tuscany_sca_native"
> > > > > > > 90c91
> > > > > > > < #undef PACKAGE_BUGREPORT
> > > > > > > ---
> > > > > > > > #define PACKAGE_BUGREPORT ""
> > > > > > > 93c94
> > > > > > > < #undef PACKAGE_NAME
> > > > > > > ---
> > > > > > > > #define PACKAGE_NAME "tuscany_sca_native"
> > > > > > > 96c97
> > > > > > > < #undef PACKAGE_STRING
> > > > > > > ---
> > > > > > > > #define PACKAGE_STRING "tuscany_sca_native
> 1.0-incubator-M3"
> > > > > > > 99c100
> > > > > > > < #undef PACKAGE_TARNAME
> > > > > > > ---
> > > > > > > > #define PACKAGE_TARNAME "tuscany_sca_native"
> > > > > > > 102c103
> > > > > > > < #undef PACKAGE_VERSION
> > > > > > > ---
> > > > > > > > #define PACKAGE_VERSION "1.0-incubator-M3"
> > > > > > > 105c106
> > > > > > > < #undef STDC_HEADERS
> > > > > > > ---
> > > > > > > > #define STDC_HEADERS 1
> > > > > > > 108c109
> > > > > > > < #undef VERSION
> > > > > > > ---
> > > > > > > > #define VERSION "1.0-incubator-M3"
> > > > > > > 111c112
> > > > > > > < #undef const
> > > > > > > ---
> > > > > > > > /* #undef const */
> > > > > > > 116c117
> > > > > > > < #undef inline
> > > > > > > ---
> > > > > > > > /* #undef inline */
> > > > > > >
> > > > > > >
> > > > > > > -----Original Message-----
> > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > Sent: Wednesday, July 18, 2007 4:22 PM
> > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > >
> > > > > > > yeah I figured that... I did exactly the same when
> > > > > > > committing changes earlier! I dodn't commit the changes
> > > > > > > inthe tools
> > folder.
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > > > > >
> > > > > > > > Ok, I wasn't aware that I had changed the tools.
> > > > > > > >
> > > > > > > > I simply did a "svn diff . > patch_file" from the tuscany
> > > > > > > > root
> > > > > dir.
> > > > > > > > You can disregard the tools changes. I'll look into it.
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > >
> > > > > > > > --------------------
> > > > > > > > Brady Johnson
> > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
> > > > > > > > brady.johnson@roguewave.com
> > > > > > > >
> > > > > > > >
> > > > > > > > -----Original Message-----
> > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > Sent: Wednesday, July 18, 2007 4:16 PM
> > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > >
> > > > > > > > Cool! I've applied this change as well. The update2 patch
> > > > > > > > contained changes to the tools/TuscanyDriver/build.xml.
> > > > > > > > This
> >
> > > > > > > > doesn't work so you
> > > > > > >
> > > > > > > > may want to look at it.
> > > > > > > >
> > > > > > > > Cheers,
> > > > > > > >
> > > > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com> wrote:
> > > > > > > > >
> > > > > > > > > If that's all we need the tuscany_sca_config.h file for
> > > > > > > > > then, yes this
> > > > > > > >
> > > > > > > > > just got a whole lot easier. We can do the following on
> > > > > > > > > the Tuscany-BaseCompiler
> > > > > > > > >
> > > > > > > > >  <condition property="mac" value="true">
> > > > > > > > >    <os family="mac"/>
> > > > > > > > >  </condition>
> > > > > > > > >
> > > > > > > > >  <compiler id="Tuscany-BaseCompiler"
> multithreaded="true"
> > > > > > > > > exceptions="true" rtti="true">
> > > > > > > > >    <defineset if="windows"
> > > > > > > > > define="WIN32,_CRT_SECURE_NO_DEPRECATE,SCA_EXPORTS"/>
> > > > > > > > >    <defineset if="mac" define="IS_DARWIN"/>
> > > > > > > > >    <includepath path="${sdo.include.dir}"/>
> > > > > > > > >    <includepath path="${tuscanySCA.root.dir}"/> <!--
> > > > > > > > > tuscany_sca_config.h -->
> > > > > > > > >    <includepath path="${tuscanySCA.root.src.dir}"/>
> > > > > > > > >    <includepath
> > > > > > > > > path="${tuscanySCA.root.src.dir}/core/src"/>
> > > > > > > > >  </compiler>
> > > > > > > > >
> > > > > > > > > --------------------
> > > > > > > > > Brady Johnson
> > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software -
>
> > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > >
> > > > > > > > > -----Original Message-----
> > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > Sent: Wednesday, July 18, 2007 3:41 PM
> > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > >
> > > > > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com>
> wrote:
> > > > > > > > > >
> > > > > > > > > > I uploaded a patch on top of what you submit to svn.
> > > > > > > > > >
> > > > > > > > > > Here is a description of what I changed:
> > > > > > > > > >
> > > > > > > > > > - Changed the name of compilers.xml to system.xml.
> > > > > > > > > >
> > > > > > > > > > - This update has better support for a
> > > > > > > > > > platform.properties file that
> > > > > > > >
> > > > > > > > > > is completely empty.
> > > > > > > > > >  That is, all of the platform dependent items are
> > > > > > > > > > figured out by
> > > > > > > > ant.
> > > > > > > > > > If they are set in
> > > > > > > > > >  the platform.properties file then they override the
> > > > > > > > > > ant
> > > > > > > > > determination.
> > > > > > > > > >
> > > > > > > > > > - Better directory path management has been added to
> > > > > > > > > > the
> >
> > > > > > > > > > root build.xml and  runtime/core/src/build.xml files.
> > > > > > > > > >
> > > > > > > > > > - The install and clean targets in runtime/core/src
> > > > > > > > > > have
> >
> > > > > > > > > > been
> > > > > > > > > completed.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > With respect to your latest post regarding
> > > > > "tuscany-sca-config.h":
> > > > > > > > > > I knew this was a problem on clean systems and had
> > > > > > > > > > envisioned either
> > > > > > > >
> > > > > > > > > > running a script or using a slimmed down
> > > > > > > > > > automake/configure to
> > > > >
> > > > > > > > > > setup
> > > > > > > >
> > > > > > > > > > this file and any platform specific parameters. That's
>
> > > > > > > > > > certainly something we'll have to address, what do you
> > think?
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > The only reason we use this automake generated file is
> > > > > > > > > to set the IS_DARWIN compiler flag for running on Mac OS
>
> > > > > > > > > X. I
> >
> > > > > > > > > expect we
> > > > >
> > > > > > > > > can use
> > > > > > >
> > > > > > > > > a
> > > > > > > >
> > > > > > > > > different technique in ant to set this flag. Is there a
> > > > > "family=mac"
> > > > > > > > > or somesuch in ant? The automake simply runs a 'uname
> -s'
> > > > > > > > > command to
> > > > > > >
> > > > > > > > > figure it out.
> > > > > > > > >
> > > > > > > > > I think a goal for this shoul be that I can do a clean
> > > > > > > > > extract from svn and type "ant" in the top level
> > > > > > > > > directory
> >
> > > > > > > > > and it will build with
> > > > > > >
> > > > > > > > > everything defaulted. We need various pre-reqs defined
> > > > > > > > > (SDO loccation,
> > > > > > > > > + other pre-reqs) but we should try to make this as
> > > > > > > > > + simple
> >
> > > > > > > > > + as
> > > > > > > > > possible.
> > > > > > > > >
> > > > > > > > > Cheers,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --------------------
> > > > > > > > > > Brady Johnson
> > > > > > > > > > Lead Software Developer - HydraSCA Rogue Wave Software
>
> > > > > > > > > > -
> >
> > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -----Original Message-----
> > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > > Sent: Wednesday, July 18, 2007 9:22 AM
> > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > >
> > > > > > > > > > the install dir defaults to sca/deploy so I think we
> > > > > > > > > > don't need any properties other than overrides.
> > > > > > > > > >
> > > > > > > > > > I'll check in what I have. so youi can see.
> > > > > > > > > >
> > > > > > > > > > Cheers,
> > > > > > > > > >
> > > > > > > > > > On 18/07/07, Brady Johnson <bj...@roguewave.com>
> > wrote:
> > > > > > > > > > >
> > > > > > > > > > > Pete,
> > > > > > > > > > >
> > > > > > > > > > > That's a good idea. Then the only thing that really
> > > > > > > > > > > need to be set
> > > > > > > >
> > > > > > > > > > > in platform.properties file would be:
> > > > > > > > > > >        tuscanySCA.install.dir
> > > > > > > > > > >        and any possible overides
> > > > > > > > > > >
> > > > > > > > > > > I'll put that together real quick and upload it.
> > > > > > > > > > >
> > > > > > > > > > > Thanks
> > > > > > > > > > >
> > > > > > > > > > > -------------------- Brady Johnson Lead Software
> > > > > > > > > > > Developer - HydraSCA Rogue Wave Software
> >
> > > > > > > > > > > - brady.johnson@roguewave.com
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > From: Pete Robbins [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > Sent: Wednesday, July 18, 2007 9:00 AM
> > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > >
> > > > > > > > > > > On 18/07/07, Pete Robbins <ro...@googlemail.com>
> > wrote:
> > > > > > > > > > > > On 18/07/07, Brady Johnson
> > > > > > > > > > > > <bj...@roguewave.com>
> > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Pete,
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks for trying out the ant build scripts.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Regarding core.dir, you're right, the name will
> > > > > > > > > > > > > need to
> > > > > > > > change.
> > > > > > > > > > > > > I can do that no problem.
> > > > > > > > > > > > >
> > > > > > > > > > > > > As for the "tuscanySCA.root.dir" : Your
> > > > > > > > > > > > > suggestion
> >
> > > > > > > > > > > > > will work
> > > > > > >
> > > > > > > > > > > > > if you only execute ant from the root directory,
>
> > > > > > > > > > > > > but not
> > > > >
> > > > > > > > > > > > > if you execute ant
> > > > > > > > > > >
> > > > > > > > > > > > > from the runtime/core/src directory. That's why
> > > > > > > > > > > > > I put it
> > > > >
> > > > > > > > > > > > > in the platform.properties, which is accessed by
>
> > > > > > > > > > > > > all
> > > > > > > build.xml's.
> > > > > > > >
> > > > > > > > > > > > > Its better ant coding style to have anything
> > > > > > > > > > > > > that needs to be configured
> > > > > > > > > > >
> > > > > > > > > > > > > in a properties file, not in an ant build.xml
> > file.
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Yes... I realized that would limit you to running
> > > > > > > > > > > > ant from
> > > > >
> > > > > > > > > > > > the
> > > > > > >
> > > > > > > > > > > > top
> > > > > > > > >
> > > > > > > > > > > > level. So, as most of the info in
> > > > > > > > > > > > platform.properties can be deduced
> > > > > > > > > >
> > > > > > > > > > > > would a better solution be to have a top level (or
>
> > > > > > > > > > > > in antscripts
> > > > > > > > > > > > dir) platform-properties.xml that
> > > > > > > > > > > >  a) imports platform.properties for any overrides
> > > > > > > > > > > >  b) sets the properties conditional on the
> platform.
> > > > > > > > > > > >
> > > > > > > > > > > > e.g.
> > > > > > > > > > > >      <condition property="lib.ext" value='.so' '>
> > > > > > > > > > > >        <os family='linux'/>
> > > > > > > > > > > >      </condition>
> > > > > > > > > > > >      <condition property="lib.ext" value='.dll' '>
> > > > > > > > > > > >        <os family='windows'/>
> > > > > > > > > > > >      </condition>
> > > > > > > > > > > >      <condition property="lib.ext" value='.dylib
> '>
> > > > > > > > > > > >        <os family='MacOSX?????'/>
> > > > > > > > > > > >      </condition>
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > the build.xml files would all import this top level
> > file:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > > As for the platform.properties file for windows:
> > > > > > > > > > > > > The property platform can/should be removed, its
>
> > > > > > > > > > > > > not
> > > > > > > > necessary.
> > > > > > > > > > > > > If
> > > > > > > > > >
> > > > > > > > > > > > > the property "platform.compiler-definition" is
> > > > > > > > > > > > > set, then
> > > > >
> > > > > > > > > > > > > that value will be used for the compiler
> > > > > > > > > > > > > selection, else
> > > > >
> > > > > > > > > > > > > it will get set to msvc for windows as can be
> > > > > > > > > > > > > seen
> >
> > > > > > > > > > > > > on line 18 of
> > > > > > > > > > compilers.xml.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I think the way this should ship is to have
> > > > > > > > > > > > > several platform.properties files for the
> > different platform:
> > > > > > > > > > > > >        platform.properties.linux
> > > > > > > > > > > > >        platform.properties.windows
> > > > > > > > > > > > >        platform.properties.mac Which will each
> > > > > > > > > > > > > have values pre
> > > > > > > >
> > > > > > > > > > > > > configured for the corresponding
> > > > > > > > >
> > > > > > > > > > > > > platform. Then with either configure or a shell
> > > > > > > > > > > > > script, the platform
> > > > > > > > > > >
> > > > > > > > > > > > > file wil be copied to platform.properties and
> > > > > > > > > > > > > the directory properties will be set
> accordingly.
> > > > > > > > > > > > >
> > > > > > > > > > > > > -------------------- Brady Johnson Lead Software
>
> > > > > > > > > > > > > Developer - HydraSCA Rogue Wave Software -
> > > > >
> > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > Sent: Wednesday, July 18, 2007 7:08 AM
> > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant build
> > > > > > > > > > > > >
> > > > > > > > > > > > > I ran into a couple of issues tryingt o run this
>
> > > > > > > > > > > > > ant
> > > > > build.
> > > > > > > > > > > > > Firstly I got an error with a path
> > > > > > > > > > > > > xxxxx/cpp/sca/runtime/core/src/runtime/core/src.
>
> > > > > > > > > > > > > I
> >
> > > > > > > > > > > > > trcked this
> > > > > > > >
> > > > > > > > > > > > > down to the fact that the property core.dir is
> > > > > > > > > > > > > set
> >
> > > > > > > > > > > > > in the top level build.xml to "runtime/core/src"
> > > > > > > > > > > > > and in the
> > > > >
> > > > > > > > > > > > > runtime/core/src/build.xml the same property
> > > > > > > > > > > > > name is used and set tu
> > > > > > > > > > >
> > > > > > > > > > > > > "tuscany/sca/core". It looks to me like the
> > > > > > > > > > > > > second
> >
> > > > > > > > > > > > > defintion
> > > > > > >
> > > > > > > > > > > > > of core.dir is being ignored. I'm not an ant
> > expert ...
> > > > > > > > > > > > > do properties
> > > > > > > > > > > get propagated from higher level build files?
> > > > > > > > > > > > > I got around this by changing the name of
> > > > > > > > > > > > > core.dir
> >
> > > > > > > > > > > > > to src.dir in
> > > > > > > > >
> > > > > > > > > > > > > one
> > > > > > > > > > >
> > > > > > > > > > > > > of the files.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Rather than specifying the paths to the source
> > > > > > > > > > > > > code etc in the
> > > > > > > >
> > > > > > > > > > > > > platform.properties I would prefer to set these
> > > > > > > > > > > > > automatically so
> > > > > > > > >
> > > > > > > > > > > > > in the top level build.xml I added:
> > > > > > > > > > > > >
> > > > > > > > > > > > > <property name="tuscanySCA.root.dir"
> > > > > > > > > > > > > location="$env.PWD}" />
> > > > > > > > > > > > >
> > > > > > > > > > > > > and then based other properties from this. It
> > > > > > > > > > > > > seemed to
> > > > > > > work!
> > > > > > > > > > > > >
> > > > > > > > > > > > > Do these changes make sense?
> > > > > > > > > > > > >
> > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On 18/07/07, Pete Robbins
> > > > > > > > > > > > > <ro...@googlemail.com>
> > > > > wrote:
> > > > > > > > > > > > > > I'd like some info on what I need to edit in
> > > > > > > > > > > > > > the
> > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > Particularly:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > platform.compiler-definition=g++m32
> > > > > > > > > > > > > > platform=rhas4u4_gcc346
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > One good thing about automake is that it
> > > > > > > > > > > > > > detects
> >
> > > > > > > > > > > > > > your platform/compiler etc automatically.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On 17/07/07, Brady Johnson
> > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Pete,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I put together some documentation for using
> > > > > > > > > > > > > > > ant with
> > > > >
> > > > > > > > > > > > > > > TuscanySCA
> > > > > > > > > > > > > Native.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > How's this?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave
> > > > > > > > > > > > > > > Software -
> > > > > > >
> > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Using ant to build TuscanySCA Native
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > 1. Required Software to build TuscanySCA
> > > > > > > > > > > > > > > Native with
> > > > > > > ant:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Ant:
> > > > > > > > > > > > > > >        Ant comes installed with almost all
> > > > > > > > > > > > > > > Linux
> > > > > > > > > distributions
> > > > > > > > > > > > > > >        version 1.6 or later
> > > > > > > > > > > > > > >        Download: http://ant.apache.org/
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > antcontrib:
> > > > > > > > > > > > > > >        version 1.0b3 or later
> > > > > > > > > > > > > > >        Download:
> > > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > antcontrib cpptasks.jar
> > > > > > > > > > > > > > >        version 1.0b4 or later
> > > > > > > > > > > > > > >        Download:
> > http://ant-contrib.sourceforge.net/
> > > > > > > > > > > > > > >        Information:
> > > > > > > > > > > > > > > http://ant-contrib.sourceforge.net/cc.html
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > 2. Installation Instructions:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Linux
> > > > > > > > > > > > > > > -----
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Make sure JAVA_HOME is set before starting.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Set the ANT_HOME variable to the directory
> > > > > > > > > > > > > > > where you
> > > > >
> > > > > > > > > > > > > > > install
> > > > > > > > > > > ant.
> > > > > > > > > > > > > > > export ANT_HOME="/home/you/ant"
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Add $ANT_HOME/bin to your path.
> > > > > > > > > > > > > > > export PATH="${PATH}:${ANT_HOME}/bin"
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib and
> > > > > > > > > > > > > > > cpptasks,
> > > > >
> > > > > > > > > > > > > > > should be
> > > > > > > > > >
> > > > > > > > > > > > > > > installed in $ANT_HOME/lib So place the
> > > > > > > > > > > > > > > antcontrib and cpptasks jars
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > there.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > $ANT_HOME/lib, do the
> > > > > > > > > > > following:
> > > > > > > > > > > > > > > - create ${user.home}/.ant/lib
> > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Avoid adding optional ant tasks to your
> > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Windows
> > > > > > > > > > > > > > > -------
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Make sure JAVA_HOME is set before starting.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Install ant according to
> > > > > > > > > > > http://ant.apache.org/manual/index.html.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Set the ANT_HOME variable to the directory
> > > > > > > > > > > > > > > where you
> > > > >
> > > > > > > > > > > > > > > install
> > > > > > > > > > > ant.
> > > > > > > > > > > > > > > set ANT_HOME=c:\ant
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Add %ANT_HOME%\bin to your path.
> > > > > > > > > > > > > > > set PATH=%PATH%;%ANT_HOME%\bin
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Optional ant tasks, such as antcontrib and
> > > > > > > > > > > > > > > cpptasks,
> > > > >
> > > > > > > > > > > > > > > should be
> > > > > > > > > >
> > > > > > > > > > > > > > > installed in %ANT_HOME%\lib So place the
> > > > > > > > > > > > > > > antcontrib and cpptasks
> > > > > > > > > > >
> > > > > > > > > > > > > > > jars there.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If you dont have write access to
> > > > > > > > > > > > > > > %ANT_HOME%\lib, do the
> > > > > > > > > > > following:
> > > > > > > > > > > > > > > - create ${user.home}\.ant\lib
> > > > > > > > > > > > > > > - place the jars here
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Avoid adding optional ant tasks to your
> > > > > > > > > > > > > > > classpath, this is
> > > > > > > > > > > > > problematic.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > From: Pete Robbins
> > > > > > > > > > > > > > > [mailto:robbinspg@googlemail.com]
> > > > > > > > > > > > > > > Sent: Tuesday, July 17, 2007 1:24 AM
> > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > Subject: Re: [SCA Native] preliminary ant
> > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks Brady. I'll take a look at this. We
> > > > > > > > > > > > > > > will need
> > > > >
> > > > > > > > > > > > > > > doc
> > > > > > >
> > > > > > > > > > > > > > > as to
> > > > > > > > > >
> > > > > > > > > > > > > > > what the dependencies are (cpptasks etc) and
>
> > > > > > > > > > > > > > > any configuration
> > > > > > > > > >
> > > > > > > > > > > > > > > that is
> > > > > > > > > > > > > needed.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Cheers,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On 16/07/07, Brady Johnson
> > > > > > > > > > > > > > > <bj...@roguewave.com>
> > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > For anyone interested, I uploaded another
> > > > > > > > > > > > > > > > patch for this
> > > > > > > >
> > > > > > > > > > > > > > > > JIRA that
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > makes it work better for windows.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >        tuscanySCAnative_ant_update1.tar.gz
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave
> > > > > > > > > > > > > > > > Software
> > > > > > >
> > > > > > > > > > > > > > > > -
> > > > > > > >
> > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > <ma...@roguewave.com>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -----Original Message-----
> > > > > > > > > > > > > > > > From: Brady Johnson
> > > > > > > > > > > > > > > > [mailto:bjohnson@roguewave.com]
> > > > > > > > > > > > > > > > Sent: Monday, July 16, 2007 10:46 AM
> > > > > > > > > > > > > > > > To: tuscany-dev@ws.apache.org
> > > > > > > > > > > > > > > > Subject: [SCA Native] preliminary ant
> > > > > > > > > > > > > > > > build
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hello,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > This may be the second time you receive
> > > > > > > > > > > > > > > > this
> >
> > > > > > > > > > > > > > > > email, the first time
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I sent it with an attachment, which I
> > > > > > > > > > > > > > > > later realized that this
> > > > > > > > > > >
> > > > > > > > > > > > > > > > dist list
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > may reject. So here it is again, w/o the
> > > > > > > > > > > > > > > > attachment. I
> > > > > > >
> > > > > > > > > > > > > > > > created
> > > > > > > > > > >
> > > > > > > > > > > > > > > > a JIRA and put the attachment there:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > https://issues.apache.org/jira/browse/TUSC
> > > > > > > > > > > > > > > > AN
> > > > > > > > > > > > > > > > Y-1438
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > According to a previous thread titled
> > > > > > > > > > > > > > > > "[SCA Native] next
> > > > > > > >
> > > > > > > > > > > > > > > > release content
> > > > > > > > > > > > > > > > [was: Tuscany roadmap]" (I didnt want to
> > > > > > > > > > > > > > > > add
> >
> > > > > > > > > > > > > > > > another
> > > > > > > > "was"
> > > > > > > > > > > > > > > > redirection
> > > > > > > > > > > > > > > > ;) ), I have prepared ant build scripts
> > > > > > > > > > > > > > > > for
> > > > > > > > > > > cpp/sca/runtime/core.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > The tar.gz file attached to the jira
> > > > > > > > > > > > > > > > should just
> > > > > > > > "overlay"
> > > > > > > > > > > > > > > > onto the tuscany SCA cpp source code
> > > > > > > > > > > > > > > > directory
> > > > > > > > structure.
> > > > > > > > > > > > > > > > It
> > > > > > > > > >
> > > > > > > > > > > > > > > > consists of the following files:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > <tuscanySca Native Src dir>/
> > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > >      |---- build.xml
> > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > >      |---- antscripts/
> > > > > > > > > > > > > > > >      |         |
> > > > > > > > > > > > > > > >      |         |---- compilers.xml
> > > > > > > > > > > > > > > >      |         |---- compile-targets.xml
> > > > > > > > > > > > > > > >      |         |---- platform.properties
> > > > > > > > > > > > > > > >      |
> > > > > > > > > > > > > > > >      |---- runtime/core/src/build.xml
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > In order to use it, you will need to
> > > > > > > > > > > > > > > > modify the platform.properties file. This
> > > > > > > > > > > > > > > > will later be taken
> > > > >
> > > > > > > > > > > > > > > > care of
> > > > > > > > >
> > > > > > > > > > > > > > > > by either configure, or maybe just an
> > > > > > > > > > > > > > > > install
> > > > > script.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Currently it compiles and links
> > > > > > > > > > > > > > > > runtime/core/src/tuscany/sca
> > > > > > > > > >
> > > > > > > > > > > > > > > > {core, extension, model, util} and creates
> > > > > > > > > > libtuscany_sca.so.
> > > > > > > > > > > > > > > > The install target installs the lib and
> > > > > > > > > > > > > > > > the headers from
> > > > > > > >
> > > > > > > > > > > > > > > > those
> > > > > > > > > > >
> > > > > > > > > > > > > > > > src directories to the install directory
> > > > > > > > > > > > > > > > specified
> > > > >
> > > > > > > > > > > > > > > > in
> > > > > > > > > > > > > platform.properties.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Give it a spin and let me know what you
> > > > > > > > > > > > > > > > think. It shouldnt
> > > > > > > > >
> > > > > > > > > > > > > > > > take much to finish it for the rest of
> > > > > > > > > > > > > > > > tuscany
> > > > > cpp.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If it works out, we can then discuss how
> > > > > > > > > > > > > > > > to configure platform.properties.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -------------------- Brady Johnson Lead
> > > > > > > > > > > > > > > > Software Developer - HydraSCA Rogue Wave
> > > > > > > > > > > > > > > > Software
> > > > > > >
> > > > > > > > > > > > > > > > -
> > > > > > > >
> > > > > > > > > > > > > > > > brady.johnson@roguewave.com
> > > > > > > > > > > > > > > > <ma...@roguewave.com>
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > ------------------------------------------
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --------------------------------------------
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --------------------------------------------
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ------
> > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > ----
> > > > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > Pete
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Pete
> > > > > > > > > > > > >
> > > > > > > > > > > > > ------------------------------------------------
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ------
> > > > > > > > > > > > > ----
> > > > > > > > > > > > > --
> > > > > > > > > > > > > --
> > > > > > > > > > > > > --
> > > > > > > > > > > > > --
> > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > ------------------------------------------------
> > > > > > > > > > > > > --
> > > > > > > > > > > > > ------
> > > > > > > > > > > > > ----
> > > > > > > > > > > > > --
> > > > > > > > > > > > > --
> > > > > > > > > > > > > --
> > > > > > > > > > > > > --
> > > > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Pete
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Pete
> > > > > > > > > > >
> > > > > > > > > > > ----------------------------------------------------
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > ----
> > > > > > > > > > > --
> > > > > > > > > > > --
> > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ----------------------------------------------------
> > > > > > > > > > > --
> > > > > > > > > > > ------
> > > > > > > > > > > ----
> > > > > > > > > > > --
> > > > > > > > > > > --
> > > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Pete
> > > > > > > > > >
> > > > > > > > > > ------------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > ----
> > > > > > > > > > --
> > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ------------------------------------------------------
> > > > > > > > > > --
> > > > > > > > > > ------
> > > > > > > > > > ----
> > > > > > > > > > --
> > > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > > For additional commands, e-mail:
> > > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Pete
> > > > > > > > >
> > > > > > > > > --------------------------------------------------------
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > ----
> > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --------------------------------------------------------
> > > > > > > > > --
> > > > > > > > > ------
> > > > > > > > > ----
> > > > > > > > > - To unsubscribe, e-mail:
> > > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > > For additional commands, e-mail:
> > > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Pete
> > > > > > > >
> > > > > > > > ----------------------------------------------------------
> > > > > > > > --
> > > > > > > > ------
> > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail:
> > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > > > ----------------------------------------------------------
> > > > > > > > --
> > > > > > > > ------
> > > > > > > > --- To unsubscribe, e-mail:
> > > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > > For additional commands, e-mail:
> > > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Pete
> > > > > > >
> > > > > > > ------------------------------------------------------------
> > > > > > > --
> > > > > > > ------
> > > > > > > - To unsubscribe, e-mail:
> > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > For additional commands, e-mail:
> > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > >
> > > > > > >
> > > > > > > ------------------------------------------------------------
> > > > > > > --
> > > > > > > ------
> > > > > > > - To unsubscribe, e-mail:
> > > > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > > > For additional commands, e-mail:
> > > > > > > tuscany-dev-help@ws.apache.org
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Pete
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Pete
> > > > >
> > > > > ----------------------------------------------------------------
> > > > > --
> > > > > --- To unsubscribe, e-mail:
> > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > > >
> > > > >
> > > > > ----------------------------------------------------------------
> > > > > --
> > > > > --- To unsubscribe, e-mail:
> > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > > >
> > > > >
> > > > > ----------------------------------------------------------------
> > > > > --
> > > > > --- To unsubscribe, e-mail:
> > > > > tuscany-dev-unsubscribe@ws.apache.org
> > > > > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Pete
> > > >
> > >
> > >
> > > --
> > > Pete
> > >
> >
> >
> > --
> > Pete
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> > For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
>