logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Harp, George" <GH...@GAINSystems.com>
Subject RE: jaxp.jar and parser.jar?
Date Thu, 15 Sep 2005 21:46:23 GMT
if you take out target="1.1 you should be ok. If you want top use target= try target="1.5"
-- but better to read ant doc on
javac -- ant has great reference material so it will be fast 

-----Original Message-----
From: lawrence@marchex.com [mailto:lawrence@marchex.com]
Sent: Thursday, September 15, 2005 4:45 PM
To: Log4J Users List
Subject: Re: jaxp.jar and parser.jar?


<target name="build.core" depends="init">
    <mkdir dir="${javac.dest}" />
    <javac srcdir="${java.source.dir}"
           destdir="${javac.dest}"
           includes="${stem}/**/*.java, 
                     ${stem}/xml/XMLLayout.java"
           excludes="misc/*, **/UnitTest*.java,
                    **/StressCategory.java,
                    **/doc-files/*,
                    ${stem}/xml/**,
                    ${stem}/test/serialization/**,
                    ${stem}/net/SMTPAppender.java,
                    ${stem}/net/JMS*.java,
                    ${stem}/jmx/*.java,
                    ${stem}/or/jms/*.java"
           target="1.1"
           deprecation="${deprecation}"
           debug="on">
      <classpath refid="compile.classpath"/>
    </javac>
    
    <copy todir="${javac.dest}">
      <fileset dir="${java.source.dir}" includes="${stem}/lf5/**/*.properties"/>
      <fileset dir="${java.source.dir}" includes="${stem}/lf5/viewer/images/*"/>
    </copy>

  </target>

Should I change target="1.1" to target="1.5"?

-Lawrence

On Thu, Sep 15, 2005 at 04:41:58PM -0500, Harp, George wrote:
> can you cut and paste the target in your ant file that compiles it?
> 
> -----Original Message-----
> From: lawrence@marchex.com [mailto:lawrence@marchex.com]
> Sent: Thursday, September 15, 2005 4:41 PM
> To: Log4J Users List
> Subject: Re: jaxp.jar and parser.jar?
> 
> 
> I am attempting to make the jar file with ant.
> 
> I only have jdk1.5 installed at this time.
> 
> -Lawrence
> 
> On Thu, Sep 15, 2005 at 04:38:58PM -0500, Harp, George wrote:
> > you are getting conflicts. javax.jms refers to JMS java message service ie EJB.
> > 
> > As far as target release ... How are you naking the jar file? ant file? IDE? Maven?

> > 
> > -----Original Message-----
> > From: lawrence@marchex.com [mailto:lawrence@marchex.com]
> > Sent: Thursday, September 15, 2005 4:35 PM
> > To: Log4J Users List
> > Subject: Re: jaxp.jar and parser.jar?
> > 
> > 
> > I made some minor modifications to the source code and I'm trying to build a new
jar file.   I'm getting this error:
> > 
> > javac: target release 1.1 conflicts with default source release 1.5
> > 
> > Which I assume means I need to install jdk1.1 (fun).
> > 
> > However, I am also getting some other compile errors (in eclipse) like:
> > 
> > The import javax.jms cannot be resolved	MessageRenderer.java
> > 
> > Which I assume is because of the missing jar files.
> > 
> > -Lawrence
> > 
> > On Thu, Sep 15, 2005 at 04:32:36PM -0500, Harp, George wrote:
> > > did you check inside the jars see if there is an apache package?
> > > 
> > > Do you just want the log4j jar file?
> > > 
> > > -----Original Message-----
> > > From: lawrence@marchex.com [mailto:lawrence@marchex.com]
> > > Sent: Thursday, September 15, 2005 4:31 PM
> > > To: log4j-user@logging.apache.org
> > > Subject: jaxp.jar and parser.jar?
> > > 
> > > 
> > > According to the INSTALL notes:
> > > 
> > > "Log4j is shipped with jaxp.jar and parser.jar files under the  build/lib/
directory."
> > > 
> > > however build/lib/ is no where to be found, and I have no clue how to get these
jar files.
> > > 
> > > Thanks!
> > > 
> > > -Lawrence
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> > > For additional commands, e-mail: log4j-user-help@logging.apache.org
> > > 
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> > > For additional commands, e-mail: log4j-user-help@logging.apache.org
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> > For additional commands, e-mail: log4j-user-help@logging.apache.org
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> > For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message