tuscany-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Laws" <simonsl...@googlemail.com>
Subject Re: Release dependency management
Date Thu, 03 Jan 2008 08:15:40 GMT
On Jan 2, 2008 6:16 PM, Jean-Sebastien Delfino <jsdelfino@apache.org> wrote:

> Simon Laws wrote:
> > On Dec 21, 2007 5:25 PM, Luciano Resende <luckbr1975@gmail.com> wrote:
> >
> >> Does the ant file generator support projects that depend on wsdl
> >> generation or sdo type generation? If not, some samples, that have
> >> working ant scripts, might get broken...
> >>
> >> On Dec 21, 2007 9:21 AM, Simon Laws <simonslaws@googlemail.com> wrote:
> >>> I'm putting Sebastien's ant file generator into the build. The snag is
> >> that
> >>> it builds ant files based on dependencies it finds at the module
> level.
> >> We
> >>> ship a release excluding all but the latest level of dependencies.
> Hence
> >> the
> >>> ant file may be looking for dependencies that we don't ship. My first
> >> port
> >>> of call here is to look across the project and see if we can
> rationalize
> >> our
> >>> dependencies so that the modules are looking for the latest version.
> >> Failing
> >>> that we will have to have some kind of lookup that maps to the latest
> >>> version for each jar. I'm raising it here in the off chance that
> someone
> >> has
> >>> already thought about this and knows a neat solution.
> >>>
> >>> Regards
> >>>
> >>> Simon
> >>>
> >>
> >>
> >> --
> >> Luciano Resende
> >> Apache Tuscany Committer
> >> http://people.apache.org/~lresende<http://people.apache.org/%7Elresende><
> http://people.apache.org/%7Elresende>
> >> http://lresende.blogspot.com/
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> >> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
> >>
> >> Yes, you're right. What I was thinking of doing there is have the ant
> > generator just generate the required classpath into a separate file and
> > include that into a static ant file so we have the option of writing
> custom
> > ant files that can just include the generated bit if needs be
> >
> > Simon
> >
>
> I can add code to the plugin to detect wsdl2java and gen the
> corresponding ant script. It'll be simpler than a mix of generated and
> custom ant scripts.
>
> --
> Jean-Sebastien
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
> For additional commands, e-mail: tuscany-dev-help@ws.apache.org
>
> A couple of examples would be alert aggregator sample [1] build file which
generates SDOs and downloads DOJO or the helloworld-dojo-webapp build file
[2] which just downloads DOJO. I wanted to have the dependencies
automatically generated in all of these types of cases for this release as
previously I have ended up hand editing each build file. On the other hand I
didn't have lots of time to make the ultimate solution and revisiting all of
this has been on the cards for a while anyhow, here is the latest
incarnation [3]. So this is something of a compromise.

Simon

[1]
http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/demos/alert-aggregator-webapp/build.xml
[2]
http://svn.apache.org/repos/asf/incubator/tuscany/java/sca/samples/helloworld-dojo-webapp/build.xml
[3] http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg26668.html

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message