commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons-sandbox/jelly build.xml project.xml
Date Tue, 21 May 2002 11:13:57 GMT
jstrachan    02/05/21 04:13:57

  Modified:    jelly/xdocs overview.xml index.xml
               jelly    build.xml project.xml
  Log:
  Updated documentation a touch and started porting the old build system into the new Maven
build.
  
  Revision  Changes    Path
  1.2       +8 -1      jakarta-commons-sandbox/jelly/xdocs/overview.xml
  
  Index: overview.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/xdocs/overview.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- overview.xml	21 May 2002 08:01:31 -0000	1.1
  +++ overview.xml	21 May 2002 11:13:57 -0000	1.2
  @@ -20,7 +20,7 @@
       public void setCount(int count) {
           this.count = count;
       }
  -    public void run(Context context, XMLOutput output) throws Exception {
  +    public void run(XMLOutput output) throws Exception {
           for ( int i = 0; i < count; i++ ) {
               // evaluate body
               getBody().run( context, output );
  @@ -38,6 +38,13 @@
   via custom actions (in a similar way to JSP custom tags) as well as cleanly integrating
with  scripting 
   languages such as Jexl, Velocity, pnuts, beanshell and via BSF (Bean Scripting Framework)

   languages like JavaScript &amp; JPython</p>
  +
  +<p>Also notice that Jelly uses an <i>XMLOutput</i> class which extends
SAX ContentHandler
  +to output XML events.
  +This makes Jelly ideal for XML content generation, SOAP scripting or dynamic web site generation.
  +A single Jelly tag can produce, consume, filter or transform XML events. This leads to
a powerful
  +XML pipeline engine similar in some ways to Cocoon.
  +</p>
   
   </section>
   
  
  
  
  1.2       +12 -3     jakarta-commons-sandbox/jelly/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/xdocs/index.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- index.xml	21 May 2002 08:01:31 -0000	1.1
  +++ index.xml	21 May 2002 11:13:57 -0000	1.2
  @@ -26,9 +26,18 @@
   Though Jelly is really simple and has no dependencies either Servlets or JSP.
   </p>
   
  -<p>We hope Jelly can be both an XML processing and transformation engine, a HTTP

  -/ JMS / SOAP scripting engine as well as an XML based unit testing framework for 
  -testing XML based applications and web services.</p>
  +<p>
  +Jelly is based on an XML event pipeline architecture (SAX), like Cocoon, rather than being
purely text
  +based like JSP and Velocity. This means that Jelly tags can consume XML events and emit
them. Each
  +Jelly custom tag can then act as an XML source, result or transformation.
  +</p>
  +
  +<p>We hope Jelly can be both an XML processing and transformation engine, 
  +a web and XML based scripting engine as well as a unit testing framework for 
  +testing web applications and web services.
  +In addition Jelly can act as a stand alone lightweight engine for running JSTL 
  +scripts which can be run from the command line, inside SOAP services or from Ant.
  +</p>
   
   </section>
   
  
  
  
  1.22      +105 -2    jakarta-commons-sandbox/jelly/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/build.xml,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- build.xml	21 May 2002 08:01:31 -0000	1.21
  +++ build.xml	21 May 2002 11:13:57 -0000	1.22
  @@ -39,7 +39,7 @@
   	</target>
   	
   	<target name="maven:run-singletest">
  -	  <ant antfile="${maven.home}/pluginx/test/build.xml" target="run-singletest"/>
  +	  <ant antfile="${maven.home}/plugins/test/build.xml" target="run-singletest"/>
   	</target>
   	
   	<target name="maven:compile">
  @@ -127,7 +127,7 @@
   	</target>
   	
   	<target name="maven:test">
  -	  <ant antfile="${maven.home}/pluginx/test/build.xml" target="test"/>
  +	  <ant antfile="${maven.home}/plugins/test/build.xml" target="test"/>
   	</target>
   	
   	<target name="maven:pdf">
  @@ -157,4 +157,107 @@
   
     <!-- maven:end -->
   
  +<!-- ========== Helper Targets ============================================ -->
  +
  +	<target name="clean" depends="maven:clean">
  +	  <delete file="velocity.log"/>
  +	</target>
  +	
  +	<target name="site" depends="maven:site"/>
  +	
  +	<target name="test" depends="maven:test"/>
  +	
  +<!-- ========== Sample Program Targets ==================================== -->
  +
  +<!--
  +
  +	try port this to use the new Maven dependency classpath....
  +	
  +   <target name="demo.all" depends="compile" 
  +      description="Runs all the demo scripts inside one single script">
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/run_all.jelly"/> 
  +      <arg value="one"/> 
  +      <arg value="two"/> 
  +      <arg value="three"/> 
  +    </java>
  +   </target>
  +
  +   <target name="demo.hw" depends="compile" 
  +      description="Runs the Hello World demo">
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/hello_world.jelly"/> 
  +    </java>
  +   </target>
  +
  +   <target name="demo.1" depends="compile" 
  +      description="Runs demo #1">
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/example2.jelly"/> 
  +    </java>
  +   </target>
  +
  +   <target name="demo.2" depends="compile" 
  +      description="Runs demo #2">
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/testing123.jelly"/> 
  +      <arg value="one"/> 
  +      <arg value="two"/> 
  +      <arg value="three"/> 
  +    </java>
  +   </target>
  +
  +   <target name="demo.3" depends="compile" 
  +      description="Runs demo #3">
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/example3.jelly"/> 
  +      <arg value="one"/> 
  +      <arg value="two"/> 
  +      <arg value="three"/> 
  +    </java>
  +   </target>
  +
  +   <target name="demo.sysprop" depends="compile" 
  +      description="Runs demo which displays system properties">
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/show_properties.jelly"/> 
  +    </java>
  +   </target>
  +
  +   <target name="demo.pnuts" depends="compile, checkPNuts" 
  +      description="Runs a pnuts demo which displays system properties">
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/pnuts/example.jelly"/> 
  +    </java>
  +   </target>
  +
  +   <target name="demo.javascript" depends="compile, checkRhino" 
  +      description="Runs a javascript demo which displays system properties">      
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/javascript/example.jelly"/> 
  +    </java>
  +   </target>
  +
  +
  +   <target name="demo.sql" depends="compile" 
  +      description="Runs an SQL demo">
  +    <taskdef
  +      name="jelly"
  +      classname="org.apache.commons.jelly.task.JellyTask">
  +      <classpath refid="test.classpath"/>
  +    </taskdef>
  +
  +	<jelly file="src/test/org/apache/commons/jelly/sql/example.jelly" output="${build.home}/sqloutput.xml"/>
  +	<jelly file="src/test/org/apache/commons/jelly/sql/example2.jelly" output="${build.home}/sqloutput2.xml"/>

  +	<jelly file="src/test/org/apache/commons/jelly/sql/testSql.jelly" output="${build.home}/sqloutput3.xml"/>

  +   </target>
  +-->   
   </project>
  
  
  
  1.2       +10 -0     jakarta-commons-sandbox/jelly/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/project.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- project.xml	21 May 2002 08:01:31 -0000	1.1
  +++ project.xml	21 May 2002 11:13:57 -0000	1.2
  @@ -21,6 +21,16 @@
     <siteAddress>jakarta.apache.org</siteAddress>
     <siteDirectory>/www/jakarta.apache.org/commons/sandbox/jelly/</siteDirectory>
     
  +  <mailingLists>
  +    <mailingList>
  +      <name>Commons Dev List</name>
  +      <subscribe>commons-dev-subscribe@jakarta.apache.org</subscribe>
  +      <unsubscribe>commons-dev-unsubscribe@jakarta.apache.org</unsubscribe>
  +      <archive>http://nagoya.apache.org/eyebrowse/SummarizeList?listName=commons-dev@jakarta.apache.org</archive>
  +    </mailingList>
  +  </mailingLists>
  +
  +  
     <developers>
       <developer>
         <name>James Strachan</name>
  
  
  

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


Mime
View raw message