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/jelly-tags/quartz/src/conf log4j.properties
Date Tue, 21 Jan 2003 17:24:49 GMT
jstrachan    2003/01/21 09:24:49

  Modified:    jelly/jelly-tags/quartz maven.xml project.xml
  Added:       jelly/jelly-tags/quartz/src/conf log4j.properties
  Log:
  Moved the maven goals over from the main build to here. Also added a dependency on log4j.
Couldn't get log4j to configure itself though for 'maven demo' - dunno if its a maven or log4j
thing.
  
  Revision  Changes    Path
  1.2       +23 -0     jakarta-commons-sandbox/jelly/jelly-tags/quartz/maven.xml
  
  Index: maven.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/quartz/maven.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- maven.xml	7 Jan 2003 14:54:15 -0000	1.1
  +++ maven.xml	21 Jan 2003 17:24:49 -0000	1.2
  @@ -1,3 +1,26 @@
   <project default="java:jar">
   
  +  <goal name="create-classpath" prereqs="java:compile,test:compile">
  +		<path id="test.classpath">
  +			<!-- add log4j config files to classpath -->
  +			<pathelement location="src/conf"/>
  +			
  +			<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 the example quartz demo">
  +    <java classname="org.apache.commons.jelly.Jelly" fork="yes">
  +      <classpath refid="test.classpath"/>
  +      <arg value="src/test/org/apache/commons/jelly/tags/quartz/example.jelly"/>
  +      <sysproperty key="log4j.configuration" value="src/conf/log4j.configuration"/>
  +		</java>
  +  </goal>
  +
  +
   </project>
  
  
  
  1.3       +16 -2     jakarta-commons-sandbox/jelly/jelly-tags/quartz/project.xml
  
  Index: project.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/jelly/jelly-tags/quartz/project.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- project.xml	21 Jan 2003 03:56:55 -0000	1.2
  +++ project.xml	21 Jan 2003 17:24:49 -0000	1.3
  @@ -5,7 +5,7 @@
       BRITTLE! cannot explicitly include 'file:' protocol below or Maven will
       not run this script outside of the base directory
     -->
  -  <!ENTITY commonDeps SYSTEM "../../commonDependencies.ent">
  +  <!ENTITY commonDeps SYSTEM "file:../../commonDependencies.ent">
   ]>
   <project>
     <extend>${basedir}/../tag-project.xml</extend>
  @@ -39,9 +39,23 @@
       
       <dependency>
         <id>quartz</id>
  -      <version>SNAPSHOT</version>
  +      <version>1.0.2</version>
       </dependency>
     
  +    <!-- END for compilation -->
  +    
  +    <!-- START for running demos -->
  +
  +    <dependency>
  +      <id>commons-cli</id>
  +      <version>SNAPSHOT</version>
  +    </dependency>
  +    <dependency>
  +      <id>log4j</id>
  +      <version>1.2.5</version>
  +    </dependency>
  +    
  +    <!-- END for running demos -->
     </dependencies>
     
   </project>
  
  
  
  1.1                  jakarta-commons-sandbox/jelly/jelly-tags/quartz/src/conf/log4j.properties
  
  Index: log4j.properties
  ===================================================================
  log4j.rootLogger=DEBUG, A1
  log4j.rootCategory=INFO, A1
  
  log4j.appender.A1=org.apache.log4j.ConsoleAppender
  log4j.appender.A1.layout=org.apache.log4j.PatternLayout
  
  log4j.logger.scheduler=INFO
  log4j.logger.org=INFO
  
  log4j.category.scheduler=INFO
  log4j.category.org.apache.commons.jelly.parser=INFO
  
  
  
  

--
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