[CVS jcontainer] Add a comment about effects of glob import

Peter Donald <pdonald-yCVjj/[email protected]> Mon, 22 Mar 2004 17:02:09 -0600
Newsgroups gmane.comp.java.jcontainer.cvs
Message-ID <[email protected]>
<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>jcontainer/loom/plugins/maven-sar</tt></b><span id="info"> on MAIN</span></td></tr>
<tr><td><tt><a href="#file1">plugin.jelly</a></tt></td><td align="right" id="added">+31</td><td align="right" id="removed">-62</td><td nowrap="nowrap" align="center"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/plugin.jelly?rev=1.14&amp;content-type=text/vnd.viewcvs-markup">1.14</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/plugin.jelly.diff?r1=1.14&amp;r2=1.15">-&gt;</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/plugin.jelly?rev=1.15&amp;content-type=text/vnd.viewcvs-markup">1.15</a></td></tr>
</table>
<pre class="comment">
Add a comment about effects of glob import
</pre>
<hr /><a name="file1" /><div class="file">
<span class="pathname"><a href="http://xstream.cvs.codehaus.org/jcontainer">jcontainer</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom">loom</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins">plugins</a>/<a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar">maven-sar</a><br /></span>
<div class="fileheader"><big><b>plugin.jelly</b></big> <small id="info"><a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/plugin.jelly?rev=1.14&amp;content-type=text/vnd.viewcvs-markup">1.14</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/plugin.jelly.diff?r1=1.14&amp;r2=1.15">-&gt;</a> <a href="http://xstream.cvs.codehaus.org/jcontainer/loom/plugins/maven-sar/plugin.jelly?rev=1.15&amp;content-type=text/vnd.viewcvs-markup">1.15</a></small></div>
<pre class="diff"><small id="info">diff -u -r1.14 -r1.15
--- plugin.jelly	3 Dec 2003 10:44:48 -0000	1.14
+++ plugin.jelly	22 Mar 2004 23:02:09 -0000	1.15
@@ -1,10 +1,6 @@
</small></pre><pre class="diff" id="context"> &lt;?xml version="1.0"?&gt;
 
</pre><pre class="diff" id="removed">-&lt;project xmlns:j="jelly:core"
-    xmlns:ant="jelly:ant"
-    xmlns:artifact="artifact"
-    xmlns:license="license"
-    xmlns:util="jelly:util"&gt;
</pre><pre class="diff" id="added">+&lt;project xmlns:j="jelly:core" xmlns:ant="jelly:ant" xmlns:artifact="artifact" xmlns:license="license" xmlns:util="jelly:util"&gt;
</pre><pre class="diff" id="context"> 
     &lt;j:set var="maven.sar.final.name" value="${pom.artifactId}.sar"/&gt;
     &lt;j:set var="logging" value="${context.getVariable('maven.sar.logging')}"/&gt;
</pre><pre class="diff"><small id="info">@@ -17,30 +13,30 @@
</small></pre><pre class="diff" id="context">     &lt;!--==================================================================--&gt;
     &lt;!-- Setup Descriptor Tools                                           --&gt;
     &lt;!--==================================================================--&gt;
</pre><pre class="diff" id="removed">-    &lt;goal name="sar:init"
-        prereqs="dna:init"
-        description="Setup Loom Descriptor Processing Tasks"&gt;
</pre><pre class="diff" id="added">+    &lt;goal name="sar:init" prereqs="dna:init" description="Setup Loom Descriptor Processing Tasks"&gt;
</pre><pre class="diff" id="context"> 
         &lt;ant:mc_interceptorSet id="maven.loom.interceptors"&gt;
</pre><pre class="diff" id="removed">-            &lt;ant:interceptor
-                name="org.jcontainer.loom.info.PhoenixAttributeInterceptor"&gt;
</pre><pre class="diff" id="added">+            &lt;ant:interceptor name="org.jcontainer.loom.info.PhoenixAttributeInterceptor"&gt;
</pre><pre class="diff" id="context">                 &lt;ant:classpath&gt;
                     &lt;ant:pathelement path="${plugin.dir}"/&gt;
</pre><pre class="diff" id="added">+                    &lt;!--
+                    The following allows applications to resolve * imports for
+                    types in the source code. If this is not included then
+                    all imports must be fully specified or else they will be
+                    incorrectly specified in attributes file.
+                    --&gt;
+                    &lt;!--&lt;ant:path refid="maven.dependency.classpath"/&gt;--&gt;
</pre><pre class="diff" id="context">                 &lt;/ant:classpath&gt;
             &lt;/ant:interceptor&gt;
         &lt;/ant:mc_interceptorSet&gt;
 
</pre><pre class="diff" id="removed">-        &lt;ant:mc_addToInterceptorSet
-            dest="maven.metaclass.interceptors"
-            source="maven.loom.interceptors"/&gt;
</pre><pre class="diff" id="added">+        &lt;ant:mc_addToInterceptorSet dest="maven.metaclass.interceptors" source="maven.loom.interceptors"/&gt;
</pre><pre class="diff" id="context">     &lt;/goal&gt;
 
     &lt;!--==================================================================--&gt;
     &lt;!-- Metagenerate descriptor files                                    --&gt;
     &lt;!--==================================================================--&gt;
</pre><pre class="diff" id="removed">-    &lt;goal name="sar:metagenerate"
-        prereqs="sar:init,metaclass:generate"
-        description="Generate Loom Descriptor Files"&gt;
</pre><pre class="diff" id="added">+    &lt;goal name="sar:metagenerate" prereqs="sar:init,metaclass:generate" description="Generate Loom Descriptor Files"&gt;
</pre><pre class="diff" id="context">     &lt;/goal&gt;
 
     &lt;!--==================================================================--&gt;
</pre><pre class="diff"><small id="info">@@ -60,8 +56,7 @@
</small></pre><pre class="diff" id="context">                 &lt;ant:zipfileset file="${logging}" prefix="SAR-INF/"/&gt;
             &lt;/j:if&gt;
             &lt;!-- Add build artifacts --&gt;
</pre><pre class="diff" id="removed">-            &lt;ant:zipfileset dir="${maven.sar.build.dir}"
-                prefix="SAR-INF/lib"&gt;
</pre><pre class="diff" id="added">+            &lt;ant:zipfileset dir="${maven.sar.build.dir}" prefix="SAR-INF/lib"&gt;
</pre><pre class="diff" id="context">                 &lt;ant:include name="${maven.sar.lib.include}"/&gt;
                 &lt;ant:exclude name="${maven.sar.lib.exclude}"/&gt;
             &lt;/ant:zipfileset&gt;
</pre><pre class="diff"><small id="info">@@ -69,8 +64,7 @@
</small></pre><pre class="diff" id="context">             &lt;j:forEach var="artifact" items="${pom.artifacts}"&gt;
                 &lt;j:set var="dependency" value="${artifact.dependency}"/&gt;
                 &lt;j:if test="${dependency.getProperty('sar.bundle')=='true'}"&gt;
</pre><pre class="diff" id="removed">-                    &lt;ant:zipfileset dir="${maven.repo.local}/${dependency.artifactDirectory}/jars/"
-                        prefix="SAR-INF/lib"&gt;
</pre><pre class="diff" id="added">+                    &lt;ant:zipfileset dir="${maven.repo.local}/${dependency.artifactDirectory}/jars/" prefix="SAR-INF/lib"&gt;
</pre><pre class="diff" id="context">                         &lt;ant:include name="${dependency.artifact}"/&gt;
                     &lt;/ant:zipfileset&gt;
                 &lt;/j:if&gt;
</pre><pre class="diff"><small id="info">@@ -110,16 +104,11 @@
</small></pre><pre class="diff" id="context">                 &lt;ant:attribute name="Built-By" value="${user.name}"/&gt;
                 &lt;ant:section name="${pom.package}"&gt;
                     &lt;ant:attribute name="Specification-Title" value="${pom.artifactId}"/&gt;
</pre><pre class="diff" id="removed">-                    &lt;ant:attribute name="Specification-Version"
-                        value="${pom.currentVersion}"/&gt;
-                    &lt;ant:attribute name="Specification-Vendor"
-                        value="${pom.organization.name}"/&gt;
-                    &lt;ant:attribute name="Implementation-Title"
-                        value="${pom.package}"/&gt;
-                    &lt;ant:attribute name="Implementation-Version"
-                        value="${pom.currentVersion}"/&gt;
-                    &lt;ant:attribute name="Implementation-Vendor"
-                        value="${pom.organization.name}"/&gt;
</pre><pre class="diff" id="added">+                    &lt;ant:attribute name="Specification-Version" value="${pom.currentVersion}"/&gt;
+                    &lt;ant:attribute name="Specification-Vendor" value="${pom.organization.name}"/&gt;
+                    &lt;ant:attribute name="Implementation-Title" value="${pom.package}"/&gt;
+                    &lt;ant:attribute name="Implementation-Version" value="${pom.currentVersion}"/&gt;
+                    &lt;ant:attribute name="Implementation-Vendor" value="${pom.organization.name}"/&gt;
</pre><pre class="diff" id="context">                 &lt;/ant:section&gt;
             &lt;/ant:manifest&gt;
         &lt;/ant:jar&gt;
</pre><pre class="diff"><small id="info">@@ -129,56 +118,36 @@
</small></pre><pre class="diff" id="context">     &lt;!--==================================================================--&gt;
     &lt;!-- Install the sar in the local repository                          --&gt;
     &lt;!--==================================================================--&gt;
</pre><pre class="diff" id="removed">-    &lt;goal name="sar:install"
-        prereqs="sar:sar"
-        description="Install the sar in the local repository"&gt;
-
-        &lt;artifact:install
-            artifact="${maven.sar.build.dir}/${maven.sar.final.name}"
-            type="sar"
-            project="${pom}"/&gt;
</pre><pre class="diff" id="added">+    &lt;goal name="sar:install" prereqs="sar:sar" description="Install the sar in the local repository"&gt;
+
+        &lt;artifact:install artifact="${maven.sar.build.dir}/${maven.sar.final.name}" type="sar" project="${pom}"/&gt;
</pre><pre class="diff" id="context"> 
     &lt;/goal&gt;
 
     &lt;!--==================================================================--&gt;
     &lt;!-- Install snapshot of the sar in the local repository              --&gt;
     &lt;!--==================================================================--&gt;
</pre><pre class="diff" id="removed">-    &lt;goal name="sar:install-snapshot"
-        prereqs="sar:sar"
-        description="Install snapshot of the sar in the local repository"&gt;
-
-        &lt;artifact:install-snapshot
-            artifact="${maven.sar.build.dir}/${maven.sar.final.name}"
-            type="sar"
-            project="${pom}"/&gt;
</pre><pre class="diff" id="added">+    &lt;goal name="sar:install-snapshot" prereqs="sar:sar" description="Install snapshot of the sar in the local repository"&gt;
+
+        &lt;artifact:install-snapshot artifact="${maven.sar.build.dir}/${maven.sar.final.name}" type="sar" project="${pom}"/&gt;
</pre><pre class="diff" id="context"> 
     &lt;/goal&gt;
 
     &lt;!--==================================================================--&gt;
     &lt;!-- Deploy the sar to the remote repository                          --&gt;
     &lt;!--==================================================================--&gt;
</pre><pre class="diff" id="removed">-    &lt;goal name="sar:deploy"
-        prereqs="sar:sar"
-        description="Deploy the sar to the remote repository"&gt;
-
-        &lt;artifact:deploy
-            artifact="${maven.sar.build.dir}/${maven.sar.final.name}"
-            type="sar"
-            project="${pom}"/&gt;
</pre><pre class="diff" id="added">+    &lt;goal name="sar:deploy" prereqs="sar:sar" description="Deploy the sar to the remote repository"&gt;
+
+        &lt;artifact:deploy artifact="${maven.sar.build.dir}/${maven.sar.final.name}" type="sar" project="${pom}"/&gt;
</pre><pre class="diff" id="context"> 
     &lt;/goal&gt;
 
     &lt;!--==================================================================--&gt;
     &lt;!-- Deploy snapshot of the sar to the remote repository              --&gt;
     &lt;!--==================================================================--&gt;
</pre><pre class="diff" id="removed">-    &lt;goal name="sar:deploy-snapshot"
-        prereqs="sar:sar"
-        description="Deploy snapshot of the sar to the remote repository"&gt;
-
-        &lt;artifact:deploy-snapshot
-            artifact="${maven.sar.build.dir}/${maven.sar.final.name}"
-            type="sar"
-            project="${pom}"/&gt;
</pre><pre class="diff" id="added">+    &lt;goal name="sar:deploy-snapshot" prereqs="sar:sar" description="Deploy snapshot of the sar to the remote repository"&gt;
+
+        &lt;artifact:deploy-snapshot artifact="${maven.sar.build.dir}/${maven.sar.final.name}" type="sar" project="${pom}"/&gt;
</pre><pre class="diff" id="context"> 
     &lt;/goal&gt;
 
</pre></div>
<center><small><a href="http://www.badgers-in-foil.co.uk/projects/cvsspam/" title="commit -&gt; email">CVSspam</a> 0.2.8</small></center>
</body></html>