[as2api-dev] [CVS trunk] Canonicalize classpath elements before searching.

David Holroyd dave at badgers-in-foil.co.uk
Mon, 11 Jul 2005 22:18:57 +0000


<html>
<head>
<style><!--
  body {background-color:#ffffff;}
  .file {border:1px solid #eeeeee;margin-top:1em;margin-bottom:1em;}
  .pathname {font-family:monospace; float:right;}
  .fileheader {margin-bottom:.5em;}
  .diff {margin:0;}
  .tasklist {padding:4px;border:1px dashed #000000;margin-top:1em;}
  .tasklist ul {margin-top:0;margin-bottom:0;}
  tr.alt {background-color:#eeeeee}
  #added {background-color:#ddffdd;}
  #addedchars {background-color:#99ff99;font-weight:bolder;}
  tr.alt #added {background-color:#ccf7cc;}
  #removed {background-color:#ffdddd;}
  #removedchars {background-color:#ff9999;font-weight:bolder;}
  tr.alt #removed {background-color:#f7cccc;}
  #info {color:#888888;}
  #context {background-color:#eeeeee;}
  td {padding-left:.3em;padding-right:.3em;}
  tr.head {border-bottom-width:1px;border-bottom-style:solid;}
  tr.head td {padding:0;padding-top:.2em;}
  .task {background-color:#ffff00;}
  .comment {padding:4px;border:1px dashed #000000;background-color:#ffffdd}
  .error {color:red;}
  hr {border-width:0px;height:2px;background:black;}
--></style>
</head>
<body>
<table cellspacing="0" cellpadding="0" border="0" rules="cols">
<tr class="head"><td colspan="4">Commit in <b><tt>trunk/as2api/ui</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><a href="#file1">cli.rb</a></tt></td><td align="right" id="added">+1</td><td align="right" id="removed">-1</td><td nowrap="nowrap" align="center"><a href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/ui/cli.rb?rev=190&amp;content-type=text/vnd.viewcvs-markup">190</a> <a href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/ui/cli.rb.diff?r1=190&amp;r2=191">-&gt;</a> <a href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/ui/cli.rb?rev=191&amp;content-type=text/vnd.viewcvs-markup">191</a></td></tr>
</table>
<pre class="comment">
Canonicalize classpath elements before searching.
I suspect relative paths may previously have been pruned by starts-with-. test
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname"><a
href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk">trunk</a>/<a
href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api">as2api</a>/<a
href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/ui">ui</a></span><br />
<div class="fileheader"><big><b>cli.rb</b></big> <small id="info"><a href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/ui/cli.rb?rev=190&amp;content-type=text/vnd.viewcvs-markup">190</a> <a href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/ui/cli.rb.diff?r1=190&amp;r2=191">-&gt;</a> <a href="http://svn.badgers-in-foil.co.uk/viewcvs.cgi/as2api/trunk/as2api/ui/cli.rb?rev=191&amp;content-type=text/vnd.viewcvs-markup">191</a></small></div>
<pre class="diff"><small id="info">--- trunk/as2api/ui/cli.rb	2005-07-11 21:40:48 UTC (rev 190)
+++ trunk/as2api/ui/cli.rb	2005-07-11 22:18:56 UTC (rev 191)
@@ -153,7 +153,7 @@
</small></pre><pre class="diff" id="context">     ignored_packages = Set.new
     @conf.classpath.each do |path|
       found_sources = false
</pre><pre class="diff" id="removed">-      each_source(path) do |source|
</pre><pre class="diff" id="added">+      each_source(File.expand_path(path)) do |source|
</pre><pre class="diff" id="context"> 	if process_file?(source)
 	  result &lt;&lt; SourceFile.new(path, source)
 	else
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -&gt; email">CVSspam</a> 0.2.11</small></center>
</body></html>