Markus Blaurock wrote:
>
> Eric Richardson wrote:
> >
> > Hi Christophe,
> >
> > Markus has the genic task class for ant. Markus, are you just doing client
> > code builds or do you build the tree as well?
>
> Only client code builds (yet). What exactly does Christophe mean by
> 'dependecy detection' ? Yet there is no detection of whatsoever in this
> GenIC-Task. I'm looking forward to include checking of
> the xml-File, so GenIC needs to run only when something changes.
> (Is this enough ? could there be a situation in which the xml-file
> is unchanged but the GenIC does still need to run ? I'm not sure
> but i feel 'yes, there is' :-(
>
> Although i'd like to have a feature in GenIC (Task) that generates
> only the code needed by the client to access the bean. I think
> the home Skel+Stubs and the interface Skel+Stubs are enough.
> Is this so ? or is the handle-Class also needed by the client ?
>
> >
> > If not, I could make a build file for 2.0 as an example and try to put the
> > code exactly where the current build does.
whoaa. I've done my first tree build now and i'm shuttered.
is it really necessary to kill an existing jonas-installation ?
i don't have that much experience, so is this usual business ?
now i know what is JPP - I think this can be done in ant with
the "tokenfiltering" feature. Ant can replace any tokens in
src-files (tokens are marked with @..@) with a string defined
at build-time. Maybe 2 diff. targets for RMI and JEREMIE will do.
I also see why a JRMIC task will be needed.
i'll study this build process deeper...
> > We could build ant tasks for the JRMIC, JPP, and compiler config? as well.
>
> AFAIK compiler config is already included in ant.
>
> JRMIC ? Doesn't GenIC call this ? Why do we need an extra task ? For
> Enhydra ?
>
> Sorry for the question: what is JPP ?
>
> >
> > Then you could take it from there. When you go to reorganize the design
> > points will be different for ant as
> > well as for the split up you propose.
> >
> > Okay?
> >
> > I have a source release but not sure which one. How can I tell which
> > version I have or where should I get a source release of 2.0 that we know
> > builds?
> >
> > Eric :-)
> >
> > Christophe Ney wrote:
> >
> > > Hi Eric,
> > >
> > > I am in charge of the integration of Jonas in Enhydra Enterprise
> > > and I beleive that Ant would make things a little but easier.
> > >
> > > But, there are issues with Ant that needs to be solved, among them:
> > > + Support of GenIC on jar and xml with dependencies detection
> > > + Support of JRMIC with dependency detection on Stubs/ Skeleton
> > > + Support of JPP (as liong as we use it)
> > > + Support of compiler configuration (Jikes for ex)
> > >
> > > Now regarding the tree layout, in the upcomming release of Enhydra
> > > Enterprise I am splitting Jonas in several modules (JonasJta,
> > > JonasJdbc,JonasEjb, JonasNaming) so this might influence futur changes.
> > >
> > > What I would love to see is a prototype of a Jonas tree on version 2
> > > that use Ant and some experience report on this. So that when we decide
> > > to do this we know where we go.
> > >
> > > And if you feel like Hercule, you can look at the Enhydra Enterprise
> > > rules too :-)
> > >
> > > Thanks,
> > > Christophe
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Richardson
> > > > Sent: Tuesday, June 20, 2000 6:53 PM
> > > > To: Jonas Users; ejb-container-group
> > > > Subject: Re: using Ant as a buildtool
> > > >
> > > >
> > > > Hi,
> > > > I was looking at the jonas 2.0 as a candidate for an ant
> > > > build. I really like the way jakarta is set up with
> > > > bin, src, docs at the top level of the project. We also add
> > > > lib, classes, and release. lib and classes can be used
> > > > in a shared area for team development.
> > > >
> > > > Is Ant being used now for building objectweb/jonas? I
> > > > downloaded a src version of Jonas and it's using make.
> > > >
> > > > Eric :-)
> > > >
> > > >
> > > > Markus Blaurock wrote:
> > > >
> > > > > >
> > > > > > Christophe Ney wrote:
> > > > > >
> > > > > > > Markus,
> > > > > > >
> > > > > > > This hasn't been done yet, but we are very interested
> > > > > > > in any contribution/experience report on this subject.
> > > > > > >
> > > > >
> > > > > I've written a taskdef Class for GenIC. That means
> > > > > one can use a tag "GenIC" in the build.xml file.
> > > > > It works well, but it still doesn't detect changes
> > > > > in the ejb-jar-xml-file, so it executes everytime it is
> > > > > encountered.
> > > > >
> > > > > One can use this tag by compiling the class, putting it
> > > > > in the classpath so ant can find it and
> > > > > adding the following tag to an "init" target in the build.xml
> > > > > file.
> > > > > <taskdef name="GenIC" classname="mytaskdefs.Genic" />
> > > > >
> > > > > The tag can be used as follows:
> > > > > <GenIC base="dir/where/you/want/the/classes"
> > > > > xmlfile="the/deplydesc.xml" />
> > > > >
> > > > > Any comments, questions or flames welcome :)
> > > > >
> > > > > --
> > > > > gruss
> > > > > markus
> > > > >
> > > > >
> > > > >
> >
> > <clip> Markus Blaurock's code</clip>
> >
> > ----
> > This list is cross-posted to two mail lists. To unsubscribe,
> > follow the instructions below for the list you subscribed to.
> > For objectweb.org: send email to [EMAIL PROTECTED] and
> > include in the body of the message "unsubscribe ejb-container-group".
> > For enhydra.org: send email to [EMAIL PROTECTED] and include
> > in the body of the message "unsubscribe ejb-container-group".
>
> --
> gruss
> markus
>
> ----
> To unsubscribe, send email to [EMAIL PROTECTED] and
> include in the body of the message "unsubscribe jonas-users".
> For general help, send email to [EMAIL PROTECTED] and
> include in the body of the message "help".
--
gruss
markus
----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".