jstrachan    2003/03/20 09:03:19

  Added:       jelly/jelly-tags/jmx project.properties .cvsignore maven.xml
                        project.xml
               jelly/jelly-tags/jmx/xdocs index.xml navigation.xml
               jelly/jelly-tags/jmx/src/test jndi.properties
  Log:
  Initial checkin of the JellyMBean library which is a simple Jelly alternative to 
MLETs or the Ant tasks in Commons Modeler which allows beans to be composed into 
services and then registered in JMX servers
  
  Revision  Changes    Path
  1.1                  jakarta-commons/jelly/jelly-tags/jmx/project.properties
  
  Index: project.properties
  ===================================================================
  # -------------------------------------------------------------------
  # P R O J E C T  P R O P E R T I E S
  # -------------------------------------------------------------------
  
  maven.junit.fork=true
  
  maven.compile.deprecation = on
  
  maven.checkstyle.properties=../tag-checkstyle.properties
  maven.license.licenseFile=${basedir}/../../../LICENSE
  
  
  
  1.1                  jakarta-commons/jelly/jelly-tags/jmx/.cvsignore
  
  Index: .cvsignore
  ===================================================================
  target
  maven.log
  
  
  
  1.1                  jakarta-commons/jelly/jelly-tags/jmx/maven.xml
  
  Index: maven.xml
  ===================================================================
  <project default="java:jar">
  
    <!-- define the classpath used to run examples -->
    <goal name="create-classpath" prereqs="java:compile, test:compile">
                <path id="test.classpath">
                        <pathelement path="${maven.build.dest}"/>
                        <pathelement path="target/classes"/>
                        <pathelement path="target/test-classes"/>
                        <path refid="maven.dependency.classpath"/>
                </path>
    </goal>
  
  
    <goal name="demo" prereqs="create-classpath"
      description="Runs a demo creating various MBeans">
      
      <echo>Running the JellyMBean demo...</echo>
      
      <java classname="org.apache.commons.jelly.Jelly" fork="yes">
        <classpath refid="test.classpath"/>
        <arg value="src/test/org/apache/commons/jelly/tags/jmx/example.jelly"/>
      </java>
    </goal>
  
  </project>
  
  
  
  1.1                  jakarta-commons/jelly/jelly-tags/jmx/project.xml
  
  Index: project.xml
  ===================================================================
  <?xml version="1.0" encoding="UTF-8"?>
  <project>
    <extend>${basedir}/../tag-project.xml</extend>
    <id>commons-jelly-tags-jmx</id>
    <name>commons-jelly-tags-jmx</name>
  
    <package>org.apache.commons.jelly.tags.jmx</package>
  
    <description>
         The Jelly JMX Tag Library is a Jelly library for instantiating and
         configuring Java Beans and MBeans and registering them with a 
         JMX Server in a similar way to the Ant tasks in Jakarta Commons Modeler.
    </description>
    
    <shortDescription>Commons Jelly JMX Tag Library</shortDescription>
    
    <url>http://jakarta.apache.org/commons/jelly/tags/jmx/</url>
  
    <siteDirectory>/www/jakarta.apache.org/commons/jelly/jmx/</siteDirectory>
    
<distributionDirectory>/www/jakarta.apache.org/builds/jakarta-commons/jelly/tags/jmx</distributionDirectory>
    <repository>
      <connection>scm:cvs:pserver:[EMAIL 
PROTECTED]:/home/cvspublic:jakarta-commons/jelly/jelly-tags/jmx/</connection>
      
<url>http://cvs.apache.org/viewcvs/jakarta-commons-sandbox/jelly/jelly-tags/jmx/</url>
    </repository>
    
    <dependencies>
    
      
    
      <!-- START for compilation -->
    
      <dependency>
        <id>commons-jelly</id>
        <version>SNAPSHOT</version>
        <url>http://jakarta.apache.org/commons/jelly/</url>
      </dependency>
        
      <dependency>
        <id>commons-jelly+tags-bean</id>
        <version>SNAPSHOT</version>
        <url>http://jakarta.apache.org/commons/jelly/tags/bean/</url>
      </dependency>
        
      <dependency>
        <id>mx4j+jmx</id>
        <version>1.1.1</version>
      </dependency>
        
      <!-- END for compilation -->
      
      <!-- START for test-->
    
      <dependency>
        <id>commons-jelly+tags-log</id>
        <version>SNAPSHOT</version>
        <url>http://jakarta.apache.org/commons/jelly/tags/log/</url>
      </dependency>
        
      <dependency>
        <id>commons-jelly+tags-junit</id>
        <version>SNAPSHOT</version>
        <url>http://jakarta.apache.org/commons/jelly/tags/junit/</url>
      </dependency>
  
      <dependency>
        <id>mx4j+tools</id>
        <version>1.1.1</version>
      </dependency>
      
      <dependency>
        <id>commons-cli</id>
        <version>SNAPSHOT</version>
      </dependency>
        
      <!-- END for test -->
  
    </dependencies>
    
  </project>
  
  
  
  1.1                  jakarta-commons/jelly/jelly-tags/jmx/xdocs/index.xml
  
  Index: index.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <document>
  
   <properties>
    <title>JellyMBean</title>
    <author email="[EMAIL PROTECTED]">James Strachan</author>
   </properties>
  
  <body>
  
  <section name="JellyMBean">
  
  <p>
        JellyMBean is a Jelly library for creating, configuring and registering beans 
and 
        MBeans with a JMX server.
        JellyMBean uses the 
        <a href="http://jakarta.apache.org/commons/jelly/libs/bean/";>JellyBean</a> 
library 
        to create and configure beans and extends it to support JMX operations.
  </p>
  
  <p>
        JellyMBean is similar to the MLET parser in 
        <a href="http://mx4j.sourceforge.net/";>mx4j</a> and 
        <a href="http://jboss.org/";>JBoss</a> and the 
        <a href="http://ant.apache.org/";>Ant</a> tasks in 
        <a href="http://jakarta.apache.org/commons/modeler.html";>commons-modeler</a>
  </p>
  
  <p>
        There is an example JellyBean deployment descriptor file 
        <a href="">here</a>.
  </p>
  </section>
  
  
  </body>
  </document>
  
  
  
  
  1.1                  jakarta-commons/jelly/jelly-tags/jmx/xdocs/navigation.xml
  
  Index: navigation.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1"?>
  <project name="JellyMBean">
  
    <title>JellyMBean</title>
  
    <body>
                <links>
        <item name="Jelly"                                                      
href="http://jakarta.apache.org/commons/jelly/"/>
        <item name="Commons Modeler"            
href="http://jakarta.apache.org/commons/modeler.html"/>
        <item name="JBoss"                                                      
href="http://jboss.org/"/>
        <item name="mx4j"                                                       
href="http://mx4j.sourceforge.net/"/>
                </links>
                
      <menu name="JellyMBean">
        <item name="Home"                href="index.html"/>
      </menu>
    </body>
  </project>
  
  
  
  1.1                  jakarta-commons/jelly/jelly-tags/jmx/src/test/jndi.properties
  
  Index: jndi.properties
  ===================================================================
  java.naming.factory.initial = com.sun.jndi.rmi.registry.RegistryContextFactory
  java.naming.provider.url = rmi://localhost:1099
  
  
  

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

Reply via email to