I responded in the user mailing list.

A few more thoughts:

You can't tell by the jar name that it doesn't include the ORO dependencies.  

For this reason, if it was a concern I'd be +0 on reverting the ant script 
changes, but I'd like to leave the changes to RuleFactory.

By the way, if anyone would like to give on the o.a.l.rule package I'd love to 
hear it.



-----Original Message-----
From:   Ceki Gülcü [mailto:[EMAIL PROTECTED]
Sent:   Thu 12/16/2004 5:08 AM
To:     Log4J Developers List
Cc:     
Subject:        Re: cvs commit: logging-log4j build.xml

Scott, in light of my last message, do you think it is preferable to revert 
this change a go yesterday's state?

At 08:19 AM 12/16/2004, you wrote:
>sdeboy      2004/12/15 23:19:03
>
>   Modified:    .        build.xml
>   Log:
>   chainsaw.jar target no longer fails if ORO path is not defined in 
> build.properties.
>
>   If the location of the ORO jar is not provided in build.properties, a 
> warning message is displayed and the task continues.
>
>   The chainsaw jar is created, excluding (because they rely on ORO):
>      LikeRule
>      LogFilePatternReceiver
>
>   Revision  Changes    Path
>   1.124     +20 -14    logging-log4j/build.xml
>
>   Index: build.xml
>   ===================================================================
>   RCS file: /home/cvs/logging-log4j/build.xml,v
>   retrieving revision 1.123
>   retrieving revision 1.124
>   diff -u -r1.123 -r1.124
>   --- build.xml 15 Dec 2004 21:55:48 -0000      1.123
>   +++ build.xml 16 Dec 2004 07:19:03 -0000      1.124
>   @@ -319,13 +319,19 @@
>        </javac>
>      </target>
>
>   -  <target name="build.chainsaw" depends="init, chainsawCheck, 
> build.core" if="chainsaw-libraries-present">
>   +  <target name="build.chainsaw" depends="init, chainsawCheck, build.core">
>        <javac deprecation="${deprecation}"
>               srcdir="${java.source.dir}"
>            debug="${debug}"
>   -           destdir="${javac.dest}"
>   - 
> includes="${stem}/chainsaw/**/*.java,${stem}/rule/*.java,${stem}/varia/ExpressionFilter.java,${stem}/varia/LogFilePatternReceiver*.java"
>   -           excludes="${stem}/chainsaw/vfs/*.java">
>   +           destdir="${javac.dest}">
>   +                <patternset>
>   +                     <include name="${stem}/chainsaw/**/*.java"/>
>   +                     <include name="${stem}/rule/*.java"/>
>   +                     <include name="${stem}/varia/ExpressionFilter.java"/>
>   +                 <include 
> name="${stem}/varia/LogFilePatternReceiver*.java" 
> if="chainsaw-libraries-present"/>
>   +                     <exclude name="${stem}/chainsaw/vfs/*.java"/>
>   +         <exclude name="${stem}/rule/LikeRule.java" 
> unless="chainsaw-libraries-present"/>
>   +            </patternset>
>          <classpath refid="compile.classpath"/>
>        </javac>
>      </target>
>   @@ -358,8 +364,11 @@
>      <target name="oroWarning" unless="chainsaw-libraries-present">
>        <echo>
>          Could not find jakarta-oro classes. Did you forget to set
>   -      "regexp.oro.jar" property in build.properties to point to
>   -      a valid jakarta.oro.jar file?
>   +"regexp.oro.jar" property in build.properties to point to
>   +a valid jakarta.oro.jar file?  Chainsaw will be built but will
>   +not include support for:
>   +   the 'LIKE' (regular expression) rule
>   +   LogFilePatternReceiver
>        </echo>
>      </target>
>
>   @@ -367,15 +376,11 @@
>        <echo message="Chainsaw dependant libraries present."/>
>      </target>
>
>   -  <target name="chainsawRunCheck" depends="chainsawCheck">
>   -    <fail unless="chainsaw-libraries-present" message="Chainsaw v2 
> needs Jakarta ORO, and it appears your are missing the Jakarta ORO 
> package.  Please check the build.properties file."/>
>   -  </target>
>   -
>      <!-- 
> ================================================================= -->
>      <!-- Runs 
> Chainsaw                                                     -->
>      <!-- 
> ================================================================= -->
>
>   -  <target name="chainsaw" depends="chainsawRunCheck, build.chainsaw, 
> log4j.jar, chainsaw.jar" description="Builds and runs Chainsaw v2" >
>   +  <target name="chainsaw" depends="build.chainsaw, log4j.jar, 
> chainsaw.jar" description="Builds and runs Chainsaw v2" >
>
>        <!-- Need to fork to avoid problems -->
>        <java classname="org.apache.log4j.chainsaw.LogUI" fork="yes"
>   @@ -423,7 +428,7 @@
>                    ${stem}/or/jms/*.class,
>                    ${stem}/plugins/*.class,
>                    ${stem}/config/*.class"
>   -      excludes="**/UnitTest**, ${stem}/**/*BeanInfo.class">
>   +      excludes="**/UnitTest**, ${stem}/**/*BeanInfo.class, 
> ${stem}/varia/LogFilePatternReceiver*.class, 
> ${stem}/varia/ExpressionFilter.class">
>         <exclude name="**/JMSReceiver*" if="webstart"/>
>         <exclude name="**/DBReceiver*" if="webstart"/>
>          <manifest>
>   @@ -484,9 +489,10 @@
>             includes="${stem}/chainsaw/*.class,
>                    ${stem}/**/*.html,
>                    **/*.css,
>   -                **/resources/*
>   +                **/resources/*,
>                    ${stem}/varia/ExpressionFilter*.class,
>   -                ${stem}/rule/*.class,
>   +                ${stem}/varia/LogFilePatternReceiver*.class,
>   +             ${stem}/rule/*.class,
>                    ${stem}/**/*BeanInfo.class,
>                         ${stem}/chainsaw/**/*.class,
>                         ${stem}/chainsaw/layout/*,
>
>

-- 
Ceki Gülcü

   The complete log4j manual: http://qos.ch/log4j/



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




<<winmail.dat>>

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

Reply via email to