Author: polx
Date: Wed Jun 15 11:45:32 2005
New Revision: 190789

URL: http://svn.apache.org/viewcvs?rev=190789&view=rev
Log:
Little fixes for the binary distribution:
- support for arguments with spaces
- a readme dedicated for the binary distribution with an explanation about
extensibility (which looks good).
paul

Added:
    jakarta/commons/proper/jelly/trunk/README-binary-dist.txt
Modified:
    jakarta/commons/proper/jelly/trunk/maven.xml
    jakarta/commons/proper/jelly/trunk/src/bin/jelly

Added: jakarta/commons/proper/jelly/trunk/README-binary-dist.txt
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/README-binary-dist.txt?rev=190789&view=auto
==============================================================================
--- jakarta/commons/proper/jelly/trunk/README-binary-dist.txt (added)
+++ jakarta/commons/proper/jelly/trunk/README-binary-dist.txt Wed Jun 15 
11:45:32 2005
@@ -0,0 +1,50 @@
+  Copyright 2002,2004 The Apache Software Foundation.
+  
+  Licensed under the Apache License, Version 2.0 (the "License");
+  you may not use this file except in compliance with the License.
+  You may obtain a copy of the License at
+  
+       http://www.apache.org/licenses/LICENSE-2.0
+  
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+Jelly
+=====
+
+Welcome to Jakarta commons Jelly.
+The home page of the project is at 
+    http://jakarta.apache.org/commons/jelly
+
+This binary distribution allows you to run jelly out of
+the box. It is enough to have the java and jelly (or jelly.bat) 
+commands in your path of accessible commands..
+    
+Jelly is made of a core with a number of individual tag libraries.
+This binary distribution includes the following tag-libraries:
+- bean
+- define
+- dynabean
+- fmt
+- interaction
+- junit
+- log
+- swing
+- util
+- xml
+
+More can be installed by hand by dropping the jars and the dependencies jars
+in the lib directory (the dependencies can be seen, for each tag-library, in
+the project info section of the documentation).
+
+Please refer to the shipped documentation (in the docs directory) and the 
+project website for documentation for each tag-libraries and for example.
+
+Jakarta Commons Jelly is an open-source project of the Apache Software 
Foundation
+which relies on feedback of its users on both the issue tracking and the 
+mailing-lists. We look forward to hear from you!
+
+Enjoy!

Modified: jakarta/commons/proper/jelly/trunk/maven.xml
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/maven.xml?rev=190789&r1=190788&r2=190789&view=diff
==============================================================================
--- jakarta/commons/proper/jelly/trunk/maven.xml (original)
+++ jakarta/commons/proper/jelly/trunk/maven.xml Wed Jun 15 11:45:32 2005
@@ -107,6 +107,8 @@
         <ant:include name="RELEASE-NOTES.txt" />
       </fileset>
     </copy>
+    <copy file="README-binary-dist.txt" overwrite="true"
+      tofile="${maven.dist.bin.assembly.dir}/README.txt"/>
 
     <copy todir="${maven.dist.bin.assembly.dir}/bin">
       <fileset dir="src/bin"/>
@@ -528,7 +530,7 @@
         
       <j:forEach var="reactorProject" items="${reactorProjects}">
         <j:forEach var="dep" items="${reactorProject.dependencies}">
-          <j:if test="${dep.artifactId eq 
'commons-jelly'}">${dep.setVersion("SNAPSHOT")}</j:if>
+          <j:if test="${dep.groupId eq 
'commons-jelly'}">${dep.setVersion("SNAPSHOT")}</j:if>
           ${deps.add(dep)}
         </j:forEach>
       </j:forEach>
@@ -562,7 +564,9 @@
         <jar destfile="${fatJarPath}" update="yes">
           <manifest><attribute name="Main-Class" 
value="org.apache.commons.jelly.Jelly"/></manifest>
           <j:forEach var="dep" items="${deps}">
-            <zipfileset 
src="${maven.repo.local}/${dep.groupId}/${dep.type}s/${dep.artifact}" />
+            <zipfileset 
src="${maven.repo.local}/${dep.groupId}/${dep.type}s/${dep.artifact}">
+              <exclude name="META-INF/*"/>
+              </zipfileset>
             <echo>Adding jar 
${maven.repo.local}/${dep.groupId}/${dep.type}s/${dep.artifact}.</echo>
           </j:forEach>
         </jar>

Modified: jakarta/commons/proper/jelly/trunk/src/bin/jelly
URL: 
http://svn.apache.org/viewcvs/jakarta/commons/proper/jelly/trunk/src/bin/jelly?rev=190789&r1=190788&r2=190789&view=diff
==============================================================================
--- jakarta/commons/proper/jelly/trunk/src/bin/jelly (original)
+++ jakarta/commons/proper/jelly/trunk/src/bin/jelly Wed Jun 15 11:45:32 2005
@@ -34,5 +34,5 @@
   -Djelly.home=${JELLY_HOME} \
   -Dtools.jar=${JAVA_HOME}/lib/tools.jar \
   ${JELLY_OPTS} \
-  com.werken.forehead.Forehead $*
+  com.werken.forehead.Forehead "$@"
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to