avalon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Berin Loritsch" <blorit...@apache.org>
Subject RE: Recursive dependencies
Date Wed, 03 Apr 2002 13:29:02 GMT
The correct dependencies for Command are:

collections
event
thread

> -----Original Message-----
> From: Paul Hammant [mailto:Paul_Hammant@yahoo.com] 
> Sent: Wednesday, April 03, 2002 1:42 AM
> To: Avalon Developers List
> Subject: Re: Recursive dependencies
> 
> 
> Jeff,
> 
> >Just recently, it seems some code in Excalibur's scratchpad 
> has gained 
> >a dependency on Command. Unfortunately, Command has a dep on 
> >scratchpad, so the whole thing is unbuildable.
> >
> >Commenting out the scratchpad <javac> fixes the problem for now.
> >
> Interesting.  
> 
> In theory we could allow recursive dependancies if we had 
> interface/impl 
> separation to the extent where all interfaces were built 
> before impls. My assumption is that AImpl requires BInterface 
> and Bimpl requires 
> AInterface.
> 
> We could split the compiles into two stages :
> 
>   <!-- interface compile -->
>        <javac srcdir="${java.dir}"
>            destdir="${build.classes}"
>            debug="${build.debug}"
>            optimize="${build.optimize}"
>            deprecation="${build.deprecation}">
>         <classpath refid="project.class.path" />
>         <exclude name="org/apache/excalibur/aaa/impl/**" />
>       </javac>
> 
>   <!-- impl compile -->
>        <javac srcdir="${java.dir}"
>            destdir="${build.classes}"
>            debug="${build.debug}"
>            optimize="${build.optimize}"
>            deprecation="${build.deprecation}">
>         <classpath refid="project.class.path" />
>         <exclude name="org/apache/excalibur/aaa/*" />
>       </javac>
> 
> Thoughts?
> 
> Regards,
> 
> - Paul
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:avalon-dev-> unsubscribe@jakarta.apache.org>
> For 
> additional commands, 
> e-mail: <mailto:avalon-dev-help@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:avalon-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@jakarta.apache.org>


Mime
View raw message