That sounds like a good idea. I hope to minimize/automate as much of
the configuration as possible but there are a fair number of external
dependencies (libxml, httpd, libcurl, Ruby, Python... etc..)

Cheers,

On 18/07/07, Luciano Resende <[EMAIL PROTECTED]> wrote:
Hey Guys

Does a lot of external dependencies need to be setup in order to
proper run the build ? Once this is complete, we could try to
integrate the ant build with Continuun (looks like it supports ant
builds) and try to get a nightly build published for Native project as
well ?

On 7/18/07, Pete Robbins <[EMAIL PROTECTED]> wrote:
> On 18/07/07, Pete Robbins <[EMAIL PROTECTED]> wrote:
> > 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}" />
> >
>
> or...
>    <property name="tuscanySCA.root.dir" location="{$basedir}" />
>
> > and then based other properties from this. It seemed to work!
> >
> > Do these changes make sense?
> >
> > Cheers,
> >
> >
> > On 18/07/07, Pete Robbins <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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 - [EMAIL PROTECTED]
> > > >
> > > >
> > > >
> > > >
> > > > 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:[EMAIL PROTECTED]
> > > > 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 <[EMAIL PROTECTED]> 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 - [EMAIL PROTECTED]
> > > > > <mailto:[EMAIL PROTECTED]>
> > > > >
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Brady Johnson [mailto:[EMAIL PROTECTED]
> > > > > 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/TUSCANY-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 - [EMAIL PROTECTED]
> > > > > <mailto:[EMAIL PROTECTED]>
> > > > >
> > > > > ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Pete
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > --
> > > Pete
> > >
> >
> >
> > --
> > Pete
> >
>
>
> --
> Pete
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Luciano Resende
Apache Tuscany Committer
http://people.apache.org/~lresende
http://lresende.blogspot.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Pete

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to