<div>Julian -</div>
<div>&nbsp;</div>
<div>OK, I think I understand.&nbsp; You are saying that WAPackage *should* reflect all the *legitimate*&nbsp;dependencies *within* Seaside (I added this last caveat based on our earlier discussions).&nbsp; When WAPackage does not accurately reflect these dependencies, it can be either an error in the WAPackage dependency description *or* an error in the actual interrelationship of the code.&nbsp; Right?</div>

<div>&nbsp;</div>
<div>I don&#39;t think I need Lukas&#39; static analysis output since VA Smalltalk will alert me (sometimes quite forcefully!) if&nbsp;the dependencies are wrong.&nbsp; Since I already have a mechanism to add dependencies that are not reflected in WAPackage, I&nbsp;will&nbsp;use this mechanism to work-around any existing mismatches in the WAPackage dependencies.</div>

<div>&nbsp; <br clear="all">John O&#39;Keefe [|], Principal Smalltalk Architect, Instantiations Inc.<br><br><br></div>
<div class="gmail_quote">On Thu, Dec 18, 2008 at 10:09 AM, Julian Fitzell <span dir="ltr">&lt;<a href="mailto:jfitzell@gmail.com">jfitzell@gmail.com</a>&gt;</span> wrote:<br>
<blockquote style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" class="gmail_quote">Hey John,<br><br>So, let me try again.<br><br>The goal of WAPackage is to document the dependencies between packages<br>
as a human would understand them (ie. by the design).<br><br>Lukas also has a tool that looks for code dependencies (subclassing,<br>referencing a class, etc).<br><br>There *should* not be any code dependencies that go beyond the<br>
dependencies of WAPackage, and if there are then it is probably a bug.<br>In each case, though, we need to look at it and see whether the bug is<br>that we failed to document a legitimate logical dependency in<br>WAPackage or whether an inadvertent code dependency has been<br>
introduced.<br><br>This allows us to look for &quot;red flags&quot; by taking the set of detected<br>code dependencies and subtracting the set of WAPackage dependencies.<br><br>It also allows us to build a possible load order (even in presence of<br>
incorrect code dependencies) where one exists by taking the union of<br>the two dependency sets. This is what you would need to do to build a<br>load order (at least during development). Lukas has a tool working<br>that does this but I&#39;m not sure exactly what you need to do with the<br>
data. I imagine it can be adapted.<br><br>So yes, we are saying that WAPackage dependencies should not be simply<br>updated to reflect existing dependencies unless they are by-design<br>dependencies that just happened to get missed on WAPackage.<br>
<br>Is that clearer?<br><font color="#888888"><br>Julian<br></font>
<div>
<div></div>
<div class="Wj3C7c"><br>On Thu, Dec 18, 2008 at 2:20 PM, John O&#39;Keefe<br>&lt;<a href="mailto:wembley.instantiations@gmail.com">wembley.instantiations@gmail.com</a>&gt; wrote:<br>&gt; Julian and Lukas -<br>&gt;<br>&gt; VA Smalltalk is quite strict about dependencies and complains when they are<br>
&gt; not met -- the comment on my package update is an exact copy of this<br>&gt; particular complaint. &nbsp;Because VA Smalltalk packages for runtime based on<br>&gt; dependencies, it is critical for us to have them right in any package<br>
&gt; destined for a runtime application. &nbsp;For a development time package (such as<br>&gt; a testcase package), these complaint can be (but not neccessarily are) less<br>&gt; important.<br>&gt;<br>&gt; Before the advent of WAPackage, I had an equivalent to its dependencies in<br>
&gt; the VAPackageExporter (Lukas, you&#39;ve seen this) which was used to generate<br>&gt; the dependencies when exporting Seaside packages from Squeak to VA<br>&gt; Smalltalk. &nbsp;With the advent of WAPackage, these dependency definitions have<br>
&gt; been reduced to only those that go outside Seaside (such as SUnit and<br>&gt; Refactoring Browser) which I merge with the dependencies from WAPackage when<br>&gt; exporting.<br>&gt;<br>&gt; So, I&#39;m not quite sure how to interpret your post. &nbsp;Did you mean to say that<br>
&gt; I should not have modified the dependencies for JQuery-Tests-Core? &nbsp;If so, I<br>&gt; guess I am still not clear on exactly what the intent of the WAPackage<br>&gt; dependencies is. &nbsp;I certainly have no intent of subverting the desired use<br>
&gt; of WAPackage dependencies, so perhaps I need to change my approach to<br>&gt; generating prerequisites for Seaside packages in VA Smalltalk. &nbsp;I am open to<br>&gt; suggestions.<br>&gt;<br>&gt; John O&#39;Keefe [|], Principal Smalltalk Architect, Instantiations Inc.<br>
&gt;<br>&gt;<br>&gt; On Thu, Dec 18, 2008 at 5:14 AM, Julian Fitzell &lt;<a href="mailto:jfitzell@gmail.com">jfitzell@gmail.com</a>&gt; wrote:<br>&gt;&gt;<br>&gt;&gt; JQuery-Tests-Core-jok.46.mcz<br>&gt;&gt; from Seaside 2.9 by John O&#39;Keefe &lt;<a href="mailto:john_okeefe@instantiations.com">john_okeefe@instantiations.com</a>&gt;<br>
&gt;&gt; - update dependencies: Seaside-Development is required due to<br>&gt;&gt; referenced class WAPrettyPrintedDocument from<br>&gt;&gt; JQAllTests&gt;&gt;#renderJavascriptOn:<br>&gt;&gt;<br>&gt;&gt; John, the goal is, I think to have the WAPackage dependencies reflect<br>
&gt;&gt; functional (or &quot;desired&quot;) dependencies and that that information<br>&gt;&gt; combined with static dependency analysis will allow us to (a) create a<br>&gt;&gt; workable load order if possible and by considering the union of the<br>
&gt;&gt; two dependency sets (b) spot problems where there are static<br>&gt;&gt; dependencies that should not exist by looking at the difference of the<br>&gt;&gt; one set from the other.<br>&gt;&gt;<br>&gt;&gt; This concept has got a bit muddied though: I was just talking about it<br>
&gt;&gt; again with Lukas the other day and he had forgotten we were talking<br>&gt;&gt; about doing that and so was not combining the static dependency info<br>&gt;&gt; into the load order. But I think he was going to try doing that now...<br>
&gt;&gt;<br>&gt;&gt; Julian<br>&gt;&gt; _______________________________________________<br>&gt;&gt; seaside-dev mailing list<br>&gt;&gt; <a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br>
&gt;&gt; <a target="_blank" href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>
&gt; seaside-dev mailing list<br>&gt; <a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br>&gt; <a target="_blank" href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
&gt;<br>&gt;<br>_______________________________________________<br>seaside-dev mailing list<br><a href="mailto:seaside-dev@lists.squeakfoundation.org">seaside-dev@lists.squeakfoundation.org</a><br><a target="_blank" href="http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev">http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev</a><br>
</div></div></blockquote></div><br>